Home Reference Source

scripts/lib/tinymce/plugins/textcolor/plugin.js

/**
 * Copyright (c) Tiny Technologies, Inc. All rights reserved.
 * Licensed under the LGPL or a commercial license.
 * For LGPL see License.txt in the project root for license information.
 * For commercial licenses see https://www.tiny.cloud/
 *
 * Version: 5.3.1 (2020-05-27)
 */
(function (domGlobals) {
    'use strict';

    var global = tinymce.util.Tools.resolve('tinymce.PluginManager');

    function Plugin () {
      global.add('textcolor', function () {
        domGlobals.console.warn('Text color plugin is now built in to the core editor, please remove it from your editor configuration');
      });
    }

    Plugin();

}(window));