UNPKG

@tinymce/tinymce-vue

Version:

Official TinyMCE Vue 3 Component

17 lines (16 loc) 543 B
"use strict"; /** * 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. * */ Object.defineProperty(exports, "__esModule", { value: true }); exports.getTinymce = void 0; var getGlobal = function () { return (typeof window !== 'undefined' ? window : global); }; var getTinymce = function () { var global = getGlobal(); return global && global.tinymce ? global.tinymce : null; }; exports.getTinymce = getTinymce;