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.en/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
|
*/
|
|
@@ -2303,7 +2303,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2303
2303
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2304
2304
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2305
2305
|
*/
|
|
2306
|
-
const APP_VERSION = "4.2.
|
|
2306
|
+
const APP_VERSION = "4.2.43";
|
|
2307
2307
|
// prettier-ignore
|
|
2308
2308
|
const ES = "es2021";
|
|
2309
2309
|
const IS_ES_MODERN = true;
|
|
@@ -8100,10 +8100,10 @@ const buildQuery = (data, prefix) => {
|
|
|
8100
8100
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8101
8101
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8102
8102
|
*/
|
|
8103
|
+
|
|
8103
8104
|
/**
|
|
8104
8105
|
* @module helpers/utils
|
|
8105
8106
|
*/
|
|
8106
|
-
|
|
8107
8107
|
const completeUrl = (url) => {
|
|
8108
8108
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalWindow.location.protocol === 'file:' && /^\/\//.test(url)) {
|
|
8109
8109
|
url = 'https:' + url;
|
|
@@ -11819,7 +11819,6 @@ function extractSelectedPart(wrapper, font, jodit) {
|
|
|
11819
11819
|
}
|
|
11820
11820
|
/**
|
|
11821
11821
|
* Retrieves content before after the selected area, clears it if it is empty, and inserts before after the framed selection
|
|
11822
|
-
* @private
|
|
11823
11822
|
*/
|
|
11824
11823
|
function extractAndMove(wrapper, range, left) {
|
|
11825
11824
|
const fragment = range.extractContents();
|
|
@@ -17003,17 +17002,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17003
17002
|
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17004
17003
|
}
|
|
17005
17004
|
/**
|
|
17006
|
-
* Method wrap usual
|
|
17007
|
-
* ```js
|
|
17008
|
-
* const editor = Jodit.make('#editor', {
|
|
17009
|
-
* controls: {
|
|
17010
|
-
* fontsize: {
|
|
17011
|
-
* list: Jodit.atom([8, 9, 10])
|
|
17012
|
-
* }
|
|
17013
|
-
* }
|
|
17014
|
-
* });
|
|
17015
|
-
* ```
|
|
17016
|
-
* In this case, the array [8, 9, 10] will not be combined with other arrays, but will replace them
|
|
17005
|
+
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
17017
17006
|
*/
|
|
17018
17007
|
static atom(object) {
|
|
17019
17008
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.markAsAtomic)(object);
|
|
@@ -21546,7 +21535,6 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21546
21535
|
constructor() {
|
|
21547
21536
|
super(...arguments);
|
|
21548
21537
|
this.__isBlocked = false;
|
|
21549
|
-
this.__levelOfTransaction = 0;
|
|
21550
21538
|
}
|
|
21551
21539
|
/** @override */
|
|
21552
21540
|
className() {
|
|
@@ -21627,7 +21615,6 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21627
21615
|
}
|
|
21628
21616
|
transaction(changes) {
|
|
21629
21617
|
this.__block(true);
|
|
21630
|
-
this.__levelOfTransaction += 1;
|
|
21631
21618
|
try {
|
|
21632
21619
|
changes();
|
|
21633
21620
|
}
|
|
@@ -21636,12 +21623,7 @@ class Snapshot extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .View
|
|
|
21636
21623
|
throw e;
|
|
21637
21624
|
}
|
|
21638
21625
|
}
|
|
21639
|
-
|
|
21640
|
-
this.__levelOfTransaction -= 1;
|
|
21641
|
-
if (this.__levelOfTransaction === 0) {
|
|
21642
|
-
this.__block(false);
|
|
21643
|
-
}
|
|
21644
|
-
}
|
|
21626
|
+
this.__block(false);
|
|
21645
21627
|
}
|
|
21646
21628
|
/**
|
|
21647
21629
|
* Creates object a snapshot of editor: html and the current selection. Current selection calculate by
|
|
@@ -23878,26 +23860,17 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23878
23860
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isFunction)(ctr.popup)) {
|
|
23879
23861
|
const popup = this.openPopup();
|
|
23880
23862
|
popup.parentElement = this;
|
|
23881
|
-
|
|
23882
|
-
|
|
23883
|
-
|
|
23884
|
-
|
|
23885
|
-
|
|
23886
|
-
|
|
23887
|
-
|
|
23888
|
-
|
|
23889
|
-
|
|
23890
|
-
: undefined);
|
|
23891
|
-
}
|
|
23892
|
-
else {
|
|
23893
|
-
this.__closePopup();
|
|
23894
|
-
}
|
|
23863
|
+
if (this.j.e.fire((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
|
|
23864
|
+
const target = this.toolbar?.getTarget(this) ?? this.target ?? null;
|
|
23865
|
+
const elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
23866
|
+
if (elm) {
|
|
23867
|
+
popup
|
|
23868
|
+
.setContent((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? this.j.c.fromHTML(elm) : elm)
|
|
23869
|
+
.open(() => (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.position)(this.container), false, this.j.o.allowTabNavigation
|
|
23870
|
+
? this.container
|
|
23871
|
+
: undefined);
|
|
23895
23872
|
}
|
|
23896
23873
|
}
|
|
23897
|
-
catch (e) {
|
|
23898
|
-
this.__closePopup();
|
|
23899
|
-
throw e;
|
|
23900
|
-
}
|
|
23901
23874
|
/**
|
|
23902
23875
|
* Fired after the popup was opened for some control button
|
|
23903
23876
|
*/
|
|
@@ -26236,9 +26209,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26236
26209
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
26237
26210
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
26238
26211
|
*/
|
|
26239
|
-
/**
|
|
26240
|
-
* @module plugins/ai-assistant
|
|
26241
|
-
*/
|
|
26242
26212
|
|
|
26243
26213
|
|
|
26244
26214
|
|
|
@@ -31815,9 +31785,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31815
31785
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31816
31786
|
*/
|
|
31817
31787
|
|
|
31818
|
-
/**
|
|
31819
|
-
* @private
|
|
31820
|
-
*/
|
|
31788
|
+
/** @private */
|
|
31821
31789
|
function readAlign(image, values) {
|
|
31822
31790
|
// Align
|
|
31823
31791
|
if (image.style.cssFloat &&
|
|
@@ -31938,9 +31906,6 @@ function readLink(state, j, values) {
|
|
|
31938
31906
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31939
31907
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31940
31908
|
*/
|
|
31941
|
-
/**
|
|
31942
|
-
* @module plugins/image-properties
|
|
31943
|
-
*/
|
|
31944
31909
|
|
|
31945
31910
|
/** @private */
|
|
31946
31911
|
function readMargins(image, values, state) {
|
|
@@ -31984,9 +31949,6 @@ function readMargins(image, values, state) {
|
|
|
31984
31949
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31985
31950
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31986
31951
|
*/
|
|
31987
|
-
/**
|
|
31988
|
-
* @module plugins/image-properties
|
|
31989
|
-
*/
|
|
31990
31952
|
|
|
31991
31953
|
|
|
31992
31954
|
|
|
@@ -32800,9 +32762,6 @@ function openImagePopup(j, dialog, state, button) {
|
|
|
32800
32762
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32801
32763
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32802
32764
|
*/
|
|
32803
|
-
/**
|
|
32804
|
-
* @module plugins/image-properties
|
|
32805
|
-
*/
|
|
32806
32765
|
|
|
32807
32766
|
|
|
32808
32767
|
/** @private */
|
|
@@ -32991,9 +32950,6 @@ function applyMargin(j, marginTop, marginRight, marginBottom, marginLeft, image,
|
|
|
32991
32950
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32992
32951
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32993
32952
|
*/
|
|
32994
|
-
/**
|
|
32995
|
-
* @module plugins/image-properties
|
|
32996
|
-
*/
|
|
32997
32953
|
|
|
32998
32954
|
|
|
32999
32955
|
|
|
@@ -40888,13 +40844,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.sym
|
|
|
40888
40844
|
editor.e.on(container, 'close_dialog', close);
|
|
40889
40845
|
return box;
|
|
40890
40846
|
}
|
|
40891
|
-
|
|
40892
|
-
|
|
40893
|
-
|
|
40894
|
-
|
|
40895
|
-
|
|
40847
|
+
else {
|
|
40848
|
+
editor
|
|
40849
|
+
.alert(container, 'Select Special Character', undefined, 'jodit-symbols')
|
|
40850
|
+
.bindDestruct(editor);
|
|
40851
|
+
const a = container.querySelector('a');
|
|
40852
|
+
a && a.focus();
|
|
40853
|
+
}
|
|
40896
40854
|
}
|
|
40897
|
-
return;
|
|
40898
40855
|
}
|
|
40899
40856
|
};
|
|
40900
40857
|
|
|
@@ -40995,15 +40952,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
40995
40952
|
class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .k {
|
|
40996
40953
|
constructor(jodit) {
|
|
40997
40954
|
super(jodit);
|
|
40955
|
+
/** @override */
|
|
40998
40956
|
this.buttons = [
|
|
40999
40957
|
{
|
|
41000
40958
|
name: 'symbols',
|
|
41001
40959
|
group: 'insert'
|
|
41002
40960
|
}
|
|
41003
40961
|
];
|
|
41004
|
-
this.
|
|
40962
|
+
this.countInRow = 17;
|
|
41005
40963
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_6__);
|
|
41006
40964
|
}
|
|
40965
|
+
/** @override */
|
|
41007
40966
|
afterInit(jodit) {
|
|
41008
40967
|
jodit.e.on('generateSpecialCharactersTable.symbols', () => {
|
|
41009
40968
|
const container = jodit.c.fromHTML(`<div class="jodit-symbols__container">
|
|
@@ -41013,15 +40972,10 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
41013
40972
|
<div class="jodit-symbols__container_preview">
|
|
41014
40973
|
<div class="jodit-symbols__preview"></div>
|
|
41015
40974
|
</div>
|
|
41016
|
-
</div>`);
|
|
41017
|
-
const preview = container.querySelector('.jodit-symbols__preview');
|
|
41018
|
-
const table = container.querySelector('table');
|
|
41019
|
-
const body = table.tBodies[0];
|
|
41020
|
-
const chars = [];
|
|
40975
|
+
</div>`), preview = container.querySelector('.jodit-symbols__preview'), table = container.querySelector('table'), body = table.tBodies[0], chars = [];
|
|
41021
40976
|
for (let i = 0; i < jodit.o.specialCharacters.length;) {
|
|
41022
40977
|
const tr = jodit.c.element('tr');
|
|
41023
|
-
for (let j = 0; j < this.
|
|
41024
|
-
i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
40978
|
+
for (let j = 0; j < this.countInRow && i < jodit.o.specialCharacters.length; j += 1, i += 1) {
|
|
41025
40979
|
const td = jodit.c.element('td'), a = jodit.c.fromHTML(`<a
|
|
41026
40980
|
data-index="${i}"
|
|
41027
40981
|
data-index-j="${j}"
|
|
@@ -41043,9 +40997,7 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
41043
40997
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(this, 'a')) {
|
|
41044
40998
|
jodit.s.focus();
|
|
41045
40999
|
jodit.s.insertHTML(this.innerHTML);
|
|
41046
|
-
|
|
41047
|
-
jodit.e.fire(this, 'close_dialog');
|
|
41048
|
-
}
|
|
41000
|
+
jodit.e.fire(this, 'close_dialog');
|
|
41049
41001
|
e && e.preventDefault();
|
|
41050
41002
|
e && e.stopImmediatePropagation();
|
|
41051
41003
|
}
|
|
@@ -41065,18 +41017,18 @@ class symbols extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_4__/* .P
|
|
|
41065
41017
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
41066
41018
|
newIndex =
|
|
41067
41019
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
41068
|
-
? index - self.
|
|
41069
|
-
: index + self.
|
|
41020
|
+
? index - self.countInRow
|
|
41021
|
+
: index + self.countInRow;
|
|
41070
41022
|
if (chars[newIndex] === undefined) {
|
|
41071
41023
|
newIndex =
|
|
41072
41024
|
e.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
41073
41025
|
? Math.floor(chars.length /
|
|
41074
|
-
self.
|
|
41075
|
-
self.
|
|
41026
|
+
self.countInRow) *
|
|
41027
|
+
self.countInRow +
|
|
41076
41028
|
jIndex
|
|
41077
41029
|
: jIndex;
|
|
41078
41030
|
if (newIndex > chars.length - 1) {
|
|
41079
|
-
newIndex -= self.
|
|
41031
|
+
newIndex -= self.countInRow;
|
|
41080
41032
|
}
|
|
41081
41033
|
}
|
|
41082
41034
|
chars[newIndex] && chars[newIndex].focus();
|
|
@@ -42930,7 +42882,8 @@ class license extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__/* .P
|
|
|
42930
42882
|
/** @override */
|
|
42931
42883
|
afterInit(jodit) {
|
|
42932
42884
|
this.j.e.on('checkReserve', async () => {
|
|
42933
|
-
const code = this.j.o.license
|
|
42885
|
+
const code = this.j.o.license;
|
|
42886
|
+
const domain = location.host;
|
|
42934
42887
|
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_5__/* .isString */ .K)(code)) {
|
|
42935
42888
|
return '';
|
|
42936
42889
|
}
|