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 Cell = function (initial) { |
12 | var Cell = function (initial) { |
Line 711... | Line 711... | ||
711 | }; |
711 | }; |
712 | 712 | ||
713 | function Plugin () { |
713 | function Plugin () { |
714 | global$3.add('spellchecker', function (editor, pluginUrl) { |
714 | global$3.add('spellchecker', function (editor, pluginUrl) { |
715 | if (hasProPlugin(editor) === false) { |
715 | if (hasProPlugin(editor) === false) { |
716 | console.warn('The spellchecker plugin has been deprecated and marked for removal in TinyMCE 6.0'); |
- | |
717 | var startedState = Cell(false); |
716 | var startedState = Cell(false); |
718 | var currentLanguageState = Cell(getLanguage(editor)); |
717 | var currentLanguageState = Cell(getLanguage(editor)); |
719 | var textMatcherState = Cell(null); |
718 | var textMatcherState = Cell(null); |
720 | var lastSuggestionsState = Cell(null); |
719 | var lastSuggestionsState = Cell(null); |
721 | register(editor, pluginUrl, startedState, textMatcherState, currentLanguageState, lastSuggestionsState); |
720 | register(editor, pluginUrl, startedState, textMatcherState, currentLanguageState, lastSuggestionsState); |