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/es2015/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
|
*/
|
|
@@ -2449,7 +2449,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2449
2449
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2450
2450
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2451
2451
|
*/
|
|
2452
|
-
const APP_VERSION = "4.2.
|
|
2452
|
+
const APP_VERSION = "4.2.50";
|
|
2453
2453
|
// prettier-ignore
|
|
2454
2454
|
const ES = "es2015";
|
|
2455
2455
|
const IS_ES_MODERN = true;
|
|
@@ -8266,10 +8266,10 @@ const buildQuery = (data, prefix) => {
|
|
|
8266
8266
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8267
8267
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8268
8268
|
*/
|
|
8269
|
-
|
|
8270
8269
|
/**
|
|
8271
8270
|
* @module helpers/utils
|
|
8272
8271
|
*/
|
|
8272
|
+
|
|
8273
8273
|
const completeUrl = (url) => {
|
|
8274
8274
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.location.protocol === 'file:' && /^\/\//.test(url)) {
|
|
8275
8275
|
url = 'https:' + url;
|
|
@@ -8285,8 +8285,9 @@ const completeUrl = (url) => {
|
|
|
8285
8285
|
|
|
8286
8286
|
"use strict";
|
|
8287
8287
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8288
|
-
/* harmony export */
|
|
8289
|
-
/* harmony export */
|
|
8288
|
+
/* harmony export */ VL: function() { return /* binding */ ConfigFlatten; },
|
|
8289
|
+
/* harmony export */ pi: function() { return /* binding */ ConfigDeepFlatten; },
|
|
8290
|
+
/* harmony export */ tb: function() { return /* binding */ ConfigProto; }
|
|
8290
8291
|
/* harmony export */ });
|
|
8291
8292
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(55010);
|
|
8292
8293
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
@@ -8377,6 +8378,31 @@ function ConfigFlatten(obj) {
|
|
|
8377
8378
|
return app;
|
|
8378
8379
|
}, {});
|
|
8379
8380
|
}
|
|
8381
|
+
/**
|
|
8382
|
+
* Returns a plain object from a prototype-based object.
|
|
8383
|
+
* ```typescript
|
|
8384
|
+
* const editor = Jodit.make('#editor', {
|
|
8385
|
+
* image: {
|
|
8386
|
+
* dialogWidth: 500
|
|
8387
|
+
* }
|
|
8388
|
+
* });
|
|
8389
|
+
*
|
|
8390
|
+
* console.log(editor.o.image.openOnDblClick) // true
|
|
8391
|
+
* // But you can't get all options in plain object
|
|
8392
|
+
* console.log(JSON.stringify(editor.o.image)); // {"dialogWidth":500}
|
|
8393
|
+
*
|
|
8394
|
+
* const plain = Jodit.modules.Helpers.ConfigDeepFlatten(editor.o.image);
|
|
8395
|
+
* console.log(JSON.stringify(plain)); // {"dialogWidth":500, "openOnDblClick": true, "editSrc": true, ...}
|
|
8396
|
+
* ```
|
|
8397
|
+
*/
|
|
8398
|
+
function ConfigDeepFlatten(obj) {
|
|
8399
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
8400
|
+
app[key] = (0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(obj[key])
|
|
8401
|
+
? ConfigDeepFlatten(obj[key])
|
|
8402
|
+
: obj[key];
|
|
8403
|
+
return app;
|
|
8404
|
+
}, {});
|
|
8405
|
+
}
|
|
8380
8406
|
|
|
8381
8407
|
|
|
8382
8408
|
/***/ }),
|
|
@@ -9008,8 +9034,9 @@ const humanSizeToBytes = (human) => {
|
|
|
9008
9034
|
__webpack_require__.r(__webpack_exports__);
|
|
9009
9035
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9010
9036
|
/* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_23__.$$; },
|
|
9011
|
-
/* harmony export */
|
|
9012
|
-
/* harmony export */
|
|
9037
|
+
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.pi; },
|
|
9038
|
+
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.VL; },
|
|
9039
|
+
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.tb; },
|
|
9013
9040
|
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.Rc; },
|
|
9014
9041
|
/* harmony export */ LimitedStack: function() { return /* reexport safe */ _stack__WEBPACK_IMPORTED_MODULE_25__.d; },
|
|
9015
9042
|
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.ZW; },
|
|
@@ -12011,6 +12038,7 @@ function extractSelectedPart(wrapper, font, jodit) {
|
|
|
12011
12038
|
}
|
|
12012
12039
|
/**
|
|
12013
12040
|
* Retrieves content before after the selected area, clears it if it is empty, and inserts before after the framed selection
|
|
12041
|
+
* @private
|
|
12014
12042
|
*/
|
|
12015
12043
|
function extractAndMove(wrapper, range, left) {
|
|
12016
12044
|
const fragment = range.extractContents();
|
|
@@ -13588,7 +13616,7 @@ class Storage {
|
|
|
13588
13616
|
|
|
13589
13617
|
class Dlgs {
|
|
13590
13618
|
dlg(options) {
|
|
13591
|
-
const dialog = new jodit_modules_dialog__WEBPACK_IMPORTED_MODULE_2__/* .Dialog */ .lG(Object.assign({ 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));
|
|
13619
|
+
const dialog = new jodit_modules_dialog__WEBPACK_IMPORTED_MODULE_2__/* .Dialog */ .lG(Object.assign({ 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));
|
|
13592
13620
|
(0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_1__/* .markOwner */ .b_)(this, dialog.container);
|
|
13593
13621
|
dialog.parent = this;
|
|
13594
13622
|
return dialog.bindDestruct(this);
|
|
@@ -16927,11 +16955,11 @@ let View = View_1 = class View extends jodit_core_component_component__WEBPACK_I
|
|
|
16927
16955
|
super.destruct();
|
|
16928
16956
|
}
|
|
16929
16957
|
};
|
|
16930
|
-
// from webpack.config.
|
|
16958
|
+
// from webpack.config.ts
|
|
16931
16959
|
View.ES = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.ES;
|
|
16932
16960
|
View.version = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.APP_VERSION;
|
|
16933
|
-
View.esNext = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_NEXT; // from webpack.config.
|
|
16934
|
-
View.esModern = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_MODERN; // from webpack.config.
|
|
16961
|
+
View.esNext = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_NEXT; // from webpack.config.ts
|
|
16962
|
+
View.esModern = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_MODERN; // from webpack.config.ts
|
|
16935
16963
|
(0,tslib__WEBPACK_IMPORTED_MODULE_15__/* .__decorate */ .Cg)([
|
|
16936
16964
|
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
16937
16965
|
], View.prototype, "buffer", null);
|
|
@@ -17149,7 +17177,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17149
17177
|
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17150
17178
|
}
|
|
17151
17179
|
/**
|
|
17152
|
-
* Method wrap usual
|
|
17180
|
+
* Method wrap usual object in Object helper for prevent deep object merging in options*
|
|
17181
|
+
* ```js
|
|
17182
|
+
* const editor = Jodit.make('#editor', {
|
|
17183
|
+
* controls: {
|
|
17184
|
+
* fontsize: {
|
|
17185
|
+
* list: Jodit.atom([8, 9, 10])
|
|
17186
|
+
* }
|
|
17187
|
+
* }
|
|
17188
|
+
* });
|
|
17189
|
+
* ```
|
|
17190
|
+
* In this case, the array [8, 9, 10] will not be combined with other arrays, but will replace them
|
|
17153
17191
|
*/
|
|
17154
17192
|
static atom(object) {
|
|
17155
17193
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.markAsAtomic)(object);
|
|
@@ -18154,13 +18192,6 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18154
18192
|
})
|
|
18155
18193
|
.on('blur', () => (this.editorIsActive = false));
|
|
18156
18194
|
this.__prepareWYSIWYGEditor();
|
|
18157
|
-
// direction
|
|
18158
|
-
if (this.o.direction) {
|
|
18159
|
-
const direction = this.o.direction.toLowerCase() === 'rtl' ? 'rtl' : 'ltr';
|
|
18160
|
-
this.container.style.direction = direction;
|
|
18161
|
-
this.container.setAttribute('dir', direction);
|
|
18162
|
-
this.toolbar.setDirection(direction);
|
|
18163
|
-
}
|
|
18164
18195
|
if (this.o.triggerChangeEvent) {
|
|
18165
18196
|
this.e.on('change', this.async.debounce(() => {
|
|
18166
18197
|
this.e && this.e.fire(this.element, 'change');
|
|
@@ -18178,6 +18209,9 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18178
18209
|
const direction = this.o.direction.toLowerCase() === 'rtl' ? 'rtl' : 'ltr';
|
|
18179
18210
|
this.editor.style.direction = direction;
|
|
18180
18211
|
this.editor.setAttribute('dir', direction);
|
|
18212
|
+
this.container.style.direction = direction;
|
|
18213
|
+
this.container.setAttribute('dir', direction);
|
|
18214
|
+
this.toolbar.setDirection(direction);
|
|
18181
18215
|
}
|
|
18182
18216
|
// proxy events
|
|
18183
18217
|
this.e
|
|
@@ -19169,6 +19203,10 @@ let Dialog = Dialog_1 = class Dialog extends jodit_core_view_view_with_toolbar__
|
|
|
19169
19203
|
<div class="${n('resizer')}">${jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__/* .Icon */ .In.get('resize_handler')}</div>
|
|
19170
19204
|
</div>
|
|
19171
19205
|
</div>`);
|
|
19206
|
+
if (self.options.direction === 'rtl') {
|
|
19207
|
+
self.container.style.direction = 'rtl';
|
|
19208
|
+
self.container.setAttribute('dir', 'rtl');
|
|
19209
|
+
}
|
|
19172
19210
|
if (this.o.zIndex) {
|
|
19173
19211
|
this.container.style.zIndex = this.o.zIndex.toString();
|
|
19174
19212
|
}
|
|
@@ -21703,6 +21741,7 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21703
21741
|
constructor() {
|
|
21704
21742
|
super(...arguments);
|
|
21705
21743
|
this.__isBlocked = false;
|
|
21744
|
+
this.__levelOfTransaction = 0;
|
|
21706
21745
|
}
|
|
21707
21746
|
/** @override */
|
|
21708
21747
|
className() {
|
|
@@ -21783,6 +21822,7 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21783
21822
|
}
|
|
21784
21823
|
transaction(changes) {
|
|
21785
21824
|
this.__block(true);
|
|
21825
|
+
this.__levelOfTransaction += 1;
|
|
21786
21826
|
try {
|
|
21787
21827
|
changes();
|
|
21788
21828
|
}
|
|
@@ -21791,7 +21831,12 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21791
21831
|
throw e;
|
|
21792
21832
|
}
|
|
21793
21833
|
}
|
|
21794
|
-
|
|
21834
|
+
finally {
|
|
21835
|
+
this.__levelOfTransaction -= 1;
|
|
21836
|
+
if (this.__levelOfTransaction === 0) {
|
|
21837
|
+
this.__block(false);
|
|
21838
|
+
}
|
|
21839
|
+
}
|
|
21795
21840
|
}
|
|
21796
21841
|
/**
|
|
21797
21842
|
* Creates object a snapshot of editor: html and the current selection. Current selection calculate by
|
|
@@ -24033,17 +24078,26 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
24033
24078
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
|
|
24034
24079
|
const popup = this.openPopup();
|
|
24035
24080
|
popup.parentElement = this;
|
|
24036
|
-
|
|
24037
|
-
|
|
24038
|
-
|
|
24039
|
-
|
|
24040
|
-
|
|
24041
|
-
|
|
24042
|
-
|
|
24043
|
-
|
|
24044
|
-
|
|
24081
|
+
try {
|
|
24082
|
+
if (this.j.e.fire((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
|
|
24083
|
+
const 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;
|
|
24084
|
+
const elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
24085
|
+
if (elm) {
|
|
24086
|
+
popup
|
|
24087
|
+
.setContent((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm)
|
|
24088
|
+
.open(() => (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation
|
|
24089
|
+
? this.container
|
|
24090
|
+
: undefined);
|
|
24091
|
+
}
|
|
24092
|
+
else {
|
|
24093
|
+
this.__closePopup();
|
|
24094
|
+
}
|
|
24045
24095
|
}
|
|
24046
24096
|
}
|
|
24097
|
+
catch (e) {
|
|
24098
|
+
this.__closePopup();
|
|
24099
|
+
throw e;
|
|
24100
|
+
}
|
|
24047
24101
|
/**
|
|
24048
24102
|
* Fired after the popup was opened for some control button
|
|
24049
24103
|
*/
|
|
@@ -26432,6 +26486,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26432
26486
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
26433
26487
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
26434
26488
|
*/
|
|
26489
|
+
/**
|
|
26490
|
+
* @module plugins/ai-assistant
|
|
26491
|
+
*/
|
|
26435
26492
|
|
|
26436
26493
|
|
|
26437
26494
|
|
|
@@ -32418,7 +32475,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
32418
32475
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32419
32476
|
*/
|
|
32420
32477
|
|
|
32421
|
-
/**
|
|
32478
|
+
/**
|
|
32479
|
+
* @private
|
|
32480
|
+
*/
|
|
32422
32481
|
function readAlign(image, values) {
|
|
32423
32482
|
// Align
|
|
32424
32483
|
if (image.style.cssFloat &&
|
|
@@ -32543,6 +32602,9 @@ function readLink(state, j, values) {
|
|
|
32543
32602
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32544
32603
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32545
32604
|
*/
|
|
32605
|
+
/**
|
|
32606
|
+
* @module plugins/image-properties
|
|
32607
|
+
*/
|
|
32546
32608
|
|
|
32547
32609
|
/** @private */
|
|
32548
32610
|
function readMargins(image, values, state) {
|
|
@@ -32588,6 +32650,9 @@ function readMargins(image, values, state) {
|
|
|
32588
32650
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32589
32651
|
*/
|
|
32590
32652
|
|
|
32653
|
+
/**
|
|
32654
|
+
* @module plugins/image-properties
|
|
32655
|
+
*/
|
|
32591
32656
|
|
|
32592
32657
|
|
|
32593
32658
|
|
|
@@ -33407,6 +33472,9 @@ function openImagePopup(j, dialog, state, button) {
|
|
|
33407
33472
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33408
33473
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33409
33474
|
*/
|
|
33475
|
+
/**
|
|
33476
|
+
* @module plugins/image-properties
|
|
33477
|
+
*/
|
|
33410
33478
|
|
|
33411
33479
|
|
|
33412
33480
|
/** @private */
|
|
@@ -33595,6 +33663,9 @@ function applyMargin(j, marginTop, marginRight, marginBottom, marginLeft, image,
|
|
|
33595
33663
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33596
33664
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33597
33665
|
*/
|
|
33666
|
+
/**
|
|
33667
|
+
* @module plugins/image-properties
|
|
33668
|
+
*/
|
|
33598
33669
|
|
|
33599
33670
|
|
|
33600
33671
|
|
|
@@ -40601,6 +40672,10 @@ class AceEditor extends jodit_plugins_source_editor_sourceEditor__WEBPACK_IMPORT
|
|
|
40601
40672
|
this.container.appendChild(fakeMirror);
|
|
40602
40673
|
const ace = editor.ow.ace;
|
|
40603
40674
|
this.instance = ace.edit(fakeMirror);
|
|
40675
|
+
if (editor.o.direction === 'rtl') {
|
|
40676
|
+
this.instance.setOption('rtlText', true);
|
|
40677
|
+
this.instance.setOption('rtl', true);
|
|
40678
|
+
}
|
|
40604
40679
|
this.instance.setTheme(editor.o.sourceEditorNativeOptions.theme);
|
|
40605
40680
|
this.instance.renderer.setShowGutter(editor.o.sourceEditorNativeOptions.showGutter);
|
|
40606
40681
|
this.instance
|
|
@@ -40764,7 +40839,8 @@ class TextAreaEditor extends jodit_plugins_source_editor_sourceEditor__WEBPACK_I
|
|
|
40764
40839
|
}
|
|
40765
40840
|
init(editor) {
|
|
40766
40841
|
this.instance = editor.c.element('textarea', {
|
|
40767
|
-
class: 'jodit-source__mirror'
|
|
40842
|
+
class: 'jodit-source__mirror',
|
|
40843
|
+
dir: editor.o.direction === 'rtl' ? 'rtl' : undefined
|
|
40768
40844
|
});
|
|
40769
40845
|
this.container.appendChild(this.instance);
|
|
40770
40846
|
editor.e
|
|
@@ -42371,14 +42447,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.sym
|
|
|
42371
42447
|
editor.e.on(container, 'close_dialog', close);
|
|
42372
42448
|
return box;
|
|
42373
42449
|
}
|
|
42374
|
-
|
|
42375
|
-
|
|
42376
|
-
|
|
42377
|
-
|
|
42378
|
-
|
|
42379
|
-
a && a.focus();
|
|
42380
|
-
}
|
|
42450
|
+
editor
|
|
42451
|
+
.alert(container, 'Select Special Character', undefined, 'jodit-symbols')
|
|
42452
|
+
.bindDestruct(editor);
|
|
42453
|
+
const a = container.querySelector('a');
|
|
42454
|
+
a && a.focus();
|
|
42381
42455
|
}
|
|
42456
|
+
return;
|
|
42382
42457
|
}
|
|
42383
42458
|
};
|
|
42384
42459
|
|
|
@@ -42895,17 +42970,15 @@ module.exports = {
|
|
|
42895
42970
|
class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .k {
|
|
42896
42971
|
constructor(jodit) {
|
|
42897
42972
|
super(jodit);
|
|
42898
|
-
/** @override */
|
|
42899
42973
|
this.buttons = [
|
|
42900
42974
|
{
|
|
42901
42975
|
name: 'symbols',
|
|
42902
42976
|
group: 'insert'
|
|
42903
42977
|
}
|
|
42904
42978
|
];
|
|
42905
|
-
this.
|
|
42979
|
+
this.__countInRow = 17;
|
|
42906
42980
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
|
|
42907
42981
|
}
|
|
42908
|
-
/** @override */
|
|
42909
42982
|
afterInit(jodit) {
|
|
42910
42983
|
jodit.e.on('generateSpecialCharactersTable.symbols', () => {
|
|
42911
42984
|
const container = jodit.c.fromHTML(`<div class="jodit-symbols__container">
|
|
@@ -42915,10 +42988,15 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42915
42988
|
<div class="jodit-symbols__container_preview">
|
|
42916
42989
|
<div class="jodit-symbols__preview"></div>
|
|
42917
42990
|
</div>
|
|
42918
|
-
</div>`)
|
|
42991
|
+
</div>`);
|
|
42992
|
+
const preview = container.querySelector('.jodit-symbols__preview');
|
|
42993
|
+
const table = container.querySelector('table');
|
|
42994
|
+
const body = table.tBodies[0];
|
|
42995
|
+
const chars = [];
|
|
42919
42996
|
for (let i = 0; i < jodit.o.specialCharacters.length;) {
|
|
42920
42997
|
const tr = jodit.c.element('tr');
|
|
42921
|
-
for (let j = 0; j < this.
|
|
42998
|
+
for (let j = 0; j < this.__countInRow &&
|
|
42999
|
+
i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
42922
43000
|
const td = jodit.c.element('td'), a = jodit.c.fromHTML(`<a
|
|
42923
43001
|
data-index="${i}"
|
|
42924
43002
|
data-index-j="${j}"
|
|
@@ -42940,7 +43018,9 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42940
43018
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(this, 'a')) {
|
|
42941
43019
|
jodit.s.focus();
|
|
42942
43020
|
jodit.s.insertHTML(this.innerHTML);
|
|
42943
|
-
|
|
43021
|
+
if (!(e === null || e === void 0 ? void 0 : e.shiftKey)) {
|
|
43022
|
+
jodit.e.fire(this, 'close_dialog');
|
|
43023
|
+
}
|
|
42944
43024
|
e && e.preventDefault();
|
|
42945
43025
|
e && e.stopImmediatePropagation();
|
|
42946
43026
|
}
|
|
@@ -42960,18 +43040,18 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42960
43040
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
42961
43041
|
newIndex =
|
|
42962
43042
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
42963
|
-
? index - self.
|
|
42964
|
-
: index + self.
|
|
43043
|
+
? index - self.__countInRow
|
|
43044
|
+
: index + self.__countInRow;
|
|
42965
43045
|
if (chars[newIndex] === undefined) {
|
|
42966
43046
|
newIndex =
|
|
42967
43047
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
42968
43048
|
? Math.floor(chars.length /
|
|
42969
|
-
self.
|
|
42970
|
-
self.
|
|
43049
|
+
self.__countInRow) *
|
|
43050
|
+
self.__countInRow +
|
|
42971
43051
|
jIndex
|
|
42972
43052
|
: jIndex;
|
|
42973
43053
|
if (newIndex > chars.length - 1) {
|
|
42974
|
-
newIndex -= self.
|
|
43054
|
+
newIndex -= self.__countInRow;
|
|
42975
43055
|
}
|
|
42976
43056
|
}
|
|
42977
43057
|
chars[newIndex] && chars[newIndex].focus();
|