Subversion Repositories oidplus

Rev

Rev 637 | Rev 759 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 637 Rev 679
Line 2... Line 2...
2
 * Copyright (c) Tiny Technologies, Inc. All rights reserved.
2
 * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3
 * Licensed under the LGPL or a commercial license.
3
 * Licensed under the LGPL or a commercial license.
4
 * For LGPL see License.txt in the project root for license information.
4
 * For LGPL see License.txt in the project root for license information.
5
 * For commercial licenses see https://www.tiny.cloud/
5
 * For commercial licenses see https://www.tiny.cloud/
6
 *
6
 *
7
 * Version: 5.9.2 (2021-09-08)
7
 * Version: 5.10.2 (2021-11-17)
8
 */
8
 */
9
(function () {
9
(function () {
10
    'use strict';
10
    'use strict';
11
 
11
 
12
    var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
12
    var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
Line 78... Line 78...
78
      return s;
78
      return s;
79
    };
79
    };
80
 
80
 
81
    function Plugin () {
81
    function Plugin () {
82
      global$1.add('bbcode', function (editor) {
82
      global$1.add('bbcode', function (editor) {
83
        console.warn('The bbcode plugin has been deprecated and marked for removal in TinyMCE 6.0');
-
 
84
        editor.on('BeforeSetContent', function (e) {
83
        editor.on('BeforeSetContent', function (e) {
85
          e.content = bbcode2html(e.content);
84
          e.content = bbcode2html(e.content);
86
        });
85
        });
87
        editor.on('PostProcess', function (e) {
86
        editor.on('PostProcess', function (e) {
88
          if (e.set) {
87
          if (e.set) {