UNPKG

543 BJavaScriptView Raw
1"use strict";
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 */
9Object.defineProperty(exports, "__esModule", { value: true });
10exports.getTinymce = void 0;
11var getGlobal = function () { return (typeof window !== 'undefined' ? window : global); };
12var getTinymce = function () {
13 var global = getGlobal();
14 return global && global.tinymce ? global.tinymce : null;
15};
16exports.getTinymce = getTinymce;