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/es2015/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.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 = "es2015";
|
|
2455
2455
|
const IS_ES_MODERN = true;
|
|
@@ -8266,10 +8266,10 @@ const buildQuery = (data, prefix) => {
|
|
|
8266
8266
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8267
8267
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8268
8268
|
*/
|
|
8269
|
+
|
|
8269
8270
|
/**
|
|
8270
8271
|
* @module helpers/utils
|
|
8271
8272
|
*/
|
|
8272
|
-
|
|
8273
8273
|
const completeUrl = (url) => {
|
|
8274
8274
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.location.protocol === 'file:' && /^\/\//.test(url)) {
|
|
8275
8275
|
url = 'https:' + url;
|
|
@@ -12011,7 +12011,6 @@ function extractSelectedPart(wrapper, font, jodit) {
|
|
|
12011
12011
|
}
|
|
12012
12012
|
/**
|
|
12013
12013
|
* Retrieves content before after the selected area, clears it if it is empty, and inserts before after the framed selection
|
|
12014
|
-
* @private
|
|
12015
12014
|
*/
|
|
12016
12015
|
function extractAndMove(wrapper, range, left) {
|
|
12017
12016
|
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);
|
|
@@ -21714,7 +21703,6 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21714
21703
|
constructor() {
|
|
21715
21704
|
super(...arguments);
|
|
21716
21705
|
this.__isBlocked = false;
|
|
21717
|
-
this.__levelOfTransaction = 0;
|
|
21718
21706
|
}
|
|
21719
21707
|
/** @override */
|
|
21720
21708
|
className() {
|
|
@@ -21795,7 +21783,6 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21795
21783
|
}
|
|
21796
21784
|
transaction(changes) {
|
|
21797
21785
|
this.__block(true);
|
|
21798
|
-
this.__levelOfTransaction += 1;
|
|
21799
21786
|
try {
|
|
21800
21787
|
changes();
|
|
21801
21788
|
}
|
|
@@ -21804,12 +21791,7 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21804
21791
|
throw e;
|
|
21805
21792
|
}
|
|
21806
21793
|
}
|
|
21807
|
-
|
|
21808
|
-
this.__levelOfTransaction -= 1;
|
|
21809
|
-
if (this.__levelOfTransaction === 0) {
|
|
21810
|
-
this.__block(false);
|
|
21811
|
-
}
|
|
21812
|
-
}
|
|
21794
|
+
this.__block(false);
|
|
21813
21795
|
}
|
|
21814
21796
|
/**
|
|
21815
21797
|
* Creates object a snapshot of editor: html and the current selection. Current selection calculate by
|
|
@@ -24051,26 +24033,17 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
24051
24033
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
|
|
24052
24034
|
const popup = this.openPopup();
|
|
24053
24035
|
popup.parentElement = this;
|
|
24054
|
-
|
|
24055
|
-
|
|
24056
|
-
|
|
24057
|
-
|
|
24058
|
-
|
|
24059
|
-
|
|
24060
|
-
|
|
24061
|
-
|
|
24062
|
-
|
|
24063
|
-
: undefined);
|
|
24064
|
-
}
|
|
24065
|
-
else {
|
|
24066
|
-
this.__closePopup();
|
|
24067
|
-
}
|
|
24036
|
+
if (this.j.e.fire((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
|
|
24037
|
+
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;
|
|
24038
|
+
const elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
24039
|
+
if (elm) {
|
|
24040
|
+
popup
|
|
24041
|
+
.setContent((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm)
|
|
24042
|
+
.open(() => (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation
|
|
24043
|
+
? this.container
|
|
24044
|
+
: undefined);
|
|
24068
24045
|
}
|
|
24069
24046
|
}
|
|
24070
|
-
catch (e) {
|
|
24071
|
-
this.__closePopup();
|
|
24072
|
-
throw e;
|
|
24073
|
-
}
|
|
24074
24047
|
/**
|
|
24075
24048
|
* Fired after the popup was opened for some control button
|
|
24076
24049
|
*/
|
|
@@ -26459,9 +26432,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26459
26432
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
26460
26433
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
26461
26434
|
*/
|
|
26462
|
-
/**
|
|
26463
|
-
* @module plugins/ai-assistant
|
|
26464
|
-
*/
|
|
26465
26435
|
|
|
26466
26436
|
|
|
26467
26437
|
|
|
@@ -32448,9 +32418,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
32448
32418
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32449
32419
|
*/
|
|
32450
32420
|
|
|
32451
|
-
/**
|
|
32452
|
-
* @private
|
|
32453
|
-
*/
|
|
32421
|
+
/** @private */
|
|
32454
32422
|
function readAlign(image, values) {
|
|
32455
32423
|
// Align
|
|
32456
32424
|
if (image.style.cssFloat &&
|
|
@@ -32575,9 +32543,6 @@ function readLink(state, j, values) {
|
|
|
32575
32543
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32576
32544
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32577
32545
|
*/
|
|
32578
|
-
/**
|
|
32579
|
-
* @module plugins/image-properties
|
|
32580
|
-
*/
|
|
32581
32546
|
|
|
32582
32547
|
/** @private */
|
|
32583
32548
|
function readMargins(image, values, state) {
|
|
@@ -32623,9 +32588,6 @@ function readMargins(image, values, state) {
|
|
|
32623
32588
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32624
32589
|
*/
|
|
32625
32590
|
|
|
32626
|
-
/**
|
|
32627
|
-
* @module plugins/image-properties
|
|
32628
|
-
*/
|
|
32629
32591
|
|
|
32630
32592
|
|
|
32631
32593
|
|
|
@@ -33445,9 +33407,6 @@ function openImagePopup(j, dialog, state, button) {
|
|
|
33445
33407
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33446
33408
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33447
33409
|
*/
|
|
33448
|
-
/**
|
|
33449
|
-
* @module plugins/image-properties
|
|
33450
|
-
*/
|
|
33451
33410
|
|
|
33452
33411
|
|
|
33453
33412
|
/** @private */
|
|
@@ -33636,9 +33595,6 @@ function applyMargin(j, marginTop, marginRight, marginBottom, marginLeft, image,
|
|
|
33636
33595
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33637
33596
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33638
33597
|
*/
|
|
33639
|
-
/**
|
|
33640
|
-
* @module plugins/image-properties
|
|
33641
|
-
*/
|
|
33642
33598
|
|
|
33643
33599
|
|
|
33644
33600
|
|
|
@@ -42415,13 +42371,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.sym
|
|
|
42415
42371
|
editor.e.on(container, 'close_dialog', close);
|
|
42416
42372
|
return box;
|
|
42417
42373
|
}
|
|
42418
|
-
|
|
42419
|
-
|
|
42420
|
-
|
|
42421
|
-
|
|
42422
|
-
|
|
42374
|
+
else {
|
|
42375
|
+
editor
|
|
42376
|
+
.alert(container, 'Select Special Character', undefined, 'jodit-symbols')
|
|
42377
|
+
.bindDestruct(editor);
|
|
42378
|
+
const a = container.querySelector('a');
|
|
42379
|
+
a && a.focus();
|
|
42380
|
+
}
|
|
42423
42381
|
}
|
|
42424
|
-
return;
|
|
42425
42382
|
}
|
|
42426
42383
|
};
|
|
42427
42384
|
|
|
@@ -42938,15 +42895,17 @@ module.exports = {
|
|
|
42938
42895
|
class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .k {
|
|
42939
42896
|
constructor(jodit) {
|
|
42940
42897
|
super(jodit);
|
|
42898
|
+
/** @override */
|
|
42941
42899
|
this.buttons = [
|
|
42942
42900
|
{
|
|
42943
42901
|
name: 'symbols',
|
|
42944
42902
|
group: 'insert'
|
|
42945
42903
|
}
|
|
42946
42904
|
];
|
|
42947
|
-
this.
|
|
42905
|
+
this.countInRow = 17;
|
|
42948
42906
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
|
|
42949
42907
|
}
|
|
42908
|
+
/** @override */
|
|
42950
42909
|
afterInit(jodit) {
|
|
42951
42910
|
jodit.e.on('generateSpecialCharactersTable.symbols', () => {
|
|
42952
42911
|
const container = jodit.c.fromHTML(`<div class="jodit-symbols__container">
|
|
@@ -42956,15 +42915,10 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42956
42915
|
<div class="jodit-symbols__container_preview">
|
|
42957
42916
|
<div class="jodit-symbols__preview"></div>
|
|
42958
42917
|
</div>
|
|
42959
|
-
</div>`);
|
|
42960
|
-
const preview = container.querySelector('.jodit-symbols__preview');
|
|
42961
|
-
const table = container.querySelector('table');
|
|
42962
|
-
const body = table.tBodies[0];
|
|
42963
|
-
const chars = [];
|
|
42918
|
+
</div>`), preview = container.querySelector('.jodit-symbols__preview'), table = container.querySelector('table'), body = table.tBodies[0], chars = [];
|
|
42964
42919
|
for (let i = 0; i < jodit.o.specialCharacters.length;) {
|
|
42965
42920
|
const tr = jodit.c.element('tr');
|
|
42966
|
-
for (let j = 0; j < this.
|
|
42967
|
-
i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
42921
|
+
for (let j = 0; j < this.countInRow && i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
42968
42922
|
const td = jodit.c.element('td'), a = jodit.c.fromHTML(`<a
|
|
42969
42923
|
data-index="${i}"
|
|
42970
42924
|
data-index-j="${j}"
|
|
@@ -42986,9 +42940,7 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
42986
42940
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(this, 'a')) {
|
|
42987
42941
|
jodit.s.focus();
|
|
42988
42942
|
jodit.s.insertHTML(this.innerHTML);
|
|
42989
|
-
|
|
42990
|
-
jodit.e.fire(this, 'close_dialog');
|
|
42991
|
-
}
|
|
42943
|
+
jodit.e.fire(this, 'close_dialog');
|
|
42992
42944
|
e && e.preventDefault();
|
|
42993
42945
|
e && e.stopImmediatePropagation();
|
|
42994
42946
|
}
|
|
@@ -43008,18 +42960,18 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
43008
42960
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
43009
42961
|
newIndex =
|
|
43010
42962
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
43011
|
-
? index - self.
|
|
43012
|
-
: index + self.
|
|
42963
|
+
? index - self.countInRow
|
|
42964
|
+
: index + self.countInRow;
|
|
43013
42965
|
if (chars[newIndex] === undefined) {
|
|
43014
42966
|
newIndex =
|
|
43015
42967
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
43016
42968
|
? Math.floor(chars.length /
|
|
43017
|
-
self.
|
|
43018
|
-
self.
|
|
42969
|
+
self.countInRow) *
|
|
42970
|
+
self.countInRow +
|
|
43019
42971
|
jIndex
|
|
43020
42972
|
: jIndex;
|
|
43021
42973
|
if (newIndex > chars.length - 1) {
|
|
43022
|
-
newIndex -= self.
|
|
42974
|
+
newIndex -= self.countInRow;
|
|
43023
42975
|
}
|
|
43024
42976
|
}
|
|
43025
42977
|
chars[newIndex] && chars[newIndex].focus();
|
|
@@ -44887,7 +44839,8 @@ class license extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/* .P
|
|
|
44887
44839
|
/** @override */
|
|
44888
44840
|
afterInit(jodit) {
|
|
44889
44841
|
this.j.e.on('checkReserve', () => (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__awaiter */ .sH)(this, void 0, void 0, function* () {
|
|
44890
|
-
const code = this.j.o.license
|
|
44842
|
+
const code = this.j.o.license;
|
|
44843
|
+
const domain = location.host;
|
|
44891
44844
|
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_6__/* .isString */ .K)(code)) {
|
|
44892
44845
|
return '';
|
|
44893
44846
|
}
|