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/es2018/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
|
*/
|
|
@@ -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.43";
|
|
2453
2453
|
// prettier-ignore
|
|
2454
2454
|
const ES = "es2018";
|
|
2455
2455
|
const IS_ES_MODERN = true;
|
|
@@ -8264,10 +8264,10 @@ const buildQuery = (data, prefix) => {
|
|
|
8264
8264
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8265
8265
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8266
8266
|
*/
|
|
8267
|
+
|
|
8267
8268
|
/**
|
|
8268
8269
|
* @module helpers/utils
|
|
8269
8270
|
*/
|
|
8270
|
-
|
|
8271
8271
|
const completeUrl = (url) => {
|
|
8272
8272
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.location.protocol === 'file:' && /^\/\//.test(url)) {
|
|
8273
8273
|
url = 'https:' + url;
|
|
@@ -11999,7 +11999,6 @@ function extractSelectedPart(wrapper, font, jodit) {
|
|
|
11999
11999
|
}
|
|
12000
12000
|
/**
|
|
12001
12001
|
* Retrieves content before after the selected area, clears it if it is empty, and inserts before after the framed selection
|
|
12002
|
-
* @private
|
|
12003
12002
|
*/
|
|
12004
12003
|
function extractAndMove(wrapper, range, left) {
|
|
12005
12004
|
const fragment = range.extractContents();
|
|
@@ -17205,17 +17204,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17205
17204
|
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17206
17205
|
}
|
|
17207
17206
|
/**
|
|
17208
|
-
* Method wrap usual
|
|
17209
|
-
* ```js
|
|
17210
|
-
* const editor = Jodit.make('#editor', {
|
|
17211
|
-
* controls: {
|
|
17212
|
-
* fontsize: {
|
|
17213
|
-
* list: Jodit.atom([8, 9, 10])
|
|
17214
|
-
* }
|
|
17215
|
-
* }
|
|
17216
|
-
* });
|
|
17217
|
-
* ```
|
|
17218
|
-
* In this case, the array [8, 9, 10] will not be combined with other arrays, but will replace them
|
|
17207
|
+
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
17219
17208
|
*/
|
|
17220
17209
|
static atom(object) {
|
|
17221
17210
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.markAsAtomic)(object);
|
|
@@ -21780,7 +21769,6 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21780
21769
|
constructor() {
|
|
21781
21770
|
super(...arguments);
|
|
21782
21771
|
this.__isBlocked = false;
|
|
21783
|
-
this.__levelOfTransaction = 0;
|
|
21784
21772
|
}
|
|
21785
21773
|
/** @override */
|
|
21786
21774
|
className() {
|
|
@@ -21861,7 +21849,6 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21861
21849
|
}
|
|
21862
21850
|
transaction(changes) {
|
|
21863
21851
|
this.__block(true);
|
|
21864
|
-
this.__levelOfTransaction += 1;
|
|
21865
21852
|
try {
|
|
21866
21853
|
changes();
|
|
21867
21854
|
}
|
|
@@ -21870,12 +21857,7 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21870
21857
|
throw e;
|
|
21871
21858
|
}
|
|
21872
21859
|
}
|
|
21873
|
-
|
|
21874
|
-
this.__levelOfTransaction -= 1;
|
|
21875
|
-
if (this.__levelOfTransaction === 0) {
|
|
21876
|
-
this.__block(false);
|
|
21877
|
-
}
|
|
21878
|
-
}
|
|
21860
|
+
this.__block(false);
|
|
21879
21861
|
}
|
|
21880
21862
|
/**
|
|
21881
21863
|
* Creates object a snapshot of editor: html and the current selection. Current selection calculate by
|
|
@@ -24122,26 +24104,17 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
24122
24104
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
|
|
24123
24105
|
const popup = this.openPopup();
|
|
24124
24106
|
popup.parentElement = this;
|
|
24125
|
-
|
|
24126
|
-
|
|
24127
|
-
|
|
24128
|
-
|
|
24129
|
-
|
|
24130
|
-
|
|
24131
|
-
|
|
24132
|
-
|
|
24133
|
-
|
|
24134
|
-
: undefined);
|
|
24135
|
-
}
|
|
24136
|
-
else {
|
|
24137
|
-
this.__closePopup();
|
|
24138
|
-
}
|
|
24107
|
+
if (this.j.e.fire((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
|
|
24108
|
+
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;
|
|
24109
|
+
const elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
24110
|
+
if (elm) {
|
|
24111
|
+
popup
|
|
24112
|
+
.setContent((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm)
|
|
24113
|
+
.open(() => (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation
|
|
24114
|
+
? this.container
|
|
24115
|
+
: undefined);
|
|
24139
24116
|
}
|
|
24140
24117
|
}
|
|
24141
|
-
catch (e) {
|
|
24142
|
-
this.__closePopup();
|
|
24143
|
-
throw e;
|
|
24144
|
-
}
|
|
24145
24118
|
/**
|
|
24146
24119
|
* Fired after the popup was opened for some control button
|
|
24147
24120
|
*/
|
|
@@ -26540,9 +26513,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26540
26513
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
26541
26514
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
26542
26515
|
*/
|
|
26543
|
-
/**
|
|
26544
|
-
* @module plugins/ai-assistant
|
|
26545
|
-
*/
|
|
26546
26516
|
|
|
26547
26517
|
|
|
26548
26518
|
|
|
@@ -32535,9 +32505,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
32535
32505
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32536
32506
|
*/
|
|
32537
32507
|
|
|
32538
|
-
/**
|
|
32539
|
-
* @private
|
|
32540
|
-
*/
|
|
32508
|
+
/** @private */
|
|
32541
32509
|
function readAlign(image, values) {
|
|
32542
32510
|
// Align
|
|
32543
32511
|
if (image.style.cssFloat &&
|
|
@@ -32658,9 +32626,6 @@ function readLink(state, j, values) {
|
|
|
32658
32626
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32659
32627
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32660
32628
|
*/
|
|
32661
|
-
/**
|
|
32662
|
-
* @module plugins/image-properties
|
|
32663
|
-
*/
|
|
32664
32629
|
|
|
32665
32630
|
/** @private */
|
|
32666
32631
|
function readMargins(image, values, state) {
|
|
@@ -32704,9 +32669,6 @@ function readMargins(image, values, state) {
|
|
|
32704
32669
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32705
32670
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32706
32671
|
*/
|
|
32707
|
-
/**
|
|
32708
|
-
* @module plugins/image-properties
|
|
32709
|
-
*/
|
|
32710
32672
|
|
|
32711
32673
|
|
|
32712
32674
|
|
|
@@ -33520,9 +33482,6 @@ function openImagePopup(j, dialog, state, button) {
|
|
|
33520
33482
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33521
33483
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33522
33484
|
*/
|
|
33523
|
-
/**
|
|
33524
|
-
* @module plugins/image-properties
|
|
33525
|
-
*/
|
|
33526
33485
|
|
|
33527
33486
|
|
|
33528
33487
|
/** @private */
|
|
@@ -33711,9 +33670,6 @@ function applyMargin(j, marginTop, marginRight, marginBottom, marginLeft, image,
|
|
|
33711
33670
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33712
33671
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33713
33672
|
*/
|
|
33714
|
-
/**
|
|
33715
|
-
* @module plugins/image-properties
|
|
33716
|
-
*/
|
|
33717
33673
|
|
|
33718
33674
|
|
|
33719
33675
|
|
|
@@ -42470,13 +42426,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.sym
|
|
|
42470
42426
|
editor.e.on(container, 'close_dialog', close);
|
|
42471
42427
|
return box;
|
|
42472
42428
|
}
|
|
42473
|
-
|
|
42474
|
-
|
|
42475
|
-
|
|
42476
|
-
|
|
42477
|
-
|
|
42429
|
+
else {
|
|
42430
|
+
editor
|
|
42431
|
+
.alert(container, 'Select Special Character', undefined, 'jodit-symbols')
|
|
42432
|
+
.bindDestruct(editor);
|
|
42433
|
+
const a = container.querySelector('a');
|
|
42434
|
+
a && a.focus();
|
|
42435
|
+
}
|
|
42478
42436
|
}
|
|
42479
|
-
return;
|
|
42480
42437
|
}
|
|
42481
42438
|
};
|
|
42482
42439
|
|
|
@@ -42993,15 +42950,17 @@ module.exports = {
|
|
|
42993
42950
|
class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .k {
|
|
42994
42951
|
constructor(jodit) {
|
|
42995
42952
|
super(jodit);
|
|
42953
|
+
/** @override */
|
|
42996
42954
|
this.buttons = [
|
|
42997
42955
|
{
|
|
42998
42956
|
name: 'symbols',
|
|
42999
42957
|
group: 'insert'
|
|
43000
42958
|
}
|
|
43001
42959
|
];
|
|
43002
|
-
this.
|
|
42960
|
+
this.countInRow = 17;
|
|
43003
42961
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
|
|
43004
42962
|
}
|
|
42963
|
+
/** @override */
|
|
43005
42964
|
afterInit(jodit) {
|
|
43006
42965
|
jodit.e.on('generateSpecialCharactersTable.symbols', () => {
|
|
43007
42966
|
const container = jodit.c.fromHTML(`<div class="jodit-symbols__container">
|
|
@@ -43011,15 +42970,10 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
43011
42970
|
<div class="jodit-symbols__container_preview">
|
|
43012
42971
|
<div class="jodit-symbols__preview"></div>
|
|
43013
42972
|
</div>
|
|
43014
|
-
</div>`);
|
|
43015
|
-
const preview = container.querySelector('.jodit-symbols__preview');
|
|
43016
|
-
const table = container.querySelector('table');
|
|
43017
|
-
const body = table.tBodies[0];
|
|
43018
|
-
const chars = [];
|
|
42973
|
+
</div>`), preview = container.querySelector('.jodit-symbols__preview'), table = container.querySelector('table'), body = table.tBodies[0], chars = [];
|
|
43019
42974
|
for (let i = 0; i < jodit.o.specialCharacters.length;) {
|
|
43020
42975
|
const tr = jodit.c.element('tr');
|
|
43021
|
-
for (let j = 0; j < this.
|
|
43022
|
-
i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
42976
|
+
for (let j = 0; j < this.countInRow && i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
43023
42977
|
const td = jodit.c.element('td'), a = jodit.c.fromHTML(`<a
|
|
43024
42978
|
data-index="${i}"
|
|
43025
42979
|
data-index-j="${j}"
|
|
@@ -43041,9 +42995,7 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
43041
42995
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(this, 'a')) {
|
|
43042
42996
|
jodit.s.focus();
|
|
43043
42997
|
jodit.s.insertHTML(this.innerHTML);
|
|
43044
|
-
|
|
43045
|
-
jodit.e.fire(this, 'close_dialog');
|
|
43046
|
-
}
|
|
42998
|
+
jodit.e.fire(this, 'close_dialog');
|
|
43047
42999
|
e && e.preventDefault();
|
|
43048
43000
|
e && e.stopImmediatePropagation();
|
|
43049
43001
|
}
|
|
@@ -43063,18 +43015,18 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
43063
43015
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
43064
43016
|
newIndex =
|
|
43065
43017
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
43066
|
-
? index - self.
|
|
43067
|
-
: index + self.
|
|
43018
|
+
? index - self.countInRow
|
|
43019
|
+
: index + self.countInRow;
|
|
43068
43020
|
if (chars[newIndex] === undefined) {
|
|
43069
43021
|
newIndex =
|
|
43070
43022
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
43071
43023
|
? Math.floor(chars.length /
|
|
43072
|
-
self.
|
|
43073
|
-
self.
|
|
43024
|
+
self.countInRow) *
|
|
43025
|
+
self.countInRow +
|
|
43074
43026
|
jIndex
|
|
43075
43027
|
: jIndex;
|
|
43076
43028
|
if (newIndex > chars.length - 1) {
|
|
43077
|
-
newIndex -= self.
|
|
43029
|
+
newIndex -= self.countInRow;
|
|
43078
43030
|
}
|
|
43079
43031
|
}
|
|
43080
43032
|
chars[newIndex] && chars[newIndex].focus();
|
|
@@ -44939,7 +44891,8 @@ class license extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/* .P
|
|
|
44939
44891
|
/** @override */
|
|
44940
44892
|
afterInit(jodit) {
|
|
44941
44893
|
this.j.e.on('checkReserve', async () => {
|
|
44942
|
-
const code = this.j.o.license
|
|
44894
|
+
const code = this.j.o.license;
|
|
44895
|
+
const domain = location.host;
|
|
44943
44896
|
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_5__/* .isString */ .K)(code)) {
|
|
44944
44897
|
return '';
|
|
44945
44898
|
}
|