plugin.js 654 B

12345678910111213141516171819202122
  1. /**
  2. * Copyright (c) Tiny Technologies, Inc. All rights reserved.
  3. * Licensed under the LGPL or a commercial license.
  4. * For LGPL see License.txt in the project root for license information.
  5. * For commercial licenses see https://www.tiny.cloud/
  6. *
  7. * Version: 5.2.0 (2020-02-13)
  8. */
  9. (function (domGlobals) {
  10. 'use strict';
  11. var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
  12. function Plugin () {
  13. global.add('contextmenu', function () {
  14. domGlobals.console.warn('Context menu plugin is now built in to the core editor, please remove it from your editor configuration');
  15. });
  16. }
  17. Plugin();
  18. }(window));