Subversion Repositories oidplus

Rev

Rev 1422 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1422 Rev 1434
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.10.8 (2023-10-19)
7
 * Version: 5.10.9 (2023-11-15)
8
 */
8
 */
9
(function () {
9
(function () {
10
    'use strict';
10
    'use strict';
11
 
11
 
12
    var Cell = function (initial) {
12
    var Cell = function (initial) {
Line 1281... Line 1281...
1281
      if (blockMatches.length > 0 || inlineMatches.length > 0) {
1281
      if (blockMatches.length > 0 || inlineMatches.length > 0) {
1282
        editor.undoManager.add();
1282
        editor.undoManager.add();
1283
        editor.undoManager.extra(function () {
1283
        editor.undoManager.extra(function () {
1284
          editor.execCommand('mceInsertNewLine');
1284
          editor.execCommand('mceInsertNewLine');
1285
        }, function () {
1285
        }, function () {
1286
          editor.insertContent(zeroWidth);
1286
          editor.insertContent(zeroWidth, { preserve_zwsp: true });
1287
          applyMatches(editor, inlineMatches);
1287
          applyMatches(editor, inlineMatches);
1288
          applyMatches$1(editor, blockMatches);
1288
          applyMatches$1(editor, blockMatches);
1289
          var range = editor.selection.getRng();
1289
          var range = editor.selection.getRng();
1290
          var spot = textBefore(range.startContainer, range.startOffset, editor.dom.getRoot());
1290
          var spot = textBefore(range.startContainer, range.startOffset, editor.dom.getRoot());
1291
          editor.execCommand('mceInsertNewLine');
1291
          editor.execCommand('mceInsertNewLine');