jodit-pro 4.2.13 → 4.2.18
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/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +416 -403
- 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 +7 -7
- package/es2015/plugins/backup/backup.min.js +2 -2
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +9 -9
- package/es2015/plugins/button-generator/button-generator.min.js +2 -2
- package/es2015/plugins/change-case/change-case.js +6 -6
- package/es2015/plugins/change-case/change-case.min.js +2 -2
- 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 +11 -11
- package/es2015/plugins/emoji/emoji.min.js +2 -2
- package/es2015/plugins/export-docs/export-docs.js +7 -7
- 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 +33 -33
- package/es2015/plugins/finder/finder.min.js +2 -2
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +2 -2
- package/es2015/plugins/google-maps/google-maps.min.js +2 -2
- package/es2015/plugins/google-search/google-search.js +6 -6
- package/es2015/plugins/google-search/google-search.min.js +2 -2
- 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 +8 -8
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +15 -15
- package/es2015/plugins/keyboard/keyboard.min.js +2 -2
- package/es2015/plugins/mobile-view/mobile-view.js +20 -9
- package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2015/plugins/page-break/page-break.js +8 -8
- package/es2015/plugins/page-break/page-break.min.js +2 -2
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +7 -7
- package/es2015/plugins/paste-code/paste-code.min.js +2 -2
- 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 +7 -7
- package/es2015/plugins/todo-list/todo-list.min.js +2 -2
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +9 -9
- package/es2015/plugins/translate/translate.min.js +2 -2
- 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/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +416 -405
- 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 +7 -7
- package/es2018/plugins/backup/backup.min.js +2 -2
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +9 -9
- package/es2018/plugins/button-generator/button-generator.min.js +2 -2
- package/es2018/plugins/change-case/change-case.js +6 -6
- package/es2018/plugins/change-case/change-case.min.js +2 -2
- 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 +11 -11
- package/es2018/plugins/emoji/emoji.min.js +2 -2
- package/es2018/plugins/export-docs/export-docs.js +7 -7
- 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 +33 -33
- package/es2018/plugins/finder/finder.min.js +2 -2
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +2 -2
- package/es2018/plugins/google-maps/google-maps.min.js +2 -2
- package/es2018/plugins/google-search/google-search.js +6 -6
- package/es2018/plugins/google-search/google-search.min.js +2 -2
- 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 +8 -8
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +15 -15
- package/es2018/plugins/keyboard/keyboard.min.js +2 -2
- package/es2018/plugins/mobile-view/mobile-view.js +20 -9
- package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2018/plugins/page-break/page-break.js +8 -8
- package/es2018/plugins/page-break/page-break.min.js +2 -2
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +7 -7
- package/es2018/plugins/paste-code/paste-code.min.js +2 -2
- 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 +7 -7
- package/es2018/plugins/todo-list/todo-list.min.js +2 -2
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +9 -9
- package/es2018/plugins/translate/translate.min.js +2 -2
- 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/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +416 -403
- 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 +7 -7
- package/es2021/plugins/backup/backup.min.js +2 -2
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +9 -9
- package/es2021/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021/plugins/change-case/change-case.js +6 -6
- package/es2021/plugins/change-case/change-case.min.js +2 -2
- 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 +11 -11
- package/es2021/plugins/emoji/emoji.min.js +2 -2
- package/es2021/plugins/export-docs/export-docs.js +7 -7
- 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 +33 -33
- package/es2021/plugins/finder/finder.min.js +2 -2
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +2 -2
- package/es2021/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021/plugins/google-search/google-search.js +6 -6
- package/es2021/plugins/google-search/google-search.min.js +2 -2
- 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 +8 -8
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +15 -15
- package/es2021/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021/plugins/mobile-view/mobile-view.js +19 -9
- package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021/plugins/page-break/page-break.js +8 -8
- package/es2021/plugins/page-break/page-break.min.js +2 -2
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +7 -7
- package/es2021/plugins/paste-code/paste-code.min.js +2 -2
- 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 +7 -7
- package/es2021/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +9 -9
- package/es2021/plugins/translate/translate.min.js +2 -2
- 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/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +416 -403
- 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 +7 -7
- package/es2021.en/plugins/backup/backup.min.js +2 -2
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +9 -9
- package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
- package/es2021.en/plugins/change-case/change-case.js +6 -6
- package/es2021.en/plugins/change-case/change-case.min.js +2 -2
- 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 +11 -11
- package/es2021.en/plugins/emoji/emoji.min.js +2 -2
- package/es2021.en/plugins/export-docs/export-docs.js +7 -7
- 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 +33 -33
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +2 -2
- package/es2021.en/plugins/google-maps/google-maps.min.js +2 -2
- package/es2021.en/plugins/google-search/google-search.js +6 -6
- package/es2021.en/plugins/google-search/google-search.min.js +2 -2
- 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 +8 -8
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +15 -15
- package/es2021.en/plugins/keyboard/keyboard.min.js +2 -2
- package/es2021.en/plugins/mobile-view/mobile-view.js +19 -9
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es2021.en/plugins/page-break/page-break.js +8 -8
- package/es2021.en/plugins/page-break/page-break.min.js +2 -2
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +7 -7
- package/es2021.en/plugins/paste-code/paste-code.min.js +2 -2
- 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 +7 -7
- package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +9 -9
- package/es2021.en/plugins/translate/translate.min.js +2 -2
- 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/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +421 -408
- 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 +7 -7
- package/es5/plugins/backup/backup.min.js +2 -2
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +9 -9
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +6 -6
- package/es5/plugins/change-case/change-case.min.js +2 -2
- 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 +11 -11
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +7 -7
- 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 +33 -33
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +2 -2
- package/es5/plugins/google-maps/google-maps.min.js +2 -2
- package/es5/plugins/google-search/google-search.js +6 -6
- package/es5/plugins/google-search/google-search.min.js +2 -2
- 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 +8 -8
- package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +15 -15
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +20 -9
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +8 -8
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +7 -7
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- 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 +7 -7
- package/es5/plugins/todo-list/todo-list.min.js +2 -2
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +9 -9
- package/es5/plugins/translate/translate.min.js +2 -2
- 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/autocomplete/autocomplete.js +1 -1
- package/esm/plugins/backup/config.js +1 -1
- package/esm/plugins/button-generator/config.js +1 -1
- package/esm/plugins/change-case/config.js +1 -1
- package/esm/plugins/emoji/config.js +1 -1
- package/esm/plugins/export-docs/config.js +1 -1
- package/esm/plugins/finder/browser.js +1 -1
- package/esm/plugins/finder/interface.d.ts +69 -0
- package/esm/plugins/google-maps/config.js +1 -1
- package/esm/plugins/google-maps/interface.d.ts +109 -0
- package/esm/plugins/google-search/google-search.js +1 -1
- package/esm/plugins/iframe-editor/config.js +1 -1
- package/esm/plugins/keyboard/config.js +1 -1
- package/esm/plugins/keyboard/keyboard.js +1 -1
- package/esm/plugins/mobile-view/config.js +1 -1
- package/esm/plugins/page-break/config.js +1 -1
- package/esm/plugins/paste-code/config.js +1 -1
- package/esm/plugins/todo-list/config.js +1 -1
- package/esm/plugins/translate/config.js +1 -1
- package/package.json +1 -1
- package/types/plugins/finder/interface.d.ts +69 -0
- package/types/plugins/google-maps/interface.d.ts +109 -0
package/es2021/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.18
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2444,7 +2444,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2444
2444
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2445
2445
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2446
2446
|
*/
|
|
2447
|
-
const APP_VERSION = "4.2.
|
|
2447
|
+
const APP_VERSION = "4.2.18";
|
|
2448
2448
|
// prettier-ignore
|
|
2449
2449
|
const ES = "es2021";
|
|
2450
2450
|
const IS_ES_MODERN = true;
|
|
@@ -7988,6 +7988,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
7988
7988
|
}
|
|
7989
7989
|
const script = jodit.c.element('script', {
|
|
7990
7990
|
type: 'text/javascript',
|
|
7991
|
+
crossorigin: 'anonymous',
|
|
7992
|
+
referrerpolicy: 'no-referrer',
|
|
7991
7993
|
async: true,
|
|
7992
7994
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .X)(url)
|
|
7993
7995
|
});
|
|
@@ -8228,9 +8230,9 @@ const completeUrl = (url) => {
|
|
|
8228
8230
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
8229
8231
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
8230
8232
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74197);
|
|
8233
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
|
|
8231
8234
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20368);
|
|
8232
|
-
/* harmony import */ var
|
|
8233
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
8235
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94183);
|
|
8234
8236
|
/*!
|
|
8235
8237
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8236
8238
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8278,7 +8280,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8278
8280
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
8279
8281
|
return options;
|
|
8280
8282
|
}
|
|
8281
|
-
const def =
|
|
8283
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
8282
8284
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
8283
8285
|
if (def.presets[options.preset] !== undefined) {
|
|
8284
8286
|
const preset = def.presets[options.preset];
|
|
@@ -8308,7 +8310,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8308
8310
|
return newOpt;
|
|
8309
8311
|
}
|
|
8310
8312
|
function ConfigFlatten(obj) {
|
|
8311
|
-
return (0,
|
|
8313
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
8312
8314
|
app[key] = obj[key];
|
|
8313
8315
|
return app;
|
|
8314
8316
|
}, {});
|
|
@@ -10267,9 +10269,9 @@ Plugin.requires = [];
|
|
|
10267
10269
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33442);
|
|
10268
10270
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
10269
10271
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24839);
|
|
10270
|
-
/* harmony import */ var
|
|
10272
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
10273
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91596);
|
|
10271
10274
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(85349);
|
|
10272
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
10273
10275
|
/*!
|
|
10274
10276
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10275
10277
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -10287,7 +10289,7 @@ class Ajax {
|
|
|
10287
10289
|
className() {
|
|
10288
10290
|
return 'Ajax';
|
|
10289
10291
|
}
|
|
10290
|
-
constructor(options, defaultAjaxOptions =
|
|
10292
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
10291
10293
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
10292
10294
|
this.__isFulfilled = false;
|
|
10293
10295
|
this.__activated = false;
|
|
@@ -15735,17 +15737,23 @@ function findControlType(path, controls) {
|
|
|
15735
15737
|
else {
|
|
15736
15738
|
key = namespaceOrKey;
|
|
15737
15739
|
}
|
|
15738
|
-
const list = store[key]?.list;
|
|
15740
|
+
// const list = store[key]?.list;
|
|
15739
15741
|
return store[key]
|
|
15740
15742
|
? {
|
|
15741
15743
|
name: key,
|
|
15742
|
-
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15743
|
-
list:
|
|
15744
|
-
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
15748
|
-
|
|
15744
|
+
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15745
|
+
// list: isArray(list)
|
|
15746
|
+
// ? (<Array<string>>list).reduce(
|
|
15747
|
+
// (
|
|
15748
|
+
// acc: IDictionary<string | number>,
|
|
15749
|
+
// k: string | number
|
|
15750
|
+
// ) => {
|
|
15751
|
+
// acc[String(k)] = k;
|
|
15752
|
+
// return acc;
|
|
15753
|
+
// },
|
|
15754
|
+
// {}
|
|
15755
|
+
// )
|
|
15756
|
+
// : list
|
|
15749
15757
|
}
|
|
15750
15758
|
: undefined;
|
|
15751
15759
|
}
|
|
@@ -15762,8 +15770,8 @@ function findControlType(path, controls) {
|
|
|
15762
15770
|
/* harmony export */ });
|
|
15763
15771
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55010);
|
|
15764
15772
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71122);
|
|
15765
|
-
/* harmony import */ var
|
|
15766
|
-
/* harmony import */ var
|
|
15773
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
15774
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68600);
|
|
15767
15775
|
/*!
|
|
15768
15776
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15769
15777
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15783,7 +15791,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15783
15791
|
const value = items[key] || {};
|
|
15784
15792
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15785
15793
|
});
|
|
15786
|
-
return elements.map(item => (0,
|
|
15794
|
+
return elements.map(item => (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls));
|
|
15787
15795
|
}
|
|
15788
15796
|
|
|
15789
15797
|
|
|
@@ -16969,8 +16977,8 @@ class CommitMode {
|
|
|
16969
16977
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
16970
16978
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49604);
|
|
16971
16979
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28190);
|
|
16972
|
-
/* harmony import */ var
|
|
16973
|
-
/* harmony import */ var
|
|
16980
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
16981
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(35102);
|
|
16974
16982
|
/*!
|
|
16975
16983
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16976
16984
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16989,7 +16997,7 @@ var Jodit_1;
|
|
|
16989
16997
|
|
|
16990
16998
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16991
16999
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16992
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
17000
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16993
17001
|
/** @override */
|
|
16994
17002
|
className() {
|
|
16995
17003
|
return 'Jodit';
|
|
@@ -17036,7 +17044,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17036
17044
|
get defaultTimeout() {
|
|
17037
17045
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
17038
17046
|
? this.o.defaultTimeout
|
|
17039
|
-
:
|
|
17047
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17040
17048
|
}
|
|
17041
17049
|
/**
|
|
17042
17050
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -17062,10 +17070,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17062
17070
|
* Default settings
|
|
17063
17071
|
*/
|
|
17064
17072
|
static get defaultOptions() {
|
|
17065
|
-
return
|
|
17073
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
17066
17074
|
}
|
|
17067
17075
|
get createInside() {
|
|
17068
|
-
return new
|
|
17076
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
17069
17077
|
}
|
|
17070
17078
|
__setPlaceField(field, value) {
|
|
17071
17079
|
if (!this.currentPlace) {
|
|
@@ -17613,8 +17621,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17613
17621
|
const active = this.od.activeElement;
|
|
17614
17622
|
if (active &&
|
|
17615
17623
|
(active === this.iframe ||
|
|
17616
|
-
|
|
17617
|
-
|
|
17624
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
17625
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
17618
17626
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
17619
17627
|
}
|
|
17620
17628
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -17766,7 +17774,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17766
17774
|
}
|
|
17767
17775
|
/** @override **/
|
|
17768
17776
|
initOptions(options) {
|
|
17769
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17777
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
17770
17778
|
}
|
|
17771
17779
|
/** @override **/
|
|
17772
17780
|
initOwners() {
|
|
@@ -17811,7 +17819,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17811
17819
|
this.destruct();
|
|
17812
17820
|
throw e;
|
|
17813
17821
|
}
|
|
17814
|
-
this.setStatus(
|
|
17822
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17815
17823
|
this.id =
|
|
17816
17824
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.resolveElement)(element, this.o.shadowRoot || this.od), 'id') ||
|
|
17817
17825
|
new Date().getTime().toString();
|
|
@@ -17823,7 +17831,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17823
17831
|
}
|
|
17824
17832
|
});
|
|
17825
17833
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17826
|
-
this.selection = new
|
|
17834
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17827
17835
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17828
17836
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17829
17837
|
if (this.isInDestruct) {
|
|
@@ -17847,7 +17855,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17847
17855
|
this.e.fire('afterInit', this);
|
|
17848
17856
|
}
|
|
17849
17857
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17850
|
-
this.setStatus(
|
|
17858
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17851
17859
|
this.e.fire('afterConstructor', this);
|
|
17852
17860
|
};
|
|
17853
17861
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17863,7 +17871,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17863
17871
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17864
17872
|
const name = attr.name;
|
|
17865
17873
|
let value = attr.value;
|
|
17866
|
-
if (
|
|
17874
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17867
17875
|
(!options || options[name] === undefined)) {
|
|
17868
17876
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17869
17877
|
value = value === '' || value === 'true';
|
|
@@ -17931,11 +17939,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17931
17939
|
element,
|
|
17932
17940
|
container,
|
|
17933
17941
|
workplace,
|
|
17934
|
-
statusbar: new
|
|
17942
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17935
17943
|
options: this.isReady
|
|
17936
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17944
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17937
17945
|
: this.options,
|
|
17938
|
-
history: new
|
|
17946
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17939
17947
|
editorWindow: this.ow
|
|
17940
17948
|
};
|
|
17941
17949
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -18026,7 +18034,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18026
18034
|
return;
|
|
18027
18035
|
}
|
|
18028
18036
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
18029
|
-
|
|
18037
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
18030
18038
|
}
|
|
18031
18039
|
addClassNames(this.o.editorClassName, this.editor);
|
|
18032
18040
|
if (this.o.style) {
|
|
@@ -18116,7 +18124,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18116
18124
|
if (this.isInDestruct) {
|
|
18117
18125
|
return;
|
|
18118
18126
|
}
|
|
18119
|
-
this.setStatus(
|
|
18127
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
18120
18128
|
this.__elementToPlace.clear();
|
|
18121
18129
|
this.storage.clear();
|
|
18122
18130
|
this.buffer.clear();
|
|
@@ -18157,17 +18165,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18157
18165
|
this.e.off(container);
|
|
18158
18166
|
this.e.off(element);
|
|
18159
18167
|
this.e.off(editor);
|
|
18160
|
-
|
|
18161
|
-
|
|
18168
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
18169
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
18162
18170
|
if (container !== element) {
|
|
18163
|
-
|
|
18171
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
18164
18172
|
}
|
|
18165
18173
|
Object.defineProperty(element, 'component', {
|
|
18166
18174
|
enumerable: false,
|
|
18167
18175
|
configurable: true,
|
|
18168
18176
|
value: null
|
|
18169
18177
|
});
|
|
18170
|
-
|
|
18178
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
18171
18179
|
// inline mode
|
|
18172
18180
|
if (container === element) {
|
|
18173
18181
|
element.innerHTML = buffer;
|
|
@@ -18189,7 +18197,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
18189
18197
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
18190
18198
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
18191
18199
|
Jodit.core = {
|
|
18192
|
-
Plugin:
|
|
18200
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
18193
18201
|
};
|
|
18194
18202
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
18195
18203
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -20462,16 +20470,16 @@ async function loadTree(fb) {
|
|
|
20462
20470
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
20463
20471
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
20464
20472
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
20465
|
-
/* harmony import */ var
|
|
20473
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91288);
|
|
20474
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83148);
|
|
20466
20475
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
|
|
20467
|
-
/* harmony import */ var
|
|
20468
|
-
/* harmony import */ var
|
|
20469
|
-
/* harmony import */ var
|
|
20470
|
-
/* harmony import */ var
|
|
20471
|
-
/* harmony import */ var
|
|
20472
|
-
/* harmony import */ var
|
|
20473
|
-
/* harmony import */ var
|
|
20474
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
20476
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(64164);
|
|
20477
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50067);
|
|
20478
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(25430);
|
|
20479
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34255);
|
|
20480
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(18714);
|
|
20481
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(24538);
|
|
20482
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96243);
|
|
20475
20483
|
/*!
|
|
20476
20484
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20477
20485
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20505,7 +20513,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20505
20513
|
return 'FileBrowser';
|
|
20506
20514
|
}
|
|
20507
20515
|
get dataProvider() {
|
|
20508
|
-
return (0,
|
|
20516
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
20509
20517
|
}
|
|
20510
20518
|
// eslint-disable-next-line no-unused-vars
|
|
20511
20519
|
onSelect(callback) {
|
|
@@ -20619,7 +20627,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20619
20627
|
this.__updateToolbarButtons();
|
|
20620
20628
|
this._dialog.open(this.browser, header);
|
|
20621
20629
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20622
|
-
(0,
|
|
20630
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
20623
20631
|
.then(resolve, reject)
|
|
20624
20632
|
.finally(() => {
|
|
20625
20633
|
if (this.isInDestruct) {
|
|
@@ -20653,7 +20661,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20653
20661
|
});
|
|
20654
20662
|
}
|
|
20655
20663
|
initUploader(editor) {
|
|
20656
|
-
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20664
|
+
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
20657
20665
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
20658
20666
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20659
20667
|
self.uploader
|
|
@@ -20673,11 +20681,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20673
20681
|
super(options);
|
|
20674
20682
|
this.browser = this.c.div(this.componentName);
|
|
20675
20683
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20676
|
-
this.tree = new
|
|
20677
|
-
this.files = new
|
|
20684
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
20685
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
20678
20686
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
20679
20687
|
currentPath: '',
|
|
20680
|
-
currentSource:
|
|
20688
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20681
20689
|
currentBaseUrl: '',
|
|
20682
20690
|
activeElements: [],
|
|
20683
20691
|
elements: [],
|
|
@@ -20707,7 +20715,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20707
20715
|
this.__prevButtons = [];
|
|
20708
20716
|
this.attachEvents(options);
|
|
20709
20717
|
const self = this;
|
|
20710
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20718
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
20711
20719
|
self.browser.component = this;
|
|
20712
20720
|
self.container = self.browser;
|
|
20713
20721
|
if (self.o.showFoldersPanel) {
|
|
@@ -20715,9 +20723,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20715
20723
|
}
|
|
20716
20724
|
self.browser.appendChild(self.files.container);
|
|
20717
20725
|
self.browser.appendChild(self.status_line);
|
|
20718
|
-
|
|
20719
|
-
|
|
20720
|
-
|
|
20726
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
20727
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
20728
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
20721
20729
|
const keys = [
|
|
20722
20730
|
'getLocalFileByUrl',
|
|
20723
20731
|
'crop',
|
|
@@ -21388,10 +21396,10 @@ class Command {
|
|
|
21388
21396
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
21389
21397
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
21390
21398
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53557);
|
|
21399
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
21391
21400
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22180);
|
|
21392
|
-
/* harmony import */ var
|
|
21401
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(801);
|
|
21393
21402
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98189);
|
|
21394
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
21395
21403
|
/*!
|
|
21396
21404
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21397
21405
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21404,7 +21412,7 @@ class Command {
|
|
|
21404
21412
|
|
|
21405
21413
|
|
|
21406
21414
|
|
|
21407
|
-
|
|
21415
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
21408
21416
|
enable: true,
|
|
21409
21417
|
maxHistoryLength: Infinity,
|
|
21410
21418
|
timeout: 1000
|
|
@@ -21455,7 +21463,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21455
21463
|
set startValue(value) {
|
|
21456
21464
|
this.__startValue = value;
|
|
21457
21465
|
}
|
|
21458
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
21466
|
+
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F(editor)) {
|
|
21459
21467
|
super(editor);
|
|
21460
21468
|
this.updateTick = 0;
|
|
21461
21469
|
this.__stack = stack;
|
|
@@ -21518,7 +21526,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21518
21526
|
*/
|
|
21519
21527
|
updateStack(replace = false) {
|
|
21520
21528
|
const newValue = this.snapshot.make();
|
|
21521
|
-
if (!
|
|
21529
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
21522
21530
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
21523
21531
|
if (replace) {
|
|
21524
21532
|
const command = this.__stack.current();
|
|
@@ -21851,11 +21859,11 @@ class Stack {
|
|
|
21851
21859
|
|
|
21852
21860
|
"use strict";
|
|
21853
21861
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
21854
|
-
/* harmony import */ var
|
|
21855
|
-
/* harmony import */ var
|
|
21856
|
-
/* harmony import */ var
|
|
21857
|
-
/* harmony import */ var
|
|
21858
|
-
/* harmony import */ var
|
|
21862
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
21863
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(83904);
|
|
21864
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21865
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15582);
|
|
21866
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21859
21867
|
/*!
|
|
21860
21868
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21861
21869
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21865,7 +21873,7 @@ class Stack {
|
|
|
21865
21873
|
|
|
21866
21874
|
|
|
21867
21875
|
|
|
21868
|
-
|
|
21876
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21869
21877
|
min_width: 20,
|
|
21870
21878
|
min_height: 20,
|
|
21871
21879
|
closeAfterSave: false,
|
|
@@ -21880,7 +21888,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21880
21888
|
cropDefaultWidth: '70%',
|
|
21881
21889
|
cropDefaultHeight: '70%'
|
|
21882
21890
|
};
|
|
21883
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21891
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('resize', (_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
21884
21892
|
|
|
21885
21893
|
|
|
21886
21894
|
/***/ }),
|
|
@@ -21899,9 +21907,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21899
21907
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33465);
|
|
21900
21908
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
21901
21909
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(64962);
|
|
21902
|
-
/* harmony import */ var
|
|
21903
|
-
/* harmony import */ var
|
|
21904
|
-
/* harmony import */ var
|
|
21910
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
21911
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15546);
|
|
21912
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73898);
|
|
21905
21913
|
/*!
|
|
21906
21914
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21907
21915
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22361,7 +22369,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22361
22369
|
this.options =
|
|
22362
22370
|
editor && editor.o && editor.o.imageeditor
|
|
22363
22371
|
? editor.o.imageeditor
|
|
22364
|
-
:
|
|
22372
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
22365
22373
|
const o = this.options;
|
|
22366
22374
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
22367
22375
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -22371,7 +22379,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22371
22379
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
22372
22380
|
};
|
|
22373
22381
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
22374
|
-
this.editor = (0,
|
|
22382
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
22375
22383
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
22376
22384
|
this.resize_box = resizeBox;
|
|
22377
22385
|
this.crop_box = cropBox;
|
|
@@ -23787,7 +23795,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23787
23795
|
}
|
|
23788
23796
|
createContainer() {
|
|
23789
23797
|
const cn = this.componentName;
|
|
23790
|
-
const container = this.j.c.span(cn)
|
|
23798
|
+
const container = this.j.c.span(cn);
|
|
23799
|
+
const button = super.createContainer();
|
|
23791
23800
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23792
23801
|
button.classList.remove(cn);
|
|
23793
23802
|
button.classList.add(cn + '__button');
|
|
@@ -24176,8 +24185,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24176
24185
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24177
24186
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
24178
24187
|
/* harmony export */ });
|
|
24179
|
-
/* harmony import */ var
|
|
24188
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
24180
24189
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53557);
|
|
24190
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47903);
|
|
24181
24191
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
24182
24192
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72463);
|
|
24183
24193
|
/*!
|
|
@@ -24190,6 +24200,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24190
24200
|
|
|
24191
24201
|
|
|
24192
24202
|
|
|
24203
|
+
|
|
24193
24204
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
24194
24205
|
className() {
|
|
24195
24206
|
return 'ToolbarSelect';
|
|
@@ -24207,13 +24218,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
24207
24218
|
const keys = Object.keys(list);
|
|
24208
24219
|
key = keys[0];
|
|
24209
24220
|
}
|
|
24210
|
-
const text = (list[key.toString()] || key).toString();
|
|
24221
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
24211
24222
|
this.state.text =
|
|
24212
24223
|
this.control.textTemplate?.(this.jodit, text) ?? text;
|
|
24213
24224
|
}
|
|
24214
24225
|
}
|
|
24215
24226
|
};
|
|
24216
|
-
ToolbarSelect = (0,
|
|
24227
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24217
24228
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
24218
24229
|
], ToolbarSelect);
|
|
24219
24230
|
|
|
@@ -24343,7 +24354,7 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24343
24354
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
24344
24355
|
], ToolbarCollection.prototype, "__immediateUpdate", null);
|
|
24345
24356
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24346
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)()
|
|
24357
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)(ctx => ctx.j.defaultTimeout, true)
|
|
24347
24358
|
], ToolbarCollection.prototype, "update", null);
|
|
24348
24359
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24349
24360
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.hook)('ready')
|
|
@@ -25045,9 +25056,9 @@ function send(uploader, data) {
|
|
|
25045
25056
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
25046
25057
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
25047
25058
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25048
|
-
/* harmony import */ var
|
|
25049
|
-
/* harmony import */ var
|
|
25050
|
-
/* harmony import */ var
|
|
25059
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
25060
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20431);
|
|
25061
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50999);
|
|
25051
25062
|
/*!
|
|
25052
25063
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25053
25064
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25119,14 +25130,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25119
25130
|
}
|
|
25120
25131
|
};
|
|
25121
25132
|
// send data on server
|
|
25122
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
25123
|
-
(0,
|
|
25133
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
25134
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25124
25135
|
return false;
|
|
25125
25136
|
}
|
|
25126
25137
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
25127
|
-
return (0,
|
|
25138
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
25128
25139
|
}
|
|
25129
|
-
if ((0,
|
|
25140
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
25130
25141
|
const { items } = cData;
|
|
25131
25142
|
for (i = 0; i < items.length; i += 1) {
|
|
25132
25143
|
if (items[i].kind === 'file' &&
|
|
@@ -25137,7 +25148,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25137
25148
|
extension = mime[1]
|
|
25138
25149
|
? mime[1].toLowerCase()
|
|
25139
25150
|
: '';
|
|
25140
|
-
(0,
|
|
25151
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
25141
25152
|
}
|
|
25142
25153
|
e.preventDefault();
|
|
25143
25154
|
break;
|
|
@@ -25160,30 +25171,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25160
25171
|
e.preventDefault();
|
|
25161
25172
|
})
|
|
25162
25173
|
.on(form, 'dragover', (event) => {
|
|
25163
|
-
if ((0,
|
|
25164
|
-
(0,
|
|
25174
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
25175
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
25165
25176
|
form.classList.add('jodit_drag_hover');
|
|
25166
25177
|
event.preventDefault();
|
|
25167
25178
|
}
|
|
25168
25179
|
})
|
|
25169
25180
|
.on(form, 'dragend dragleave', (event) => {
|
|
25170
25181
|
form.classList.remove('jodit_drag_hover');
|
|
25171
|
-
if ((0,
|
|
25182
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25172
25183
|
event.preventDefault();
|
|
25173
25184
|
}
|
|
25174
25185
|
})
|
|
25175
25186
|
.on(form, 'drop', (event) => {
|
|
25176
25187
|
form.classList.remove('jodit_drag_hover');
|
|
25177
|
-
if ((0,
|
|
25188
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25178
25189
|
event.preventDefault();
|
|
25179
25190
|
event.stopImmediatePropagation();
|
|
25180
|
-
(0,
|
|
25191
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25181
25192
|
}
|
|
25182
25193
|
});
|
|
25183
25194
|
const inputFile = form.querySelector('input[type=file]');
|
|
25184
25195
|
if (inputFile) {
|
|
25185
25196
|
self.j.e.on(inputFile, 'change', () => {
|
|
25186
|
-
(0,
|
|
25197
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
25187
25198
|
.then(() => {
|
|
25188
25199
|
inputFile.value = '';
|
|
25189
25200
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -25203,7 +25214,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25203
25214
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
25204
25215
|
? handlerError
|
|
25205
25216
|
: o.defaultHandlerError;
|
|
25206
|
-
(0,
|
|
25217
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
25207
25218
|
action: 'fileUploadRemote',
|
|
25208
25219
|
url
|
|
25209
25220
|
})
|
|
@@ -25223,11 +25234,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25223
25234
|
super(editor);
|
|
25224
25235
|
this.path = '';
|
|
25225
25236
|
this.source = 'default';
|
|
25226
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
25237
|
+
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.uploader, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(editor) ? editor.o.uploader : {}));
|
|
25227
25238
|
}
|
|
25228
25239
|
destruct() {
|
|
25229
25240
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
25230
|
-
const instances =
|
|
25241
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
25231
25242
|
if (instances) {
|
|
25232
25243
|
instances.forEach(ajax => {
|
|
25233
25244
|
try {
|
|
@@ -25656,9 +25667,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25656
25667
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25657
25668
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25658
25669
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
25659
|
-
/* harmony import */ var
|
|
25660
|
-
/* harmony import */ var
|
|
25661
|
-
/* harmony import */ var
|
|
25670
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
25671
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(46891);
|
|
25672
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
25662
25673
|
/*!
|
|
25663
25674
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25664
25675
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25672,7 +25683,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25672
25683
|
|
|
25673
25684
|
|
|
25674
25685
|
|
|
25675
|
-
|
|
25686
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
25676
25687
|
exec: (editor) => {
|
|
25677
25688
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
25678
25689
|
dialog
|
|
@@ -25708,7 +25719,7 @@ function about(editor) {
|
|
|
25708
25719
|
});
|
|
25709
25720
|
}
|
|
25710
25721
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
25711
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
25722
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
25712
25723
|
|
|
25713
25724
|
|
|
25714
25725
|
/***/ }),
|
|
@@ -25951,9 +25962,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25951
25962
|
|
|
25952
25963
|
"use strict";
|
|
25953
25964
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
25954
|
-
/* harmony import */ var
|
|
25955
|
-
/* harmony import */ var
|
|
25956
|
-
/* harmony import */ var
|
|
25965
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
25966
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3882);
|
|
25967
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25957
25968
|
/*!
|
|
25958
25969
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25959
25970
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25962,9 +25973,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25962
25973
|
|
|
25963
25974
|
|
|
25964
25975
|
|
|
25965
|
-
|
|
25966
|
-
|
|
25967
|
-
|
|
25976
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25977
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25978
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25968
25979
|
'table',
|
|
25969
25980
|
'iframe',
|
|
25970
25981
|
'img',
|
|
@@ -25972,8 +25983,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25972
25983
|
'pre',
|
|
25973
25984
|
'jodit'
|
|
25974
25985
|
];
|
|
25975
|
-
|
|
25976
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25986
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25987
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25977
25988
|
|
|
25978
25989
|
|
|
25979
25990
|
/***/ }),
|
|
@@ -26111,11 +26122,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
26111
26122
|
|
|
26112
26123
|
"use strict";
|
|
26113
26124
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
26114
|
-
/* harmony import */ var
|
|
26115
|
-
/* harmony import */ var
|
|
26116
|
-
/* harmony import */ var
|
|
26117
|
-
/* harmony import */ var
|
|
26118
|
-
/* harmony import */ var
|
|
26125
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
26126
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15627);
|
|
26127
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
26128
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41500);
|
|
26129
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
26119
26130
|
/*!
|
|
26120
26131
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26121
26132
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26156,10 +26167,10 @@ const aiAssistantDefaults = {
|
|
|
26156
26167
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
26157
26168
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
26158
26169
|
};
|
|
26159
|
-
|
|
26160
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
26161
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
26162
|
-
|
|
26170
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
26171
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
26172
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26173
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
26163
26174
|
isDisabled(editor) {
|
|
26164
26175
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26165
26176
|
},
|
|
@@ -26197,7 +26208,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
26197
26208
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
26198
26209
|
}
|
|
26199
26210
|
};
|
|
26200
|
-
|
|
26211
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
26201
26212
|
isDisabled(editor) {
|
|
26202
26213
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26203
26214
|
},
|
|
@@ -26834,6 +26845,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26834
26845
|
}
|
|
26835
26846
|
if (sibling.nodeValue?.length) {
|
|
26836
26847
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26848
|
+
if (!sibling.nodeValue.length &&
|
|
26849
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26850
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26851
|
+
}
|
|
26837
26852
|
}
|
|
26838
26853
|
if (!sibling.nodeValue?.length) {
|
|
26839
26854
|
removeNeighbor = sibling;
|
|
@@ -27386,20 +27401,20 @@ function getMoveFilter(jodit) {
|
|
|
27386
27401
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51431);
|
|
27387
27402
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
27388
27403
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
27389
|
-
/* harmony import */ var
|
|
27390
|
-
/* harmony import */ var
|
|
27391
|
-
/* harmony import */ var
|
|
27392
|
-
/* harmony import */ var
|
|
27393
|
-
/* harmony import */ var
|
|
27394
|
-
/* harmony import */ var
|
|
27395
|
-
/* harmony import */ var
|
|
27396
|
-
/* harmony import */ var
|
|
27397
|
-
/* harmony import */ var
|
|
27398
|
-
/* harmony import */ var
|
|
27399
|
-
/* harmony import */ var
|
|
27400
|
-
/* harmony import */ var
|
|
27401
|
-
/* harmony import */ var
|
|
27402
|
-
/* harmony import */ var
|
|
27404
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
27405
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94673);
|
|
27406
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39586);
|
|
27407
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27408
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49463);
|
|
27409
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27410
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(10292);
|
|
27411
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
27412
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71718);
|
|
27413
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
27414
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48397);
|
|
27415
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
27416
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(46781);
|
|
27417
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
27403
27418
|
/*!
|
|
27404
27419
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27405
27420
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27422,7 +27437,7 @@ function getMoveFilter(jodit) {
|
|
|
27422
27437
|
*/
|
|
27423
27438
|
function bold(editor) {
|
|
27424
27439
|
const callBack = (command) => {
|
|
27425
|
-
const control =
|
|
27440
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
27426
27441
|
...control.css
|
|
27427
27442
|
};
|
|
27428
27443
|
let cssRules;
|
|
@@ -27476,12 +27491,12 @@ function bold(editor) {
|
|
|
27476
27491
|
});
|
|
27477
27492
|
}
|
|
27478
27493
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
27479
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
27480
|
-
.set('italic', (
|
|
27481
|
-
.set('strikethrough', (
|
|
27482
|
-
.set('subscript', (
|
|
27483
|
-
.set('superscript', (
|
|
27484
|
-
.set('underline', (
|
|
27494
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
27495
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
27496
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
27497
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
27498
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
27499
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
27485
27500
|
|
|
27486
27501
|
|
|
27487
27502
|
/***/ }),
|
|
@@ -27551,9 +27566,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27551
27566
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94183);
|
|
27552
27567
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65564);
|
|
27553
27568
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
27554
|
-
/* harmony import */ var
|
|
27555
|
-
/* harmony import */ var
|
|
27556
|
-
/* harmony import */ var
|
|
27569
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
27570
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14835);
|
|
27571
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27557
27572
|
/*!
|
|
27558
27573
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27559
27574
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27566,7 +27581,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27566
27581
|
|
|
27567
27582
|
|
|
27568
27583
|
|
|
27569
|
-
|
|
27584
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
27570
27585
|
command: 'applyClassName',
|
|
27571
27586
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
27572
27587
|
list: [
|
|
@@ -27654,7 +27669,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
27654
27669
|
beforeDestruct() { }
|
|
27655
27670
|
}
|
|
27656
27671
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
27657
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
27672
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
27658
27673
|
|
|
27659
27674
|
|
|
27660
27675
|
/***/ }),
|
|
@@ -27793,9 +27808,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27793
27808
|
|
|
27794
27809
|
"use strict";
|
|
27795
27810
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
27796
|
-
/* harmony import */ var
|
|
27797
|
-
/* harmony import */ var
|
|
27798
|
-
/* harmony import */ var
|
|
27811
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
27812
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(556);
|
|
27813
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27799
27814
|
/*!
|
|
27800
27815
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27801
27816
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27804,7 +27819,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27804
27819
|
|
|
27805
27820
|
|
|
27806
27821
|
|
|
27807
|
-
|
|
27822
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27808
27823
|
timeout: 300,
|
|
27809
27824
|
removeEmptyElements: true,
|
|
27810
27825
|
fillEmptyParagraph: true,
|
|
@@ -27820,11 +27835,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27820
27835
|
safeJavaScriptLink: true,
|
|
27821
27836
|
disableCleanFilter: null
|
|
27822
27837
|
};
|
|
27823
|
-
|
|
27838
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27824
27839
|
command: 'removeFormat',
|
|
27825
27840
|
tooltip: 'Clear Formatting'
|
|
27826
27841
|
};
|
|
27827
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27842
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27828
27843
|
|
|
27829
27844
|
|
|
27830
27845
|
/***/ }),
|
|
@@ -28490,15 +28505,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28490
28505
|
|
|
28491
28506
|
"use strict";
|
|
28492
28507
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
28493
|
-
/* harmony import */ var
|
|
28494
|
-
/* harmony import */ var
|
|
28495
|
-
/* harmony import */ var
|
|
28496
|
-
/* harmony import */ var
|
|
28497
|
-
/* harmony import */ var
|
|
28498
|
-
/* harmony import */ var
|
|
28499
|
-
/* harmony import */ var
|
|
28500
|
-
/* harmony import */ var
|
|
28501
|
-
/* harmony import */ var
|
|
28508
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
28509
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65);
|
|
28510
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
28511
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4594);
|
|
28512
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
28513
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63859);
|
|
28514
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28515
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38808);
|
|
28516
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28502
28517
|
/*!
|
|
28503
28518
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28504
28519
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28510,25 +28525,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28510
28525
|
|
|
28511
28526
|
|
|
28512
28527
|
|
|
28513
|
-
|
|
28528
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
28514
28529
|
command: 'cut',
|
|
28515
28530
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28516
28531
|
tooltip: 'Cut selection'
|
|
28517
28532
|
};
|
|
28518
|
-
|
|
28533
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
28519
28534
|
command: 'copy',
|
|
28520
28535
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28521
28536
|
tooltip: 'Copy selection'
|
|
28522
28537
|
};
|
|
28523
|
-
|
|
28538
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
28524
28539
|
icon: 'select-all',
|
|
28525
28540
|
command: 'selectall',
|
|
28526
28541
|
tooltip: 'Select all'
|
|
28527
28542
|
};
|
|
28528
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
28529
|
-
.set('cut', (
|
|
28530
|
-
.set('paste', (
|
|
28531
|
-
.set('select-all', (
|
|
28543
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
28544
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
28545
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
28546
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28532
28547
|
|
|
28533
28548
|
|
|
28534
28549
|
/***/ }),
|
|
@@ -28600,10 +28615,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28600
28615
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
28601
28616
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
28602
28617
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28603
|
-
/* harmony import */ var
|
|
28604
|
-
/* harmony import */ var
|
|
28605
|
-
/* harmony import */ var
|
|
28606
|
-
/* harmony import */ var
|
|
28618
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28619
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21391);
|
|
28620
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(55370);
|
|
28621
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28607
28622
|
/*!
|
|
28608
28623
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28609
28624
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28615,8 +28630,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28615
28630
|
|
|
28616
28631
|
|
|
28617
28632
|
|
|
28618
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
28619
|
-
|
|
28633
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28634
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
28620
28635
|
isVisible: (editor) => {
|
|
28621
28636
|
return !editor.o.disablePlugins.includes('color');
|
|
28622
28637
|
},
|
|
@@ -28629,7 +28644,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28629
28644
|
if (!selected.length) {
|
|
28630
28645
|
return false;
|
|
28631
28646
|
}
|
|
28632
|
-
const makeColorPicker = (key) => (0,
|
|
28647
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28633
28648
|
selected.forEach(cell => {
|
|
28634
28649
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
28635
28650
|
});
|
|
@@ -28638,7 +28653,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28638
28653
|
close();
|
|
28639
28654
|
editor.unlock();
|
|
28640
28655
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
28641
|
-
return (0,
|
|
28656
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
28642
28657
|
{
|
|
28643
28658
|
name: 'Background',
|
|
28644
28659
|
content: makeColorPicker('background-color')
|
|
@@ -28649,7 +28664,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28649
28664
|
},
|
|
28650
28665
|
tooltip: 'Background'
|
|
28651
28666
|
};
|
|
28652
|
-
|
|
28667
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
28653
28668
|
isVisible: (editor) => {
|
|
28654
28669
|
return !editor.o.disablePlugins.includes('color');
|
|
28655
28670
|
},
|
|
@@ -28697,7 +28712,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28697
28712
|
}
|
|
28698
28713
|
}, editor.editor);
|
|
28699
28714
|
}
|
|
28700
|
-
const backgroundTag = (0,
|
|
28715
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28701
28716
|
if (!currentElement) {
|
|
28702
28717
|
editor.execCommand('background', false, value);
|
|
28703
28718
|
}
|
|
@@ -28708,7 +28723,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28708
28723
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
28709
28724
|
close();
|
|
28710
28725
|
}, bg_color);
|
|
28711
|
-
const colorTab = (0,
|
|
28726
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28712
28727
|
if (!currentElement) {
|
|
28713
28728
|
editor.execCommand('forecolor', false, value);
|
|
28714
28729
|
}
|
|
@@ -28732,7 +28747,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28732
28747
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
28733
28748
|
tabs = tabs.reverse();
|
|
28734
28749
|
}
|
|
28735
|
-
return (0,
|
|
28750
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
28736
28751
|
},
|
|
28737
28752
|
exec(jodit, current, { button }) {
|
|
28738
28753
|
const mode = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode'), color = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color');
|
|
@@ -28771,10 +28786,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28771
28786
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
28772
28787
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
28773
28788
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28774
|
-
/* harmony import */ var
|
|
28775
|
-
/* harmony import */ var
|
|
28776
|
-
/* harmony import */ var
|
|
28777
|
-
/* harmony import */ var
|
|
28789
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28790
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72131);
|
|
28791
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28792
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18489);
|
|
28778
28793
|
/*!
|
|
28779
28794
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28780
28795
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28832,7 +28847,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28832
28847
|
}
|
|
28833
28848
|
return result;
|
|
28834
28849
|
};
|
|
28835
|
-
|
|
28850
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28836
28851
|
exec: (editor, current, { button }) => {
|
|
28837
28852
|
if (!current) {
|
|
28838
28853
|
return;
|
|
@@ -28882,10 +28897,10 @@ function copyFormat(editor) {
|
|
|
28882
28897
|
name: 'copyformat',
|
|
28883
28898
|
group: 'clipboard'
|
|
28884
28899
|
});
|
|
28885
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28900
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28886
28901
|
}
|
|
28887
28902
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28888
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28903
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28889
28904
|
|
|
28890
28905
|
|
|
28891
28906
|
/***/ }),
|
|
@@ -30693,8 +30708,8 @@ function wrapText(fake, jodit) {
|
|
|
30693
30708
|
/* unused harmony export file */
|
|
30694
30709
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
30695
30710
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
30696
|
-
/* harmony import */ var
|
|
30697
|
-
/* harmony import */ var
|
|
30711
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30712
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21391);
|
|
30698
30713
|
/*!
|
|
30699
30714
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30700
30715
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30704,7 +30719,7 @@ function wrapText(fake, jodit) {
|
|
|
30704
30719
|
|
|
30705
30720
|
|
|
30706
30721
|
|
|
30707
|
-
|
|
30722
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
30708
30723
|
popup: (editor, current, close) => {
|
|
30709
30724
|
const insert = (url, title = '') => {
|
|
30710
30725
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -30717,7 +30732,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
30717
30732
|
? current
|
|
30718
30733
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
30719
30734
|
}
|
|
30720
|
-
return (0,
|
|
30735
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
30721
30736
|
filebrowser: (data) => {
|
|
30722
30737
|
data.files &&
|
|
30723
30738
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30840,11 +30855,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30840
30855
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22718);
|
|
30841
30856
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
30842
30857
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
30843
|
-
/* harmony import */ var
|
|
30844
|
-
/* harmony import */ var
|
|
30845
|
-
/* harmony import */ var
|
|
30846
|
-
/* harmony import */ var
|
|
30847
|
-
/* harmony import */ var
|
|
30858
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
30859
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78602);
|
|
30860
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30861
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84413);
|
|
30862
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30848
30863
|
/*!
|
|
30849
30864
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30850
30865
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30860,9 +30875,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30860
30875
|
/**
|
|
30861
30876
|
* Default font-size points
|
|
30862
30877
|
*/
|
|
30863
|
-
|
|
30864
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30865
|
-
|
|
30878
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30879
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (_icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default())).set('fontsize', (_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
30880
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30866
30881
|
command: 'fontsize',
|
|
30867
30882
|
data: {
|
|
30868
30883
|
cssRule: 'font-size',
|
|
@@ -30918,8 +30933,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30918
30933
|
return keySet.has(normalize(value.toString()));
|
|
30919
30934
|
}
|
|
30920
30935
|
};
|
|
30921
|
-
|
|
30922
|
-
...
|
|
30936
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
30937
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
30923
30938
|
command: 'fontname',
|
|
30924
30939
|
textTemplate: (j, value) => {
|
|
30925
30940
|
const [first] = value.split(',');
|
|
@@ -31029,11 +31044,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31029
31044
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31030
31045
|
|
|
31031
31046
|
"use strict";
|
|
31032
|
-
/* harmony import */ var
|
|
31047
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
31048
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
31033
31049
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31034
|
-
/* harmony import */ var
|
|
31035
|
-
/* harmony import */ var
|
|
31036
|
-
/* harmony import */ var
|
|
31050
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31051
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30820);
|
|
31052
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31037
31053
|
/*!
|
|
31038
31054
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31039
31055
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31043,12 +31059,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31043
31059
|
|
|
31044
31060
|
|
|
31045
31061
|
|
|
31046
|
-
|
|
31047
|
-
|
|
31062
|
+
|
|
31063
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
31064
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
31048
31065
|
command: 'formatBlock',
|
|
31049
31066
|
value(editor, button) {
|
|
31050
31067
|
const control = button.control, current = editor.s.current();
|
|
31051
|
-
const currentBox =
|
|
31068
|
+
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
31052
31069
|
return currentBox?.nodeName.toLowerCase() ?? control.data?.currentValue;
|
|
31053
31070
|
},
|
|
31054
31071
|
update(editor, button) {
|
|
@@ -31057,7 +31074,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31057
31074
|
return false;
|
|
31058
31075
|
}
|
|
31059
31076
|
const currentValue = button.state.value, list = control.list;
|
|
31060
|
-
if (list && list[currentValue.toString()]) {
|
|
31077
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
31061
31078
|
if (editor.o.textIcons) {
|
|
31062
31079
|
button.state.text = list[currentValue.toString()].toString();
|
|
31063
31080
|
}
|
|
@@ -31081,7 +31098,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31081
31098
|
},
|
|
31082
31099
|
isActive: (editor, button) => {
|
|
31083
31100
|
return (button.state.value !== editor.o.enter &&
|
|
31084
|
-
|
|
31101
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
31102
|
+
Boolean(button.control.list[button.state.value]));
|
|
31085
31103
|
},
|
|
31086
31104
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
31087
31105
|
tooltip: 'Insert format block'
|
|
@@ -31131,11 +31149,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31131
31149
|
"use strict";
|
|
31132
31150
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
31133
31151
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31134
|
-
/* harmony import */ var
|
|
31135
|
-
/* harmony import */ var
|
|
31136
|
-
/* harmony import */ var
|
|
31137
|
-
/* harmony import */ var
|
|
31138
|
-
/* harmony import */ var
|
|
31152
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31153
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(88708);
|
|
31154
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31155
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10099);
|
|
31156
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31139
31157
|
/*!
|
|
31140
31158
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31141
31159
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31147,10 +31165,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31147
31165
|
|
|
31148
31166
|
|
|
31149
31167
|
|
|
31150
|
-
|
|
31151
|
-
|
|
31152
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
31153
|
-
|
|
31168
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
31169
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
31170
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('shrink', (_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
31171
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
31154
31172
|
exec: (editor) => {
|
|
31155
31173
|
editor.toggleFullSize();
|
|
31156
31174
|
},
|
|
@@ -31289,19 +31307,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
31289
31307
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31290
31308
|
*/
|
|
31291
31309
|
|
|
31292
|
-
/**
|
|
31293
|
-
* You can redefine hotkeys for some command
|
|
31294
|
-
*
|
|
31295
|
-
* @example
|
|
31296
|
-
* ```js
|
|
31297
|
-
* var jodit = Jodit.make('#editor', {
|
|
31298
|
-
* commandToHotkeys: {
|
|
31299
|
-
* bold: 'ctrl+shift+b',
|
|
31300
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
31301
|
-
* }
|
|
31302
|
-
* })
|
|
31303
|
-
* ```
|
|
31304
|
-
*/
|
|
31305
31310
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
31306
31311
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
31307
31312
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -31476,9 +31481,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31476
31481
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
31477
31482
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
31478
31483
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
31479
|
-
/* harmony import */ var
|
|
31480
|
-
/* harmony import */ var
|
|
31481
|
-
/* harmony import */ var
|
|
31484
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
31485
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(75241);
|
|
31486
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31482
31487
|
/*!
|
|
31483
31488
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31484
31489
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31489,8 +31494,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31489
31494
|
|
|
31490
31495
|
|
|
31491
31496
|
|
|
31492
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
31493
|
-
|
|
31497
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
31498
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
31494
31499
|
command: 'insertHorizontalRule',
|
|
31495
31500
|
tags: ['hr'],
|
|
31496
31501
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31967,6 +31972,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31967
31972
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31968
31973
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31969
31974
|
*/
|
|
31975
|
+
/**
|
|
31976
|
+
* @module plugins/image-properties
|
|
31977
|
+
*/
|
|
31970
31978
|
|
|
31971
31979
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31972
31980
|
dialogWidth: 600,
|
|
@@ -33467,10 +33475,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33467
33475
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
33468
33476
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
33469
33477
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
33470
|
-
/* harmony import */ var
|
|
33471
|
-
/* harmony import */ var
|
|
33472
|
-
/* harmony import */ var
|
|
33473
|
-
/* harmony import */ var
|
|
33478
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
33479
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
33480
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15807);
|
|
33481
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33474
33482
|
/*!
|
|
33475
33483
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33476
33484
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33483,8 +33491,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33483
33491
|
|
|
33484
33492
|
|
|
33485
33493
|
|
|
33486
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
33487
|
-
|
|
33494
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33495
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
33488
33496
|
popup: (editor, current, close) => {
|
|
33489
33497
|
let sourceImage = null;
|
|
33490
33498
|
if (current &&
|
|
@@ -33496,7 +33504,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
33496
33504
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
33497
33505
|
}
|
|
33498
33506
|
editor.s.save();
|
|
33499
|
-
return (0,
|
|
33507
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
33500
33508
|
filebrowser: (data) => {
|
|
33501
33509
|
editor.s.restore();
|
|
33502
33510
|
data.files &&
|
|
@@ -33539,12 +33547,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33539
33547
|
"use strict";
|
|
33540
33548
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
33541
33549
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
33542
|
-
/* harmony import */ var
|
|
33543
|
-
/* harmony import */ var
|
|
33544
|
-
/* harmony import */ var
|
|
33545
|
-
/* harmony import */ var
|
|
33546
|
-
/* harmony import */ var
|
|
33547
|
-
/* harmony import */ var
|
|
33550
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
33551
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96168);
|
|
33552
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
33553
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(45153);
|
|
33554
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33555
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(63163);
|
|
33548
33556
|
/*!
|
|
33549
33557
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33550
33558
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33556,17 +33564,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33556
33564
|
|
|
33557
33565
|
|
|
33558
33566
|
|
|
33559
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
33560
|
-
|
|
33567
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('outdent', (_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
33568
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
33561
33569
|
tooltip: 'Increase Indent'
|
|
33562
33570
|
};
|
|
33563
|
-
|
|
33571
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
33564
33572
|
isDisabled: (editor) => {
|
|
33565
33573
|
const current = editor.s.current();
|
|
33566
33574
|
if (current) {
|
|
33567
33575
|
const currentBox = jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
33568
33576
|
if (currentBox) {
|
|
33569
|
-
const arrow = (0,
|
|
33577
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
33570
33578
|
return (!currentBox.style[arrow] ||
|
|
33571
33579
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
33572
33580
|
}
|
|
@@ -33575,7 +33583,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
33575
33583
|
},
|
|
33576
33584
|
tooltip: 'Decrease Indent'
|
|
33577
33585
|
};
|
|
33578
|
-
|
|
33586
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
33579
33587
|
|
|
33580
33588
|
|
|
33581
33589
|
/***/ }),
|
|
@@ -33836,12 +33844,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33836
33844
|
|
|
33837
33845
|
"use strict";
|
|
33838
33846
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
33839
|
-
/* harmony import */ var
|
|
33840
|
-
/* harmony import */ var
|
|
33841
|
-
/* harmony import */ var
|
|
33842
|
-
/* harmony import */ var
|
|
33847
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
33848
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73625);
|
|
33849
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69247);
|
|
33850
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84516);
|
|
33851
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(79073);
|
|
33843
33852
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(3301);
|
|
33844
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
33845
33853
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48537);
|
|
33846
33854
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33847
33855
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1629);
|
|
@@ -33875,10 +33883,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33875
33883
|
|
|
33876
33884
|
|
|
33877
33885
|
|
|
33878
|
-
|
|
33879
|
-
|
|
33880
|
-
|
|
33881
|
-
|
|
33886
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33887
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33888
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33889
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33882
33890
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33883
33891
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33884
33892
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33886,14 +33894,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33886
33894
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33887
33895
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33888
33896
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33889
|
-
|
|
33890
|
-
a:
|
|
33891
|
-
img:
|
|
33892
|
-
cells:
|
|
33897
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33898
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33899
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33900
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33893
33901
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33894
|
-
jodit:
|
|
33895
|
-
iframe:
|
|
33896
|
-
'jodit-media':
|
|
33902
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33903
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33904
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33897
33905
|
selection: [
|
|
33898
33906
|
'bold',
|
|
33899
33907
|
'underline',
|
|
@@ -34505,12 +34513,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34505
34513
|
/* unused harmony export justify */
|
|
34506
34514
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
34507
34515
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
34508
|
-
/* harmony import */ var
|
|
34509
|
-
/* harmony import */ var
|
|
34510
|
-
/* harmony import */ var
|
|
34511
|
-
/* harmony import */ var
|
|
34512
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34516
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
34517
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26071);
|
|
34518
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4401);
|
|
34519
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
34513
34520
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
34521
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77795);
|
|
34522
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
34514
34523
|
/*!
|
|
34515
34524
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34516
34525
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34523,7 +34532,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34523
34532
|
|
|
34524
34533
|
|
|
34525
34534
|
|
|
34526
|
-
|
|
34535
|
+
|
|
34536
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
34527
34537
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
34528
34538
|
name: 'left',
|
|
34529
34539
|
tooltip: 'Align',
|
|
@@ -34532,22 +34542,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34532
34542
|
if (current) {
|
|
34533
34543
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
34534
34544
|
editor.editor;
|
|
34535
|
-
let currentValue = (0,
|
|
34545
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
34536
34546
|
if (control.defaultValue &&
|
|
34537
34547
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
34538
34548
|
currentValue = 'left';
|
|
34539
34549
|
}
|
|
34540
|
-
|
|
34541
|
-
|
|
34542
|
-
|
|
34543
|
-
|
|
34550
|
+
const { list, data } = control;
|
|
34551
|
+
if (data &&
|
|
34552
|
+
data.currentValue !== currentValue &&
|
|
34553
|
+
list &&
|
|
34554
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
34555
|
+
? list[currentValue]
|
|
34556
|
+
: list.includes(currentValue))) {
|
|
34544
34557
|
if (editor.o.textIcons || control.component === 'select') {
|
|
34545
34558
|
button.state.text = currentValue;
|
|
34546
34559
|
}
|
|
34547
34560
|
else {
|
|
34548
34561
|
button.state.icon.name = currentValue;
|
|
34549
34562
|
}
|
|
34550
|
-
|
|
34563
|
+
data.currentValue = currentValue;
|
|
34551
34564
|
}
|
|
34552
34565
|
}
|
|
34553
34566
|
},
|
|
@@ -34558,7 +34571,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34558
34571
|
}
|
|
34559
34572
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
34560
34573
|
editor.editor;
|
|
34561
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
34574
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
34562
34575
|
},
|
|
34563
34576
|
defaultValue: ['left', 'start', 'inherit'],
|
|
34564
34577
|
data: {
|
|
@@ -34612,7 +34625,7 @@ function justify(editor) {
|
|
|
34612
34625
|
if (!currentBox) {
|
|
34613
34626
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
34614
34627
|
}
|
|
34615
|
-
(0,
|
|
34628
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
34616
34629
|
});
|
|
34617
34630
|
return false;
|
|
34618
34631
|
};
|
|
@@ -34823,9 +34836,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34823
34836
|
"use strict";
|
|
34824
34837
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9596);
|
|
34825
34838
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
34826
|
-
/* harmony import */ var
|
|
34827
|
-
/* harmony import */ var
|
|
34828
|
-
/* harmony import */ var
|
|
34839
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
34840
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19615);
|
|
34841
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34829
34842
|
/*!
|
|
34830
34843
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34831
34844
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34835,9 +34848,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34835
34848
|
|
|
34836
34849
|
|
|
34837
34850
|
|
|
34838
|
-
|
|
34839
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34840
|
-
|
|
34851
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34852
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34853
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34841
34854
|
command: 'applyLineHeight',
|
|
34842
34855
|
tags: ['ol'],
|
|
34843
34856
|
tooltip: 'Line height',
|
|
@@ -35402,12 +35415,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35402
35415
|
"use strict";
|
|
35403
35416
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
35404
35417
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
35405
|
-
/* harmony import */ var
|
|
35406
|
-
/* harmony import */ var
|
|
35407
|
-
/* harmony import */ var
|
|
35408
|
-
/* harmony import */ var
|
|
35409
|
-
/* harmony import */ var
|
|
35410
|
-
/* harmony import */ var
|
|
35418
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
35419
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67576);
|
|
35420
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35421
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73501);
|
|
35422
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35423
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17660);
|
|
35411
35424
|
/*!
|
|
35412
35425
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35413
35426
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35419,8 +35432,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35419
35432
|
|
|
35420
35433
|
|
|
35421
35434
|
|
|
35422
|
-
|
|
35423
|
-
formTemplate:
|
|
35435
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
35436
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
35424
35437
|
followOnDblClick: false,
|
|
35425
35438
|
processVideoLink: true,
|
|
35426
35439
|
processPastedLink: true,
|
|
@@ -35432,8 +35445,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
35432
35445
|
selectOptionsClassName: [],
|
|
35433
35446
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
35434
35447
|
};
|
|
35435
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
35436
|
-
|
|
35448
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (_icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('unlink', (_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
35449
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
35437
35450
|
exec: (editor, current) => {
|
|
35438
35451
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
35439
35452
|
if (anchor) {
|
|
@@ -35444,7 +35457,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
35444
35457
|
},
|
|
35445
35458
|
tooltip: 'Unlink'
|
|
35446
35459
|
};
|
|
35447
|
-
|
|
35460
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
35448
35461
|
isActive: (editor) => {
|
|
35449
35462
|
const current = editor.s.current();
|
|
35450
35463
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -35988,9 +36001,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35988
36001
|
"use strict";
|
|
35989
36002
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
35990
36003
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
35991
|
-
/* harmony import */ var
|
|
35992
|
-
/* harmony import */ var
|
|
35993
|
-
/* harmony import */ var
|
|
36004
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36005
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78167);
|
|
36006
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78072);
|
|
35994
36007
|
/*!
|
|
35995
36008
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35996
36009
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36001,9 +36014,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
36001
36014
|
|
|
36002
36015
|
|
|
36003
36016
|
|
|
36004
|
-
|
|
36005
|
-
|
|
36006
|
-
|
|
36017
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
36018
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
36019
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
36007
36020
|
{
|
|
36008
36021
|
group: 'font-style',
|
|
36009
36022
|
buttons: []
|
|
@@ -36050,7 +36063,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
36050
36063
|
'|',
|
|
36051
36064
|
'dots'
|
|
36052
36065
|
];
|
|
36053
|
-
|
|
36066
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
36054
36067
|
{
|
|
36055
36068
|
group: 'font-style',
|
|
36056
36069
|
buttons: []
|
|
@@ -36085,7 +36098,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
36085
36098
|
'|',
|
|
36086
36099
|
'dots'
|
|
36087
36100
|
];
|
|
36088
|
-
|
|
36101
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
36089
36102
|
{
|
|
36090
36103
|
group: 'font-style',
|
|
36091
36104
|
buttons: []
|
|
@@ -36106,16 +36119,16 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
36106
36119
|
'---',
|
|
36107
36120
|
'dots'
|
|
36108
36121
|
];
|
|
36109
|
-
|
|
36122
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
36110
36123
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
36111
36124
|
popup: (editor, current, close, button) => {
|
|
36112
36125
|
let store = button.control.data;
|
|
36113
36126
|
if (store === undefined) {
|
|
36114
36127
|
store = {
|
|
36115
|
-
toolbar: (0,
|
|
36128
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
36116
36129
|
rebuild: () => {
|
|
36117
36130
|
if (button) {
|
|
36118
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
36131
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
36119
36132
|
if (buttons && store) {
|
|
36120
36133
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
36121
36134
|
const w = editor.toolbar?.firstButton?.container
|
|
@@ -36226,11 +36239,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
36226
36239
|
"use strict";
|
|
36227
36240
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49382);
|
|
36228
36241
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
36229
|
-
/* harmony import */ var
|
|
36230
|
-
/* harmony import */ var
|
|
36231
|
-
/* harmony import */ var
|
|
36232
|
-
/* harmony import */ var
|
|
36233
|
-
/* harmony import */ var
|
|
36242
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36243
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48421);
|
|
36244
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
36245
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22791);
|
|
36246
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
36234
36247
|
/*!
|
|
36235
36248
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36236
36249
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36247,8 +36260,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
36247
36260
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
36248
36261
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
36249
36262
|
};
|
|
36250
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
36251
|
-
|
|
36263
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('ul', (_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
36264
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
36252
36265
|
command: 'insertUnorderedList',
|
|
36253
36266
|
tags: ['ul'],
|
|
36254
36267
|
tooltip: 'Insert Unordered List',
|
|
@@ -36260,7 +36273,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
36260
36273
|
},
|
|
36261
36274
|
exec: memoExec
|
|
36262
36275
|
};
|
|
36263
|
-
|
|
36276
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
36264
36277
|
command: 'insertOrderedList',
|
|
36265
36278
|
tags: ['ol'],
|
|
36266
36279
|
tooltip: 'Insert Ordered List',
|
|
@@ -36636,8 +36649,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36636
36649
|
|
|
36637
36650
|
"use strict";
|
|
36638
36651
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
36639
|
-
/* harmony import */ var
|
|
36640
|
-
/* harmony import */ var
|
|
36652
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
36653
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48954);
|
|
36641
36654
|
/*!
|
|
36642
36655
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36643
36656
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36646,19 +36659,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36646
36659
|
|
|
36647
36660
|
|
|
36648
36661
|
|
|
36649
|
-
|
|
36650
|
-
|
|
36651
|
-
|
|
36652
|
-
|
|
36653
|
-
|
|
36662
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
36663
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
36664
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
36665
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
36666
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
36654
36667
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
36655
36668
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
36656
36669
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
36657
36670
|
];
|
|
36658
|
-
|
|
36659
|
-
|
|
36671
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
36672
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
36660
36673
|
const psKey = 'pasteStorage';
|
|
36661
|
-
|
|
36674
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
36662
36675
|
tooltip: 'Paste from clipboard',
|
|
36663
36676
|
async exec(editor, _, { control }) {
|
|
36664
36677
|
if (control.name === psKey) {
|
|
@@ -36706,7 +36719,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
36706
36719
|
!error && editor.e.fire('afterPaste');
|
|
36707
36720
|
}
|
|
36708
36721
|
else if (text.length) {
|
|
36709
|
-
(0,
|
|
36722
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
36710
36723
|
editor.e.fire('afterPaste');
|
|
36711
36724
|
}
|
|
36712
36725
|
else {
|
|
@@ -37433,10 +37446,10 @@ function generateCriticalCSS(jodit) {
|
|
|
37433
37446
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54614);
|
|
37434
37447
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85769);
|
|
37435
37448
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
37436
|
-
/* harmony import */ var
|
|
37437
|
-
/* harmony import */ var
|
|
37438
|
-
/* harmony import */ var
|
|
37439
|
-
/* harmony import */ var
|
|
37449
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
37450
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(86134);
|
|
37451
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26899);
|
|
37452
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
37440
37453
|
/*!
|
|
37441
37454
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37442
37455
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37451,8 +37464,8 @@ function generateCriticalCSS(jodit) {
|
|
|
37451
37464
|
|
|
37452
37465
|
|
|
37453
37466
|
|
|
37454
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
37455
|
-
|
|
37467
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
37468
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
37456
37469
|
exec: (editor) => {
|
|
37457
37470
|
const iframe = editor.create.element('iframe');
|
|
37458
37471
|
Object.assign(iframe.style, {
|
|
@@ -37463,7 +37476,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37463
37476
|
height: 0,
|
|
37464
37477
|
border: 0
|
|
37465
37478
|
});
|
|
37466
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
37479
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
37467
37480
|
const afterFinishPrint = () => {
|
|
37468
37481
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
37469
37482
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -37481,7 +37494,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37481
37494
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
37482
37495
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
37483
37496
|
'"><head><title></title></head><style>' +
|
|
37484
|
-
(0,
|
|
37497
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
37485
37498
|
'</style><body></body></html>');
|
|
37486
37499
|
myWindow.document.close();
|
|
37487
37500
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -37519,11 +37532,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37519
37532
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
37520
37533
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
37521
37534
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
37522
|
-
/* harmony import */ var
|
|
37523
|
-
/* harmony import */ var
|
|
37524
|
-
/* harmony import */ var
|
|
37525
|
-
/* harmony import */ var
|
|
37526
|
-
/* harmony import */ var
|
|
37535
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
37536
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(37629);
|
|
37537
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
37538
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42687);
|
|
37539
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
37527
37540
|
/*!
|
|
37528
37541
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37529
37542
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37536,13 +37549,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37536
37549
|
|
|
37537
37550
|
|
|
37538
37551
|
|
|
37539
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
37540
|
-
|
|
37552
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default())).set('undo', (_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
37553
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
37541
37554
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37542
37555
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
37543
37556
|
tooltip: 'Redo'
|
|
37544
37557
|
};
|
|
37545
|
-
|
|
37558
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
37546
37559
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37547
37560
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
37548
37561
|
tooltip: 'Undo'
|
|
@@ -38561,9 +38574,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38561
38574
|
|
|
38562
38575
|
"use strict";
|
|
38563
38576
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
38564
|
-
/* harmony import */ var
|
|
38565
|
-
/* harmony import */ var
|
|
38566
|
-
/* harmony import */ var
|
|
38577
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
38578
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98973);
|
|
38579
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
38567
38580
|
/*!
|
|
38568
38581
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38569
38582
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38573,14 +38586,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38573
38586
|
|
|
38574
38587
|
|
|
38575
38588
|
|
|
38576
|
-
|
|
38577
|
-
|
|
38589
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
38590
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
38578
38591
|
lazyIdleTimeout: 0,
|
|
38579
38592
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
38580
38593
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
38581
38594
|
};
|
|
38582
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
38583
|
-
|
|
38595
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
38596
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
38584
38597
|
tooltip: 'Find',
|
|
38585
38598
|
icon: 'search',
|
|
38586
38599
|
exec(jodit, _, { control }) {
|
|
@@ -40187,9 +40200,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40187
40200
|
"use strict";
|
|
40188
40201
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
40189
40202
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
40190
|
-
/* harmony import */ var
|
|
40191
|
-
/* harmony import */ var
|
|
40192
|
-
/* harmony import */ var
|
|
40203
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
40204
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58671);
|
|
40205
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
40193
40206
|
/*!
|
|
40194
40207
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40195
40208
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40199,9 +40212,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40199
40212
|
|
|
40200
40213
|
|
|
40201
40214
|
|
|
40202
|
-
|
|
40203
|
-
|
|
40204
|
-
|
|
40215
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
40216
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
40217
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
40205
40218
|
/**
|
|
40206
40219
|
* Show gutter
|
|
40207
40220
|
*/
|
|
@@ -40223,15 +40236,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
40223
40236
|
*/
|
|
40224
40237
|
highlightActiveLine: true
|
|
40225
40238
|
};
|
|
40226
|
-
|
|
40239
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
40227
40240
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
40228
40241
|
];
|
|
40229
|
-
|
|
40242
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
40230
40243
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
40231
40244
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
40232
40245
|
];
|
|
40233
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
40234
|
-
|
|
40246
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
40247
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
40235
40248
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
40236
40249
|
exec: (editor) => {
|
|
40237
40250
|
editor.toggleMode();
|
|
@@ -41026,9 +41039,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41026
41039
|
|
|
41027
41040
|
"use strict";
|
|
41028
41041
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41029
|
-
/* harmony import */ var
|
|
41030
|
-
/* harmony import */ var
|
|
41031
|
-
/* harmony import */ var
|
|
41042
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41043
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80709);
|
|
41044
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41032
41045
|
/*!
|
|
41033
41046
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41034
41047
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41037,13 +41050,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41037
41050
|
|
|
41038
41051
|
|
|
41039
41052
|
|
|
41040
|
-
|
|
41041
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
41042
|
-
|
|
41053
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
41054
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41055
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
41043
41056
|
isActive(e) {
|
|
41044
41057
|
return e.o.spellcheck;
|
|
41045
41058
|
},
|
|
41046
|
-
icon: (
|
|
41059
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
41047
41060
|
name: 'spellcheck',
|
|
41048
41061
|
command: 'toggleSpellcheck',
|
|
41049
41062
|
tooltip: 'Spellcheck'
|
|
@@ -41818,9 +41831,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41818
41831
|
|
|
41819
41832
|
"use strict";
|
|
41820
41833
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41821
|
-
/* harmony import */ var
|
|
41822
|
-
/* harmony import */ var
|
|
41823
|
-
/* harmony import */ var
|
|
41834
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41835
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3283);
|
|
41836
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41824
41837
|
/*!
|
|
41825
41838
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41826
41839
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41829,8 +41842,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41829
41842
|
|
|
41830
41843
|
|
|
41831
41844
|
|
|
41832
|
-
|
|
41833
|
-
|
|
41845
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41846
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41834
41847
|
'!',
|
|
41835
41848
|
'"',
|
|
41836
41849
|
'#',
|
|
@@ -42042,8 +42055,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
42042
42055
|
'♦',
|
|
42043
42056
|
'≈'
|
|
42044
42057
|
];
|
|
42045
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
42046
|
-
|
|
42058
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
42059
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
42047
42060
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
42048
42061
|
tooltip: 'Insert Special Character',
|
|
42049
42062
|
popup: (editor, current, close) => {
|
|
@@ -43032,9 +43045,9 @@ function findCell(editor, key) {
|
|
|
43032
43045
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
43033
43046
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71122);
|
|
43034
43047
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43035
|
-
/* harmony import */ var
|
|
43036
|
-
/* harmony import */ var
|
|
43037
|
-
/* harmony import */ var
|
|
43048
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43049
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35863);
|
|
43050
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
43038
43051
|
/*!
|
|
43039
43052
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43040
43053
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43046,12 +43059,12 @@ function findCell(editor, key) {
|
|
|
43046
43059
|
|
|
43047
43060
|
|
|
43048
43061
|
|
|
43049
|
-
|
|
43062
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
43050
43063
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
43051
43064
|
useExtraClassesOptions: false
|
|
43052
43065
|
};
|
|
43053
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
43054
|
-
|
|
43066
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
43067
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
43055
43068
|
data: {
|
|
43056
43069
|
cols: 10,
|
|
43057
43070
|
rows: 10,
|
|
@@ -43218,10 +43231,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43218
43231
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64962);
|
|
43219
43232
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18716);
|
|
43220
43233
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43221
|
-
/* harmony import */ var
|
|
43222
|
-
/* harmony import */ var
|
|
43223
|
-
/* harmony import */ var
|
|
43224
|
-
/* harmony import */ var
|
|
43234
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43235
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
43236
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(46035);
|
|
43237
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
43225
43238
|
/*!
|
|
43226
43239
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43227
43240
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43234,8 +43247,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43234
43247
|
|
|
43235
43248
|
|
|
43236
43249
|
|
|
43237
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
43238
|
-
|
|
43250
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
43251
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
43239
43252
|
popup: (editor, current, close) => {
|
|
43240
43253
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
43241
43254
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -43282,7 +43295,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
43282
43295
|
formCode.onSubmit(data => {
|
|
43283
43296
|
insertCode(data.code);
|
|
43284
43297
|
});
|
|
43285
|
-
return (0,
|
|
43298
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
43286
43299
|
},
|
|
43287
43300
|
tags: ['iframe'],
|
|
43288
43301
|
tooltip: 'Insert youtube/vimeo video'
|
|
@@ -43915,9 +43928,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43915
43928
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
43916
43929
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65564);
|
|
43917
43930
|
/* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34138);
|
|
43918
|
-
/* harmony import */ var
|
|
43919
|
-
/* harmony import */ var
|
|
43920
|
-
/* harmony import */ var
|
|
43931
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
43932
|
+
/* harmony import */ var _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75700);
|
|
43933
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56418);
|
|
43921
43934
|
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25511);
|
|
43922
43935
|
/*!
|
|
43923
43936
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -43935,7 +43948,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43935
43948
|
|
|
43936
43949
|
|
|
43937
43950
|
|
|
43938
|
-
|
|
43951
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.autocomplete = {
|
|
43939
43952
|
sources: [],
|
|
43940
43953
|
maxItems: 50,
|
|
43941
43954
|
isMatchedQuery: (query, value) => value.toLowerCase().indexOf(query.toLowerCase()) === 0,
|
|
@@ -43953,7 +43966,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
43953
43966
|
afterInit(jodit) {
|
|
43954
43967
|
this.popup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__/* .Popup */ .z(jodit);
|
|
43955
43968
|
this.popup.setMod('padding', false);
|
|
43956
|
-
this.list = new
|
|
43969
|
+
this.list = new _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__/* .Autocomplete */ .j(jodit);
|
|
43957
43970
|
this.popup.setContent(this.list.container);
|
|
43958
43971
|
jodit.e
|
|
43959
43972
|
.on('select.autocomplete', (item) => {
|
|
@@ -43964,7 +43977,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
43964
43977
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isNode(insertValue)) {
|
|
43965
43978
|
insertValue = jodit.createInside.fromHTML(insertValue);
|
|
43966
43979
|
}
|
|
43967
|
-
(0,
|
|
43980
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .replaceTextLeftOfCursorAfterSpace */ .s)(jodit.s.range, insertValue);
|
|
43968
43981
|
this.j.s.setCursorAfter(insertValue);
|
|
43969
43982
|
this.j.synchronizeValues();
|
|
43970
43983
|
this.popup.close();
|
|
@@ -44000,7 +44013,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44000
44013
|
const range = this.j.s.sel?.rangeCount
|
|
44001
44014
|
? this.j.s.sel?.getRangeAt(0)
|
|
44002
44015
|
: null;
|
|
44003
|
-
const query = range && (0,
|
|
44016
|
+
const query = range && (0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .getTextLeftOfCursor */ .I)(range).split(' ').pop();
|
|
44004
44017
|
if (query && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(query).length) {
|
|
44005
44018
|
const result = await this.onAutoComplete(query);
|
|
44006
44019
|
if (result.length) {
|