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.en/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.18
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2304,7 +2304,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2304
2304
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2305
2305
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2306
2306
|
*/
|
|
2307
|
-
const APP_VERSION = "4.2.
|
|
2307
|
+
const APP_VERSION = "4.2.18";
|
|
2308
2308
|
// prettier-ignore
|
|
2309
2309
|
const ES = "es2021";
|
|
2310
2310
|
const IS_ES_MODERN = true;
|
|
@@ -7848,6 +7848,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
7848
7848
|
}
|
|
7849
7849
|
const script = jodit.c.element('script', {
|
|
7850
7850
|
type: 'text/javascript',
|
|
7851
|
+
crossorigin: 'anonymous',
|
|
7852
|
+
referrerpolicy: 'no-referrer',
|
|
7851
7853
|
async: true,
|
|
7852
7854
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .X)(url)
|
|
7853
7855
|
});
|
|
@@ -8088,9 +8090,9 @@ const completeUrl = (url) => {
|
|
|
8088
8090
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
8089
8091
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
8090
8092
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74197);
|
|
8093
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
|
|
8091
8094
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20368);
|
|
8092
|
-
/* harmony import */ var
|
|
8093
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
8095
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94183);
|
|
8094
8096
|
/*!
|
|
8095
8097
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8096
8098
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8138,7 +8140,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8138
8140
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
8139
8141
|
return options;
|
|
8140
8142
|
}
|
|
8141
|
-
const def =
|
|
8143
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
8142
8144
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
8143
8145
|
if (def.presets[options.preset] !== undefined) {
|
|
8144
8146
|
const preset = def.presets[options.preset];
|
|
@@ -8168,7 +8170,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8168
8170
|
return newOpt;
|
|
8169
8171
|
}
|
|
8170
8172
|
function ConfigFlatten(obj) {
|
|
8171
|
-
return (0,
|
|
8173
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
8172
8174
|
app[key] = obj[key];
|
|
8173
8175
|
return app;
|
|
8174
8176
|
}, {});
|
|
@@ -10127,9 +10129,9 @@ Plugin.requires = [];
|
|
|
10127
10129
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33442);
|
|
10128
10130
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
10129
10131
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24839);
|
|
10130
|
-
/* harmony import */ var
|
|
10132
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
10133
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91596);
|
|
10131
10134
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(85349);
|
|
10132
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
10133
10135
|
/*!
|
|
10134
10136
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10135
10137
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -10147,7 +10149,7 @@ class Ajax {
|
|
|
10147
10149
|
className() {
|
|
10148
10150
|
return 'Ajax';
|
|
10149
10151
|
}
|
|
10150
|
-
constructor(options, defaultAjaxOptions =
|
|
10152
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
10151
10153
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
10152
10154
|
this.__isFulfilled = false;
|
|
10153
10155
|
this.__activated = false;
|
|
@@ -15595,17 +15597,23 @@ function findControlType(path, controls) {
|
|
|
15595
15597
|
else {
|
|
15596
15598
|
key = namespaceOrKey;
|
|
15597
15599
|
}
|
|
15598
|
-
const list = store[key]?.list;
|
|
15600
|
+
// const list = store[key]?.list;
|
|
15599
15601
|
return store[key]
|
|
15600
15602
|
? {
|
|
15601
15603
|
name: key,
|
|
15602
|
-
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15603
|
-
list:
|
|
15604
|
-
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
|
|
15604
|
+
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15605
|
+
// list: isArray(list)
|
|
15606
|
+
// ? (<Array<string>>list).reduce(
|
|
15607
|
+
// (
|
|
15608
|
+
// acc: IDictionary<string | number>,
|
|
15609
|
+
// k: string | number
|
|
15610
|
+
// ) => {
|
|
15611
|
+
// acc[String(k)] = k;
|
|
15612
|
+
// return acc;
|
|
15613
|
+
// },
|
|
15614
|
+
// {}
|
|
15615
|
+
// )
|
|
15616
|
+
// : list
|
|
15609
15617
|
}
|
|
15610
15618
|
: undefined;
|
|
15611
15619
|
}
|
|
@@ -15622,8 +15630,8 @@ function findControlType(path, controls) {
|
|
|
15622
15630
|
/* harmony export */ });
|
|
15623
15631
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55010);
|
|
15624
15632
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71122);
|
|
15625
|
-
/* harmony import */ var
|
|
15626
|
-
/* harmony import */ var
|
|
15633
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
15634
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68600);
|
|
15627
15635
|
/*!
|
|
15628
15636
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15629
15637
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15643,7 +15651,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15643
15651
|
const value = items[key] || {};
|
|
15644
15652
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15645
15653
|
});
|
|
15646
|
-
return elements.map(item => (0,
|
|
15654
|
+
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));
|
|
15647
15655
|
}
|
|
15648
15656
|
|
|
15649
15657
|
|
|
@@ -16829,8 +16837,8 @@ class CommitMode {
|
|
|
16829
16837
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
16830
16838
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49604);
|
|
16831
16839
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28190);
|
|
16832
|
-
/* harmony import */ var
|
|
16833
|
-
/* harmony import */ var
|
|
16840
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
16841
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(35102);
|
|
16834
16842
|
/*!
|
|
16835
16843
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16836
16844
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16849,7 +16857,7 @@ var Jodit_1;
|
|
|
16849
16857
|
|
|
16850
16858
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16851
16859
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16852
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
16860
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16853
16861
|
/** @override */
|
|
16854
16862
|
className() {
|
|
16855
16863
|
return 'Jodit';
|
|
@@ -16896,7 +16904,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16896
16904
|
get defaultTimeout() {
|
|
16897
16905
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
16898
16906
|
? this.o.defaultTimeout
|
|
16899
|
-
:
|
|
16907
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
16900
16908
|
}
|
|
16901
16909
|
/**
|
|
16902
16910
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -16922,10 +16930,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16922
16930
|
* Default settings
|
|
16923
16931
|
*/
|
|
16924
16932
|
static get defaultOptions() {
|
|
16925
|
-
return
|
|
16933
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
16926
16934
|
}
|
|
16927
16935
|
get createInside() {
|
|
16928
|
-
return new
|
|
16936
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
16929
16937
|
}
|
|
16930
16938
|
__setPlaceField(field, value) {
|
|
16931
16939
|
if (!this.currentPlace) {
|
|
@@ -17473,8 +17481,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17473
17481
|
const active = this.od.activeElement;
|
|
17474
17482
|
if (active &&
|
|
17475
17483
|
(active === this.iframe ||
|
|
17476
|
-
|
|
17477
|
-
|
|
17484
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
17485
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
17478
17486
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
17479
17487
|
}
|
|
17480
17488
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -17626,7 +17634,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17626
17634
|
}
|
|
17627
17635
|
/** @override **/
|
|
17628
17636
|
initOptions(options) {
|
|
17629
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17637
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
17630
17638
|
}
|
|
17631
17639
|
/** @override **/
|
|
17632
17640
|
initOwners() {
|
|
@@ -17671,7 +17679,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17671
17679
|
this.destruct();
|
|
17672
17680
|
throw e;
|
|
17673
17681
|
}
|
|
17674
|
-
this.setStatus(
|
|
17682
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17675
17683
|
this.id =
|
|
17676
17684
|
(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') ||
|
|
17677
17685
|
new Date().getTime().toString();
|
|
@@ -17683,7 +17691,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17683
17691
|
}
|
|
17684
17692
|
});
|
|
17685
17693
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17686
|
-
this.selection = new
|
|
17694
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17687
17695
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17688
17696
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17689
17697
|
if (this.isInDestruct) {
|
|
@@ -17707,7 +17715,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17707
17715
|
this.e.fire('afterInit', this);
|
|
17708
17716
|
}
|
|
17709
17717
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17710
|
-
this.setStatus(
|
|
17718
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17711
17719
|
this.e.fire('afterConstructor', this);
|
|
17712
17720
|
};
|
|
17713
17721
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17723,7 +17731,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17723
17731
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17724
17732
|
const name = attr.name;
|
|
17725
17733
|
let value = attr.value;
|
|
17726
|
-
if (
|
|
17734
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17727
17735
|
(!options || options[name] === undefined)) {
|
|
17728
17736
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17729
17737
|
value = value === '' || value === 'true';
|
|
@@ -17791,11 +17799,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17791
17799
|
element,
|
|
17792
17800
|
container,
|
|
17793
17801
|
workplace,
|
|
17794
|
-
statusbar: new
|
|
17802
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17795
17803
|
options: this.isReady
|
|
17796
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17804
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17797
17805
|
: this.options,
|
|
17798
|
-
history: new
|
|
17806
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17799
17807
|
editorWindow: this.ow
|
|
17800
17808
|
};
|
|
17801
17809
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -17886,7 +17894,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17886
17894
|
return;
|
|
17887
17895
|
}
|
|
17888
17896
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
17889
|
-
|
|
17897
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
17890
17898
|
}
|
|
17891
17899
|
addClassNames(this.o.editorClassName, this.editor);
|
|
17892
17900
|
if (this.o.style) {
|
|
@@ -17976,7 +17984,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17976
17984
|
if (this.isInDestruct) {
|
|
17977
17985
|
return;
|
|
17978
17986
|
}
|
|
17979
|
-
this.setStatus(
|
|
17987
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
17980
17988
|
this.__elementToPlace.clear();
|
|
17981
17989
|
this.storage.clear();
|
|
17982
17990
|
this.buffer.clear();
|
|
@@ -18017,17 +18025,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18017
18025
|
this.e.off(container);
|
|
18018
18026
|
this.e.off(element);
|
|
18019
18027
|
this.e.off(editor);
|
|
18020
|
-
|
|
18021
|
-
|
|
18028
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
18029
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
18022
18030
|
if (container !== element) {
|
|
18023
|
-
|
|
18031
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
18024
18032
|
}
|
|
18025
18033
|
Object.defineProperty(element, 'component', {
|
|
18026
18034
|
enumerable: false,
|
|
18027
18035
|
configurable: true,
|
|
18028
18036
|
value: null
|
|
18029
18037
|
});
|
|
18030
|
-
|
|
18038
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
18031
18039
|
// inline mode
|
|
18032
18040
|
if (container === element) {
|
|
18033
18041
|
element.innerHTML = buffer;
|
|
@@ -18049,7 +18057,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
18049
18057
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
18050
18058
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
18051
18059
|
Jodit.core = {
|
|
18052
|
-
Plugin:
|
|
18060
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
18053
18061
|
};
|
|
18054
18062
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
18055
18063
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -20304,16 +20312,16 @@ async function loadTree(fb) {
|
|
|
20304
20312
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
20305
20313
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
20306
20314
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
20307
|
-
/* harmony import */ var
|
|
20315
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91288);
|
|
20316
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83148);
|
|
20308
20317
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
|
|
20309
|
-
/* harmony import */ var
|
|
20310
|
-
/* harmony import */ var
|
|
20311
|
-
/* harmony import */ var
|
|
20312
|
-
/* harmony import */ var
|
|
20313
|
-
/* harmony import */ var
|
|
20314
|
-
/* harmony import */ var
|
|
20315
|
-
/* harmony import */ var
|
|
20316
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
20318
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(64164);
|
|
20319
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50067);
|
|
20320
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(25430);
|
|
20321
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34255);
|
|
20322
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(18714);
|
|
20323
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(24538);
|
|
20324
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96243);
|
|
20317
20325
|
/*!
|
|
20318
20326
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20319
20327
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20347,7 +20355,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20347
20355
|
return 'FileBrowser';
|
|
20348
20356
|
}
|
|
20349
20357
|
get dataProvider() {
|
|
20350
|
-
return (0,
|
|
20358
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
20351
20359
|
}
|
|
20352
20360
|
// eslint-disable-next-line no-unused-vars
|
|
20353
20361
|
onSelect(callback) {
|
|
@@ -20461,7 +20469,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20461
20469
|
this.__updateToolbarButtons();
|
|
20462
20470
|
this._dialog.open(this.browser, header);
|
|
20463
20471
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20464
|
-
(0,
|
|
20472
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
20465
20473
|
.then(resolve, reject)
|
|
20466
20474
|
.finally(() => {
|
|
20467
20475
|
if (this.isInDestruct) {
|
|
@@ -20495,7 +20503,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20495
20503
|
});
|
|
20496
20504
|
}
|
|
20497
20505
|
initUploader(editor) {
|
|
20498
|
-
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20506
|
+
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);
|
|
20499
20507
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
20500
20508
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20501
20509
|
self.uploader
|
|
@@ -20515,11 +20523,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20515
20523
|
super(options);
|
|
20516
20524
|
this.browser = this.c.div(this.componentName);
|
|
20517
20525
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20518
|
-
this.tree = new
|
|
20519
|
-
this.files = new
|
|
20526
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
20527
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
20520
20528
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
20521
20529
|
currentPath: '',
|
|
20522
|
-
currentSource:
|
|
20530
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20523
20531
|
currentBaseUrl: '',
|
|
20524
20532
|
activeElements: [],
|
|
20525
20533
|
elements: [],
|
|
@@ -20549,7 +20557,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20549
20557
|
this.__prevButtons = [];
|
|
20550
20558
|
this.attachEvents(options);
|
|
20551
20559
|
const self = this;
|
|
20552
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20560
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
20553
20561
|
self.browser.component = this;
|
|
20554
20562
|
self.container = self.browser;
|
|
20555
20563
|
if (self.o.showFoldersPanel) {
|
|
@@ -20557,9 +20565,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20557
20565
|
}
|
|
20558
20566
|
self.browser.appendChild(self.files.container);
|
|
20559
20567
|
self.browser.appendChild(self.status_line);
|
|
20560
|
-
|
|
20561
|
-
|
|
20562
|
-
|
|
20568
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
20569
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
20570
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
20563
20571
|
const keys = [
|
|
20564
20572
|
'getLocalFileByUrl',
|
|
20565
20573
|
'crop',
|
|
@@ -21230,10 +21238,10 @@ class Command {
|
|
|
21230
21238
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
21231
21239
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
21232
21240
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53557);
|
|
21241
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
21233
21242
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22180);
|
|
21234
|
-
/* harmony import */ var
|
|
21243
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(801);
|
|
21235
21244
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98189);
|
|
21236
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
21237
21245
|
/*!
|
|
21238
21246
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21239
21247
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21246,7 +21254,7 @@ class Command {
|
|
|
21246
21254
|
|
|
21247
21255
|
|
|
21248
21256
|
|
|
21249
|
-
|
|
21257
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
21250
21258
|
enable: true,
|
|
21251
21259
|
maxHistoryLength: Infinity,
|
|
21252
21260
|
timeout: 1000
|
|
@@ -21297,7 +21305,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21297
21305
|
set startValue(value) {
|
|
21298
21306
|
this.__startValue = value;
|
|
21299
21307
|
}
|
|
21300
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
21308
|
+
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)) {
|
|
21301
21309
|
super(editor);
|
|
21302
21310
|
this.updateTick = 0;
|
|
21303
21311
|
this.__stack = stack;
|
|
@@ -21360,7 +21368,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21360
21368
|
*/
|
|
21361
21369
|
updateStack(replace = false) {
|
|
21362
21370
|
const newValue = this.snapshot.make();
|
|
21363
|
-
if (!
|
|
21371
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
21364
21372
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
21365
21373
|
if (replace) {
|
|
21366
21374
|
const command = this.__stack.current();
|
|
@@ -21693,11 +21701,11 @@ class Stack {
|
|
|
21693
21701
|
|
|
21694
21702
|
"use strict";
|
|
21695
21703
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
21696
|
-
/* harmony import */ var
|
|
21697
|
-
/* harmony import */ var
|
|
21698
|
-
/* harmony import */ var
|
|
21699
|
-
/* harmony import */ var
|
|
21700
|
-
/* harmony import */ var
|
|
21704
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
21705
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(83904);
|
|
21706
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21707
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15582);
|
|
21708
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21701
21709
|
/*!
|
|
21702
21710
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21703
21711
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21707,7 +21715,7 @@ class Stack {
|
|
|
21707
21715
|
|
|
21708
21716
|
|
|
21709
21717
|
|
|
21710
|
-
|
|
21718
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21711
21719
|
min_width: 20,
|
|
21712
21720
|
min_height: 20,
|
|
21713
21721
|
closeAfterSave: false,
|
|
@@ -21722,7 +21730,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21722
21730
|
cropDefaultWidth: '70%',
|
|
21723
21731
|
cropDefaultHeight: '70%'
|
|
21724
21732
|
};
|
|
21725
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21733
|
+
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()));
|
|
21726
21734
|
|
|
21727
21735
|
|
|
21728
21736
|
/***/ }),
|
|
@@ -21741,9 +21749,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21741
21749
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33465);
|
|
21742
21750
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
21743
21751
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(64962);
|
|
21744
|
-
/* harmony import */ var
|
|
21745
|
-
/* harmony import */ var
|
|
21746
|
-
/* harmony import */ var
|
|
21752
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
21753
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15546);
|
|
21754
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73898);
|
|
21747
21755
|
/*!
|
|
21748
21756
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21749
21757
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22203,7 +22211,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22203
22211
|
this.options =
|
|
22204
22212
|
editor && editor.o && editor.o.imageeditor
|
|
22205
22213
|
? editor.o.imageeditor
|
|
22206
|
-
:
|
|
22214
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
22207
22215
|
const o = this.options;
|
|
22208
22216
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
22209
22217
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -22213,7 +22221,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22213
22221
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
22214
22222
|
};
|
|
22215
22223
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
22216
|
-
this.editor = (0,
|
|
22224
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
22217
22225
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
22218
22226
|
this.resize_box = resizeBox;
|
|
22219
22227
|
this.crop_box = cropBox;
|
|
@@ -23629,7 +23637,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23629
23637
|
}
|
|
23630
23638
|
createContainer() {
|
|
23631
23639
|
const cn = this.componentName;
|
|
23632
|
-
const container = this.j.c.span(cn)
|
|
23640
|
+
const container = this.j.c.span(cn);
|
|
23641
|
+
const button = super.createContainer();
|
|
23633
23642
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23634
23643
|
button.classList.remove(cn);
|
|
23635
23644
|
button.classList.add(cn + '__button');
|
|
@@ -24018,8 +24027,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24018
24027
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24019
24028
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
24020
24029
|
/* harmony export */ });
|
|
24021
|
-
/* harmony import */ var
|
|
24030
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
24022
24031
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53557);
|
|
24032
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47903);
|
|
24023
24033
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
24024
24034
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72463);
|
|
24025
24035
|
/*!
|
|
@@ -24032,6 +24042,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24032
24042
|
|
|
24033
24043
|
|
|
24034
24044
|
|
|
24045
|
+
|
|
24035
24046
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
24036
24047
|
className() {
|
|
24037
24048
|
return 'ToolbarSelect';
|
|
@@ -24049,13 +24060,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
24049
24060
|
const keys = Object.keys(list);
|
|
24050
24061
|
key = keys[0];
|
|
24051
24062
|
}
|
|
24052
|
-
const text = (list[key.toString()] || key).toString();
|
|
24063
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
24053
24064
|
this.state.text =
|
|
24054
24065
|
this.control.textTemplate?.(this.jodit, text) ?? text;
|
|
24055
24066
|
}
|
|
24056
24067
|
}
|
|
24057
24068
|
};
|
|
24058
|
-
ToolbarSelect = (0,
|
|
24069
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24059
24070
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
24060
24071
|
], ToolbarSelect);
|
|
24061
24072
|
|
|
@@ -24185,7 +24196,7 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24185
24196
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
24186
24197
|
], ToolbarCollection.prototype, "__immediateUpdate", null);
|
|
24187
24198
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24188
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)()
|
|
24199
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)(ctx => ctx.j.defaultTimeout, true)
|
|
24189
24200
|
], ToolbarCollection.prototype, "update", null);
|
|
24190
24201
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24191
24202
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.hook)('ready')
|
|
@@ -24887,9 +24898,9 @@ function send(uploader, data) {
|
|
|
24887
24898
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
24888
24899
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
24889
24900
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
24890
|
-
/* harmony import */ var
|
|
24891
|
-
/* harmony import */ var
|
|
24892
|
-
/* harmony import */ var
|
|
24901
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
24902
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20431);
|
|
24903
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50999);
|
|
24893
24904
|
/*!
|
|
24894
24905
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24895
24906
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24961,14 +24972,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24961
24972
|
}
|
|
24962
24973
|
};
|
|
24963
24974
|
// send data on server
|
|
24964
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
24965
|
-
(0,
|
|
24975
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
24976
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24966
24977
|
return false;
|
|
24967
24978
|
}
|
|
24968
24979
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
24969
|
-
return (0,
|
|
24980
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
24970
24981
|
}
|
|
24971
|
-
if ((0,
|
|
24982
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
24972
24983
|
const { items } = cData;
|
|
24973
24984
|
for (i = 0; i < items.length; i += 1) {
|
|
24974
24985
|
if (items[i].kind === 'file' &&
|
|
@@ -24979,7 +24990,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24979
24990
|
extension = mime[1]
|
|
24980
24991
|
? mime[1].toLowerCase()
|
|
24981
24992
|
: '';
|
|
24982
|
-
(0,
|
|
24993
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
24983
24994
|
}
|
|
24984
24995
|
e.preventDefault();
|
|
24985
24996
|
break;
|
|
@@ -25002,30 +25013,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25002
25013
|
e.preventDefault();
|
|
25003
25014
|
})
|
|
25004
25015
|
.on(form, 'dragover', (event) => {
|
|
25005
|
-
if ((0,
|
|
25006
|
-
(0,
|
|
25016
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
25017
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
25007
25018
|
form.classList.add('jodit_drag_hover');
|
|
25008
25019
|
event.preventDefault();
|
|
25009
25020
|
}
|
|
25010
25021
|
})
|
|
25011
25022
|
.on(form, 'dragend dragleave', (event) => {
|
|
25012
25023
|
form.classList.remove('jodit_drag_hover');
|
|
25013
|
-
if ((0,
|
|
25024
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25014
25025
|
event.preventDefault();
|
|
25015
25026
|
}
|
|
25016
25027
|
})
|
|
25017
25028
|
.on(form, 'drop', (event) => {
|
|
25018
25029
|
form.classList.remove('jodit_drag_hover');
|
|
25019
|
-
if ((0,
|
|
25030
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25020
25031
|
event.preventDefault();
|
|
25021
25032
|
event.stopImmediatePropagation();
|
|
25022
|
-
(0,
|
|
25033
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25023
25034
|
}
|
|
25024
25035
|
});
|
|
25025
25036
|
const inputFile = form.querySelector('input[type=file]');
|
|
25026
25037
|
if (inputFile) {
|
|
25027
25038
|
self.j.e.on(inputFile, 'change', () => {
|
|
25028
|
-
(0,
|
|
25039
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
25029
25040
|
.then(() => {
|
|
25030
25041
|
inputFile.value = '';
|
|
25031
25042
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -25045,7 +25056,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25045
25056
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
25046
25057
|
? handlerError
|
|
25047
25058
|
: o.defaultHandlerError;
|
|
25048
|
-
(0,
|
|
25059
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
25049
25060
|
action: 'fileUploadRemote',
|
|
25050
25061
|
url
|
|
25051
25062
|
})
|
|
@@ -25065,11 +25076,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25065
25076
|
super(editor);
|
|
25066
25077
|
this.path = '';
|
|
25067
25078
|
this.source = 'default';
|
|
25068
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
25079
|
+
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 : {}));
|
|
25069
25080
|
}
|
|
25070
25081
|
destruct() {
|
|
25071
25082
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
25072
|
-
const instances =
|
|
25083
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
25073
25084
|
if (instances) {
|
|
25074
25085
|
instances.forEach(ajax => {
|
|
25075
25086
|
try {
|
|
@@ -25498,9 +25509,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25498
25509
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25499
25510
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25500
25511
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
25501
|
-
/* harmony import */ var
|
|
25502
|
-
/* harmony import */ var
|
|
25503
|
-
/* harmony import */ var
|
|
25512
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
25513
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(46891);
|
|
25514
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
25504
25515
|
/*!
|
|
25505
25516
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25506
25517
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25514,7 +25525,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25514
25525
|
|
|
25515
25526
|
|
|
25516
25527
|
|
|
25517
|
-
|
|
25528
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
25518
25529
|
exec: (editor) => {
|
|
25519
25530
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
25520
25531
|
dialog
|
|
@@ -25550,7 +25561,7 @@ function about(editor) {
|
|
|
25550
25561
|
});
|
|
25551
25562
|
}
|
|
25552
25563
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
25553
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
25564
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
25554
25565
|
|
|
25555
25566
|
|
|
25556
25567
|
/***/ }),
|
|
@@ -25793,9 +25804,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25793
25804
|
|
|
25794
25805
|
"use strict";
|
|
25795
25806
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
25796
|
-
/* harmony import */ var
|
|
25797
|
-
/* harmony import */ var
|
|
25798
|
-
/* harmony import */ var
|
|
25807
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
25808
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3882);
|
|
25809
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25799
25810
|
/*!
|
|
25800
25811
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25801
25812
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25804,9 +25815,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25804
25815
|
|
|
25805
25816
|
|
|
25806
25817
|
|
|
25807
|
-
|
|
25808
|
-
|
|
25809
|
-
|
|
25818
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25819
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25820
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25810
25821
|
'table',
|
|
25811
25822
|
'iframe',
|
|
25812
25823
|
'img',
|
|
@@ -25814,8 +25825,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25814
25825
|
'pre',
|
|
25815
25826
|
'jodit'
|
|
25816
25827
|
];
|
|
25817
|
-
|
|
25818
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25828
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25829
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25819
25830
|
|
|
25820
25831
|
|
|
25821
25832
|
/***/ }),
|
|
@@ -25953,11 +25964,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
25953
25964
|
|
|
25954
25965
|
"use strict";
|
|
25955
25966
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
25956
|
-
/* harmony import */ var
|
|
25957
|
-
/* harmony import */ var
|
|
25958
|
-
/* harmony import */ var
|
|
25959
|
-
/* harmony import */ var
|
|
25960
|
-
/* harmony import */ var
|
|
25967
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
25968
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15627);
|
|
25969
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25970
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41500);
|
|
25971
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
25961
25972
|
/*!
|
|
25962
25973
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25963
25974
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25998,10 +26009,10 @@ const aiAssistantDefaults = {
|
|
|
25998
26009
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
25999
26010
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
26000
26011
|
};
|
|
26001
|
-
|
|
26002
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
26003
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
26004
|
-
|
|
26012
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
26013
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
26014
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26015
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
26005
26016
|
isDisabled(editor) {
|
|
26006
26017
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26007
26018
|
},
|
|
@@ -26039,7 +26050,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
26039
26050
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
26040
26051
|
}
|
|
26041
26052
|
};
|
|
26042
|
-
|
|
26053
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
26043
26054
|
isDisabled(editor) {
|
|
26044
26055
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26045
26056
|
},
|
|
@@ -26623,6 +26634,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26623
26634
|
}
|
|
26624
26635
|
if (sibling.nodeValue?.length) {
|
|
26625
26636
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26637
|
+
if (!sibling.nodeValue.length &&
|
|
26638
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26639
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26640
|
+
}
|
|
26626
26641
|
}
|
|
26627
26642
|
if (!sibling.nodeValue?.length) {
|
|
26628
26643
|
removeNeighbor = sibling;
|
|
@@ -27175,20 +27190,20 @@ function getMoveFilter(jodit) {
|
|
|
27175
27190
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51431);
|
|
27176
27191
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
27177
27192
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
27178
|
-
/* harmony import */ var
|
|
27179
|
-
/* harmony import */ var
|
|
27180
|
-
/* harmony import */ var
|
|
27181
|
-
/* harmony import */ var
|
|
27182
|
-
/* harmony import */ var
|
|
27183
|
-
/* harmony import */ var
|
|
27184
|
-
/* harmony import */ var
|
|
27185
|
-
/* harmony import */ var
|
|
27186
|
-
/* harmony import */ var
|
|
27187
|
-
/* harmony import */ var
|
|
27188
|
-
/* harmony import */ var
|
|
27189
|
-
/* harmony import */ var
|
|
27190
|
-
/* harmony import */ var
|
|
27191
|
-
/* harmony import */ var
|
|
27193
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
27194
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94673);
|
|
27195
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39586);
|
|
27196
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27197
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49463);
|
|
27198
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27199
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(10292);
|
|
27200
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
27201
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71718);
|
|
27202
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
27203
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48397);
|
|
27204
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
27205
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(46781);
|
|
27206
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
27192
27207
|
/*!
|
|
27193
27208
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27194
27209
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27211,7 +27226,7 @@ function getMoveFilter(jodit) {
|
|
|
27211
27226
|
*/
|
|
27212
27227
|
function bold(editor) {
|
|
27213
27228
|
const callBack = (command) => {
|
|
27214
|
-
const control =
|
|
27229
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
27215
27230
|
...control.css
|
|
27216
27231
|
};
|
|
27217
27232
|
let cssRules;
|
|
@@ -27265,12 +27280,12 @@ function bold(editor) {
|
|
|
27265
27280
|
});
|
|
27266
27281
|
}
|
|
27267
27282
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
27268
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
27269
|
-
.set('italic', (
|
|
27270
|
-
.set('strikethrough', (
|
|
27271
|
-
.set('subscript', (
|
|
27272
|
-
.set('superscript', (
|
|
27273
|
-
.set('underline', (
|
|
27283
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
27284
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
27285
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
27286
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
27287
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
27288
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
27274
27289
|
|
|
27275
27290
|
|
|
27276
27291
|
/***/ }),
|
|
@@ -27340,9 +27355,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27340
27355
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94183);
|
|
27341
27356
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65564);
|
|
27342
27357
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
27343
|
-
/* harmony import */ var
|
|
27344
|
-
/* harmony import */ var
|
|
27345
|
-
/* harmony import */ var
|
|
27358
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
27359
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14835);
|
|
27360
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27346
27361
|
/*!
|
|
27347
27362
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27348
27363
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27355,7 +27370,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27355
27370
|
|
|
27356
27371
|
|
|
27357
27372
|
|
|
27358
|
-
|
|
27373
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
27359
27374
|
command: 'applyClassName',
|
|
27360
27375
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
27361
27376
|
list: [
|
|
@@ -27443,7 +27458,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
27443
27458
|
beforeDestruct() { }
|
|
27444
27459
|
}
|
|
27445
27460
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
27446
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
27461
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
27447
27462
|
|
|
27448
27463
|
|
|
27449
27464
|
/***/ }),
|
|
@@ -27582,9 +27597,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27582
27597
|
|
|
27583
27598
|
"use strict";
|
|
27584
27599
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
27585
|
-
/* harmony import */ var
|
|
27586
|
-
/* harmony import */ var
|
|
27587
|
-
/* harmony import */ var
|
|
27600
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
27601
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(556);
|
|
27602
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27588
27603
|
/*!
|
|
27589
27604
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27590
27605
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27593,7 +27608,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27593
27608
|
|
|
27594
27609
|
|
|
27595
27610
|
|
|
27596
|
-
|
|
27611
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27597
27612
|
timeout: 300,
|
|
27598
27613
|
removeEmptyElements: true,
|
|
27599
27614
|
fillEmptyParagraph: true,
|
|
@@ -27609,11 +27624,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27609
27624
|
safeJavaScriptLink: true,
|
|
27610
27625
|
disableCleanFilter: null
|
|
27611
27626
|
};
|
|
27612
|
-
|
|
27627
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27613
27628
|
command: 'removeFormat',
|
|
27614
27629
|
tooltip: 'Clear Formatting'
|
|
27615
27630
|
};
|
|
27616
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27631
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27617
27632
|
|
|
27618
27633
|
|
|
27619
27634
|
/***/ }),
|
|
@@ -28279,15 +28294,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28279
28294
|
|
|
28280
28295
|
"use strict";
|
|
28281
28296
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
28282
|
-
/* harmony import */ var
|
|
28283
|
-
/* harmony import */ var
|
|
28284
|
-
/* harmony import */ var
|
|
28285
|
-
/* harmony import */ var
|
|
28286
|
-
/* harmony import */ var
|
|
28287
|
-
/* harmony import */ var
|
|
28288
|
-
/* harmony import */ var
|
|
28289
|
-
/* harmony import */ var
|
|
28290
|
-
/* harmony import */ var
|
|
28297
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
28298
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65);
|
|
28299
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
28300
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4594);
|
|
28301
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
28302
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63859);
|
|
28303
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28304
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38808);
|
|
28305
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28291
28306
|
/*!
|
|
28292
28307
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28293
28308
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28299,25 +28314,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28299
28314
|
|
|
28300
28315
|
|
|
28301
28316
|
|
|
28302
|
-
|
|
28317
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
28303
28318
|
command: 'cut',
|
|
28304
28319
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28305
28320
|
tooltip: 'Cut selection'
|
|
28306
28321
|
};
|
|
28307
|
-
|
|
28322
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
28308
28323
|
command: 'copy',
|
|
28309
28324
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28310
28325
|
tooltip: 'Copy selection'
|
|
28311
28326
|
};
|
|
28312
|
-
|
|
28327
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
28313
28328
|
icon: 'select-all',
|
|
28314
28329
|
command: 'selectall',
|
|
28315
28330
|
tooltip: 'Select all'
|
|
28316
28331
|
};
|
|
28317
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
28318
|
-
.set('cut', (
|
|
28319
|
-
.set('paste', (
|
|
28320
|
-
.set('select-all', (
|
|
28332
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
28333
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
28334
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
28335
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28321
28336
|
|
|
28322
28337
|
|
|
28323
28338
|
/***/ }),
|
|
@@ -28389,10 +28404,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28389
28404
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
28390
28405
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
28391
28406
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28392
|
-
/* harmony import */ var
|
|
28393
|
-
/* harmony import */ var
|
|
28394
|
-
/* harmony import */ var
|
|
28395
|
-
/* harmony import */ var
|
|
28407
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28408
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21391);
|
|
28409
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(55370);
|
|
28410
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28396
28411
|
/*!
|
|
28397
28412
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28398
28413
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28404,8 +28419,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28404
28419
|
|
|
28405
28420
|
|
|
28406
28421
|
|
|
28407
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
28408
|
-
|
|
28422
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28423
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
28409
28424
|
isVisible: (editor) => {
|
|
28410
28425
|
return !editor.o.disablePlugins.includes('color');
|
|
28411
28426
|
},
|
|
@@ -28418,7 +28433,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28418
28433
|
if (!selected.length) {
|
|
28419
28434
|
return false;
|
|
28420
28435
|
}
|
|
28421
|
-
const makeColorPicker = (key) => (0,
|
|
28436
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28422
28437
|
selected.forEach(cell => {
|
|
28423
28438
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
28424
28439
|
});
|
|
@@ -28427,7 +28442,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28427
28442
|
close();
|
|
28428
28443
|
editor.unlock();
|
|
28429
28444
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
28430
|
-
return (0,
|
|
28445
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
28431
28446
|
{
|
|
28432
28447
|
name: 'Background',
|
|
28433
28448
|
content: makeColorPicker('background-color')
|
|
@@ -28438,7 +28453,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28438
28453
|
},
|
|
28439
28454
|
tooltip: 'Background'
|
|
28440
28455
|
};
|
|
28441
|
-
|
|
28456
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
28442
28457
|
isVisible: (editor) => {
|
|
28443
28458
|
return !editor.o.disablePlugins.includes('color');
|
|
28444
28459
|
},
|
|
@@ -28486,7 +28501,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28486
28501
|
}
|
|
28487
28502
|
}, editor.editor);
|
|
28488
28503
|
}
|
|
28489
|
-
const backgroundTag = (0,
|
|
28504
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28490
28505
|
if (!currentElement) {
|
|
28491
28506
|
editor.execCommand('background', false, value);
|
|
28492
28507
|
}
|
|
@@ -28497,7 +28512,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28497
28512
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
28498
28513
|
close();
|
|
28499
28514
|
}, bg_color);
|
|
28500
|
-
const colorTab = (0,
|
|
28515
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28501
28516
|
if (!currentElement) {
|
|
28502
28517
|
editor.execCommand('forecolor', false, value);
|
|
28503
28518
|
}
|
|
@@ -28521,7 +28536,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28521
28536
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
28522
28537
|
tabs = tabs.reverse();
|
|
28523
28538
|
}
|
|
28524
|
-
return (0,
|
|
28539
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
28525
28540
|
},
|
|
28526
28541
|
exec(jodit, current, { button }) {
|
|
28527
28542
|
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');
|
|
@@ -28560,10 +28575,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28560
28575
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
28561
28576
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
28562
28577
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28563
|
-
/* harmony import */ var
|
|
28564
|
-
/* harmony import */ var
|
|
28565
|
-
/* harmony import */ var
|
|
28566
|
-
/* harmony import */ var
|
|
28578
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28579
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72131);
|
|
28580
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28581
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18489);
|
|
28567
28582
|
/*!
|
|
28568
28583
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28569
28584
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28621,7 +28636,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28621
28636
|
}
|
|
28622
28637
|
return result;
|
|
28623
28638
|
};
|
|
28624
|
-
|
|
28639
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28625
28640
|
exec: (editor, current, { button }) => {
|
|
28626
28641
|
if (!current) {
|
|
28627
28642
|
return;
|
|
@@ -28671,10 +28686,10 @@ function copyFormat(editor) {
|
|
|
28671
28686
|
name: 'copyformat',
|
|
28672
28687
|
group: 'clipboard'
|
|
28673
28688
|
});
|
|
28674
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28689
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28675
28690
|
}
|
|
28676
28691
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28677
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28692
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28678
28693
|
|
|
28679
28694
|
|
|
28680
28695
|
/***/ }),
|
|
@@ -30085,8 +30100,8 @@ function wrapText(fake, jodit) {
|
|
|
30085
30100
|
/* unused harmony export file */
|
|
30086
30101
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
30087
30102
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
30088
|
-
/* harmony import */ var
|
|
30089
|
-
/* harmony import */ var
|
|
30103
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30104
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21391);
|
|
30090
30105
|
/*!
|
|
30091
30106
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30092
30107
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30096,7 +30111,7 @@ function wrapText(fake, jodit) {
|
|
|
30096
30111
|
|
|
30097
30112
|
|
|
30098
30113
|
|
|
30099
|
-
|
|
30114
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
30100
30115
|
popup: (editor, current, close) => {
|
|
30101
30116
|
const insert = (url, title = '') => {
|
|
30102
30117
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -30109,7 +30124,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
30109
30124
|
? current
|
|
30110
30125
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
30111
30126
|
}
|
|
30112
|
-
return (0,
|
|
30127
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
30113
30128
|
filebrowser: (data) => {
|
|
30114
30129
|
data.files &&
|
|
30115
30130
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30232,11 +30247,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30232
30247
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22718);
|
|
30233
30248
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
30234
30249
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
30235
|
-
/* harmony import */ var
|
|
30236
|
-
/* harmony import */ var
|
|
30237
|
-
/* harmony import */ var
|
|
30238
|
-
/* harmony import */ var
|
|
30239
|
-
/* harmony import */ var
|
|
30250
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
30251
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78602);
|
|
30252
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30253
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84413);
|
|
30254
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30240
30255
|
/*!
|
|
30241
30256
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30242
30257
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30252,9 +30267,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30252
30267
|
/**
|
|
30253
30268
|
* Default font-size points
|
|
30254
30269
|
*/
|
|
30255
|
-
|
|
30256
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30257
|
-
|
|
30270
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30271
|
+
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()));
|
|
30272
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30258
30273
|
command: 'fontsize',
|
|
30259
30274
|
data: {
|
|
30260
30275
|
cssRule: 'font-size',
|
|
@@ -30310,8 +30325,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30310
30325
|
return keySet.has(normalize(value.toString()));
|
|
30311
30326
|
}
|
|
30312
30327
|
};
|
|
30313
|
-
|
|
30314
|
-
...
|
|
30328
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
30329
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
30315
30330
|
command: 'fontname',
|
|
30316
30331
|
textTemplate: (j, value) => {
|
|
30317
30332
|
const [first] = value.split(',');
|
|
@@ -30421,11 +30436,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30421
30436
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30422
30437
|
|
|
30423
30438
|
"use strict";
|
|
30424
|
-
/* harmony import */ var
|
|
30439
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
30440
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
30425
30441
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
30426
|
-
/* harmony import */ var
|
|
30427
|
-
/* harmony import */ var
|
|
30428
|
-
/* harmony import */ var
|
|
30442
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30443
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30820);
|
|
30444
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30429
30445
|
/*!
|
|
30430
30446
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30431
30447
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30435,12 +30451,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30435
30451
|
|
|
30436
30452
|
|
|
30437
30453
|
|
|
30438
|
-
|
|
30439
|
-
|
|
30454
|
+
|
|
30455
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
30456
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
30440
30457
|
command: 'formatBlock',
|
|
30441
30458
|
value(editor, button) {
|
|
30442
30459
|
const control = button.control, current = editor.s.current();
|
|
30443
|
-
const currentBox =
|
|
30460
|
+
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);
|
|
30444
30461
|
return currentBox?.nodeName.toLowerCase() ?? control.data?.currentValue;
|
|
30445
30462
|
},
|
|
30446
30463
|
update(editor, button) {
|
|
@@ -30449,7 +30466,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30449
30466
|
return false;
|
|
30450
30467
|
}
|
|
30451
30468
|
const currentValue = button.state.value, list = control.list;
|
|
30452
|
-
if (list && list[currentValue.toString()]) {
|
|
30469
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
30453
30470
|
if (editor.o.textIcons) {
|
|
30454
30471
|
button.state.text = list[currentValue.toString()].toString();
|
|
30455
30472
|
}
|
|
@@ -30473,7 +30490,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30473
30490
|
},
|
|
30474
30491
|
isActive: (editor, button) => {
|
|
30475
30492
|
return (button.state.value !== editor.o.enter &&
|
|
30476
|
-
|
|
30493
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
30494
|
+
Boolean(button.control.list[button.state.value]));
|
|
30477
30495
|
},
|
|
30478
30496
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
30479
30497
|
tooltip: 'Insert format block'
|
|
@@ -30523,11 +30541,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30523
30541
|
"use strict";
|
|
30524
30542
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
30525
30543
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
30526
|
-
/* harmony import */ var
|
|
30527
|
-
/* harmony import */ var
|
|
30528
|
-
/* harmony import */ var
|
|
30529
|
-
/* harmony import */ var
|
|
30530
|
-
/* harmony import */ var
|
|
30544
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30545
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(88708);
|
|
30546
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30547
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10099);
|
|
30548
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30531
30549
|
/*!
|
|
30532
30550
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30533
30551
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30539,10 +30557,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30539
30557
|
|
|
30540
30558
|
|
|
30541
30559
|
|
|
30542
|
-
|
|
30543
|
-
|
|
30544
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
30545
|
-
|
|
30560
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
30561
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
30562
|
+
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()));
|
|
30563
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
30546
30564
|
exec: (editor) => {
|
|
30547
30565
|
editor.toggleFullSize();
|
|
30548
30566
|
},
|
|
@@ -30681,19 +30699,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
30681
30699
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
30682
30700
|
*/
|
|
30683
30701
|
|
|
30684
|
-
/**
|
|
30685
|
-
* You can redefine hotkeys for some command
|
|
30686
|
-
*
|
|
30687
|
-
* @example
|
|
30688
|
-
* ```js
|
|
30689
|
-
* var jodit = Jodit.make('#editor', {
|
|
30690
|
-
* commandToHotkeys: {
|
|
30691
|
-
* bold: 'ctrl+shift+b',
|
|
30692
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
30693
|
-
* }
|
|
30694
|
-
* })
|
|
30695
|
-
* ```
|
|
30696
|
-
*/
|
|
30697
30702
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
30698
30703
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
30699
30704
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -30868,9 +30873,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30868
30873
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
30869
30874
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
30870
30875
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
30871
|
-
/* harmony import */ var
|
|
30872
|
-
/* harmony import */ var
|
|
30873
|
-
/* harmony import */ var
|
|
30876
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
30877
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(75241);
|
|
30878
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30874
30879
|
/*!
|
|
30875
30880
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30876
30881
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30881,8 +30886,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30881
30886
|
|
|
30882
30887
|
|
|
30883
30888
|
|
|
30884
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
30885
|
-
|
|
30889
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30890
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
30886
30891
|
command: 'insertHorizontalRule',
|
|
30887
30892
|
tags: ['hr'],
|
|
30888
30893
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31359,6 +31364,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31359
31364
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31360
31365
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31361
31366
|
*/
|
|
31367
|
+
/**
|
|
31368
|
+
* @module plugins/image-properties
|
|
31369
|
+
*/
|
|
31362
31370
|
|
|
31363
31371
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31364
31372
|
dialogWidth: 600,
|
|
@@ -32859,10 +32867,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32859
32867
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
32860
32868
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
32861
32869
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
32862
|
-
/* harmony import */ var
|
|
32863
|
-
/* harmony import */ var
|
|
32864
|
-
/* harmony import */ var
|
|
32865
|
-
/* harmony import */ var
|
|
32870
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
32871
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
32872
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15807);
|
|
32873
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
32866
32874
|
/*!
|
|
32867
32875
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32868
32876
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32875,8 +32883,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32875
32883
|
|
|
32876
32884
|
|
|
32877
32885
|
|
|
32878
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
32879
|
-
|
|
32886
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
32887
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
32880
32888
|
popup: (editor, current, close) => {
|
|
32881
32889
|
let sourceImage = null;
|
|
32882
32890
|
if (current &&
|
|
@@ -32888,7 +32896,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
32888
32896
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
32889
32897
|
}
|
|
32890
32898
|
editor.s.save();
|
|
32891
|
-
return (0,
|
|
32899
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32892
32900
|
filebrowser: (data) => {
|
|
32893
32901
|
editor.s.restore();
|
|
32894
32902
|
data.files &&
|
|
@@ -32931,12 +32939,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32931
32939
|
"use strict";
|
|
32932
32940
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
32933
32941
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
32934
|
-
/* harmony import */ var
|
|
32935
|
-
/* harmony import */ var
|
|
32936
|
-
/* harmony import */ var
|
|
32937
|
-
/* harmony import */ var
|
|
32938
|
-
/* harmony import */ var
|
|
32939
|
-
/* harmony import */ var
|
|
32942
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
32943
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96168);
|
|
32944
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32945
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(45153);
|
|
32946
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32947
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(63163);
|
|
32940
32948
|
/*!
|
|
32941
32949
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32942
32950
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32948,17 +32956,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32948
32956
|
|
|
32949
32957
|
|
|
32950
32958
|
|
|
32951
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
32952
|
-
|
|
32959
|
+
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()));
|
|
32960
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
32953
32961
|
tooltip: 'Increase Indent'
|
|
32954
32962
|
};
|
|
32955
|
-
|
|
32963
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
32956
32964
|
isDisabled: (editor) => {
|
|
32957
32965
|
const current = editor.s.current();
|
|
32958
32966
|
if (current) {
|
|
32959
32967
|
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);
|
|
32960
32968
|
if (currentBox) {
|
|
32961
|
-
const arrow = (0,
|
|
32969
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
32962
32970
|
return (!currentBox.style[arrow] ||
|
|
32963
32971
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
32964
32972
|
}
|
|
@@ -32967,7 +32975,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
32967
32975
|
},
|
|
32968
32976
|
tooltip: 'Decrease Indent'
|
|
32969
32977
|
};
|
|
32970
|
-
|
|
32978
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
32971
32979
|
|
|
32972
32980
|
|
|
32973
32981
|
/***/ }),
|
|
@@ -33228,12 +33236,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33228
33236
|
|
|
33229
33237
|
"use strict";
|
|
33230
33238
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
33231
|
-
/* harmony import */ var
|
|
33232
|
-
/* harmony import */ var
|
|
33233
|
-
/* harmony import */ var
|
|
33234
|
-
/* harmony import */ var
|
|
33239
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
33240
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73625);
|
|
33241
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69247);
|
|
33242
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84516);
|
|
33243
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(79073);
|
|
33235
33244
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(3301);
|
|
33236
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
33237
33245
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48537);
|
|
33238
33246
|
/* 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__);
|
|
33239
33247
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1629);
|
|
@@ -33267,10 +33275,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33267
33275
|
|
|
33268
33276
|
|
|
33269
33277
|
|
|
33270
|
-
|
|
33271
|
-
|
|
33272
|
-
|
|
33273
|
-
|
|
33278
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33279
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33280
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33281
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33274
33282
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33275
33283
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33276
33284
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33278,14 +33286,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33278
33286
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33279
33287
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33280
33288
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33281
|
-
|
|
33282
|
-
a:
|
|
33283
|
-
img:
|
|
33284
|
-
cells:
|
|
33289
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33290
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33291
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33292
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33285
33293
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33286
|
-
jodit:
|
|
33287
|
-
iframe:
|
|
33288
|
-
'jodit-media':
|
|
33294
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33295
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33296
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33289
33297
|
selection: [
|
|
33290
33298
|
'bold',
|
|
33291
33299
|
'underline',
|
|
@@ -33897,12 +33905,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33897
33905
|
/* unused harmony export justify */
|
|
33898
33906
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
33899
33907
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
33900
|
-
/* harmony import */ var
|
|
33901
|
-
/* harmony import */ var
|
|
33902
|
-
/* harmony import */ var
|
|
33903
|
-
/* harmony import */ var
|
|
33904
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33908
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
33909
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26071);
|
|
33910
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4401);
|
|
33911
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
33905
33912
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
33913
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77795);
|
|
33914
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33906
33915
|
/*!
|
|
33907
33916
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33908
33917
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33915,7 +33924,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33915
33924
|
|
|
33916
33925
|
|
|
33917
33926
|
|
|
33918
|
-
|
|
33927
|
+
|
|
33928
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33919
33929
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
33920
33930
|
name: 'left',
|
|
33921
33931
|
tooltip: 'Align',
|
|
@@ -33924,22 +33934,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33924
33934
|
if (current) {
|
|
33925
33935
|
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) ||
|
|
33926
33936
|
editor.editor;
|
|
33927
|
-
let currentValue = (0,
|
|
33937
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
33928
33938
|
if (control.defaultValue &&
|
|
33929
33939
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
33930
33940
|
currentValue = 'left';
|
|
33931
33941
|
}
|
|
33932
|
-
|
|
33933
|
-
|
|
33934
|
-
|
|
33935
|
-
|
|
33942
|
+
const { list, data } = control;
|
|
33943
|
+
if (data &&
|
|
33944
|
+
data.currentValue !== currentValue &&
|
|
33945
|
+
list &&
|
|
33946
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
33947
|
+
? list[currentValue]
|
|
33948
|
+
: list.includes(currentValue))) {
|
|
33936
33949
|
if (editor.o.textIcons || control.component === 'select') {
|
|
33937
33950
|
button.state.text = currentValue;
|
|
33938
33951
|
}
|
|
33939
33952
|
else {
|
|
33940
33953
|
button.state.icon.name = currentValue;
|
|
33941
33954
|
}
|
|
33942
|
-
|
|
33955
|
+
data.currentValue = currentValue;
|
|
33943
33956
|
}
|
|
33944
33957
|
}
|
|
33945
33958
|
},
|
|
@@ -33950,7 +33963,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33950
33963
|
}
|
|
33951
33964
|
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) ||
|
|
33952
33965
|
editor.editor;
|
|
33953
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
33966
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
33954
33967
|
},
|
|
33955
33968
|
defaultValue: ['left', 'start', 'inherit'],
|
|
33956
33969
|
data: {
|
|
@@ -34004,7 +34017,7 @@ function justify(editor) {
|
|
|
34004
34017
|
if (!currentBox) {
|
|
34005
34018
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
34006
34019
|
}
|
|
34007
|
-
(0,
|
|
34020
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
34008
34021
|
});
|
|
34009
34022
|
return false;
|
|
34010
34023
|
};
|
|
@@ -34215,9 +34228,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34215
34228
|
"use strict";
|
|
34216
34229
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9596);
|
|
34217
34230
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
34218
|
-
/* harmony import */ var
|
|
34219
|
-
/* harmony import */ var
|
|
34220
|
-
/* harmony import */ var
|
|
34231
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
34232
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19615);
|
|
34233
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34221
34234
|
/*!
|
|
34222
34235
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34223
34236
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34227,9 +34240,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34227
34240
|
|
|
34228
34241
|
|
|
34229
34242
|
|
|
34230
|
-
|
|
34231
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34232
|
-
|
|
34243
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34244
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34245
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34233
34246
|
command: 'applyLineHeight',
|
|
34234
34247
|
tags: ['ol'],
|
|
34235
34248
|
tooltip: 'Line height',
|
|
@@ -34397,12 +34410,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34397
34410
|
"use strict";
|
|
34398
34411
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
34399
34412
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
34400
|
-
/* harmony import */ var
|
|
34401
|
-
/* harmony import */ var
|
|
34402
|
-
/* harmony import */ var
|
|
34403
|
-
/* harmony import */ var
|
|
34404
|
-
/* harmony import */ var
|
|
34405
|
-
/* harmony import */ var
|
|
34413
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
34414
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67576);
|
|
34415
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34416
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73501);
|
|
34417
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34418
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17660);
|
|
34406
34419
|
/*!
|
|
34407
34420
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34408
34421
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34414,8 +34427,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34414
34427
|
|
|
34415
34428
|
|
|
34416
34429
|
|
|
34417
|
-
|
|
34418
|
-
formTemplate:
|
|
34430
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
34431
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
34419
34432
|
followOnDblClick: false,
|
|
34420
34433
|
processVideoLink: true,
|
|
34421
34434
|
processPastedLink: true,
|
|
@@ -34427,8 +34440,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
34427
34440
|
selectOptionsClassName: [],
|
|
34428
34441
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
34429
34442
|
};
|
|
34430
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
34431
|
-
|
|
34443
|
+
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()));
|
|
34444
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
34432
34445
|
exec: (editor, current) => {
|
|
34433
34446
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
34434
34447
|
if (anchor) {
|
|
@@ -34439,7 +34452,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
34439
34452
|
},
|
|
34440
34453
|
tooltip: 'Unlink'
|
|
34441
34454
|
};
|
|
34442
|
-
|
|
34455
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
34443
34456
|
isActive: (editor) => {
|
|
34444
34457
|
const current = editor.s.current();
|
|
34445
34458
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -34983,9 +34996,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
34983
34996
|
"use strict";
|
|
34984
34997
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
34985
34998
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
34986
|
-
/* harmony import */ var
|
|
34987
|
-
/* harmony import */ var
|
|
34988
|
-
/* harmony import */ var
|
|
34999
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
35000
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78167);
|
|
35001
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78072);
|
|
34989
35002
|
/*!
|
|
34990
35003
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34991
35004
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34996,9 +35009,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
34996
35009
|
|
|
34997
35010
|
|
|
34998
35011
|
|
|
34999
|
-
|
|
35000
|
-
|
|
35001
|
-
|
|
35012
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
35013
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
35014
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
35002
35015
|
{
|
|
35003
35016
|
group: 'font-style',
|
|
35004
35017
|
buttons: []
|
|
@@ -35045,7 +35058,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
35045
35058
|
'|',
|
|
35046
35059
|
'dots'
|
|
35047
35060
|
];
|
|
35048
|
-
|
|
35061
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
35049
35062
|
{
|
|
35050
35063
|
group: 'font-style',
|
|
35051
35064
|
buttons: []
|
|
@@ -35080,7 +35093,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
35080
35093
|
'|',
|
|
35081
35094
|
'dots'
|
|
35082
35095
|
];
|
|
35083
|
-
|
|
35096
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
35084
35097
|
{
|
|
35085
35098
|
group: 'font-style',
|
|
35086
35099
|
buttons: []
|
|
@@ -35101,16 +35114,16 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
35101
35114
|
'---',
|
|
35102
35115
|
'dots'
|
|
35103
35116
|
];
|
|
35104
|
-
|
|
35117
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
35105
35118
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
35106
35119
|
popup: (editor, current, close, button) => {
|
|
35107
35120
|
let store = button.control.data;
|
|
35108
35121
|
if (store === undefined) {
|
|
35109
35122
|
store = {
|
|
35110
|
-
toolbar: (0,
|
|
35123
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
35111
35124
|
rebuild: () => {
|
|
35112
35125
|
if (button) {
|
|
35113
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
35126
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
35114
35127
|
if (buttons && store) {
|
|
35115
35128
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
35116
35129
|
const w = editor.toolbar?.firstButton?.container
|
|
@@ -35221,11 +35234,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
35221
35234
|
"use strict";
|
|
35222
35235
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49382);
|
|
35223
35236
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
35224
|
-
/* harmony import */ var
|
|
35225
|
-
/* harmony import */ var
|
|
35226
|
-
/* harmony import */ var
|
|
35227
|
-
/* harmony import */ var
|
|
35228
|
-
/* harmony import */ var
|
|
35237
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
35238
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48421);
|
|
35239
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35240
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22791);
|
|
35241
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35229
35242
|
/*!
|
|
35230
35243
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35231
35244
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35242,8 +35255,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
35242
35255
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
35243
35256
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
35244
35257
|
};
|
|
35245
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
35246
|
-
|
|
35258
|
+
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()));
|
|
35259
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
35247
35260
|
command: 'insertUnorderedList',
|
|
35248
35261
|
tags: ['ul'],
|
|
35249
35262
|
tooltip: 'Insert Unordered List',
|
|
@@ -35255,7 +35268,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
35255
35268
|
},
|
|
35256
35269
|
exec: memoExec
|
|
35257
35270
|
};
|
|
35258
|
-
|
|
35271
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
35259
35272
|
command: 'insertOrderedList',
|
|
35260
35273
|
tags: ['ol'],
|
|
35261
35274
|
tooltip: 'Insert Ordered List',
|
|
@@ -35631,8 +35644,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35631
35644
|
|
|
35632
35645
|
"use strict";
|
|
35633
35646
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
35634
|
-
/* harmony import */ var
|
|
35635
|
-
/* harmony import */ var
|
|
35647
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
35648
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48954);
|
|
35636
35649
|
/*!
|
|
35637
35650
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35638
35651
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35641,19 +35654,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35641
35654
|
|
|
35642
35655
|
|
|
35643
35656
|
|
|
35644
|
-
|
|
35645
|
-
|
|
35646
|
-
|
|
35647
|
-
|
|
35648
|
-
|
|
35657
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
35658
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
35659
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
35660
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
35661
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
35649
35662
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
35650
35663
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
35651
35664
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
35652
35665
|
];
|
|
35653
|
-
|
|
35654
|
-
|
|
35666
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
35667
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
35655
35668
|
const psKey = 'pasteStorage';
|
|
35656
|
-
|
|
35669
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
35657
35670
|
tooltip: 'Paste from clipboard',
|
|
35658
35671
|
async exec(editor, _, { control }) {
|
|
35659
35672
|
if (control.name === psKey) {
|
|
@@ -35701,7 +35714,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
35701
35714
|
!error && editor.e.fire('afterPaste');
|
|
35702
35715
|
}
|
|
35703
35716
|
else if (text.length) {
|
|
35704
|
-
(0,
|
|
35717
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
35705
35718
|
editor.e.fire('afterPaste');
|
|
35706
35719
|
}
|
|
35707
35720
|
else {
|
|
@@ -36428,10 +36441,10 @@ function generateCriticalCSS(jodit) {
|
|
|
36428
36441
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54614);
|
|
36429
36442
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85769);
|
|
36430
36443
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
36431
|
-
/* harmony import */ var
|
|
36432
|
-
/* harmony import */ var
|
|
36433
|
-
/* harmony import */ var
|
|
36434
|
-
/* harmony import */ var
|
|
36444
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
36445
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(86134);
|
|
36446
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26899);
|
|
36447
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
36435
36448
|
/*!
|
|
36436
36449
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36437
36450
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36446,8 +36459,8 @@ function generateCriticalCSS(jodit) {
|
|
|
36446
36459
|
|
|
36447
36460
|
|
|
36448
36461
|
|
|
36449
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
36450
|
-
|
|
36462
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
36463
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
36451
36464
|
exec: (editor) => {
|
|
36452
36465
|
const iframe = editor.create.element('iframe');
|
|
36453
36466
|
Object.assign(iframe.style, {
|
|
@@ -36458,7 +36471,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36458
36471
|
height: 0,
|
|
36459
36472
|
border: 0
|
|
36460
36473
|
});
|
|
36461
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
36474
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
36462
36475
|
const afterFinishPrint = () => {
|
|
36463
36476
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
36464
36477
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -36476,7 +36489,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36476
36489
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
36477
36490
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
36478
36491
|
'"><head><title></title></head><style>' +
|
|
36479
|
-
(0,
|
|
36492
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
36480
36493
|
'</style><body></body></html>');
|
|
36481
36494
|
myWindow.document.close();
|
|
36482
36495
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -36514,11 +36527,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36514
36527
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
36515
36528
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
36516
36529
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
36517
|
-
/* harmony import */ var
|
|
36518
|
-
/* harmony import */ var
|
|
36519
|
-
/* harmony import */ var
|
|
36520
|
-
/* harmony import */ var
|
|
36521
|
-
/* harmony import */ var
|
|
36530
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
36531
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(37629);
|
|
36532
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
36533
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42687);
|
|
36534
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
36522
36535
|
/*!
|
|
36523
36536
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36524
36537
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36531,13 +36544,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36531
36544
|
|
|
36532
36545
|
|
|
36533
36546
|
|
|
36534
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
36535
|
-
|
|
36547
|
+
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()));
|
|
36548
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
36536
36549
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36537
36550
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
36538
36551
|
tooltip: 'Redo'
|
|
36539
36552
|
};
|
|
36540
|
-
|
|
36553
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
36541
36554
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36542
36555
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
36543
36556
|
tooltip: 'Undo'
|
|
@@ -37556,9 +37569,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37556
37569
|
|
|
37557
37570
|
"use strict";
|
|
37558
37571
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
37559
|
-
/* harmony import */ var
|
|
37560
|
-
/* harmony import */ var
|
|
37561
|
-
/* harmony import */ var
|
|
37572
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
37573
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98973);
|
|
37574
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
37562
37575
|
/*!
|
|
37563
37576
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37564
37577
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37568,14 +37581,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37568
37581
|
|
|
37569
37582
|
|
|
37570
37583
|
|
|
37571
|
-
|
|
37572
|
-
|
|
37584
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
37585
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
37573
37586
|
lazyIdleTimeout: 0,
|
|
37574
37587
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
37575
37588
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
37576
37589
|
};
|
|
37577
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
37578
|
-
|
|
37590
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
37591
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
37579
37592
|
tooltip: 'Find',
|
|
37580
37593
|
icon: 'search',
|
|
37581
37594
|
exec(jodit, _, { control }) {
|
|
@@ -39182,9 +39195,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39182
39195
|
"use strict";
|
|
39183
39196
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
39184
39197
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
39185
|
-
/* harmony import */ var
|
|
39186
|
-
/* harmony import */ var
|
|
39187
|
-
/* harmony import */ var
|
|
39198
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
39199
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58671);
|
|
39200
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
39188
39201
|
/*!
|
|
39189
39202
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39190
39203
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39194,9 +39207,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39194
39207
|
|
|
39195
39208
|
|
|
39196
39209
|
|
|
39197
|
-
|
|
39198
|
-
|
|
39199
|
-
|
|
39210
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
39211
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
39212
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
39200
39213
|
/**
|
|
39201
39214
|
* Show gutter
|
|
39202
39215
|
*/
|
|
@@ -39218,15 +39231,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
39218
39231
|
*/
|
|
39219
39232
|
highlightActiveLine: true
|
|
39220
39233
|
};
|
|
39221
|
-
|
|
39234
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
39222
39235
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
39223
39236
|
];
|
|
39224
|
-
|
|
39237
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
39225
39238
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
39226
39239
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
39227
39240
|
];
|
|
39228
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
39229
|
-
|
|
39241
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
39242
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
39230
39243
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39231
39244
|
exec: (editor) => {
|
|
39232
39245
|
editor.toggleMode();
|
|
@@ -40021,9 +40034,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40021
40034
|
|
|
40022
40035
|
"use strict";
|
|
40023
40036
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
40024
|
-
/* harmony import */ var
|
|
40025
|
-
/* harmony import */ var
|
|
40026
|
-
/* harmony import */ var
|
|
40037
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
40038
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80709);
|
|
40039
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40027
40040
|
/*!
|
|
40028
40041
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40029
40042
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40032,13 +40045,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40032
40045
|
|
|
40033
40046
|
|
|
40034
40047
|
|
|
40035
|
-
|
|
40036
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
40037
|
-
|
|
40048
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
40049
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40050
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
40038
40051
|
isActive(e) {
|
|
40039
40052
|
return e.o.spellcheck;
|
|
40040
40053
|
},
|
|
40041
|
-
icon: (
|
|
40054
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
40042
40055
|
name: 'spellcheck',
|
|
40043
40056
|
command: 'toggleSpellcheck',
|
|
40044
40057
|
tooltip: 'Spellcheck'
|
|
@@ -40416,9 +40429,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
40416
40429
|
|
|
40417
40430
|
"use strict";
|
|
40418
40431
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
40419
|
-
/* harmony import */ var
|
|
40420
|
-
/* harmony import */ var
|
|
40421
|
-
/* harmony import */ var
|
|
40432
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
40433
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3283);
|
|
40434
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40422
40435
|
/*!
|
|
40423
40436
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40424
40437
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40427,8 +40440,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
40427
40440
|
|
|
40428
40441
|
|
|
40429
40442
|
|
|
40430
|
-
|
|
40431
|
-
|
|
40443
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
40444
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
40432
40445
|
'!',
|
|
40433
40446
|
'"',
|
|
40434
40447
|
'#',
|
|
@@ -40640,8 +40653,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
40640
40653
|
'♦',
|
|
40641
40654
|
'≈'
|
|
40642
40655
|
];
|
|
40643
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
40644
|
-
|
|
40656
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40657
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
40645
40658
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
40646
40659
|
tooltip: 'Insert Special Character',
|
|
40647
40660
|
popup: (editor, current, close) => {
|
|
@@ -41233,9 +41246,9 @@ function findCell(editor, key) {
|
|
|
41233
41246
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
41234
41247
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71122);
|
|
41235
41248
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
41236
|
-
/* harmony import */ var
|
|
41237
|
-
/* harmony import */ var
|
|
41238
|
-
/* harmony import */ var
|
|
41249
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
41250
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35863);
|
|
41251
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
41239
41252
|
/*!
|
|
41240
41253
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41241
41254
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41247,12 +41260,12 @@ function findCell(editor, key) {
|
|
|
41247
41260
|
|
|
41248
41261
|
|
|
41249
41262
|
|
|
41250
|
-
|
|
41263
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
41251
41264
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
41252
41265
|
useExtraClassesOptions: false
|
|
41253
41266
|
};
|
|
41254
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
41255
|
-
|
|
41267
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
41268
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
41256
41269
|
data: {
|
|
41257
41270
|
cols: 10,
|
|
41258
41271
|
rows: 10,
|
|
@@ -41419,10 +41432,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
41419
41432
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64962);
|
|
41420
41433
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18716);
|
|
41421
41434
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
41422
|
-
/* harmony import */ var
|
|
41423
|
-
/* harmony import */ var
|
|
41424
|
-
/* harmony import */ var
|
|
41425
|
-
/* harmony import */ var
|
|
41435
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
41436
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
41437
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(46035);
|
|
41438
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
41426
41439
|
/*!
|
|
41427
41440
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41428
41441
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41435,8 +41448,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
41435
41448
|
|
|
41436
41449
|
|
|
41437
41450
|
|
|
41438
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
41439
|
-
|
|
41451
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
41452
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
41440
41453
|
popup: (editor, current, close) => {
|
|
41441
41454
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
41442
41455
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -41483,7 +41496,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
41483
41496
|
formCode.onSubmit(data => {
|
|
41484
41497
|
insertCode(data.code);
|
|
41485
41498
|
});
|
|
41486
|
-
return (0,
|
|
41499
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
41487
41500
|
},
|
|
41488
41501
|
tags: ['iframe'],
|
|
41489
41502
|
tooltip: 'Insert youtube/vimeo video'
|
|
@@ -42116,9 +42129,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42116
42129
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
42117
42130
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65564);
|
|
42118
42131
|
/* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34138);
|
|
42119
|
-
/* harmony import */ var
|
|
42120
|
-
/* harmony import */ var
|
|
42121
|
-
/* harmony import */ var
|
|
42132
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
42133
|
+
/* harmony import */ var _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75700);
|
|
42134
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56418);
|
|
42122
42135
|
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25511);
|
|
42123
42136
|
/*!
|
|
42124
42137
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -42136,7 +42149,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42136
42149
|
|
|
42137
42150
|
|
|
42138
42151
|
|
|
42139
|
-
|
|
42152
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.autocomplete = {
|
|
42140
42153
|
sources: [],
|
|
42141
42154
|
maxItems: 50,
|
|
42142
42155
|
isMatchedQuery: (query, value) => value.toLowerCase().indexOf(query.toLowerCase()) === 0,
|
|
@@ -42154,7 +42167,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
42154
42167
|
afterInit(jodit) {
|
|
42155
42168
|
this.popup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__/* .Popup */ .z(jodit);
|
|
42156
42169
|
this.popup.setMod('padding', false);
|
|
42157
|
-
this.list = new
|
|
42170
|
+
this.list = new _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__/* .Autocomplete */ .j(jodit);
|
|
42158
42171
|
this.popup.setContent(this.list.container);
|
|
42159
42172
|
jodit.e
|
|
42160
42173
|
.on('select.autocomplete', (item) => {
|
|
@@ -42165,7 +42178,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
42165
42178
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isNode(insertValue)) {
|
|
42166
42179
|
insertValue = jodit.createInside.fromHTML(insertValue);
|
|
42167
42180
|
}
|
|
42168
|
-
(0,
|
|
42181
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .replaceTextLeftOfCursorAfterSpace */ .s)(jodit.s.range, insertValue);
|
|
42169
42182
|
this.j.s.setCursorAfter(insertValue);
|
|
42170
42183
|
this.j.synchronizeValues();
|
|
42171
42184
|
this.popup.close();
|
|
@@ -42201,7 +42214,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
42201
42214
|
const range = this.j.s.sel?.rangeCount
|
|
42202
42215
|
? this.j.s.sel?.getRangeAt(0)
|
|
42203
42216
|
: null;
|
|
42204
|
-
const query = range && (0,
|
|
42217
|
+
const query = range && (0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .getTextLeftOfCursor */ .I)(range).split(' ').pop();
|
|
42205
42218
|
if (query && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(query).length) {
|
|
42206
42219
|
const result = await this.onAutoComplete(query);
|
|
42207
42220
|
if (result.length) {
|