jodit-pro 4.2.41 → 4.2.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015/889.fat.min.js +1 -1
- package/es2015/889.min.js +1 -1
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +35 -82
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +6 -3
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/889.fat.min.js +1 -1
- package/es2018/889.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +35 -82
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.js +6 -3
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/889.fat.min.js +1 -1
- package/es2021/889.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +35 -82
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +6 -3
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/889.fat.min.js +1 -1
- package/es2021.en/889.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +35 -82
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +6 -3
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/292.fat.min.js +1 -1
- package/es5/292.min.js +1 -1
- package/es5/889.fat.min.js +1 -1
- package/es5/889.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +35 -82
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +6 -3
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/esm/plugins/export-docs/config.d.ts +2 -1
- package/esm/plugins/export-docs/config.js +1 -1
- package/esm/plugins/export-docs/export-docs.js +1 -1
- package/package.json +1 -1
- package/types/plugins/export-docs/config.d.ts +2 -1
package/es5/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.43
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2558,7 +2558,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2558
2558
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2559
2559
|
*/
|
|
2560
2560
|
|
|
2561
|
-
var APP_VERSION = "4.2.
|
|
2561
|
+
var APP_VERSION = "4.2.43";
|
|
2562
2562
|
// prettier-ignore
|
|
2563
2563
|
var ES = "es5";
|
|
2564
2564
|
var IS_ES_MODERN = false;
|
|
@@ -8689,10 +8689,10 @@ var buildQuery = function (data, prefix) {
|
|
|
8689
8689
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8690
8690
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8691
8691
|
*/
|
|
8692
|
+
|
|
8692
8693
|
/**
|
|
8693
8694
|
* @module helpers/utils
|
|
8694
8695
|
*/
|
|
8695
|
-
|
|
8696
8696
|
var completeUrl = function (url) {
|
|
8697
8697
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.location.protocol === 'file:' && /^\/\//.test(url)) {
|
|
8698
8698
|
url = 'https:' + url;
|
|
@@ -12724,7 +12724,6 @@ function extractSelectedPart(wrapper, font, jodit) {
|
|
|
12724
12724
|
}
|
|
12725
12725
|
/**
|
|
12726
12726
|
* Retrieves content before after the selected area, clears it if it is empty, and inserts before after the framed selection
|
|
12727
|
-
* @private
|
|
12728
12727
|
*/
|
|
12729
12728
|
function extractAndMove(wrapper, range, left) {
|
|
12730
12729
|
var fragment = range.extractContents();
|
|
@@ -18304,17 +18303,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18304
18303
|
configurable: true
|
|
18305
18304
|
});
|
|
18306
18305
|
/**
|
|
18307
|
-
* Method wrap usual
|
|
18308
|
-
* ```js
|
|
18309
|
-
* const editor = Jodit.make('#editor', {
|
|
18310
|
-
* controls: {
|
|
18311
|
-
* fontsize: {
|
|
18312
|
-
* list: Jodit.atom([8, 9, 10])
|
|
18313
|
-
* }
|
|
18314
|
-
* }
|
|
18315
|
-
* });
|
|
18316
|
-
* ```
|
|
18317
|
-
* In this case, the array [8, 9, 10] will not be combined with other arrays, but will replace them
|
|
18306
|
+
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
18318
18307
|
*/
|
|
18319
18308
|
Jodit.atom = function (object) {
|
|
18320
18309
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.markAsAtomic)(object);
|
|
@@ -23090,7 +23079,6 @@ var Snapshot = /** @class */ (function (_super) {
|
|
|
23090
23079
|
function Snapshot() {
|
|
23091
23080
|
var _this = _super.apply(this, (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__spreadArray */ .fX)([], (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__read */ .zs)(arguments), false)) || this;
|
|
23092
23081
|
_this.__isBlocked = false;
|
|
23093
|
-
_this.__levelOfTransaction = 0;
|
|
23094
23082
|
return _this;
|
|
23095
23083
|
}
|
|
23096
23084
|
/** @override */
|
|
@@ -23176,7 +23164,6 @@ var Snapshot = /** @class */ (function (_super) {
|
|
|
23176
23164
|
};
|
|
23177
23165
|
Snapshot.prototype.transaction = function (changes) {
|
|
23178
23166
|
this.__block(true);
|
|
23179
|
-
this.__levelOfTransaction += 1;
|
|
23180
23167
|
try {
|
|
23181
23168
|
changes();
|
|
23182
23169
|
}
|
|
@@ -23185,12 +23172,7 @@ var Snapshot = /** @class */ (function (_super) {
|
|
|
23185
23172
|
throw e;
|
|
23186
23173
|
}
|
|
23187
23174
|
}
|
|
23188
|
-
|
|
23189
|
-
this.__levelOfTransaction -= 1;
|
|
23190
|
-
if (this.__levelOfTransaction === 0) {
|
|
23191
|
-
this.__block(false);
|
|
23192
|
-
}
|
|
23193
|
-
}
|
|
23175
|
+
this.__block(false);
|
|
23194
23176
|
};
|
|
23195
23177
|
/**
|
|
23196
23178
|
* Creates object a snapshot of editor: html and the current selection. Current selection calculate by
|
|
@@ -25458,26 +25440,17 @@ var ToolbarButton = /** @class */ (function (_super) {
|
|
|
25458
25440
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
|
|
25459
25441
|
var popup = this.openPopup();
|
|
25460
25442
|
popup.parentElement = this;
|
|
25461
|
-
|
|
25462
|
-
|
|
25463
|
-
|
|
25464
|
-
|
|
25465
|
-
|
|
25466
|
-
|
|
25467
|
-
|
|
25468
|
-
|
|
25469
|
-
|
|
25470
|
-
: undefined);
|
|
25471
|
-
}
|
|
25472
|
-
else {
|
|
25473
|
-
this.__closePopup();
|
|
25474
|
-
}
|
|
25443
|
+
if (this.j.e.fire((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.camelCase)("before-".concat(ctr.name, "-open-popup")), this.target, ctr, popup) !== false) {
|
|
25444
|
+
var target = (_c = (_b = (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.getTarget(this)) !== null && _b !== void 0 ? _b : this.target) !== null && _c !== void 0 ? _c : null;
|
|
25445
|
+
var elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
25446
|
+
if (elm) {
|
|
25447
|
+
popup
|
|
25448
|
+
.setContent((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm)
|
|
25449
|
+
.open(function () { return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(_this.container); }, false, this.j.o.allowTabNavigation
|
|
25450
|
+
? this.container
|
|
25451
|
+
: undefined);
|
|
25475
25452
|
}
|
|
25476
25453
|
}
|
|
25477
|
-
catch (e) {
|
|
25478
|
-
this.__closePopup();
|
|
25479
|
-
throw e;
|
|
25480
|
-
}
|
|
25481
25454
|
/**
|
|
25482
25455
|
* Fired after the popup was opened for some control button
|
|
25483
25456
|
*/
|
|
@@ -27965,9 +27938,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27965
27938
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
27966
27939
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
27967
27940
|
*/
|
|
27968
|
-
/**
|
|
27969
|
-
* @module plugins/ai-assistant
|
|
27970
|
-
*/
|
|
27971
27941
|
|
|
27972
27942
|
|
|
27973
27943
|
|
|
@@ -34164,9 +34134,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
34164
34134
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
34165
34135
|
*/
|
|
34166
34136
|
|
|
34167
|
-
/**
|
|
34168
|
-
* @private
|
|
34169
|
-
*/
|
|
34137
|
+
/** @private */
|
|
34170
34138
|
function readAlign(image, values) {
|
|
34171
34139
|
// Align
|
|
34172
34140
|
if (image.style.cssFloat &&
|
|
@@ -34294,9 +34262,6 @@ function readLink(state, j, values) {
|
|
|
34294
34262
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
34295
34263
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
34296
34264
|
*/
|
|
34297
|
-
/**
|
|
34298
|
-
* @module plugins/image-properties
|
|
34299
|
-
*/
|
|
34300
34265
|
|
|
34301
34266
|
/** @private */
|
|
34302
34267
|
function readMargins(image, values, state) {
|
|
@@ -34342,9 +34307,6 @@ function readMargins(image, values, state) {
|
|
|
34342
34307
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
34343
34308
|
*/
|
|
34344
34309
|
|
|
34345
|
-
/**
|
|
34346
|
-
* @module plugins/image-properties
|
|
34347
|
-
*/
|
|
34348
34310
|
|
|
34349
34311
|
|
|
34350
34312
|
|
|
@@ -35137,9 +35099,6 @@ function openImagePopup(j, dialog, state, button) {
|
|
|
35137
35099
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
35138
35100
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
35139
35101
|
*/
|
|
35140
|
-
/**
|
|
35141
|
-
* @module plugins/image-properties
|
|
35142
|
-
*/
|
|
35143
35102
|
|
|
35144
35103
|
|
|
35145
35104
|
/** @private */
|
|
@@ -35328,9 +35287,6 @@ function applyMargin(j, marginTop, marginRight, marginBottom, marginLeft, image,
|
|
|
35328
35287
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
35329
35288
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
35330
35289
|
*/
|
|
35331
|
-
/**
|
|
35332
|
-
* @module plugins/image-properties
|
|
35333
|
-
*/
|
|
35334
35290
|
|
|
35335
35291
|
|
|
35336
35292
|
|
|
@@ -44511,13 +44467,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.sym
|
|
|
44511
44467
|
editor.e.on(container, 'close_dialog', close);
|
|
44512
44468
|
return box;
|
|
44513
44469
|
}
|
|
44514
|
-
|
|
44515
|
-
|
|
44516
|
-
|
|
44517
|
-
|
|
44518
|
-
|
|
44470
|
+
else {
|
|
44471
|
+
editor
|
|
44472
|
+
.alert(container, 'Select Special Character', undefined, 'jodit-symbols')
|
|
44473
|
+
.bindDestruct(editor);
|
|
44474
|
+
var a = container.querySelector('a');
|
|
44475
|
+
a && a.focus();
|
|
44476
|
+
}
|
|
44519
44477
|
}
|
|
44520
|
-
return;
|
|
44521
44478
|
}
|
|
44522
44479
|
};
|
|
44523
44480
|
|
|
@@ -45037,28 +44994,25 @@ var symbols = /** @class */ (function (_super) {
|
|
|
45037
44994
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__extends */ .C6)(symbols, _super);
|
|
45038
44995
|
function symbols(jodit) {
|
|
45039
44996
|
var _this = _super.call(this, jodit) || this;
|
|
44997
|
+
/** @override */
|
|
45040
44998
|
_this.buttons = [
|
|
45041
44999
|
{
|
|
45042
45000
|
name: 'symbols',
|
|
45043
45001
|
group: 'insert'
|
|
45044
45002
|
}
|
|
45045
45003
|
];
|
|
45046
|
-
_this.
|
|
45004
|
+
_this.countInRow = 17;
|
|
45047
45005
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
|
|
45048
45006
|
return _this;
|
|
45049
45007
|
}
|
|
45008
|
+
/** @override */
|
|
45050
45009
|
symbols.prototype.afterInit = function (jodit) {
|
|
45051
45010
|
var _this = this;
|
|
45052
45011
|
jodit.e.on('generateSpecialCharactersTable.symbols', function () {
|
|
45053
|
-
var container = jodit.c.fromHTML("<div class=\"jodit-symbols__container\">\n\t\t\t\t\t\t<div class=\"jodit-symbols__container_table\">\n\t\t\t\t\t\t\t<table class=\"jodit-symbols__table\"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"jodit-symbols__container_preview\">\n\t\t\t\t\t\t\t<div class=\"jodit-symbols__preview\"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>");
|
|
45054
|
-
var preview = container.querySelector('.jodit-symbols__preview');
|
|
45055
|
-
var table = container.querySelector('table');
|
|
45056
|
-
var body = table.tBodies[0];
|
|
45057
|
-
var chars = [];
|
|
45012
|
+
var container = jodit.c.fromHTML("<div class=\"jodit-symbols__container\">\n\t\t\t\t\t\t<div class=\"jodit-symbols__container_table\">\n\t\t\t\t\t\t\t<table class=\"jodit-symbols__table\"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"jodit-symbols__container_preview\">\n\t\t\t\t\t\t\t<div class=\"jodit-symbols__preview\"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>"), preview = container.querySelector('.jodit-symbols__preview'), table = container.querySelector('table'), body = table.tBodies[0], chars = [];
|
|
45058
45013
|
for (var i = 0; i < jodit.o.specialCharacters.length;) {
|
|
45059
45014
|
var tr = jodit.c.element('tr');
|
|
45060
|
-
for (var j = 0; j < _this.
|
|
45061
|
-
i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
45015
|
+
for (var j = 0; j < _this.countInRow && i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
45062
45016
|
var td = jodit.c.element('td'), a = jodit.c.fromHTML("<a\n\t\t\t\t\t\t\t\t\tdata-index=\"".concat(i, "\"\n\t\t\t\t\t\t\t\t\tdata-index-j=\"").concat(j, "\"\n\t\t\t\t\t\t\t\t\trole=\"option\"\n\t\t\t\t\t\t\t\t\ttabindex=\"-1\"\n\t\t\t\t\t\t\t>").concat(jodit.o.specialCharacters[i], "</a>"));
|
|
45063
45017
|
chars.push(a);
|
|
45064
45018
|
td.appendChild(a);
|
|
@@ -45075,9 +45029,7 @@ var symbols = /** @class */ (function (_super) {
|
|
|
45075
45029
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(this, 'a')) {
|
|
45076
45030
|
jodit.s.focus();
|
|
45077
45031
|
jodit.s.insertHTML(this.innerHTML);
|
|
45078
|
-
|
|
45079
|
-
jodit.e.fire(this, 'close_dialog');
|
|
45080
|
-
}
|
|
45032
|
+
jodit.e.fire(this, 'close_dialog');
|
|
45081
45033
|
e && e.preventDefault();
|
|
45082
45034
|
e && e.stopImmediatePropagation();
|
|
45083
45035
|
}
|
|
@@ -45097,18 +45049,18 @@ var symbols = /** @class */ (function (_super) {
|
|
|
45097
45049
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
45098
45050
|
newIndex =
|
|
45099
45051
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
45100
|
-
? index - self.
|
|
45101
|
-
: index + self.
|
|
45052
|
+
? index - self.countInRow
|
|
45053
|
+
: index + self.countInRow;
|
|
45102
45054
|
if (chars[newIndex] === undefined) {
|
|
45103
45055
|
newIndex =
|
|
45104
45056
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
45105
45057
|
? Math.floor(chars.length /
|
|
45106
|
-
self.
|
|
45107
|
-
self.
|
|
45058
|
+
self.countInRow) *
|
|
45059
|
+
self.countInRow +
|
|
45108
45060
|
jIndex
|
|
45109
45061
|
: jIndex;
|
|
45110
45062
|
if (newIndex > chars.length - 1) {
|
|
45111
|
-
newIndex -= self.
|
|
45063
|
+
newIndex -= self.countInRow;
|
|
45112
45064
|
}
|
|
45113
45065
|
}
|
|
45114
45066
|
chars[newIndex] && chars[newIndex].focus();
|
|
@@ -47099,7 +47051,8 @@ var license = /** @class */ (function (_super) {
|
|
|
47099
47051
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__generator */ .YH)(this, function (_a) {
|
|
47100
47052
|
switch (_a.label) {
|
|
47101
47053
|
case 0:
|
|
47102
|
-
code = this.j.o.license
|
|
47054
|
+
code = this.j.o.license;
|
|
47055
|
+
domain = location.host;
|
|
47103
47056
|
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_6__/* .isString */ .K)(code)) {
|
|
47104
47057
|
return [2 /*return*/, ''];
|
|
47105
47058
|
}
|
package/es5/jodit.min.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.43
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit-pro - PRO Version of Jodit Editor
|
|
10
10
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
11
|
-
* Version: v4.2.
|
|
11
|
+
* Version: v4.2.43
|
|
12
12
|
* Url: https://xdsoft.net/jodit/pro/
|
|
13
13
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
14
14
|
*/
|