jodit-pro 4.2.41 → 4.2.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015/889.fat.min.js +1 -1
- package/es2015/889.min.js +1 -1
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +35 -82
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +6 -3
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/889.fat.min.js +1 -1
- package/es2018/889.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +35 -82
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.js +6 -3
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/889.fat.min.js +1 -1
- package/es2021/889.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +35 -82
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +6 -3
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/889.fat.min.js +1 -1
- package/es2021.en/889.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +35 -82
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +6 -3
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/292.fat.min.js +1 -1
- package/es5/292.min.js +1 -1
- package/es5/889.fat.min.js +1 -1
- package/es5/889.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +35 -82
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +6 -3
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/esm/plugins/export-docs/config.d.ts +2 -1
- package/esm/plugins/export-docs/config.js +1 -1
- package/esm/plugins/export-docs/export-docs.js +1 -1
- package/package.json +1 -1
- package/types/plugins/export-docs/config.d.ts +2 -1
package/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.43
|
|
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.43";
|
|
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
|
+
|
|
8250
8251
|
/**
|
|
8251
8252
|
* @module helpers/utils
|
|
8252
8253
|
*/
|
|
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;
|
|
@@ -11966,7 +11966,6 @@ function extractSelectedPart(wrapper, font, jodit) {
|
|
|
11966
11966
|
}
|
|
11967
11967
|
/**
|
|
11968
11968
|
* Retrieves content before after the selected area, clears it if it is empty, and inserts before after the framed selection
|
|
11969
|
-
* @private
|
|
11970
11969
|
*/
|
|
11971
11970
|
function extractAndMove(wrapper, range, left) {
|
|
11972
11971
|
const fragment = range.extractContents();
|
|
@@ -17150,17 +17149,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17150
17149
|
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17151
17150
|
}
|
|
17152
17151
|
/**
|
|
17153
|
-
* Method wrap usual
|
|
17154
|
-
* ```js
|
|
17155
|
-
* const editor = Jodit.make('#editor', {
|
|
17156
|
-
* controls: {
|
|
17157
|
-
* fontsize: {
|
|
17158
|
-
* list: Jodit.atom([8, 9, 10])
|
|
17159
|
-
* }
|
|
17160
|
-
* }
|
|
17161
|
-
* });
|
|
17162
|
-
* ```
|
|
17163
|
-
* In this case, the array [8, 9, 10] will not be combined with other arrays, but will replace them
|
|
17152
|
+
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
17164
17153
|
*/
|
|
17165
17154
|
static atom(object) {
|
|
17166
17155
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.markAsAtomic)(object);
|
|
@@ -21712,7 +21701,6 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21712
21701
|
constructor() {
|
|
21713
21702
|
super(...arguments);
|
|
21714
21703
|
this.__isBlocked = false;
|
|
21715
|
-
this.__levelOfTransaction = 0;
|
|
21716
21704
|
}
|
|
21717
21705
|
/** @override */
|
|
21718
21706
|
className() {
|
|
@@ -21793,7 +21781,6 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21793
21781
|
}
|
|
21794
21782
|
transaction(changes) {
|
|
21795
21783
|
this.__block(true);
|
|
21796
|
-
this.__levelOfTransaction += 1;
|
|
21797
21784
|
try {
|
|
21798
21785
|
changes();
|
|
21799
21786
|
}
|
|
@@ -21802,12 +21789,7 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21802
21789
|
throw e;
|
|
21803
21790
|
}
|
|
21804
21791
|
}
|
|
21805
|
-
|
|
21806
|
-
this.__levelOfTransaction -= 1;
|
|
21807
|
-
if (this.__levelOfTransaction === 0) {
|
|
21808
|
-
this.__block(false);
|
|
21809
|
-
}
|
|
21810
|
-
}
|
|
21792
|
+
this.__block(false);
|
|
21811
21793
|
}
|
|
21812
21794
|
/**
|
|
21813
21795
|
* Creates object a snapshot of editor: html and the current selection. Current selection calculate by
|
|
@@ -24044,26 +24026,17 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
24044
24026
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
|
|
24045
24027
|
const popup = this.openPopup();
|
|
24046
24028
|
popup.parentElement = this;
|
|
24047
|
-
|
|
24048
|
-
|
|
24049
|
-
|
|
24050
|
-
|
|
24051
|
-
|
|
24052
|
-
|
|
24053
|
-
|
|
24054
|
-
|
|
24055
|
-
|
|
24056
|
-
: undefined);
|
|
24057
|
-
}
|
|
24058
|
-
else {
|
|
24059
|
-
this.__closePopup();
|
|
24060
|
-
}
|
|
24029
|
+
if (this.j.e.fire((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
|
|
24030
|
+
const target = this.toolbar?.getTarget(this) ?? this.target ?? null;
|
|
24031
|
+
const elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
24032
|
+
if (elm) {
|
|
24033
|
+
popup
|
|
24034
|
+
.setContent((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm)
|
|
24035
|
+
.open(() => (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation
|
|
24036
|
+
? this.container
|
|
24037
|
+
: undefined);
|
|
24061
24038
|
}
|
|
24062
24039
|
}
|
|
24063
|
-
catch (e) {
|
|
24064
|
-
this.__closePopup();
|
|
24065
|
-
throw e;
|
|
24066
|
-
}
|
|
24067
24040
|
/**
|
|
24068
24041
|
* Fired after the popup was opened for some control button
|
|
24069
24042
|
*/
|
|
@@ -26455,9 +26428,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26455
26428
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
26456
26429
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
26457
26430
|
*/
|
|
26458
|
-
/**
|
|
26459
|
-
* @module plugins/ai-assistant
|
|
26460
|
-
*/
|
|
26461
26431
|
|
|
26462
26432
|
|
|
26463
26433
|
|
|
@@ -32431,9 +32401,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
32431
32401
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32432
32402
|
*/
|
|
32433
32403
|
|
|
32434
|
-
/**
|
|
32435
|
-
* @private
|
|
32436
|
-
*/
|
|
32404
|
+
/** @private */
|
|
32437
32405
|
function readAlign(image, values) {
|
|
32438
32406
|
// Align
|
|
32439
32407
|
if (image.style.cssFloat &&
|
|
@@ -32554,9 +32522,6 @@ function readLink(state, j, values) {
|
|
|
32554
32522
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32555
32523
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32556
32524
|
*/
|
|
32557
|
-
/**
|
|
32558
|
-
* @module plugins/image-properties
|
|
32559
|
-
*/
|
|
32560
32525
|
|
|
32561
32526
|
/** @private */
|
|
32562
32527
|
function readMargins(image, values, state) {
|
|
@@ -32600,9 +32565,6 @@ function readMargins(image, values, state) {
|
|
|
32600
32565
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32601
32566
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32602
32567
|
*/
|
|
32603
|
-
/**
|
|
32604
|
-
* @module plugins/image-properties
|
|
32605
|
-
*/
|
|
32606
32568
|
|
|
32607
32569
|
|
|
32608
32570
|
|
|
@@ -33416,9 +33378,6 @@ function openImagePopup(j, dialog, state, button) {
|
|
|
33416
33378
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33417
33379
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33418
33380
|
*/
|
|
33419
|
-
/**
|
|
33420
|
-
* @module plugins/image-properties
|
|
33421
|
-
*/
|
|
33422
33381
|
|
|
33423
33382
|
|
|
33424
33383
|
/** @private */
|
|
@@ -33607,9 +33566,6 @@ function applyMargin(j, marginTop, marginRight, marginBottom, marginLeft, image,
|
|
|
33607
33566
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33608
33567
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33609
33568
|
*/
|
|
33610
|
-
/**
|
|
33611
|
-
* @module plugins/image-properties
|
|
33612
|
-
*/
|
|
33613
33569
|
|
|
33614
33570
|
|
|
33615
33571
|
|
|
@@ -42336,13 +42292,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.sym
|
|
|
42336
42292
|
editor.e.on(container, 'close_dialog', close);
|
|
42337
42293
|
return box;
|
|
42338
42294
|
}
|
|
42339
|
-
|
|
42340
|
-
|
|
42341
|
-
|
|
42342
|
-
|
|
42343
|
-
|
|
42295
|
+
else {
|
|
42296
|
+
editor
|
|
42297
|
+
.alert(container, 'Select Special Character', undefined, 'jodit-symbols')
|
|
42298
|
+
.bindDestruct(editor);
|
|
42299
|
+
const a = container.querySelector('a');
|
|
42300
|
+
a && a.focus();
|
|
42301
|
+
}
|
|
42344
42302
|
}
|
|
42345
|
-
return;
|
|
42346
42303
|
}
|
|
42347
42304
|
};
|
|
42348
42305
|
|
|
@@ -42859,15 +42816,17 @@ module.exports = {
|
|
|
42859
42816
|
class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .k {
|
|
42860
42817
|
constructor(jodit) {
|
|
42861
42818
|
super(jodit);
|
|
42819
|
+
/** @override */
|
|
42862
42820
|
this.buttons = [
|
|
42863
42821
|
{
|
|
42864
42822
|
name: 'symbols',
|
|
42865
42823
|
group: 'insert'
|
|
42866
42824
|
}
|
|
42867
42825
|
];
|
|
42868
|
-
this.
|
|
42826
|
+
this.countInRow = 17;
|
|
42869
42827
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
|
|
42870
42828
|
}
|
|
42829
|
+
/** @override */
|
|
42871
42830
|
afterInit(jodit) {
|
|
42872
42831
|
jodit.e.on('generateSpecialCharactersTable.symbols', () => {
|
|
42873
42832
|
const container = jodit.c.fromHTML(`<div class="jodit-symbols__container">
|
|
@@ -42877,15 +42836,10 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42877
42836
|
<div class="jodit-symbols__container_preview">
|
|
42878
42837
|
<div class="jodit-symbols__preview"></div>
|
|
42879
42838
|
</div>
|
|
42880
|
-
</div>`);
|
|
42881
|
-
const preview = container.querySelector('.jodit-symbols__preview');
|
|
42882
|
-
const table = container.querySelector('table');
|
|
42883
|
-
const body = table.tBodies[0];
|
|
42884
|
-
const chars = [];
|
|
42839
|
+
</div>`), preview = container.querySelector('.jodit-symbols__preview'), table = container.querySelector('table'), body = table.tBodies[0], chars = [];
|
|
42885
42840
|
for (let i = 0; i < jodit.o.specialCharacters.length;) {
|
|
42886
42841
|
const tr = jodit.c.element('tr');
|
|
42887
|
-
for (let j = 0; j < this.
|
|
42888
|
-
i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
42842
|
+
for (let j = 0; j < this.countInRow && i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
42889
42843
|
const td = jodit.c.element('td'), a = jodit.c.fromHTML(`<a
|
|
42890
42844
|
data-index="${i}"
|
|
42891
42845
|
data-index-j="${j}"
|
|
@@ -42907,9 +42861,7 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42907
42861
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(this, 'a')) {
|
|
42908
42862
|
jodit.s.focus();
|
|
42909
42863
|
jodit.s.insertHTML(this.innerHTML);
|
|
42910
|
-
|
|
42911
|
-
jodit.e.fire(this, 'close_dialog');
|
|
42912
|
-
}
|
|
42864
|
+
jodit.e.fire(this, 'close_dialog');
|
|
42913
42865
|
e && e.preventDefault();
|
|
42914
42866
|
e && e.stopImmediatePropagation();
|
|
42915
42867
|
}
|
|
@@ -42929,18 +42881,18 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42929
42881
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
42930
42882
|
newIndex =
|
|
42931
42883
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
42932
|
-
? index - self.
|
|
42933
|
-
: index + self.
|
|
42884
|
+
? index - self.countInRow
|
|
42885
|
+
: index + self.countInRow;
|
|
42934
42886
|
if (chars[newIndex] === undefined) {
|
|
42935
42887
|
newIndex =
|
|
42936
42888
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
42937
42889
|
? Math.floor(chars.length /
|
|
42938
|
-
self.
|
|
42939
|
-
self.
|
|
42890
|
+
self.countInRow) *
|
|
42891
|
+
self.countInRow +
|
|
42940
42892
|
jIndex
|
|
42941
42893
|
: jIndex;
|
|
42942
42894
|
if (newIndex > chars.length - 1) {
|
|
42943
|
-
newIndex -= self.
|
|
42895
|
+
newIndex -= self.countInRow;
|
|
42944
42896
|
}
|
|
42945
42897
|
}
|
|
42946
42898
|
chars[newIndex] && chars[newIndex].focus();
|
|
@@ -44794,7 +44746,8 @@ class license extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/* .P
|
|
|
44794
44746
|
/** @override */
|
|
44795
44747
|
afterInit(jodit) {
|
|
44796
44748
|
this.j.e.on('checkReserve', async () => {
|
|
44797
|
-
const code = this.j.o.license
|
|
44749
|
+
const code = this.j.o.license;
|
|
44750
|
+
const domain = location.host;
|
|
44798
44751
|
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_5__/* .isString */ .K)(code)) {
|
|
44799
44752
|
return '';
|
|
44800
44753
|
}
|