2025-04-02 21:57:33 +08:00

14 lines
427 B
JavaScript

/**
* Copyright (c) 2018-present, Ephox, Inc.
*
* This source code is licensed under the Apache 2 license found in the
* LICENSE file in the root directory of this source tree.
*
*/
var getGlobal = function () { return (typeof window !== 'undefined' ? window : global); };
var getTinymce = function () {
var global = getGlobal();
return global && global.tinymce ? global.tinymce : null;
};
export { getTinymce };