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/es2021/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
|
*/
|
|
@@ -2450,7 +2450,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2450
2450
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2451
2451
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2452
2452
|
*/
|
|
2453
|
-
const APP_VERSION = "4.2.
|
|
2453
|
+
const APP_VERSION = "4.2.50";
|
|
2454
2454
|
// prettier-ignore
|
|
2455
2455
|
const ES = "es2021";
|
|
2456
2456
|
const IS_ES_MODERN = true;
|
|
@@ -8247,10 +8247,10 @@ const buildQuery = (data, prefix) => {
|
|
|
8247
8247
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8248
8248
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8249
8249
|
*/
|
|
8250
|
-
|
|
8251
8250
|
/**
|
|
8252
8251
|
* @module helpers/utils
|
|
8253
8252
|
*/
|
|
8253
|
+
|
|
8254
8254
|
const completeUrl = (url) => {
|
|
8255
8255
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.location.protocol === 'file:' && /^\/\//.test(url)) {
|
|
8256
8256
|
url = 'https:' + url;
|
|
@@ -8266,8 +8266,9 @@ const completeUrl = (url) => {
|
|
|
8266
8266
|
|
|
8267
8267
|
"use strict";
|
|
8268
8268
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8269
|
-
/* harmony export */
|
|
8270
|
-
/* harmony export */
|
|
8269
|
+
/* harmony export */ VL: function() { return /* binding */ ConfigFlatten; },
|
|
8270
|
+
/* harmony export */ pi: function() { return /* binding */ ConfigDeepFlatten; },
|
|
8271
|
+
/* harmony export */ tb: function() { return /* binding */ ConfigProto; }
|
|
8271
8272
|
/* harmony export */ });
|
|
8272
8273
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(55010);
|
|
8273
8274
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
@@ -8358,6 +8359,31 @@ function ConfigFlatten(obj) {
|
|
|
8358
8359
|
return app;
|
|
8359
8360
|
}, {});
|
|
8360
8361
|
}
|
|
8362
|
+
/**
|
|
8363
|
+
* Returns a plain object from a prototype-based object.
|
|
8364
|
+
* ```typescript
|
|
8365
|
+
* const editor = Jodit.make('#editor', {
|
|
8366
|
+
* image: {
|
|
8367
|
+
* dialogWidth: 500
|
|
8368
|
+
* }
|
|
8369
|
+
* });
|
|
8370
|
+
*
|
|
8371
|
+
* console.log(editor.o.image.openOnDblClick) // true
|
|
8372
|
+
* // But you can't get all options in plain object
|
|
8373
|
+
* console.log(JSON.stringify(editor.o.image)); // {"dialogWidth":500}
|
|
8374
|
+
*
|
|
8375
|
+
* const plain = Jodit.modules.Helpers.ConfigDeepFlatten(editor.o.image);
|
|
8376
|
+
* console.log(JSON.stringify(plain)); // {"dialogWidth":500, "openOnDblClick": true, "editSrc": true, ...}
|
|
8377
|
+
* ```
|
|
8378
|
+
*/
|
|
8379
|
+
function ConfigDeepFlatten(obj) {
|
|
8380
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
8381
|
+
app[key] = (0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(obj[key])
|
|
8382
|
+
? ConfigDeepFlatten(obj[key])
|
|
8383
|
+
: obj[key];
|
|
8384
|
+
return app;
|
|
8385
|
+
}, {});
|
|
8386
|
+
}
|
|
8361
8387
|
|
|
8362
8388
|
|
|
8363
8389
|
/***/ }),
|
|
@@ -8988,8 +9014,9 @@ const humanSizeToBytes = (human) => {
|
|
|
8988
9014
|
__webpack_require__.r(__webpack_exports__);
|
|
8989
9015
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8990
9016
|
/* harmony export */ $$: function() { return /* reexport safe */ _selector__WEBPACK_IMPORTED_MODULE_23__.$$; },
|
|
8991
|
-
/* harmony export */
|
|
8992
|
-
/* harmony export */
|
|
9017
|
+
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.pi; },
|
|
9018
|
+
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.VL; },
|
|
9019
|
+
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto__WEBPACK_IMPORTED_MODULE_7__.tb; },
|
|
8993
9020
|
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.Rc; },
|
|
8994
9021
|
/* harmony export */ LimitedStack: function() { return /* reexport safe */ _stack__WEBPACK_IMPORTED_MODULE_25__.d; },
|
|
8995
9022
|
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.ZW; },
|
|
@@ -11966,6 +11993,7 @@ function extractSelectedPart(wrapper, font, jodit) {
|
|
|
11966
11993
|
}
|
|
11967
11994
|
/**
|
|
11968
11995
|
* Retrieves content before after the selected area, clears it if it is empty, and inserts before after the framed selection
|
|
11996
|
+
* @private
|
|
11969
11997
|
*/
|
|
11970
11998
|
function extractAndMove(wrapper, range, left) {
|
|
11971
11999
|
const fragment = range.extractContents();
|
|
@@ -13571,6 +13599,7 @@ class Dlgs {
|
|
|
13571
13599
|
shadowRoot: this.o.shadowRoot,
|
|
13572
13600
|
ownerWindow: this.o.ownerWindow,
|
|
13573
13601
|
defaultTimeout: this.o.defaultTimeout,
|
|
13602
|
+
direction: this.o.direction,
|
|
13574
13603
|
theme: this.o.theme,
|
|
13575
13604
|
globalFullSize: this.o.globalFullSize,
|
|
13576
13605
|
...options
|
|
@@ -16928,11 +16957,11 @@ let View = View_1 = class View extends jodit_core_component_component__WEBPACK_I
|
|
|
16928
16957
|
super.destruct();
|
|
16929
16958
|
}
|
|
16930
16959
|
};
|
|
16931
|
-
// from webpack.config.
|
|
16960
|
+
// from webpack.config.ts
|
|
16932
16961
|
View.ES = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.ES;
|
|
16933
16962
|
View.version = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.APP_VERSION;
|
|
16934
|
-
View.esNext = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_NEXT; // from webpack.config.
|
|
16935
|
-
View.esModern = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_MODERN; // from webpack.config.
|
|
16963
|
+
View.esNext = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_NEXT; // from webpack.config.ts
|
|
16964
|
+
View.esModern = jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.IS_ES_MODERN; // from webpack.config.ts
|
|
16936
16965
|
(0,tslib__WEBPACK_IMPORTED_MODULE_15__/* .__decorate */ .Cg)([
|
|
16937
16966
|
jodit_core_decorators_cache_cache__WEBPACK_IMPORTED_MODULE_5__/* .cache */ .PP
|
|
16938
16967
|
], View.prototype, "buffer", null);
|
|
@@ -17149,7 +17178,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17149
17178
|
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17150
17179
|
}
|
|
17151
17180
|
/**
|
|
17152
|
-
* Method wrap usual
|
|
17181
|
+
* Method wrap usual object in Object helper for prevent deep object merging in options*
|
|
17182
|
+
* ```js
|
|
17183
|
+
* const editor = Jodit.make('#editor', {
|
|
17184
|
+
* controls: {
|
|
17185
|
+
* fontsize: {
|
|
17186
|
+
* list: Jodit.atom([8, 9, 10])
|
|
17187
|
+
* }
|
|
17188
|
+
* }
|
|
17189
|
+
* });
|
|
17190
|
+
* ```
|
|
17191
|
+
* In this case, the array [8, 9, 10] will not be combined with other arrays, but will replace them
|
|
17153
17192
|
*/
|
|
17154
17193
|
static atom(object) {
|
|
17155
17194
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.markAsAtomic)(object);
|
|
@@ -18154,13 +18193,6 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18154
18193
|
})
|
|
18155
18194
|
.on('blur', () => (this.editorIsActive = false));
|
|
18156
18195
|
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
18196
|
if (this.o.triggerChangeEvent) {
|
|
18165
18197
|
this.e.on('change', this.async.debounce(() => {
|
|
18166
18198
|
this.e && this.e.fire(this.element, 'change');
|
|
@@ -18178,6 +18210,9 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18178
18210
|
const direction = this.o.direction.toLowerCase() === 'rtl' ? 'rtl' : 'ltr';
|
|
18179
18211
|
this.editor.style.direction = direction;
|
|
18180
18212
|
this.editor.setAttribute('dir', direction);
|
|
18213
|
+
this.container.style.direction = direction;
|
|
18214
|
+
this.container.setAttribute('dir', direction);
|
|
18215
|
+
this.toolbar.setDirection(direction);
|
|
18181
18216
|
}
|
|
18182
18217
|
// proxy events
|
|
18183
18218
|
this.e
|
|
@@ -19170,6 +19205,10 @@ let Dialog = Dialog_1 = class Dialog extends jodit_core_view_view_with_toolbar__
|
|
|
19170
19205
|
<div class="${n('resizer')}">${jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__/* .Icon */ .In.get('resize_handler')}</div>
|
|
19171
19206
|
</div>
|
|
19172
19207
|
</div>`);
|
|
19208
|
+
if (self.options.direction === 'rtl') {
|
|
19209
|
+
self.container.style.direction = 'rtl';
|
|
19210
|
+
self.container.setAttribute('dir', 'rtl');
|
|
19211
|
+
}
|
|
19173
19212
|
if (this.o.zIndex) {
|
|
19174
19213
|
this.container.style.zIndex = this.o.zIndex.toString();
|
|
19175
19214
|
}
|
|
@@ -21701,6 +21740,7 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21701
21740
|
constructor() {
|
|
21702
21741
|
super(...arguments);
|
|
21703
21742
|
this.__isBlocked = false;
|
|
21743
|
+
this.__levelOfTransaction = 0;
|
|
21704
21744
|
}
|
|
21705
21745
|
/** @override */
|
|
21706
21746
|
className() {
|
|
@@ -21781,6 +21821,7 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21781
21821
|
}
|
|
21782
21822
|
transaction(changes) {
|
|
21783
21823
|
this.__block(true);
|
|
21824
|
+
this.__levelOfTransaction += 1;
|
|
21784
21825
|
try {
|
|
21785
21826
|
changes();
|
|
21786
21827
|
}
|
|
@@ -21789,7 +21830,12 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21789
21830
|
throw e;
|
|
21790
21831
|
}
|
|
21791
21832
|
}
|
|
21792
|
-
|
|
21833
|
+
finally {
|
|
21834
|
+
this.__levelOfTransaction -= 1;
|
|
21835
|
+
if (this.__levelOfTransaction === 0) {
|
|
21836
|
+
this.__block(false);
|
|
21837
|
+
}
|
|
21838
|
+
}
|
|
21793
21839
|
}
|
|
21794
21840
|
/**
|
|
21795
21841
|
* Creates object a snapshot of editor: html and the current selection. Current selection calculate by
|
|
@@ -24026,17 +24072,26 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
24026
24072
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
|
|
24027
24073
|
const popup = this.openPopup();
|
|
24028
24074
|
popup.parentElement = this;
|
|
24029
|
-
|
|
24030
|
-
|
|
24031
|
-
|
|
24032
|
-
|
|
24033
|
-
|
|
24034
|
-
|
|
24035
|
-
|
|
24036
|
-
|
|
24037
|
-
|
|
24075
|
+
try {
|
|
24076
|
+
if (this.j.e.fire((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
|
|
24077
|
+
const target = this.toolbar?.getTarget(this) ?? this.target ?? null;
|
|
24078
|
+
const elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
24079
|
+
if (elm) {
|
|
24080
|
+
popup
|
|
24081
|
+
.setContent((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm)
|
|
24082
|
+
.open(() => (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation
|
|
24083
|
+
? this.container
|
|
24084
|
+
: undefined);
|
|
24085
|
+
}
|
|
24086
|
+
else {
|
|
24087
|
+
this.__closePopup();
|
|
24088
|
+
}
|
|
24038
24089
|
}
|
|
24039
24090
|
}
|
|
24091
|
+
catch (e) {
|
|
24092
|
+
this.__closePopup();
|
|
24093
|
+
throw e;
|
|
24094
|
+
}
|
|
24040
24095
|
/**
|
|
24041
24096
|
* Fired after the popup was opened for some control button
|
|
24042
24097
|
*/
|
|
@@ -26428,6 +26483,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26428
26483
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
26429
26484
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
26430
26485
|
*/
|
|
26486
|
+
/**
|
|
26487
|
+
* @module plugins/ai-assistant
|
|
26488
|
+
*/
|
|
26431
26489
|
|
|
26432
26490
|
|
|
26433
26491
|
|
|
@@ -32401,7 +32459,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
32401
32459
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32402
32460
|
*/
|
|
32403
32461
|
|
|
32404
|
-
/**
|
|
32462
|
+
/**
|
|
32463
|
+
* @private
|
|
32464
|
+
*/
|
|
32405
32465
|
function readAlign(image, values) {
|
|
32406
32466
|
// Align
|
|
32407
32467
|
if (image.style.cssFloat &&
|
|
@@ -32522,6 +32582,9 @@ function readLink(state, j, values) {
|
|
|
32522
32582
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32523
32583
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32524
32584
|
*/
|
|
32585
|
+
/**
|
|
32586
|
+
* @module plugins/image-properties
|
|
32587
|
+
*/
|
|
32525
32588
|
|
|
32526
32589
|
/** @private */
|
|
32527
32590
|
function readMargins(image, values, state) {
|
|
@@ -32565,6 +32628,9 @@ function readMargins(image, values, state) {
|
|
|
32565
32628
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32566
32629
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32567
32630
|
*/
|
|
32631
|
+
/**
|
|
32632
|
+
* @module plugins/image-properties
|
|
32633
|
+
*/
|
|
32568
32634
|
|
|
32569
32635
|
|
|
32570
32636
|
|
|
@@ -33378,6 +33444,9 @@ function openImagePopup(j, dialog, state, button) {
|
|
|
33378
33444
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33379
33445
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33380
33446
|
*/
|
|
33447
|
+
/**
|
|
33448
|
+
* @module plugins/image-properties
|
|
33449
|
+
*/
|
|
33381
33450
|
|
|
33382
33451
|
|
|
33383
33452
|
/** @private */
|
|
@@ -33566,6 +33635,9 @@ function applyMargin(j, marginTop, marginRight, marginBottom, marginLeft, image,
|
|
|
33566
33635
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33567
33636
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33568
33637
|
*/
|
|
33638
|
+
/**
|
|
33639
|
+
* @module plugins/image-properties
|
|
33640
|
+
*/
|
|
33569
33641
|
|
|
33570
33642
|
|
|
33571
33643
|
|
|
@@ -40537,6 +40609,10 @@ class AceEditor extends jodit_plugins_source_editor_sourceEditor__WEBPACK_IMPORT
|
|
|
40537
40609
|
this.container.appendChild(fakeMirror);
|
|
40538
40610
|
const ace = editor.ow.ace;
|
|
40539
40611
|
this.instance = ace.edit(fakeMirror);
|
|
40612
|
+
if (editor.o.direction === 'rtl') {
|
|
40613
|
+
this.instance.setOption('rtlText', true);
|
|
40614
|
+
this.instance.setOption('rtl', true);
|
|
40615
|
+
}
|
|
40540
40616
|
this.instance.setTheme(editor.o.sourceEditorNativeOptions.theme);
|
|
40541
40617
|
this.instance.renderer.setShowGutter(editor.o.sourceEditorNativeOptions.showGutter);
|
|
40542
40618
|
this.instance
|
|
@@ -40699,7 +40775,8 @@ class TextAreaEditor extends jodit_plugins_source_editor_sourceEditor__WEBPACK_I
|
|
|
40699
40775
|
}
|
|
40700
40776
|
init(editor) {
|
|
40701
40777
|
this.instance = editor.c.element('textarea', {
|
|
40702
|
-
class: 'jodit-source__mirror'
|
|
40778
|
+
class: 'jodit-source__mirror',
|
|
40779
|
+
dir: editor.o.direction === 'rtl' ? 'rtl' : undefined
|
|
40703
40780
|
});
|
|
40704
40781
|
this.container.appendChild(this.instance);
|
|
40705
40782
|
editor.e
|
|
@@ -42292,14 +42369,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.sym
|
|
|
42292
42369
|
editor.e.on(container, 'close_dialog', close);
|
|
42293
42370
|
return box;
|
|
42294
42371
|
}
|
|
42295
|
-
|
|
42296
|
-
|
|
42297
|
-
|
|
42298
|
-
|
|
42299
|
-
|
|
42300
|
-
a && a.focus();
|
|
42301
|
-
}
|
|
42372
|
+
editor
|
|
42373
|
+
.alert(container, 'Select Special Character', undefined, 'jodit-symbols')
|
|
42374
|
+
.bindDestruct(editor);
|
|
42375
|
+
const a = container.querySelector('a');
|
|
42376
|
+
a && a.focus();
|
|
42302
42377
|
}
|
|
42378
|
+
return;
|
|
42303
42379
|
}
|
|
42304
42380
|
};
|
|
42305
42381
|
|
|
@@ -42816,17 +42892,15 @@ module.exports = {
|
|
|
42816
42892
|
class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .k {
|
|
42817
42893
|
constructor(jodit) {
|
|
42818
42894
|
super(jodit);
|
|
42819
|
-
/** @override */
|
|
42820
42895
|
this.buttons = [
|
|
42821
42896
|
{
|
|
42822
42897
|
name: 'symbols',
|
|
42823
42898
|
group: 'insert'
|
|
42824
42899
|
}
|
|
42825
42900
|
];
|
|
42826
|
-
this.
|
|
42901
|
+
this.__countInRow = 17;
|
|
42827
42902
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
|
|
42828
42903
|
}
|
|
42829
|
-
/** @override */
|
|
42830
42904
|
afterInit(jodit) {
|
|
42831
42905
|
jodit.e.on('generateSpecialCharactersTable.symbols', () => {
|
|
42832
42906
|
const container = jodit.c.fromHTML(`<div class="jodit-symbols__container">
|
|
@@ -42836,10 +42910,15 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42836
42910
|
<div class="jodit-symbols__container_preview">
|
|
42837
42911
|
<div class="jodit-symbols__preview"></div>
|
|
42838
42912
|
</div>
|
|
42839
|
-
</div>`)
|
|
42913
|
+
</div>`);
|
|
42914
|
+
const preview = container.querySelector('.jodit-symbols__preview');
|
|
42915
|
+
const table = container.querySelector('table');
|
|
42916
|
+
const body = table.tBodies[0];
|
|
42917
|
+
const chars = [];
|
|
42840
42918
|
for (let i = 0; i < jodit.o.specialCharacters.length;) {
|
|
42841
42919
|
const tr = jodit.c.element('tr');
|
|
42842
|
-
for (let j = 0; j < this.
|
|
42920
|
+
for (let j = 0; j < this.__countInRow &&
|
|
42921
|
+
i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
42843
42922
|
const td = jodit.c.element('td'), a = jodit.c.fromHTML(`<a
|
|
42844
42923
|
data-index="${i}"
|
|
42845
42924
|
data-index-j="${j}"
|
|
@@ -42861,7 +42940,9 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42861
42940
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(this, 'a')) {
|
|
42862
42941
|
jodit.s.focus();
|
|
42863
42942
|
jodit.s.insertHTML(this.innerHTML);
|
|
42864
|
-
|
|
42943
|
+
if (!e?.shiftKey) {
|
|
42944
|
+
jodit.e.fire(this, 'close_dialog');
|
|
42945
|
+
}
|
|
42865
42946
|
e && e.preventDefault();
|
|
42866
42947
|
e && e.stopImmediatePropagation();
|
|
42867
42948
|
}
|
|
@@ -42881,18 +42962,18 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42881
42962
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
42882
42963
|
newIndex =
|
|
42883
42964
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
42884
|
-
? index - self.
|
|
42885
|
-
: index + self.
|
|
42965
|
+
? index - self.__countInRow
|
|
42966
|
+
: index + self.__countInRow;
|
|
42886
42967
|
if (chars[newIndex] === undefined) {
|
|
42887
42968
|
newIndex =
|
|
42888
42969
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
42889
42970
|
? Math.floor(chars.length /
|
|
42890
|
-
self.
|
|
42891
|
-
self.
|
|
42971
|
+
self.__countInRow) *
|
|
42972
|
+
self.__countInRow +
|
|
42892
42973
|
jIndex
|
|
42893
42974
|
: jIndex;
|
|
42894
42975
|
if (newIndex > chars.length - 1) {
|
|
42895
|
-
newIndex -= self.
|
|
42976
|
+
newIndex -= self.__countInRow;
|
|
42896
42977
|
}
|
|
42897
42978
|
}
|
|
42898
42979
|
chars[newIndex] && chars[newIndex].focus();
|