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$7 = tinymce.util.Tools.resolve('tinymce.PluginManager'); |
12 | var global$7 = tinymce.util.Tools.resolve('tinymce.PluginManager'); |
Line 1761... | Line 1761... | ||
1761 | if (parentIsList && parentList.nodeName === listName && !hasListStyleDetail(detail)) { |
1761 | if (parentIsList && parentList.nodeName === listName && !hasListStyleDetail(detail)) { |
1762 | flattenListSelection(editor); |
1762 | flattenListSelection(editor); |
1763 | } else { |
1763 | } else { |
1764 | applyList(editor, listName, detail); |
1764 | applyList(editor, listName, detail); |
1765 | var bookmark = createBookmark(editor.selection.getRng()); |
1765 | var bookmark = createBookmark(editor.selection.getRng()); |
1766 | var allLists = parentIsList ? __spreadArray([parentList], lists) : lists; |
1766 | var allLists = parentIsList ? __spreadArray([parentList], lists, true) : lists; |
1767 | global$2.each(allLists, function (elm) { |
1767 | global$2.each(allLists, function (elm) { |
1768 | updateList$1(editor, elm, listName, detail); |
1768 | updateList$1(editor, elm, listName, detail); |
1769 | }); |
1769 | }); |
1770 | editor.selection.setRng(resolveBookmark(bookmark)); |
1770 | editor.selection.setRng(resolveBookmark(bookmark)); |
1771 | } |
1771 | } |