jodit-pro 4.2.43 → 4.2.50
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 +6 -9
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +129 -49
- package/es2015/jodit.min.css +1 -1
- 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 +17 -15
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +2 -3
- 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 +6 -9
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +129 -48
- package/es2018/jodit.min.css +1 -1
- 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 +15 -13
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +2 -3
- 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 +6 -9
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +129 -48
- package/es2021/jodit.min.css +1 -1
- 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 +15 -13
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +2 -3
- 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 +6 -9
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +129 -48
- package/es2021.en/jodit.min.css +1 -1
- 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 +15 -13
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +2 -3
- 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 +35 -66
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +129 -49
- package/es5/jodit.min.css +3 -3
- 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 +20 -18
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +2 -3
- 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 +3 -0
- package/esm/plugins/export-docs/export-docs.js +1 -1
- package/package.json +1 -1
- package/types/plugins/export-docs/config.d.ts +3 -0
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.50
|
|
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.50";
|
|
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
|
-
|
|
8693
8692
|
/**
|
|
8694
8693
|
* @module helpers/utils
|
|
8695
8694
|
*/
|
|
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;
|
|
@@ -8708,8 +8708,9 @@ var completeUrl = function (url) {
|
|
|
8708
8708
|
|
|
8709
8709
|
"use strict";
|
|
8710
8710
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8711
|
-
/* harmony export */
|
|
8712
|
-
/* harmony export */
|
|
8711
|
+
/* harmony export */ VL: function() { return /* binding */ ConfigFlatten; },
|
|
8712
|
+
/* harmony export */ pi: function() { return /* binding */ ConfigDeepFlatten; },
|
|
8713
|
+
/* harmony export */ tb: function() { return /* binding */ ConfigProto; }
|
|
8713
8714
|
/* harmony export */ });
|
|
8714
8715
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
|
|
8715
8716
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(55010);
|
|
@@ -8805,6 +8806,31 @@ function ConfigFlatten(obj) {
|
|
|
8805
8806
|
return app;
|
|
8806
8807
|
}, {});
|
|
8807
8808
|
}
|
|
8809
|
+
/**
|
|
8810
|
+
* Returns a plain object from a prototype-based object.
|
|
8811
|
+
* ```typescript
|
|
8812
|
+
* const editor = Jodit.make('#editor', {
|
|
8813
|
+
* image: {
|
|
8814
|
+
* dialogWidth: 500
|
|
8815
|
+
* }
|
|
8816
|
+
* });
|
|
8817
|
+
*
|
|
8818
|
+
* console.log(editor.o.image.openOnDblClick) // true
|
|
8819
|
+
* // But you can't get all options in plain object
|
|
8820
|
+
* console.log(JSON.stringify(editor.o.image)); // {"dialogWidth":500}
|
|
8821
|
+
*
|
|
8822
|
+
* const plain = Jodit.modules.Helpers.ConfigDeepFlatten(editor.o.image);
|
|
8823
|
+
* console.log(JSON.stringify(plain)); // {"dialogWidth":500, "openOnDblClick": true, "editSrc": true, ...}
|
|
8824
|
+
* ```
|
|
8825
|
+
*/
|
|
8826
|
+
function ConfigDeepFlatten(obj) {
|
|
8827
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce(function (app, key) {
|
|
8828
|
+
app[key] = (0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(obj[key])
|
|
8829
|
+
? ConfigDeepFlatten(obj[key])
|
|
8830
|
+
: obj[key];
|
|
8831
|
+
return app;
|
|
8832
|
+
}, {});
|
|
8833
|
+
}
|
|
8808
8834
|
|
|
8809
8835
|
|
|
8810
8836
|
/***/ }),
|
|
@@ -9477,8 +9503,9 @@ var humanSizeToBytes = function (human) {
|
|
|
9477
9503
|
__webpack_require__.r(__webpack_exports__);
|
|
9478
9504
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9479
9505
|
/* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_23__.$$; },
|
|
9480
|
-
/* harmony export */
|
|
9481
|
-
/* harmony export */
|
|
9506
|
+
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.pi; },
|
|
9507
|
+
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.VL; },
|
|
9508
|
+
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.tb; },
|
|
9482
9509
|
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.Rc; },
|
|
9483
9510
|
/* harmony export */ LimitedStack: function() { return /* reexport safe */ _stack__WEBPACK_IMPORTED_MODULE_25__.d; },
|
|
9484
9511
|
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.ZW; },
|
|
@@ -12724,6 +12751,7 @@ function extractSelectedPart(wrapper, font, jodit) {
|
|
|
12724
12751
|
}
|
|
12725
12752
|
/**
|
|
12726
12753
|
* Retrieves content before after the selected area, clears it if it is empty, and inserts before after the framed selection
|
|
12754
|
+
* @private
|
|
12727
12755
|
*/
|
|
12728
12756
|
function extractAndMove(wrapper, range, left) {
|
|
12729
12757
|
var fragment = range.extractContents();
|
|
@@ -14360,7 +14388,7 @@ var Dlgs = /** @class */ (function () {
|
|
|
14360
14388
|
function Dlgs() {
|
|
14361
14389
|
}
|
|
14362
14390
|
Dlgs.prototype.dlg = function (options) {
|
|
14363
|
-
var dialog = new jodit_modules_dialog__WEBPACK_IMPORTED_MODULE_2__/* .Dialog */ .lG((0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__assign */ .Cl)({ language: this.o.language, shadowRoot: this.o.shadowRoot, ownerWindow: this.o.ownerWindow, defaultTimeout: this.o.defaultTimeout, theme: this.o.theme, globalFullSize: this.o.globalFullSize }, options));
|
|
14391
|
+
var dialog = new jodit_modules_dialog__WEBPACK_IMPORTED_MODULE_2__/* .Dialog */ .lG((0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__assign */ .Cl)({ language: this.o.language, shadowRoot: this.o.shadowRoot, ownerWindow: this.o.ownerWindow, defaultTimeout: this.o.defaultTimeout, direction: this.o.direction, theme: this.o.theme, globalFullSize: this.o.globalFullSize }, options));
|
|
14364
14392
|
(0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_1__/* .markOwner */ .b_)(this, dialog.container);
|
|
14365
14393
|
dialog.parent = this;
|
|
14366
14394
|
return dialog.bindDestruct(this);
|
|
@@ -17971,11 +17999,11 @@ var View = /** @class */ (function (_super) {
|
|
|
17971
17999
|
_super.prototype.destruct.call(this);
|
|
17972
18000
|
};
|
|
17973
18001
|
var View_1;
|
|
17974
|
-
// from webpack.config.
|
|
18002
|
+
// from webpack.config.ts
|
|
17975
18003
|
View.ES = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.ES;
|
|
17976
18004
|
View.version = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.APP_VERSION;
|
|
17977
|
-
View.esNext = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_NEXT; // from webpack.config.
|
|
17978
|
-
View.esModern = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_MODERN; // from webpack.config.
|
|
18005
|
+
View.esNext = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_NEXT; // from webpack.config.ts
|
|
18006
|
+
View.esModern = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_MODERN; // from webpack.config.ts
|
|
17979
18007
|
(0,tslib__WEBPACK_IMPORTED_MODULE_16__/* .__decorate */ .Cg)([
|
|
17980
18008
|
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
17981
18009
|
], View.prototype, "buffer", null);
|
|
@@ -18303,7 +18331,17 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18303
18331
|
configurable: true
|
|
18304
18332
|
});
|
|
18305
18333
|
/**
|
|
18306
|
-
* Method wrap usual
|
|
18334
|
+
* Method wrap usual object in Object helper for prevent deep object merging in options*
|
|
18335
|
+
* ```js
|
|
18336
|
+
* const editor = Jodit.make('#editor', {
|
|
18337
|
+
* controls: {
|
|
18338
|
+
* fontsize: {
|
|
18339
|
+
* list: Jodit.atom([8, 9, 10])
|
|
18340
|
+
* }
|
|
18341
|
+
* }
|
|
18342
|
+
* });
|
|
18343
|
+
* ```
|
|
18344
|
+
* In this case, the array [8, 9, 10] will not be combined with other arrays, but will replace them
|
|
18307
18345
|
*/
|
|
18308
18346
|
Jodit.atom = function (object) {
|
|
18309
18347
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.markAsAtomic)(object);
|
|
@@ -19343,13 +19381,6 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19343
19381
|
})
|
|
19344
19382
|
.on('blur', function () { return (_this.editorIsActive = false); });
|
|
19345
19383
|
_this.__prepareWYSIWYGEditor();
|
|
19346
|
-
// direction
|
|
19347
|
-
if (_this.o.direction) {
|
|
19348
|
-
var direction = _this.o.direction.toLowerCase() === 'rtl' ? 'rtl' : 'ltr';
|
|
19349
|
-
_this.container.style.direction = direction;
|
|
19350
|
-
_this.container.setAttribute('dir', direction);
|
|
19351
|
-
_this.toolbar.setDirection(direction);
|
|
19352
|
-
}
|
|
19353
19384
|
if (_this.o.triggerChangeEvent) {
|
|
19354
19385
|
_this.e.on('change', _this.async.debounce(function () {
|
|
19355
19386
|
_this.e && _this.e.fire(_this.element, 'change');
|
|
@@ -19368,6 +19399,9 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19368
19399
|
var direction = this.o.direction.toLowerCase() === 'rtl' ? 'rtl' : 'ltr';
|
|
19369
19400
|
this.editor.style.direction = direction;
|
|
19370
19401
|
this.editor.setAttribute('dir', direction);
|
|
19402
|
+
this.container.style.direction = direction;
|
|
19403
|
+
this.container.setAttribute('dir', direction);
|
|
19404
|
+
this.toolbar.setDirection(direction);
|
|
19371
19405
|
}
|
|
19372
19406
|
// proxy events
|
|
19373
19407
|
this.e
|
|
@@ -19961,6 +19995,10 @@ var Dialog = /** @class */ (function (_super) {
|
|
|
19961
19995
|
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_3__/* .Dom */ .J.safeRemove(self.container);
|
|
19962
19996
|
var n = _this.getFullElName.bind(_this);
|
|
19963
19997
|
self.container = _this.c.fromHTML("<div class=\"jodit jodit-dialog ".concat(_this.componentName, "\">\n\t\t\t\t<div class=\"").concat(n('overlay'), "\"></div>\n\t\t\t\t<div class=\"").concat(_this.getFullElName('panel'), "\">\n\t\t\t\t\t<div class=\"").concat(n('header'), "\">\n\t\t\t\t\t\t<div class=\"").concat(n('header-title'), "\"></div>\n\t\t\t\t\t\t<div class=\"").concat(n('header-toolbar'), "\"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"").concat(n('content'), "\"></div>\n\t\t\t\t\t<div class=\"").concat(n('footer'), "\"></div>\n\t\t\t\t\t<div class=\"").concat(n('resizer'), "\">").concat(jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__/* .Icon */ .In.get('resize_handler'), "</div>\n\t\t\t\t</div>\n\t\t\t</div>"));
|
|
19998
|
+
if (self.options.direction === 'rtl') {
|
|
19999
|
+
self.container.style.direction = 'rtl';
|
|
20000
|
+
self.container.setAttribute('dir', 'rtl');
|
|
20001
|
+
}
|
|
19964
20002
|
if (_this.o.zIndex) {
|
|
19965
20003
|
_this.container.style.zIndex = _this.o.zIndex.toString();
|
|
19966
20004
|
}
|
|
@@ -23079,6 +23117,7 @@ var Snapshot = /** @class */ (function (_super) {
|
|
|
23079
23117
|
function Snapshot() {
|
|
23080
23118
|
var _this = _super.apply(this, (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__spreadArray */ .fX)([], (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__read */ .zs)(arguments), false)) || this;
|
|
23081
23119
|
_this.__isBlocked = false;
|
|
23120
|
+
_this.__levelOfTransaction = 0;
|
|
23082
23121
|
return _this;
|
|
23083
23122
|
}
|
|
23084
23123
|
/** @override */
|
|
@@ -23164,6 +23203,7 @@ var Snapshot = /** @class */ (function (_super) {
|
|
|
23164
23203
|
};
|
|
23165
23204
|
Snapshot.prototype.transaction = function (changes) {
|
|
23166
23205
|
this.__block(true);
|
|
23206
|
+
this.__levelOfTransaction += 1;
|
|
23167
23207
|
try {
|
|
23168
23208
|
changes();
|
|
23169
23209
|
}
|
|
@@ -23172,7 +23212,12 @@ var Snapshot = /** @class */ (function (_super) {
|
|
|
23172
23212
|
throw e;
|
|
23173
23213
|
}
|
|
23174
23214
|
}
|
|
23175
|
-
|
|
23215
|
+
finally {
|
|
23216
|
+
this.__levelOfTransaction -= 1;
|
|
23217
|
+
if (this.__levelOfTransaction === 0) {
|
|
23218
|
+
this.__block(false);
|
|
23219
|
+
}
|
|
23220
|
+
}
|
|
23176
23221
|
};
|
|
23177
23222
|
/**
|
|
23178
23223
|
* Creates object a snapshot of editor: html and the current selection. Current selection calculate by
|
|
@@ -25440,17 +25485,26 @@ var ToolbarButton = /** @class */ (function (_super) {
|
|
|
25440
25485
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
|
|
25441
25486
|
var popup = this.openPopup();
|
|
25442
25487
|
popup.parentElement = this;
|
|
25443
|
-
|
|
25444
|
-
|
|
25445
|
-
|
|
25446
|
-
|
|
25447
|
-
|
|
25448
|
-
|
|
25449
|
-
|
|
25450
|
-
|
|
25451
|
-
|
|
25488
|
+
try {
|
|
25489
|
+
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) {
|
|
25490
|
+
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;
|
|
25491
|
+
var elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
25492
|
+
if (elm) {
|
|
25493
|
+
popup
|
|
25494
|
+
.setContent((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm)
|
|
25495
|
+
.open(function () { return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(_this.container); }, false, this.j.o.allowTabNavigation
|
|
25496
|
+
? this.container
|
|
25497
|
+
: undefined);
|
|
25498
|
+
}
|
|
25499
|
+
else {
|
|
25500
|
+
this.__closePopup();
|
|
25501
|
+
}
|
|
25452
25502
|
}
|
|
25453
25503
|
}
|
|
25504
|
+
catch (e) {
|
|
25505
|
+
this.__closePopup();
|
|
25506
|
+
throw e;
|
|
25507
|
+
}
|
|
25454
25508
|
/**
|
|
25455
25509
|
* Fired after the popup was opened for some control button
|
|
25456
25510
|
*/
|
|
@@ -27938,6 +27992,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27938
27992
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
27939
27993
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
27940
27994
|
*/
|
|
27995
|
+
/**
|
|
27996
|
+
* @module plugins/ai-assistant
|
|
27997
|
+
*/
|
|
27941
27998
|
|
|
27942
27999
|
|
|
27943
28000
|
|
|
@@ -34134,7 +34191,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
34134
34191
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
34135
34192
|
*/
|
|
34136
34193
|
|
|
34137
|
-
/**
|
|
34194
|
+
/**
|
|
34195
|
+
* @private
|
|
34196
|
+
*/
|
|
34138
34197
|
function readAlign(image, values) {
|
|
34139
34198
|
// Align
|
|
34140
34199
|
if (image.style.cssFloat &&
|
|
@@ -34262,6 +34321,9 @@ function readLink(state, j, values) {
|
|
|
34262
34321
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
34263
34322
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
34264
34323
|
*/
|
|
34324
|
+
/**
|
|
34325
|
+
* @module plugins/image-properties
|
|
34326
|
+
*/
|
|
34265
34327
|
|
|
34266
34328
|
/** @private */
|
|
34267
34329
|
function readMargins(image, values, state) {
|
|
@@ -34307,6 +34369,9 @@ function readMargins(image, values, state) {
|
|
|
34307
34369
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
34308
34370
|
*/
|
|
34309
34371
|
|
|
34372
|
+
/**
|
|
34373
|
+
* @module plugins/image-properties
|
|
34374
|
+
*/
|
|
34310
34375
|
|
|
34311
34376
|
|
|
34312
34377
|
|
|
@@ -35099,6 +35164,9 @@ function openImagePopup(j, dialog, state, button) {
|
|
|
35099
35164
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
35100
35165
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
35101
35166
|
*/
|
|
35167
|
+
/**
|
|
35168
|
+
* @module plugins/image-properties
|
|
35169
|
+
*/
|
|
35102
35170
|
|
|
35103
35171
|
|
|
35104
35172
|
/** @private */
|
|
@@ -35287,6 +35355,9 @@ function applyMargin(j, marginTop, marginRight, marginBottom, marginLeft, image,
|
|
|
35287
35355
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
35288
35356
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
35289
35357
|
*/
|
|
35358
|
+
/**
|
|
35359
|
+
* @module plugins/image-properties
|
|
35360
|
+
*/
|
|
35290
35361
|
|
|
35291
35362
|
|
|
35292
35363
|
|
|
@@ -42642,6 +42713,10 @@ var AceEditor = /** @class */ (function (_super) {
|
|
|
42642
42713
|
_this.container.appendChild(fakeMirror);
|
|
42643
42714
|
var ace = editor.ow.ace;
|
|
42644
42715
|
_this.instance = ace.edit(fakeMirror);
|
|
42716
|
+
if (editor.o.direction === 'rtl') {
|
|
42717
|
+
_this.instance.setOption('rtlText', true);
|
|
42718
|
+
_this.instance.setOption('rtl', true);
|
|
42719
|
+
}
|
|
42645
42720
|
_this.instance.setTheme(editor.o.sourceEditorNativeOptions.theme);
|
|
42646
42721
|
_this.instance.renderer.setShowGutter(editor.o.sourceEditorNativeOptions.showGutter);
|
|
42647
42722
|
_this.instance
|
|
@@ -42816,7 +42891,8 @@ var TextAreaEditor = /** @class */ (function (_super) {
|
|
|
42816
42891
|
TextAreaEditor.prototype.init = function (editor) {
|
|
42817
42892
|
var _this = this;
|
|
42818
42893
|
this.instance = editor.c.element('textarea', {
|
|
42819
|
-
class: 'jodit-source__mirror'
|
|
42894
|
+
class: 'jodit-source__mirror',
|
|
42895
|
+
dir: editor.o.direction === 'rtl' ? 'rtl' : undefined
|
|
42820
42896
|
});
|
|
42821
42897
|
this.container.appendChild(this.instance);
|
|
42822
42898
|
editor.e
|
|
@@ -44467,14 +44543,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.sym
|
|
|
44467
44543
|
editor.e.on(container, 'close_dialog', close);
|
|
44468
44544
|
return box;
|
|
44469
44545
|
}
|
|
44470
|
-
|
|
44471
|
-
|
|
44472
|
-
|
|
44473
|
-
|
|
44474
|
-
|
|
44475
|
-
a && a.focus();
|
|
44476
|
-
}
|
|
44546
|
+
editor
|
|
44547
|
+
.alert(container, 'Select Special Character', undefined, 'jodit-symbols')
|
|
44548
|
+
.bindDestruct(editor);
|
|
44549
|
+
var a = container.querySelector('a');
|
|
44550
|
+
a && a.focus();
|
|
44477
44551
|
}
|
|
44552
|
+
return;
|
|
44478
44553
|
}
|
|
44479
44554
|
};
|
|
44480
44555
|
|
|
@@ -44994,25 +45069,28 @@ var symbols = /** @class */ (function (_super) {
|
|
|
44994
45069
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__extends */ .C6)(symbols, _super);
|
|
44995
45070
|
function symbols(jodit) {
|
|
44996
45071
|
var _this = _super.call(this, jodit) || this;
|
|
44997
|
-
/** @override */
|
|
44998
45072
|
_this.buttons = [
|
|
44999
45073
|
{
|
|
45000
45074
|
name: 'symbols',
|
|
45001
45075
|
group: 'insert'
|
|
45002
45076
|
}
|
|
45003
45077
|
];
|
|
45004
|
-
_this.
|
|
45078
|
+
_this.__countInRow = 17;
|
|
45005
45079
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
|
|
45006
45080
|
return _this;
|
|
45007
45081
|
}
|
|
45008
|
-
/** @override */
|
|
45009
45082
|
symbols.prototype.afterInit = function (jodit) {
|
|
45010
45083
|
var _this = this;
|
|
45011
45084
|
jodit.e.on('generateSpecialCharactersTable.symbols', function () {
|
|
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>")
|
|
45085
|
+
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>");
|
|
45086
|
+
var preview = container.querySelector('.jodit-symbols__preview');
|
|
45087
|
+
var table = container.querySelector('table');
|
|
45088
|
+
var body = table.tBodies[0];
|
|
45089
|
+
var chars = [];
|
|
45013
45090
|
for (var i = 0; i < jodit.o.specialCharacters.length;) {
|
|
45014
45091
|
var tr = jodit.c.element('tr');
|
|
45015
|
-
for (var j = 0; j < _this.
|
|
45092
|
+
for (var j = 0; j < _this.__countInRow &&
|
|
45093
|
+
i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
45016
45094
|
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>"));
|
|
45017
45095
|
chars.push(a);
|
|
45018
45096
|
td.appendChild(a);
|
|
@@ -45029,7 +45107,9 @@ var symbols = /** @class */ (function (_super) {
|
|
|
45029
45107
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(this, 'a')) {
|
|
45030
45108
|
jodit.s.focus();
|
|
45031
45109
|
jodit.s.insertHTML(this.innerHTML);
|
|
45032
|
-
|
|
45110
|
+
if (!(e === null || e === void 0 ? void 0 : e.shiftKey)) {
|
|
45111
|
+
jodit.e.fire(this, 'close_dialog');
|
|
45112
|
+
}
|
|
45033
45113
|
e && e.preventDefault();
|
|
45034
45114
|
e && e.stopImmediatePropagation();
|
|
45035
45115
|
}
|
|
@@ -45049,18 +45129,18 @@ var symbols = /** @class */ (function (_super) {
|
|
|
45049
45129
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
45050
45130
|
newIndex =
|
|
45051
45131
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
45052
|
-
? index - self.
|
|
45053
|
-
: index + self.
|
|
45132
|
+
? index - self.__countInRow
|
|
45133
|
+
: index + self.__countInRow;
|
|
45054
45134
|
if (chars[newIndex] === undefined) {
|
|
45055
45135
|
newIndex =
|
|
45056
45136
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
45057
45137
|
? Math.floor(chars.length /
|
|
45058
|
-
self.
|
|
45059
|
-
self.
|
|
45138
|
+
self.__countInRow) *
|
|
45139
|
+
self.__countInRow +
|
|
45060
45140
|
jIndex
|
|
45061
45141
|
: jIndex;
|
|
45062
45142
|
if (newIndex > chars.length - 1) {
|
|
45063
|
-
newIndex -= self.
|
|
45143
|
+
newIndex -= self.__countInRow;
|
|
45064
45144
|
}
|
|
45065
45145
|
}
|
|
45066
45146
|
chars[newIndex] && chars[newIndex].focus();
|