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/es2018/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.18
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2443,7 +2443,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2443
2443
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2444
2444
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2445
2445
|
*/
|
|
2446
|
-
const APP_VERSION = "4.2.
|
|
2446
|
+
const APP_VERSION = "4.2.18";
|
|
2447
2447
|
// prettier-ignore
|
|
2448
2448
|
const ES = "es2018";
|
|
2449
2449
|
const IS_ES_MODERN = true;
|
|
@@ -8005,6 +8005,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
8005
8005
|
}
|
|
8006
8006
|
const script = jodit.c.element('script', {
|
|
8007
8007
|
type: 'text/javascript',
|
|
8008
|
+
crossorigin: 'anonymous',
|
|
8009
|
+
referrerpolicy: 'no-referrer',
|
|
8008
8010
|
async: true,
|
|
8009
8011
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .X)(url)
|
|
8010
8012
|
});
|
|
@@ -8245,9 +8247,9 @@ const completeUrl = (url) => {
|
|
|
8245
8247
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
8246
8248
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
8247
8249
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74197);
|
|
8250
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
|
|
8248
8251
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20368);
|
|
8249
|
-
/* harmony import */ var
|
|
8250
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
8252
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94183);
|
|
8251
8253
|
/*!
|
|
8252
8254
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8253
8255
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8295,7 +8297,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8295
8297
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
8296
8298
|
return options;
|
|
8297
8299
|
}
|
|
8298
|
-
const def =
|
|
8300
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
8299
8301
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
8300
8302
|
if (def.presets[options.preset] !== undefined) {
|
|
8301
8303
|
const preset = def.presets[options.preset];
|
|
@@ -8325,7 +8327,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8325
8327
|
return newOpt;
|
|
8326
8328
|
}
|
|
8327
8329
|
function ConfigFlatten(obj) {
|
|
8328
|
-
return (0,
|
|
8330
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
8329
8331
|
app[key] = obj[key];
|
|
8330
8332
|
return app;
|
|
8331
8333
|
}, {});
|
|
@@ -10289,9 +10291,9 @@ Plugin.requires = [];
|
|
|
10289
10291
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33442);
|
|
10290
10292
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
10291
10293
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24839);
|
|
10292
|
-
/* harmony import */ var
|
|
10294
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
10295
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91596);
|
|
10293
10296
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(85349);
|
|
10294
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
10295
10297
|
/*!
|
|
10296
10298
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10297
10299
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -10309,7 +10311,7 @@ class Ajax {
|
|
|
10309
10311
|
className() {
|
|
10310
10312
|
return 'Ajax';
|
|
10311
10313
|
}
|
|
10312
|
-
constructor(options, defaultAjaxOptions =
|
|
10314
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
10313
10315
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
10314
10316
|
this.__isFulfilled = false;
|
|
10315
10317
|
this.__activated = false;
|
|
@@ -15775,7 +15777,6 @@ function getControlType(button, controls) {
|
|
|
15775
15777
|
* @private
|
|
15776
15778
|
*/
|
|
15777
15779
|
function findControlType(path, controls) {
|
|
15778
|
-
var _a;
|
|
15779
15780
|
// eslint-disable-next-line prefer-const
|
|
15780
15781
|
let [namespaceOrKey, key] = path.split(/\./);
|
|
15781
15782
|
let store = controls;
|
|
@@ -15787,17 +15788,23 @@ function findControlType(path, controls) {
|
|
|
15787
15788
|
else {
|
|
15788
15789
|
key = namespaceOrKey;
|
|
15789
15790
|
}
|
|
15790
|
-
const list =
|
|
15791
|
+
// const list = store[key]?.list;
|
|
15791
15792
|
return store[key]
|
|
15792
15793
|
? {
|
|
15793
15794
|
name: key,
|
|
15794
|
-
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15795
|
-
list:
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
|
|
15799
|
-
|
|
15800
|
-
|
|
15795
|
+
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15796
|
+
// list: isArray(list)
|
|
15797
|
+
// ? (<Array<string>>list).reduce(
|
|
15798
|
+
// (
|
|
15799
|
+
// acc: IDictionary<string | number>,
|
|
15800
|
+
// k: string | number
|
|
15801
|
+
// ) => {
|
|
15802
|
+
// acc[String(k)] = k;
|
|
15803
|
+
// return acc;
|
|
15804
|
+
// },
|
|
15805
|
+
// {}
|
|
15806
|
+
// )
|
|
15807
|
+
// : list
|
|
15801
15808
|
}
|
|
15802
15809
|
: undefined;
|
|
15803
15810
|
}
|
|
@@ -15814,8 +15821,8 @@ function findControlType(path, controls) {
|
|
|
15814
15821
|
/* harmony export */ });
|
|
15815
15822
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55010);
|
|
15816
15823
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71122);
|
|
15817
|
-
/* harmony import */ var
|
|
15818
|
-
/* harmony import */ var
|
|
15824
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
15825
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68600);
|
|
15819
15826
|
/*!
|
|
15820
15827
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15821
15828
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15835,7 +15842,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15835
15842
|
const value = items[key] || {};
|
|
15836
15843
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15837
15844
|
});
|
|
15838
|
-
return elements.map(item => (0,
|
|
15845
|
+
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));
|
|
15839
15846
|
}
|
|
15840
15847
|
|
|
15841
15848
|
|
|
@@ -17024,8 +17031,8 @@ class CommitMode {
|
|
|
17024
17031
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
17025
17032
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49604);
|
|
17026
17033
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28190);
|
|
17027
|
-
/* harmony import */ var
|
|
17028
|
-
/* harmony import */ var
|
|
17034
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
17035
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(35102);
|
|
17029
17036
|
/*!
|
|
17030
17037
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
17031
17038
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -17044,7 +17051,7 @@ var Jodit_1;
|
|
|
17044
17051
|
|
|
17045
17052
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
17046
17053
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
17047
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
17054
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
17048
17055
|
/** @override */
|
|
17049
17056
|
className() {
|
|
17050
17057
|
return 'Jodit';
|
|
@@ -17091,7 +17098,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17091
17098
|
get defaultTimeout() {
|
|
17092
17099
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
17093
17100
|
? this.o.defaultTimeout
|
|
17094
|
-
:
|
|
17101
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17095
17102
|
}
|
|
17096
17103
|
/**
|
|
17097
17104
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -17117,10 +17124,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17117
17124
|
* Default settings
|
|
17118
17125
|
*/
|
|
17119
17126
|
static get defaultOptions() {
|
|
17120
|
-
return
|
|
17127
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
17121
17128
|
}
|
|
17122
17129
|
get createInside() {
|
|
17123
|
-
return new
|
|
17130
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
17124
17131
|
}
|
|
17125
17132
|
__setPlaceField(field, value) {
|
|
17126
17133
|
if (!this.currentPlace) {
|
|
@@ -17668,8 +17675,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17668
17675
|
const active = this.od.activeElement;
|
|
17669
17676
|
if (active &&
|
|
17670
17677
|
(active === this.iframe ||
|
|
17671
|
-
|
|
17672
|
-
|
|
17678
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
17679
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
17673
17680
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
17674
17681
|
}
|
|
17675
17682
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -17821,7 +17828,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17821
17828
|
}
|
|
17822
17829
|
/** @override **/
|
|
17823
17830
|
initOptions(options) {
|
|
17824
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17831
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
17825
17832
|
}
|
|
17826
17833
|
/** @override **/
|
|
17827
17834
|
initOwners() {
|
|
@@ -17866,7 +17873,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17866
17873
|
this.destruct();
|
|
17867
17874
|
throw e;
|
|
17868
17875
|
}
|
|
17869
|
-
this.setStatus(
|
|
17876
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17870
17877
|
this.id =
|
|
17871
17878
|
(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') ||
|
|
17872
17879
|
new Date().getTime().toString();
|
|
@@ -17878,7 +17885,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17878
17885
|
}
|
|
17879
17886
|
});
|
|
17880
17887
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17881
|
-
this.selection = new
|
|
17888
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17882
17889
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17883
17890
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17884
17891
|
if (this.isInDestruct) {
|
|
@@ -17902,7 +17909,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17902
17909
|
this.e.fire('afterInit', this);
|
|
17903
17910
|
}
|
|
17904
17911
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17905
|
-
this.setStatus(
|
|
17912
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17906
17913
|
this.e.fire('afterConstructor', this);
|
|
17907
17914
|
};
|
|
17908
17915
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17918,7 +17925,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17918
17925
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17919
17926
|
const name = attr.name;
|
|
17920
17927
|
let value = attr.value;
|
|
17921
|
-
if (
|
|
17928
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17922
17929
|
(!options || options[name] === undefined)) {
|
|
17923
17930
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17924
17931
|
value = value === '' || value === 'true';
|
|
@@ -17986,11 +17993,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17986
17993
|
element,
|
|
17987
17994
|
container,
|
|
17988
17995
|
workplace,
|
|
17989
|
-
statusbar: new
|
|
17996
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17990
17997
|
options: this.isReady
|
|
17991
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17998
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17992
17999
|
: this.options,
|
|
17993
|
-
history: new
|
|
18000
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17994
18001
|
editorWindow: this.ow
|
|
17995
18002
|
};
|
|
17996
18003
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -18081,7 +18088,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18081
18088
|
return;
|
|
18082
18089
|
}
|
|
18083
18090
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
18084
|
-
|
|
18091
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
18085
18092
|
}
|
|
18086
18093
|
addClassNames(this.o.editorClassName, this.editor);
|
|
18087
18094
|
if (this.o.style) {
|
|
@@ -18171,7 +18178,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18171
18178
|
if (this.isInDestruct) {
|
|
18172
18179
|
return;
|
|
18173
18180
|
}
|
|
18174
|
-
this.setStatus(
|
|
18181
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
18175
18182
|
this.__elementToPlace.clear();
|
|
18176
18183
|
this.storage.clear();
|
|
18177
18184
|
this.buffer.clear();
|
|
@@ -18212,17 +18219,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18212
18219
|
this.e.off(container);
|
|
18213
18220
|
this.e.off(element);
|
|
18214
18221
|
this.e.off(editor);
|
|
18215
|
-
|
|
18216
|
-
|
|
18222
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
18223
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
18217
18224
|
if (container !== element) {
|
|
18218
|
-
|
|
18225
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
18219
18226
|
}
|
|
18220
18227
|
Object.defineProperty(element, 'component', {
|
|
18221
18228
|
enumerable: false,
|
|
18222
18229
|
configurable: true,
|
|
18223
18230
|
value: null
|
|
18224
18231
|
});
|
|
18225
|
-
|
|
18232
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
18226
18233
|
// inline mode
|
|
18227
18234
|
if (container === element) {
|
|
18228
18235
|
element.innerHTML = buffer;
|
|
@@ -18244,7 +18251,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
18244
18251
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
18245
18252
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
18246
18253
|
Jodit.core = {
|
|
18247
|
-
Plugin:
|
|
18254
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
18248
18255
|
};
|
|
18249
18256
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
18250
18257
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -20523,16 +20530,16 @@ async function loadTree(fb) {
|
|
|
20523
20530
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
20524
20531
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
20525
20532
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
20526
|
-
/* harmony import */ var
|
|
20533
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91288);
|
|
20534
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83148);
|
|
20527
20535
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
|
|
20528
|
-
/* harmony import */ var
|
|
20529
|
-
/* harmony import */ var
|
|
20530
|
-
/* harmony import */ var
|
|
20531
|
-
/* harmony import */ var
|
|
20532
|
-
/* harmony import */ var
|
|
20533
|
-
/* harmony import */ var
|
|
20534
|
-
/* harmony import */ var
|
|
20535
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
20536
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(64164);
|
|
20537
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50067);
|
|
20538
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(25430);
|
|
20539
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34255);
|
|
20540
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(18714);
|
|
20541
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(24538);
|
|
20542
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96243);
|
|
20536
20543
|
/*!
|
|
20537
20544
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20538
20545
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20566,7 +20573,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20566
20573
|
return 'FileBrowser';
|
|
20567
20574
|
}
|
|
20568
20575
|
get dataProvider() {
|
|
20569
|
-
return (0,
|
|
20576
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
20570
20577
|
}
|
|
20571
20578
|
// eslint-disable-next-line no-unused-vars
|
|
20572
20579
|
onSelect(callback) {
|
|
@@ -20682,7 +20689,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20682
20689
|
this.__updateToolbarButtons();
|
|
20683
20690
|
this._dialog.open(this.browser, header);
|
|
20684
20691
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20685
|
-
(0,
|
|
20692
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
20686
20693
|
.then(resolve, reject)
|
|
20687
20694
|
.finally(() => {
|
|
20688
20695
|
var _a;
|
|
@@ -20719,7 +20726,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20719
20726
|
}
|
|
20720
20727
|
initUploader(editor) {
|
|
20721
20728
|
var _a;
|
|
20722
|
-
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20729
|
+
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
20723
20730
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
20724
20731
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20725
20732
|
self.uploader
|
|
@@ -20739,11 +20746,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20739
20746
|
super(options);
|
|
20740
20747
|
this.browser = this.c.div(this.componentName);
|
|
20741
20748
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20742
|
-
this.tree = new
|
|
20743
|
-
this.files = new
|
|
20749
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
20750
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
20744
20751
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
20745
20752
|
currentPath: '',
|
|
20746
|
-
currentSource:
|
|
20753
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20747
20754
|
currentBaseUrl: '',
|
|
20748
20755
|
activeElements: [],
|
|
20749
20756
|
elements: [],
|
|
@@ -20773,7 +20780,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20773
20780
|
this.__prevButtons = [];
|
|
20774
20781
|
this.attachEvents(options);
|
|
20775
20782
|
const self = this;
|
|
20776
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20783
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
20777
20784
|
self.browser.component = this;
|
|
20778
20785
|
self.container = self.browser;
|
|
20779
20786
|
if (self.o.showFoldersPanel) {
|
|
@@ -20781,9 +20788,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20781
20788
|
}
|
|
20782
20789
|
self.browser.appendChild(self.files.container);
|
|
20783
20790
|
self.browser.appendChild(self.status_line);
|
|
20784
|
-
|
|
20785
|
-
|
|
20786
|
-
|
|
20791
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
20792
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
20793
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
20787
20794
|
const keys = [
|
|
20788
20795
|
'getLocalFileByUrl',
|
|
20789
20796
|
'crop',
|
|
@@ -21455,10 +21462,10 @@ class Command {
|
|
|
21455
21462
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
21456
21463
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
21457
21464
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53557);
|
|
21465
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
21458
21466
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22180);
|
|
21459
|
-
/* harmony import */ var
|
|
21467
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(801);
|
|
21460
21468
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98189);
|
|
21461
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
21462
21469
|
/*!
|
|
21463
21470
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21464
21471
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21471,7 +21478,7 @@ class Command {
|
|
|
21471
21478
|
|
|
21472
21479
|
|
|
21473
21480
|
|
|
21474
|
-
|
|
21481
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
21475
21482
|
enable: true,
|
|
21476
21483
|
maxHistoryLength: Infinity,
|
|
21477
21484
|
timeout: 1000
|
|
@@ -21522,7 +21529,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21522
21529
|
set startValue(value) {
|
|
21523
21530
|
this.__startValue = value;
|
|
21524
21531
|
}
|
|
21525
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
21532
|
+
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)) {
|
|
21526
21533
|
super(editor);
|
|
21527
21534
|
this.updateTick = 0;
|
|
21528
21535
|
this.__stack = stack;
|
|
@@ -21585,7 +21592,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21585
21592
|
*/
|
|
21586
21593
|
updateStack(replace = false) {
|
|
21587
21594
|
const newValue = this.snapshot.make();
|
|
21588
|
-
if (!
|
|
21595
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
21589
21596
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
21590
21597
|
if (replace) {
|
|
21591
21598
|
const command = this.__stack.current();
|
|
@@ -21919,11 +21926,11 @@ class Stack {
|
|
|
21919
21926
|
|
|
21920
21927
|
"use strict";
|
|
21921
21928
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
21922
|
-
/* harmony import */ var
|
|
21923
|
-
/* harmony import */ var
|
|
21924
|
-
/* harmony import */ var
|
|
21925
|
-
/* harmony import */ var
|
|
21926
|
-
/* harmony import */ var
|
|
21929
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
21930
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(83904);
|
|
21931
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21932
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15582);
|
|
21933
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21927
21934
|
/*!
|
|
21928
21935
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21929
21936
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21933,7 +21940,7 @@ class Stack {
|
|
|
21933
21940
|
|
|
21934
21941
|
|
|
21935
21942
|
|
|
21936
|
-
|
|
21943
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21937
21944
|
min_width: 20,
|
|
21938
21945
|
min_height: 20,
|
|
21939
21946
|
closeAfterSave: false,
|
|
@@ -21948,7 +21955,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21948
21955
|
cropDefaultWidth: '70%',
|
|
21949
21956
|
cropDefaultHeight: '70%'
|
|
21950
21957
|
};
|
|
21951
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21958
|
+
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()));
|
|
21952
21959
|
|
|
21953
21960
|
|
|
21954
21961
|
/***/ }),
|
|
@@ -21967,9 +21974,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21967
21974
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33465);
|
|
21968
21975
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
21969
21976
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(64962);
|
|
21970
|
-
/* harmony import */ var
|
|
21971
|
-
/* harmony import */ var
|
|
21972
|
-
/* harmony import */ var
|
|
21977
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
21978
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15546);
|
|
21979
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73898);
|
|
21973
21980
|
/*!
|
|
21974
21981
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21975
21982
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22429,7 +22436,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22429
22436
|
this.options =
|
|
22430
22437
|
editor && editor.o && editor.o.imageeditor
|
|
22431
22438
|
? editor.o.imageeditor
|
|
22432
|
-
:
|
|
22439
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
22433
22440
|
const o = this.options;
|
|
22434
22441
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
22435
22442
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -22439,7 +22446,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22439
22446
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
22440
22447
|
};
|
|
22441
22448
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
22442
|
-
this.editor = (0,
|
|
22449
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
22443
22450
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
22444
22451
|
this.resize_box = resizeBox;
|
|
22445
22452
|
this.crop_box = cropBox;
|
|
@@ -23862,7 +23869,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23862
23869
|
}
|
|
23863
23870
|
createContainer() {
|
|
23864
23871
|
const cn = this.componentName;
|
|
23865
|
-
const container = this.j.c.span(cn)
|
|
23872
|
+
const container = this.j.c.span(cn);
|
|
23873
|
+
const button = super.createContainer();
|
|
23866
23874
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23867
23875
|
button.classList.remove(cn);
|
|
23868
23876
|
button.classList.add(cn + '__button');
|
|
@@ -24259,8 +24267,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24259
24267
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24260
24268
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
24261
24269
|
/* harmony export */ });
|
|
24262
|
-
/* harmony import */ var
|
|
24270
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
24263
24271
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53557);
|
|
24272
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47903);
|
|
24264
24273
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
24265
24274
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72463);
|
|
24266
24275
|
/*!
|
|
@@ -24273,6 +24282,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24273
24282
|
|
|
24274
24283
|
|
|
24275
24284
|
|
|
24285
|
+
|
|
24276
24286
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
24277
24287
|
className() {
|
|
24278
24288
|
return 'ToolbarSelect';
|
|
@@ -24291,13 +24301,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
24291
24301
|
const keys = Object.keys(list);
|
|
24292
24302
|
key = keys[0];
|
|
24293
24303
|
}
|
|
24294
|
-
const text = (list[key.toString()] || key).toString();
|
|
24304
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
24295
24305
|
this.state.text =
|
|
24296
24306
|
(_c = (_b = (_a = this.control).textTemplate) === null || _b === void 0 ? void 0 : _b.call(_a, this.jodit, text)) !== null && _c !== void 0 ? _c : text;
|
|
24297
24307
|
}
|
|
24298
24308
|
}
|
|
24299
24309
|
};
|
|
24300
|
-
ToolbarSelect = (0,
|
|
24310
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24301
24311
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
24302
24312
|
], ToolbarSelect);
|
|
24303
24313
|
|
|
@@ -24428,7 +24438,7 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24428
24438
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
24429
24439
|
], ToolbarCollection.prototype, "__immediateUpdate", null);
|
|
24430
24440
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24431
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)()
|
|
24441
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)(ctx => ctx.j.defaultTimeout, true)
|
|
24432
24442
|
], ToolbarCollection.prototype, "update", null);
|
|
24433
24443
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24434
24444
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.hook)('ready')
|
|
@@ -25130,9 +25140,9 @@ function send(uploader, data) {
|
|
|
25130
25140
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
25131
25141
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
25132
25142
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25133
|
-
/* harmony import */ var
|
|
25134
|
-
/* harmony import */ var
|
|
25135
|
-
/* harmony import */ var
|
|
25143
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
25144
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20431);
|
|
25145
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50999);
|
|
25136
25146
|
/*!
|
|
25137
25147
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25138
25148
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25204,14 +25214,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25204
25214
|
}
|
|
25205
25215
|
};
|
|
25206
25216
|
// send data on server
|
|
25207
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
25208
|
-
(0,
|
|
25217
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
25218
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25209
25219
|
return false;
|
|
25210
25220
|
}
|
|
25211
25221
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
25212
|
-
return (0,
|
|
25222
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
25213
25223
|
}
|
|
25214
|
-
if ((0,
|
|
25224
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
25215
25225
|
const { items } = cData;
|
|
25216
25226
|
for (i = 0; i < items.length; i += 1) {
|
|
25217
25227
|
if (items[i].kind === 'file' &&
|
|
@@ -25222,7 +25232,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25222
25232
|
extension = mime[1]
|
|
25223
25233
|
? mime[1].toLowerCase()
|
|
25224
25234
|
: '';
|
|
25225
|
-
(0,
|
|
25235
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
25226
25236
|
}
|
|
25227
25237
|
e.preventDefault();
|
|
25228
25238
|
break;
|
|
@@ -25245,30 +25255,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25245
25255
|
e.preventDefault();
|
|
25246
25256
|
})
|
|
25247
25257
|
.on(form, 'dragover', (event) => {
|
|
25248
|
-
if ((0,
|
|
25249
|
-
(0,
|
|
25258
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
25259
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
25250
25260
|
form.classList.add('jodit_drag_hover');
|
|
25251
25261
|
event.preventDefault();
|
|
25252
25262
|
}
|
|
25253
25263
|
})
|
|
25254
25264
|
.on(form, 'dragend dragleave', (event) => {
|
|
25255
25265
|
form.classList.remove('jodit_drag_hover');
|
|
25256
|
-
if ((0,
|
|
25266
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25257
25267
|
event.preventDefault();
|
|
25258
25268
|
}
|
|
25259
25269
|
})
|
|
25260
25270
|
.on(form, 'drop', (event) => {
|
|
25261
25271
|
form.classList.remove('jodit_drag_hover');
|
|
25262
|
-
if ((0,
|
|
25272
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25263
25273
|
event.preventDefault();
|
|
25264
25274
|
event.stopImmediatePropagation();
|
|
25265
|
-
(0,
|
|
25275
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25266
25276
|
}
|
|
25267
25277
|
});
|
|
25268
25278
|
const inputFile = form.querySelector('input[type=file]');
|
|
25269
25279
|
if (inputFile) {
|
|
25270
25280
|
self.j.e.on(inputFile, 'change', () => {
|
|
25271
|
-
(0,
|
|
25281
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
25272
25282
|
.then(() => {
|
|
25273
25283
|
inputFile.value = '';
|
|
25274
25284
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -25288,7 +25298,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25288
25298
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
25289
25299
|
? handlerError
|
|
25290
25300
|
: o.defaultHandlerError;
|
|
25291
|
-
(0,
|
|
25301
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
25292
25302
|
action: 'fileUploadRemote',
|
|
25293
25303
|
url
|
|
25294
25304
|
})
|
|
@@ -25308,11 +25318,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25308
25318
|
super(editor);
|
|
25309
25319
|
this.path = '';
|
|
25310
25320
|
this.source = 'default';
|
|
25311
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
25321
|
+
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 : {}));
|
|
25312
25322
|
}
|
|
25313
25323
|
destruct() {
|
|
25314
25324
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
25315
|
-
const instances =
|
|
25325
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
25316
25326
|
if (instances) {
|
|
25317
25327
|
instances.forEach(ajax => {
|
|
25318
25328
|
try {
|
|
@@ -25741,9 +25751,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25741
25751
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25742
25752
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25743
25753
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
25744
|
-
/* harmony import */ var
|
|
25745
|
-
/* harmony import */ var
|
|
25746
|
-
/* harmony import */ var
|
|
25754
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
25755
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(46891);
|
|
25756
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
25747
25757
|
/*!
|
|
25748
25758
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25749
25759
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25757,7 +25767,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25757
25767
|
|
|
25758
25768
|
|
|
25759
25769
|
|
|
25760
|
-
|
|
25770
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
25761
25771
|
exec: (editor) => {
|
|
25762
25772
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
25763
25773
|
dialog
|
|
@@ -25793,7 +25803,7 @@ function about(editor) {
|
|
|
25793
25803
|
});
|
|
25794
25804
|
}
|
|
25795
25805
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
25796
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
25806
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
25797
25807
|
|
|
25798
25808
|
|
|
25799
25809
|
/***/ }),
|
|
@@ -26036,9 +26046,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
26036
26046
|
|
|
26037
26047
|
"use strict";
|
|
26038
26048
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
26039
|
-
/* harmony import */ var
|
|
26040
|
-
/* harmony import */ var
|
|
26041
|
-
/* harmony import */ var
|
|
26049
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
26050
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3882);
|
|
26051
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
26042
26052
|
/*!
|
|
26043
26053
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26044
26054
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26047,9 +26057,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
26047
26057
|
|
|
26048
26058
|
|
|
26049
26059
|
|
|
26050
|
-
|
|
26051
|
-
|
|
26052
|
-
|
|
26060
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
26061
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
26062
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
26053
26063
|
'table',
|
|
26054
26064
|
'iframe',
|
|
26055
26065
|
'img',
|
|
@@ -26057,8 +26067,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
26057
26067
|
'pre',
|
|
26058
26068
|
'jodit'
|
|
26059
26069
|
];
|
|
26060
|
-
|
|
26061
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
26070
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
26071
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26062
26072
|
|
|
26063
26073
|
|
|
26064
26074
|
/***/ }),
|
|
@@ -26197,11 +26207,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
26197
26207
|
|
|
26198
26208
|
"use strict";
|
|
26199
26209
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
26200
|
-
/* harmony import */ var
|
|
26201
|
-
/* harmony import */ var
|
|
26202
|
-
/* harmony import */ var
|
|
26203
|
-
/* harmony import */ var
|
|
26204
|
-
/* harmony import */ var
|
|
26210
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
26211
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15627);
|
|
26212
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
26213
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41500);
|
|
26214
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
26205
26215
|
/*!
|
|
26206
26216
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26207
26217
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26242,10 +26252,10 @@ const aiAssistantDefaults = {
|
|
|
26242
26252
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
26243
26253
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
26244
26254
|
};
|
|
26245
|
-
|
|
26246
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
26247
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
26248
|
-
|
|
26255
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
26256
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
26257
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26258
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
26249
26259
|
isDisabled(editor) {
|
|
26250
26260
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26251
26261
|
},
|
|
@@ -26283,7 +26293,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
26283
26293
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
26284
26294
|
}
|
|
26285
26295
|
};
|
|
26286
|
-
|
|
26296
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
26287
26297
|
isDisabled(editor) {
|
|
26288
26298
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26289
26299
|
},
|
|
@@ -26922,6 +26932,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26922
26932
|
}
|
|
26923
26933
|
if ((_a = sibling.nodeValue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
26924
26934
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26935
|
+
if (!sibling.nodeValue.length &&
|
|
26936
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26937
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26938
|
+
}
|
|
26925
26939
|
}
|
|
26926
26940
|
if (!((_b = sibling.nodeValue) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
26927
26941
|
removeNeighbor = sibling;
|
|
@@ -27476,20 +27490,20 @@ function getMoveFilter(jodit) {
|
|
|
27476
27490
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51431);
|
|
27477
27491
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
27478
27492
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
27479
|
-
/* harmony import */ var
|
|
27480
|
-
/* harmony import */ var
|
|
27481
|
-
/* harmony import */ var
|
|
27482
|
-
/* harmony import */ var
|
|
27483
|
-
/* harmony import */ var
|
|
27484
|
-
/* harmony import */ var
|
|
27485
|
-
/* harmony import */ var
|
|
27486
|
-
/* harmony import */ var
|
|
27487
|
-
/* harmony import */ var
|
|
27488
|
-
/* harmony import */ var
|
|
27489
|
-
/* harmony import */ var
|
|
27490
|
-
/* harmony import */ var
|
|
27491
|
-
/* harmony import */ var
|
|
27492
|
-
/* harmony import */ var
|
|
27493
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
27494
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94673);
|
|
27495
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39586);
|
|
27496
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27497
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49463);
|
|
27498
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27499
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(10292);
|
|
27500
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
27501
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71718);
|
|
27502
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
27503
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48397);
|
|
27504
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
27505
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(46781);
|
|
27506
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
27493
27507
|
/*!
|
|
27494
27508
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27495
27509
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27512,7 +27526,7 @@ function getMoveFilter(jodit) {
|
|
|
27512
27526
|
*/
|
|
27513
27527
|
function bold(editor) {
|
|
27514
27528
|
const callBack = (command) => {
|
|
27515
|
-
const control =
|
|
27529
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
27516
27530
|
...control.css
|
|
27517
27531
|
};
|
|
27518
27532
|
let cssRules;
|
|
@@ -27566,12 +27580,12 @@ function bold(editor) {
|
|
|
27566
27580
|
});
|
|
27567
27581
|
}
|
|
27568
27582
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
27569
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
27570
|
-
.set('italic', (
|
|
27571
|
-
.set('strikethrough', (
|
|
27572
|
-
.set('subscript', (
|
|
27573
|
-
.set('superscript', (
|
|
27574
|
-
.set('underline', (
|
|
27583
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
27584
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
27585
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
27586
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
27587
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
27588
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
27575
27589
|
|
|
27576
27590
|
|
|
27577
27591
|
/***/ }),
|
|
@@ -27641,9 +27655,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27641
27655
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94183);
|
|
27642
27656
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65564);
|
|
27643
27657
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
27644
|
-
/* harmony import */ var
|
|
27645
|
-
/* harmony import */ var
|
|
27646
|
-
/* harmony import */ var
|
|
27658
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
27659
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14835);
|
|
27660
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27647
27661
|
/*!
|
|
27648
27662
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27649
27663
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27656,7 +27670,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27656
27670
|
|
|
27657
27671
|
|
|
27658
27672
|
|
|
27659
|
-
|
|
27673
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
27660
27674
|
command: 'applyClassName',
|
|
27661
27675
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
27662
27676
|
list: [
|
|
@@ -27744,7 +27758,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
27744
27758
|
beforeDestruct() { }
|
|
27745
27759
|
}
|
|
27746
27760
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
27747
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
27761
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
27748
27762
|
|
|
27749
27763
|
|
|
27750
27764
|
/***/ }),
|
|
@@ -27883,9 +27897,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27883
27897
|
|
|
27884
27898
|
"use strict";
|
|
27885
27899
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
27886
|
-
/* harmony import */ var
|
|
27887
|
-
/* harmony import */ var
|
|
27888
|
-
/* harmony import */ var
|
|
27900
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
27901
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(556);
|
|
27902
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27889
27903
|
/*!
|
|
27890
27904
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27891
27905
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27894,7 +27908,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27894
27908
|
|
|
27895
27909
|
|
|
27896
27910
|
|
|
27897
|
-
|
|
27911
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27898
27912
|
timeout: 300,
|
|
27899
27913
|
removeEmptyElements: true,
|
|
27900
27914
|
fillEmptyParagraph: true,
|
|
@@ -27910,11 +27924,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27910
27924
|
safeJavaScriptLink: true,
|
|
27911
27925
|
disableCleanFilter: null
|
|
27912
27926
|
};
|
|
27913
|
-
|
|
27927
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27914
27928
|
command: 'removeFormat',
|
|
27915
27929
|
tooltip: 'Clear Formatting'
|
|
27916
27930
|
};
|
|
27917
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27931
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27918
27932
|
|
|
27919
27933
|
|
|
27920
27934
|
/***/ }),
|
|
@@ -28583,15 +28597,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28583
28597
|
|
|
28584
28598
|
"use strict";
|
|
28585
28599
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
28586
|
-
/* harmony import */ var
|
|
28587
|
-
/* harmony import */ var
|
|
28588
|
-
/* harmony import */ var
|
|
28589
|
-
/* harmony import */ var
|
|
28590
|
-
/* harmony import */ var
|
|
28591
|
-
/* harmony import */ var
|
|
28592
|
-
/* harmony import */ var
|
|
28593
|
-
/* harmony import */ var
|
|
28594
|
-
/* harmony import */ var
|
|
28600
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
28601
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65);
|
|
28602
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
28603
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4594);
|
|
28604
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
28605
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63859);
|
|
28606
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28607
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38808);
|
|
28608
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28595
28609
|
/*!
|
|
28596
28610
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28597
28611
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28603,25 +28617,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28603
28617
|
|
|
28604
28618
|
|
|
28605
28619
|
|
|
28606
|
-
|
|
28620
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
28607
28621
|
command: 'cut',
|
|
28608
28622
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28609
28623
|
tooltip: 'Cut selection'
|
|
28610
28624
|
};
|
|
28611
|
-
|
|
28625
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
28612
28626
|
command: 'copy',
|
|
28613
28627
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28614
28628
|
tooltip: 'Copy selection'
|
|
28615
28629
|
};
|
|
28616
|
-
|
|
28630
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
28617
28631
|
icon: 'select-all',
|
|
28618
28632
|
command: 'selectall',
|
|
28619
28633
|
tooltip: 'Select all'
|
|
28620
28634
|
};
|
|
28621
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
28622
|
-
.set('cut', (
|
|
28623
|
-
.set('paste', (
|
|
28624
|
-
.set('select-all', (
|
|
28635
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
28636
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
28637
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
28638
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28625
28639
|
|
|
28626
28640
|
|
|
28627
28641
|
/***/ }),
|
|
@@ -28693,10 +28707,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28693
28707
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
28694
28708
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
28695
28709
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28696
|
-
/* harmony import */ var
|
|
28697
|
-
/* harmony import */ var
|
|
28698
|
-
/* harmony import */ var
|
|
28699
|
-
/* harmony import */ var
|
|
28710
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28711
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21391);
|
|
28712
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(55370);
|
|
28713
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28700
28714
|
/*!
|
|
28701
28715
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28702
28716
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28708,8 +28722,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28708
28722
|
|
|
28709
28723
|
|
|
28710
28724
|
|
|
28711
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
28712
|
-
|
|
28725
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28726
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
28713
28727
|
isVisible: (editor) => {
|
|
28714
28728
|
return !editor.o.disablePlugins.includes('color');
|
|
28715
28729
|
},
|
|
@@ -28722,7 +28736,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28722
28736
|
if (!selected.length) {
|
|
28723
28737
|
return false;
|
|
28724
28738
|
}
|
|
28725
|
-
const makeColorPicker = (key) => (0,
|
|
28739
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28726
28740
|
selected.forEach(cell => {
|
|
28727
28741
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
28728
28742
|
});
|
|
@@ -28731,7 +28745,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28731
28745
|
close();
|
|
28732
28746
|
editor.unlock();
|
|
28733
28747
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
28734
|
-
return (0,
|
|
28748
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
28735
28749
|
{
|
|
28736
28750
|
name: 'Background',
|
|
28737
28751
|
content: makeColorPicker('background-color')
|
|
@@ -28742,7 +28756,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28742
28756
|
},
|
|
28743
28757
|
tooltip: 'Background'
|
|
28744
28758
|
};
|
|
28745
|
-
|
|
28759
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
28746
28760
|
isVisible: (editor) => {
|
|
28747
28761
|
return !editor.o.disablePlugins.includes('color');
|
|
28748
28762
|
},
|
|
@@ -28790,7 +28804,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28790
28804
|
}
|
|
28791
28805
|
}, editor.editor);
|
|
28792
28806
|
}
|
|
28793
|
-
const backgroundTag = (0,
|
|
28807
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28794
28808
|
if (!currentElement) {
|
|
28795
28809
|
editor.execCommand('background', false, value);
|
|
28796
28810
|
}
|
|
@@ -28801,7 +28815,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28801
28815
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
28802
28816
|
close();
|
|
28803
28817
|
}, bg_color);
|
|
28804
|
-
const colorTab = (0,
|
|
28818
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28805
28819
|
if (!currentElement) {
|
|
28806
28820
|
editor.execCommand('forecolor', false, value);
|
|
28807
28821
|
}
|
|
@@ -28825,7 +28839,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28825
28839
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
28826
28840
|
tabs = tabs.reverse();
|
|
28827
28841
|
}
|
|
28828
|
-
return (0,
|
|
28842
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
28829
28843
|
},
|
|
28830
28844
|
exec(jodit, current, { button }) {
|
|
28831
28845
|
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');
|
|
@@ -28864,10 +28878,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28864
28878
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
28865
28879
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
28866
28880
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28867
|
-
/* harmony import */ var
|
|
28868
|
-
/* harmony import */ var
|
|
28869
|
-
/* harmony import */ var
|
|
28870
|
-
/* harmony import */ var
|
|
28881
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28882
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72131);
|
|
28883
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28884
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18489);
|
|
28871
28885
|
/*!
|
|
28872
28886
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28873
28887
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28925,7 +28939,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28925
28939
|
}
|
|
28926
28940
|
return result;
|
|
28927
28941
|
};
|
|
28928
|
-
|
|
28942
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28929
28943
|
exec: (editor, current, { button }) => {
|
|
28930
28944
|
if (!current) {
|
|
28931
28945
|
return;
|
|
@@ -28975,10 +28989,10 @@ function copyFormat(editor) {
|
|
|
28975
28989
|
name: 'copyformat',
|
|
28976
28990
|
group: 'clipboard'
|
|
28977
28991
|
});
|
|
28978
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28992
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28979
28993
|
}
|
|
28980
28994
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28981
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28995
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28982
28996
|
|
|
28983
28997
|
|
|
28984
28998
|
/***/ }),
|
|
@@ -30788,8 +30802,8 @@ function wrapText(fake, jodit) {
|
|
|
30788
30802
|
/* unused harmony export file */
|
|
30789
30803
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
30790
30804
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
30791
|
-
/* harmony import */ var
|
|
30792
|
-
/* harmony import */ var
|
|
30805
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30806
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21391);
|
|
30793
30807
|
/*!
|
|
30794
30808
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30795
30809
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30799,7 +30813,7 @@ function wrapText(fake, jodit) {
|
|
|
30799
30813
|
|
|
30800
30814
|
|
|
30801
30815
|
|
|
30802
|
-
|
|
30816
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
30803
30817
|
popup: (editor, current, close) => {
|
|
30804
30818
|
const insert = (url, title = '') => {
|
|
30805
30819
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -30812,7 +30826,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
30812
30826
|
? current
|
|
30813
30827
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
30814
30828
|
}
|
|
30815
|
-
return (0,
|
|
30829
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
30816
30830
|
filebrowser: (data) => {
|
|
30817
30831
|
data.files &&
|
|
30818
30832
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30935,11 +30949,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30935
30949
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22718);
|
|
30936
30950
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
30937
30951
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
30938
|
-
/* harmony import */ var
|
|
30939
|
-
/* harmony import */ var
|
|
30940
|
-
/* harmony import */ var
|
|
30941
|
-
/* harmony import */ var
|
|
30942
|
-
/* harmony import */ var
|
|
30952
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
30953
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78602);
|
|
30954
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30955
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84413);
|
|
30956
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30943
30957
|
/*!
|
|
30944
30958
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30945
30959
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30955,9 +30969,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30955
30969
|
/**
|
|
30956
30970
|
* Default font-size points
|
|
30957
30971
|
*/
|
|
30958
|
-
|
|
30959
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30960
|
-
|
|
30972
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30973
|
+
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()));
|
|
30974
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30961
30975
|
command: 'fontsize',
|
|
30962
30976
|
data: {
|
|
30963
30977
|
cssRule: 'font-size',
|
|
@@ -31016,8 +31030,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
31016
31030
|
return keySet.has(normalize(value.toString()));
|
|
31017
31031
|
}
|
|
31018
31032
|
};
|
|
31019
|
-
|
|
31020
|
-
...
|
|
31033
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
31034
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
31021
31035
|
command: 'fontname',
|
|
31022
31036
|
textTemplate: (j, value) => {
|
|
31023
31037
|
const [first] = value.split(',');
|
|
@@ -31127,11 +31141,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31127
31141
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31128
31142
|
|
|
31129
31143
|
"use strict";
|
|
31130
|
-
/* harmony import */ var
|
|
31144
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
31145
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
31131
31146
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31132
|
-
/* harmony import */ var
|
|
31133
|
-
/* harmony import */ var
|
|
31134
|
-
/* harmony import */ var
|
|
31147
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31148
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30820);
|
|
31149
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31135
31150
|
/*!
|
|
31136
31151
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31137
31152
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31141,13 +31156,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31141
31156
|
|
|
31142
31157
|
|
|
31143
31158
|
|
|
31144
|
-
|
|
31145
|
-
|
|
31159
|
+
|
|
31160
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
31161
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
31146
31162
|
command: 'formatBlock',
|
|
31147
31163
|
value(editor, button) {
|
|
31148
31164
|
var _a, _b;
|
|
31149
31165
|
const control = button.control, current = editor.s.current();
|
|
31150
|
-
const currentBox =
|
|
31166
|
+
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);
|
|
31151
31167
|
return (_a = currentBox === null || currentBox === void 0 ? void 0 : currentBox.nodeName.toLowerCase()) !== null && _a !== void 0 ? _a : (_b = control.data) === null || _b === void 0 ? void 0 : _b.currentValue;
|
|
31152
31168
|
},
|
|
31153
31169
|
update(editor, button) {
|
|
@@ -31156,7 +31172,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31156
31172
|
return false;
|
|
31157
31173
|
}
|
|
31158
31174
|
const currentValue = button.state.value, list = control.list;
|
|
31159
|
-
if (list && list[currentValue.toString()]) {
|
|
31175
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
31160
31176
|
if (editor.o.textIcons) {
|
|
31161
31177
|
button.state.text = list[currentValue.toString()].toString();
|
|
31162
31178
|
}
|
|
@@ -31180,9 +31196,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31180
31196
|
return Boolean(button.state.value === ((_b = (_a = button.control) === null || _a === void 0 ? void 0 : _a.args) === null || _b === void 0 ? void 0 : _b[0]));
|
|
31181
31197
|
},
|
|
31182
31198
|
isActive: (editor, button) => {
|
|
31183
|
-
var _a;
|
|
31184
31199
|
return (button.state.value !== editor.o.enter &&
|
|
31185
|
-
|
|
31200
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
31201
|
+
Boolean(button.control.list[button.state.value]));
|
|
31186
31202
|
},
|
|
31187
31203
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
31188
31204
|
tooltip: 'Insert format block'
|
|
@@ -31232,11 +31248,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31232
31248
|
"use strict";
|
|
31233
31249
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
31234
31250
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31235
|
-
/* harmony import */ var
|
|
31236
|
-
/* harmony import */ var
|
|
31237
|
-
/* harmony import */ var
|
|
31238
|
-
/* harmony import */ var
|
|
31239
|
-
/* harmony import */ var
|
|
31251
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31252
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(88708);
|
|
31253
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31254
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10099);
|
|
31255
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31240
31256
|
/*!
|
|
31241
31257
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31242
31258
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31248,10 +31264,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31248
31264
|
|
|
31249
31265
|
|
|
31250
31266
|
|
|
31251
|
-
|
|
31252
|
-
|
|
31253
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
31254
|
-
|
|
31267
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
31268
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
31269
|
+
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()));
|
|
31270
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
31255
31271
|
exec: (editor) => {
|
|
31256
31272
|
editor.toggleFullSize();
|
|
31257
31273
|
},
|
|
@@ -31392,19 +31408,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
31392
31408
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31393
31409
|
*/
|
|
31394
31410
|
|
|
31395
|
-
/**
|
|
31396
|
-
* You can redefine hotkeys for some command
|
|
31397
|
-
*
|
|
31398
|
-
* @example
|
|
31399
|
-
* ```js
|
|
31400
|
-
* var jodit = Jodit.make('#editor', {
|
|
31401
|
-
* commandToHotkeys: {
|
|
31402
|
-
* bold: 'ctrl+shift+b',
|
|
31403
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
31404
|
-
* }
|
|
31405
|
-
* })
|
|
31406
|
-
* ```
|
|
31407
|
-
*/
|
|
31408
31411
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
31409
31412
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
31410
31413
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -31579,9 +31582,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31579
31582
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
31580
31583
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
31581
31584
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
31582
|
-
/* harmony import */ var
|
|
31583
|
-
/* harmony import */ var
|
|
31584
|
-
/* harmony import */ var
|
|
31585
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
31586
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(75241);
|
|
31587
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31585
31588
|
/*!
|
|
31586
31589
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31587
31590
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31592,8 +31595,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31592
31595
|
|
|
31593
31596
|
|
|
31594
31597
|
|
|
31595
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
31596
|
-
|
|
31598
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
31599
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
31597
31600
|
command: 'insertHorizontalRule',
|
|
31598
31601
|
tags: ['hr'],
|
|
31599
31602
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -32072,6 +32075,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
32072
32075
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32073
32076
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32074
32077
|
*/
|
|
32078
|
+
/**
|
|
32079
|
+
* @module plugins/image-properties
|
|
32080
|
+
*/
|
|
32075
32081
|
|
|
32076
32082
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
32077
32083
|
dialogWidth: 600,
|
|
@@ -33573,10 +33579,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33573
33579
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
33574
33580
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
33575
33581
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
33576
|
-
/* harmony import */ var
|
|
33577
|
-
/* harmony import */ var
|
|
33578
|
-
/* harmony import */ var
|
|
33579
|
-
/* harmony import */ var
|
|
33582
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
33583
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
33584
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15807);
|
|
33585
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33580
33586
|
/*!
|
|
33581
33587
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33582
33588
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33589,8 +33595,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33589
33595
|
|
|
33590
33596
|
|
|
33591
33597
|
|
|
33592
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
33593
|
-
|
|
33598
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33599
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
33594
33600
|
popup: (editor, current, close) => {
|
|
33595
33601
|
let sourceImage = null;
|
|
33596
33602
|
if (current &&
|
|
@@ -33602,7 +33608,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
33602
33608
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
33603
33609
|
}
|
|
33604
33610
|
editor.s.save();
|
|
33605
|
-
return (0,
|
|
33611
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
33606
33612
|
filebrowser: (data) => {
|
|
33607
33613
|
editor.s.restore();
|
|
33608
33614
|
data.files &&
|
|
@@ -33645,12 +33651,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33645
33651
|
"use strict";
|
|
33646
33652
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
33647
33653
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
33648
|
-
/* harmony import */ var
|
|
33649
|
-
/* harmony import */ var
|
|
33650
|
-
/* harmony import */ var
|
|
33651
|
-
/* harmony import */ var
|
|
33652
|
-
/* harmony import */ var
|
|
33653
|
-
/* harmony import */ var
|
|
33654
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
33655
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96168);
|
|
33656
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
33657
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(45153);
|
|
33658
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33659
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(63163);
|
|
33654
33660
|
/*!
|
|
33655
33661
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33656
33662
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33662,17 +33668,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33662
33668
|
|
|
33663
33669
|
|
|
33664
33670
|
|
|
33665
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
33666
|
-
|
|
33671
|
+
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()));
|
|
33672
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
33667
33673
|
tooltip: 'Increase Indent'
|
|
33668
33674
|
};
|
|
33669
|
-
|
|
33675
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
33670
33676
|
isDisabled: (editor) => {
|
|
33671
33677
|
const current = editor.s.current();
|
|
33672
33678
|
if (current) {
|
|
33673
33679
|
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);
|
|
33674
33680
|
if (currentBox) {
|
|
33675
|
-
const arrow = (0,
|
|
33681
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
33676
33682
|
return (!currentBox.style[arrow] ||
|
|
33677
33683
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
33678
33684
|
}
|
|
@@ -33681,7 +33687,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
33681
33687
|
},
|
|
33682
33688
|
tooltip: 'Decrease Indent'
|
|
33683
33689
|
};
|
|
33684
|
-
|
|
33690
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
33685
33691
|
|
|
33686
33692
|
|
|
33687
33693
|
/***/ }),
|
|
@@ -33942,12 +33948,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33942
33948
|
|
|
33943
33949
|
"use strict";
|
|
33944
33950
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
33945
|
-
/* harmony import */ var
|
|
33946
|
-
/* harmony import */ var
|
|
33947
|
-
/* harmony import */ var
|
|
33948
|
-
/* harmony import */ var
|
|
33951
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
33952
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73625);
|
|
33953
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69247);
|
|
33954
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84516);
|
|
33955
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(79073);
|
|
33949
33956
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(3301);
|
|
33950
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
33951
33957
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48537);
|
|
33952
33958
|
/* 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__);
|
|
33953
33959
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1629);
|
|
@@ -33981,10 +33987,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33981
33987
|
|
|
33982
33988
|
|
|
33983
33989
|
|
|
33984
|
-
|
|
33985
|
-
|
|
33986
|
-
|
|
33987
|
-
|
|
33990
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33991
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33992
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33993
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33988
33994
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33989
33995
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33990
33996
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33992,14 +33998,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33992
33998
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33993
33999
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33994
34000
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33995
|
-
|
|
33996
|
-
a:
|
|
33997
|
-
img:
|
|
33998
|
-
cells:
|
|
34001
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
34002
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
34003
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
34004
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33999
34005
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
34000
|
-
jodit:
|
|
34001
|
-
iframe:
|
|
34002
|
-
'jodit-media':
|
|
34006
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
34007
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
34008
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
34003
34009
|
selection: [
|
|
34004
34010
|
'bold',
|
|
34005
34011
|
'underline',
|
|
@@ -34611,12 +34617,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34611
34617
|
/* unused harmony export justify */
|
|
34612
34618
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
34613
34619
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
34614
|
-
/* harmony import */ var
|
|
34615
|
-
/* harmony import */ var
|
|
34616
|
-
/* harmony import */ var
|
|
34617
|
-
/* harmony import */ var
|
|
34618
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34620
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
34621
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26071);
|
|
34622
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4401);
|
|
34623
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
34619
34624
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
34625
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77795);
|
|
34626
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
34620
34627
|
/*!
|
|
34621
34628
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34622
34629
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34629,7 +34636,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34629
34636
|
|
|
34630
34637
|
|
|
34631
34638
|
|
|
34632
|
-
|
|
34639
|
+
|
|
34640
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
34633
34641
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
34634
34642
|
name: 'left',
|
|
34635
34643
|
tooltip: 'Align',
|
|
@@ -34638,22 +34646,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34638
34646
|
if (current) {
|
|
34639
34647
|
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) ||
|
|
34640
34648
|
editor.editor;
|
|
34641
|
-
let currentValue = (0,
|
|
34649
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
34642
34650
|
if (control.defaultValue &&
|
|
34643
34651
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
34644
34652
|
currentValue = 'left';
|
|
34645
34653
|
}
|
|
34646
|
-
|
|
34647
|
-
|
|
34648
|
-
|
|
34649
|
-
|
|
34654
|
+
const { list, data } = control;
|
|
34655
|
+
if (data &&
|
|
34656
|
+
data.currentValue !== currentValue &&
|
|
34657
|
+
list &&
|
|
34658
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
34659
|
+
? list[currentValue]
|
|
34660
|
+
: list.includes(currentValue))) {
|
|
34650
34661
|
if (editor.o.textIcons || control.component === 'select') {
|
|
34651
34662
|
button.state.text = currentValue;
|
|
34652
34663
|
}
|
|
34653
34664
|
else {
|
|
34654
34665
|
button.state.icon.name = currentValue;
|
|
34655
34666
|
}
|
|
34656
|
-
|
|
34667
|
+
data.currentValue = currentValue;
|
|
34657
34668
|
}
|
|
34658
34669
|
}
|
|
34659
34670
|
},
|
|
@@ -34664,7 +34675,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34664
34675
|
}
|
|
34665
34676
|
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) ||
|
|
34666
34677
|
editor.editor;
|
|
34667
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
34678
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
34668
34679
|
},
|
|
34669
34680
|
defaultValue: ['left', 'start', 'inherit'],
|
|
34670
34681
|
data: {
|
|
@@ -34718,7 +34729,7 @@ function justify(editor) {
|
|
|
34718
34729
|
if (!currentBox) {
|
|
34719
34730
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
34720
34731
|
}
|
|
34721
|
-
(0,
|
|
34732
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
34722
34733
|
});
|
|
34723
34734
|
return false;
|
|
34724
34735
|
};
|
|
@@ -34930,9 +34941,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34930
34941
|
"use strict";
|
|
34931
34942
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9596);
|
|
34932
34943
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
34933
|
-
/* harmony import */ var
|
|
34934
|
-
/* harmony import */ var
|
|
34935
|
-
/* harmony import */ var
|
|
34944
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
34945
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19615);
|
|
34946
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34936
34947
|
/*!
|
|
34937
34948
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34938
34949
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34942,9 +34953,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34942
34953
|
|
|
34943
34954
|
|
|
34944
34955
|
|
|
34945
|
-
|
|
34946
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34947
|
-
|
|
34956
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34957
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34958
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34948
34959
|
command: 'applyLineHeight',
|
|
34949
34960
|
tags: ['ol'],
|
|
34950
34961
|
tooltip: 'Line height',
|
|
@@ -35509,12 +35520,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35509
35520
|
"use strict";
|
|
35510
35521
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
35511
35522
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
35512
|
-
/* harmony import */ var
|
|
35513
|
-
/* harmony import */ var
|
|
35514
|
-
/* harmony import */ var
|
|
35515
|
-
/* harmony import */ var
|
|
35516
|
-
/* harmony import */ var
|
|
35517
|
-
/* harmony import */ var
|
|
35523
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
35524
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67576);
|
|
35525
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35526
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73501);
|
|
35527
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35528
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17660);
|
|
35518
35529
|
/*!
|
|
35519
35530
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35520
35531
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35526,8 +35537,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35526
35537
|
|
|
35527
35538
|
|
|
35528
35539
|
|
|
35529
|
-
|
|
35530
|
-
formTemplate:
|
|
35540
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
35541
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
35531
35542
|
followOnDblClick: false,
|
|
35532
35543
|
processVideoLink: true,
|
|
35533
35544
|
processPastedLink: true,
|
|
@@ -35539,8 +35550,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
35539
35550
|
selectOptionsClassName: [],
|
|
35540
35551
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
35541
35552
|
};
|
|
35542
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
35543
|
-
|
|
35553
|
+
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()));
|
|
35554
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
35544
35555
|
exec: (editor, current) => {
|
|
35545
35556
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
35546
35557
|
if (anchor) {
|
|
@@ -35551,7 +35562,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
35551
35562
|
},
|
|
35552
35563
|
tooltip: 'Unlink'
|
|
35553
35564
|
};
|
|
35554
|
-
|
|
35565
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
35555
35566
|
isActive: (editor) => {
|
|
35556
35567
|
const current = editor.s.current();
|
|
35557
35568
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -36096,9 +36107,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
36096
36107
|
"use strict";
|
|
36097
36108
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
36098
36109
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
36099
|
-
/* harmony import */ var
|
|
36100
|
-
/* harmony import */ var
|
|
36101
|
-
/* harmony import */ var
|
|
36110
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36111
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78167);
|
|
36112
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78072);
|
|
36102
36113
|
/*!
|
|
36103
36114
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36104
36115
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36109,9 +36120,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
36109
36120
|
|
|
36110
36121
|
|
|
36111
36122
|
|
|
36112
|
-
|
|
36113
|
-
|
|
36114
|
-
|
|
36123
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
36124
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
36125
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
36115
36126
|
{
|
|
36116
36127
|
group: 'font-style',
|
|
36117
36128
|
buttons: []
|
|
@@ -36158,7 +36169,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
36158
36169
|
'|',
|
|
36159
36170
|
'dots'
|
|
36160
36171
|
];
|
|
36161
|
-
|
|
36172
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
36162
36173
|
{
|
|
36163
36174
|
group: 'font-style',
|
|
36164
36175
|
buttons: []
|
|
@@ -36193,7 +36204,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
36193
36204
|
'|',
|
|
36194
36205
|
'dots'
|
|
36195
36206
|
];
|
|
36196
|
-
|
|
36207
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
36197
36208
|
{
|
|
36198
36209
|
group: 'font-style',
|
|
36199
36210
|
buttons: []
|
|
@@ -36214,17 +36225,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
36214
36225
|
'---',
|
|
36215
36226
|
'dots'
|
|
36216
36227
|
];
|
|
36217
|
-
|
|
36228
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
36218
36229
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
36219
36230
|
popup: (editor, current, close, button) => {
|
|
36220
36231
|
let store = button.control.data;
|
|
36221
36232
|
if (store === undefined) {
|
|
36222
36233
|
store = {
|
|
36223
|
-
toolbar: (0,
|
|
36234
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
36224
36235
|
rebuild: () => {
|
|
36225
36236
|
var _a, _b;
|
|
36226
36237
|
if (button) {
|
|
36227
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
36238
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
36228
36239
|
if (buttons && store) {
|
|
36229
36240
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
36230
36241
|
const w = ((_b = (_a = editor.toolbar) === null || _a === void 0 ? void 0 : _a.firstButton) === null || _b === void 0 ? void 0 : _b.container.offsetWidth) || 36;
|
|
@@ -36333,11 +36344,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
36333
36344
|
"use strict";
|
|
36334
36345
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49382);
|
|
36335
36346
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
36336
|
-
/* harmony import */ var
|
|
36337
|
-
/* harmony import */ var
|
|
36338
|
-
/* harmony import */ var
|
|
36339
|
-
/* harmony import */ var
|
|
36340
|
-
/* harmony import */ var
|
|
36347
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36348
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48421);
|
|
36349
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
36350
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22791);
|
|
36351
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
36341
36352
|
/*!
|
|
36342
36353
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36343
36354
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36355,8 +36366,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
36355
36366
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
36356
36367
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
36357
36368
|
};
|
|
36358
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
36359
|
-
|
|
36369
|
+
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()));
|
|
36370
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
36360
36371
|
command: 'insertUnorderedList',
|
|
36361
36372
|
tags: ['ul'],
|
|
36362
36373
|
tooltip: 'Insert Unordered List',
|
|
@@ -36368,7 +36379,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
36368
36379
|
},
|
|
36369
36380
|
exec: memoExec
|
|
36370
36381
|
};
|
|
36371
|
-
|
|
36382
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
36372
36383
|
command: 'insertOrderedList',
|
|
36373
36384
|
tags: ['ol'],
|
|
36374
36385
|
tooltip: 'Insert Ordered List',
|
|
@@ -36745,8 +36756,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36745
36756
|
|
|
36746
36757
|
"use strict";
|
|
36747
36758
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
36748
|
-
/* harmony import */ var
|
|
36749
|
-
/* harmony import */ var
|
|
36759
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
36760
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48954);
|
|
36750
36761
|
/*!
|
|
36751
36762
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36752
36763
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36755,19 +36766,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36755
36766
|
|
|
36756
36767
|
|
|
36757
36768
|
|
|
36758
|
-
|
|
36759
|
-
|
|
36760
|
-
|
|
36761
|
-
|
|
36762
|
-
|
|
36769
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
36770
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
36771
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
36772
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
36773
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
36763
36774
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
36764
36775
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
36765
36776
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
36766
36777
|
];
|
|
36767
|
-
|
|
36768
|
-
|
|
36778
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
36779
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
36769
36780
|
const psKey = 'pasteStorage';
|
|
36770
|
-
|
|
36781
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
36771
36782
|
tooltip: 'Paste from clipboard',
|
|
36772
36783
|
async exec(editor, _, { control }) {
|
|
36773
36784
|
if (control.name === psKey) {
|
|
@@ -36815,7 +36826,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
36815
36826
|
!error && editor.e.fire('afterPaste');
|
|
36816
36827
|
}
|
|
36817
36828
|
else if (text.length) {
|
|
36818
|
-
(0,
|
|
36829
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
36819
36830
|
editor.e.fire('afterPaste');
|
|
36820
36831
|
}
|
|
36821
36832
|
else {
|
|
@@ -37543,10 +37554,10 @@ function generateCriticalCSS(jodit) {
|
|
|
37543
37554
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54614);
|
|
37544
37555
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85769);
|
|
37545
37556
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
37546
|
-
/* harmony import */ var
|
|
37547
|
-
/* harmony import */ var
|
|
37548
|
-
/* harmony import */ var
|
|
37549
|
-
/* harmony import */ var
|
|
37557
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
37558
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(86134);
|
|
37559
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26899);
|
|
37560
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
37550
37561
|
/*!
|
|
37551
37562
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37552
37563
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37561,8 +37572,8 @@ function generateCriticalCSS(jodit) {
|
|
|
37561
37572
|
|
|
37562
37573
|
|
|
37563
37574
|
|
|
37564
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
37565
|
-
|
|
37575
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
37576
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
37566
37577
|
exec: (editor) => {
|
|
37567
37578
|
const iframe = editor.create.element('iframe');
|
|
37568
37579
|
Object.assign(iframe.style, {
|
|
@@ -37573,7 +37584,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37573
37584
|
height: 0,
|
|
37574
37585
|
border: 0
|
|
37575
37586
|
});
|
|
37576
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
37587
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
37577
37588
|
const afterFinishPrint = () => {
|
|
37578
37589
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
37579
37590
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -37591,7 +37602,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37591
37602
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
37592
37603
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
37593
37604
|
'"><head><title></title></head><style>' +
|
|
37594
|
-
(0,
|
|
37605
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
37595
37606
|
'</style><body></body></html>');
|
|
37596
37607
|
myWindow.document.close();
|
|
37597
37608
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -37629,11 +37640,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37629
37640
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
37630
37641
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
37631
37642
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
37632
|
-
/* harmony import */ var
|
|
37633
|
-
/* harmony import */ var
|
|
37634
|
-
/* harmony import */ var
|
|
37635
|
-
/* harmony import */ var
|
|
37636
|
-
/* harmony import */ var
|
|
37643
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
37644
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(37629);
|
|
37645
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
37646
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42687);
|
|
37647
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
37637
37648
|
/*!
|
|
37638
37649
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37639
37650
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37646,13 +37657,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37646
37657
|
|
|
37647
37658
|
|
|
37648
37659
|
|
|
37649
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
37650
|
-
|
|
37660
|
+
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()));
|
|
37661
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
37651
37662
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37652
37663
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
37653
37664
|
tooltip: 'Redo'
|
|
37654
37665
|
};
|
|
37655
|
-
|
|
37666
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
37656
37667
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37657
37668
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
37658
37669
|
tooltip: 'Undo'
|
|
@@ -38671,9 +38682,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38671
38682
|
|
|
38672
38683
|
"use strict";
|
|
38673
38684
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
38674
|
-
/* harmony import */ var
|
|
38675
|
-
/* harmony import */ var
|
|
38676
|
-
/* harmony import */ var
|
|
38685
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
38686
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98973);
|
|
38687
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
38677
38688
|
/*!
|
|
38678
38689
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38679
38690
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38683,14 +38694,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38683
38694
|
|
|
38684
38695
|
|
|
38685
38696
|
|
|
38686
|
-
|
|
38687
|
-
|
|
38697
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
38698
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
38688
38699
|
lazyIdleTimeout: 0,
|
|
38689
38700
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
38690
38701
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
38691
38702
|
};
|
|
38692
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
38693
|
-
|
|
38703
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
38704
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
38694
38705
|
tooltip: 'Find',
|
|
38695
38706
|
icon: 'search',
|
|
38696
38707
|
exec(jodit, _, { control }) {
|
|
@@ -40308,9 +40319,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40308
40319
|
"use strict";
|
|
40309
40320
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
40310
40321
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
40311
|
-
/* harmony import */ var
|
|
40312
|
-
/* harmony import */ var
|
|
40313
|
-
/* harmony import */ var
|
|
40322
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
40323
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58671);
|
|
40324
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
40314
40325
|
/*!
|
|
40315
40326
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40316
40327
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40320,9 +40331,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40320
40331
|
|
|
40321
40332
|
|
|
40322
40333
|
|
|
40323
|
-
|
|
40324
|
-
|
|
40325
|
-
|
|
40334
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
40335
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
40336
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
40326
40337
|
/**
|
|
40327
40338
|
* Show gutter
|
|
40328
40339
|
*/
|
|
@@ -40344,15 +40355,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
40344
40355
|
*/
|
|
40345
40356
|
highlightActiveLine: true
|
|
40346
40357
|
};
|
|
40347
|
-
|
|
40358
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
40348
40359
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
40349
40360
|
];
|
|
40350
|
-
|
|
40361
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
40351
40362
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
40352
40363
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
40353
40364
|
];
|
|
40354
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
40355
|
-
|
|
40365
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
40366
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
40356
40367
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
40357
40368
|
exec: (editor) => {
|
|
40358
40369
|
editor.toggleMode();
|
|
@@ -41162,9 +41173,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41162
41173
|
|
|
41163
41174
|
"use strict";
|
|
41164
41175
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41165
|
-
/* harmony import */ var
|
|
41166
|
-
/* harmony import */ var
|
|
41167
|
-
/* harmony import */ var
|
|
41176
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41177
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80709);
|
|
41178
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41168
41179
|
/*!
|
|
41169
41180
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41170
41181
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41173,13 +41184,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41173
41184
|
|
|
41174
41185
|
|
|
41175
41186
|
|
|
41176
|
-
|
|
41177
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
41178
|
-
|
|
41187
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
41188
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41189
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
41179
41190
|
isActive(e) {
|
|
41180
41191
|
return e.o.spellcheck;
|
|
41181
41192
|
},
|
|
41182
|
-
icon: (
|
|
41193
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
41183
41194
|
name: 'spellcheck',
|
|
41184
41195
|
command: 'toggleSpellcheck',
|
|
41185
41196
|
tooltip: 'Spellcheck'
|
|
@@ -41954,9 +41965,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41954
41965
|
|
|
41955
41966
|
"use strict";
|
|
41956
41967
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41957
|
-
/* harmony import */ var
|
|
41958
|
-
/* harmony import */ var
|
|
41959
|
-
/* harmony import */ var
|
|
41968
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41969
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3283);
|
|
41970
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41960
41971
|
/*!
|
|
41961
41972
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41962
41973
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41965,8 +41976,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41965
41976
|
|
|
41966
41977
|
|
|
41967
41978
|
|
|
41968
|
-
|
|
41969
|
-
|
|
41979
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41980
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41970
41981
|
'!',
|
|
41971
41982
|
'"',
|
|
41972
41983
|
'#',
|
|
@@ -42178,8 +42189,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
42178
42189
|
'♦',
|
|
42179
42190
|
'≈'
|
|
42180
42191
|
];
|
|
42181
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
42182
|
-
|
|
42192
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
42193
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
42183
42194
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
42184
42195
|
tooltip: 'Insert Special Character',
|
|
42185
42196
|
popup: (editor, current, close) => {
|
|
@@ -43168,9 +43179,9 @@ function findCell(editor, key) {
|
|
|
43168
43179
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
43169
43180
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71122);
|
|
43170
43181
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43171
|
-
/* harmony import */ var
|
|
43172
|
-
/* harmony import */ var
|
|
43173
|
-
/* harmony import */ var
|
|
43182
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43183
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35863);
|
|
43184
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
43174
43185
|
/*!
|
|
43175
43186
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43176
43187
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43182,12 +43193,12 @@ function findCell(editor, key) {
|
|
|
43182
43193
|
|
|
43183
43194
|
|
|
43184
43195
|
|
|
43185
|
-
|
|
43196
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
43186
43197
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
43187
43198
|
useExtraClassesOptions: false
|
|
43188
43199
|
};
|
|
43189
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
43190
|
-
|
|
43200
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
43201
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
43191
43202
|
data: {
|
|
43192
43203
|
cols: 10,
|
|
43193
43204
|
rows: 10,
|
|
@@ -43354,10 +43365,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43354
43365
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64962);
|
|
43355
43366
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18716);
|
|
43356
43367
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43357
|
-
/* harmony import */ var
|
|
43358
|
-
/* harmony import */ var
|
|
43359
|
-
/* harmony import */ var
|
|
43360
|
-
/* harmony import */ var
|
|
43368
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43369
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
43370
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(46035);
|
|
43371
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
43361
43372
|
/*!
|
|
43362
43373
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43363
43374
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43370,8 +43381,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43370
43381
|
|
|
43371
43382
|
|
|
43372
43383
|
|
|
43373
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
43374
|
-
|
|
43384
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
43385
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
43375
43386
|
popup: (editor, current, close) => {
|
|
43376
43387
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
43377
43388
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -43418,7 +43429,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
43418
43429
|
formCode.onSubmit(data => {
|
|
43419
43430
|
insertCode(data.code);
|
|
43420
43431
|
});
|
|
43421
|
-
return (0,
|
|
43432
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
43422
43433
|
},
|
|
43423
43434
|
tags: ['iframe'],
|
|
43424
43435
|
tooltip: 'Insert youtube/vimeo video'
|
|
@@ -44054,9 +44065,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44054
44065
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
44055
44066
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65564);
|
|
44056
44067
|
/* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34138);
|
|
44057
|
-
/* harmony import */ var
|
|
44058
|
-
/* harmony import */ var
|
|
44059
|
-
/* harmony import */ var
|
|
44068
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
44069
|
+
/* harmony import */ var _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75700);
|
|
44070
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56418);
|
|
44060
44071
|
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25511);
|
|
44061
44072
|
/*!
|
|
44062
44073
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -44074,7 +44085,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44074
44085
|
|
|
44075
44086
|
|
|
44076
44087
|
|
|
44077
|
-
|
|
44088
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.autocomplete = {
|
|
44078
44089
|
sources: [],
|
|
44079
44090
|
maxItems: 50,
|
|
44080
44091
|
isMatchedQuery: (query, value) => value.toLowerCase().indexOf(query.toLowerCase()) === 0,
|
|
@@ -44092,7 +44103,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44092
44103
|
afterInit(jodit) {
|
|
44093
44104
|
this.popup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__/* .Popup */ .z(jodit);
|
|
44094
44105
|
this.popup.setMod('padding', false);
|
|
44095
|
-
this.list = new
|
|
44106
|
+
this.list = new _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__/* .Autocomplete */ .j(jodit);
|
|
44096
44107
|
this.popup.setContent(this.list.container);
|
|
44097
44108
|
jodit.e
|
|
44098
44109
|
.on('select.autocomplete', (item) => {
|
|
@@ -44103,7 +44114,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44103
44114
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isNode(insertValue)) {
|
|
44104
44115
|
insertValue = jodit.createInside.fromHTML(insertValue);
|
|
44105
44116
|
}
|
|
44106
|
-
(0,
|
|
44117
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .replaceTextLeftOfCursorAfterSpace */ .s)(jodit.s.range, insertValue);
|
|
44107
44118
|
this.j.s.setCursorAfter(insertValue);
|
|
44108
44119
|
this.j.synchronizeValues();
|
|
44109
44120
|
this.popup.close();
|
|
@@ -44140,7 +44151,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44140
44151
|
const range = ((_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.rangeCount)
|
|
44141
44152
|
? (_b = this.j.s.sel) === null || _b === void 0 ? void 0 : _b.getRangeAt(0)
|
|
44142
44153
|
: null;
|
|
44143
|
-
const query = range && (0,
|
|
44154
|
+
const query = range && (0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .getTextLeftOfCursor */ .I)(range).split(' ').pop();
|
|
44144
44155
|
if (query && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(query).length) {
|
|
44145
44156
|
const result = await this.onAutoComplete(query);
|
|
44146
44157
|
if (result.length) {
|