1 | ;
|
2 | /**
|
3 | * Copyright (c) 2018-present, Ephox, Inc.
|
4 | *
|
5 | * This source code is licensed under the Apache 2 license found in the
|
6 | * LICENSE file in the root directory of this source tree.
|
7 | *
|
8 | */
|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
10 | exports.getTinymce = void 0;
|
11 | var getGlobal = function () { return (typeof window !== 'undefined' ? window : global); };
|
12 | var getTinymce = function () {
|
13 | var global = getGlobal();
|
14 | return global && global.tinymce ? global.tinymce : null;
|
15 | };
|
16 | exports.getTinymce = getTinymce;
|