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/es2015/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.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 = "es2015";
|
|
2449
2449
|
const IS_ES_MODERN = true;
|
|
@@ -8007,6 +8007,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
8007
8007
|
}
|
|
8008
8008
|
const script = jodit.c.element('script', {
|
|
8009
8009
|
type: 'text/javascript',
|
|
8010
|
+
crossorigin: 'anonymous',
|
|
8011
|
+
referrerpolicy: 'no-referrer',
|
|
8010
8012
|
async: true,
|
|
8011
8013
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_1__/* .completeUrl */ .X)(url)
|
|
8012
8014
|
});
|
|
@@ -8247,9 +8249,9 @@ const completeUrl = (url) => {
|
|
|
8247
8249
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
8248
8250
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
8249
8251
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74197);
|
|
8252
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
|
|
8250
8253
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20368);
|
|
8251
|
-
/* harmony import */ var
|
|
8252
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
8254
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94183);
|
|
8253
8255
|
/*!
|
|
8254
8256
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8255
8257
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8297,7 +8299,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8297
8299
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
8298
8300
|
return options;
|
|
8299
8301
|
}
|
|
8300
|
-
const def =
|
|
8302
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
8301
8303
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
8302
8304
|
if (def.presets[options.preset] !== undefined) {
|
|
8303
8305
|
const preset = def.presets[options.preset];
|
|
@@ -8327,7 +8329,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8327
8329
|
return newOpt;
|
|
8328
8330
|
}
|
|
8329
8331
|
function ConfigFlatten(obj) {
|
|
8330
|
-
return (0,
|
|
8332
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
8331
8333
|
app[key] = obj[key];
|
|
8332
8334
|
return app;
|
|
8333
8335
|
}, {});
|
|
@@ -10295,9 +10297,9 @@ Plugin.requires = [];
|
|
|
10295
10297
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33442);
|
|
10296
10298
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
10297
10299
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24839);
|
|
10298
|
-
/* harmony import */ var
|
|
10300
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
10301
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91596);
|
|
10299
10302
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(85349);
|
|
10300
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
10301
10303
|
/*!
|
|
10302
10304
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10303
10305
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -10315,7 +10317,7 @@ class Ajax {
|
|
|
10315
10317
|
className() {
|
|
10316
10318
|
return 'Ajax';
|
|
10317
10319
|
}
|
|
10318
|
-
constructor(options, defaultAjaxOptions =
|
|
10320
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
10319
10321
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
10320
10322
|
this.__isFulfilled = false;
|
|
10321
10323
|
this.__activated = false;
|
|
@@ -15727,7 +15729,6 @@ function getControlType(button, controls) {
|
|
|
15727
15729
|
* @private
|
|
15728
15730
|
*/
|
|
15729
15731
|
function findControlType(path, controls) {
|
|
15730
|
-
var _a;
|
|
15731
15732
|
// eslint-disable-next-line prefer-const
|
|
15732
15733
|
let [namespaceOrKey, key] = path.split(/\./);
|
|
15733
15734
|
let store = controls;
|
|
@@ -15739,14 +15740,22 @@ function findControlType(path, controls) {
|
|
|
15739
15740
|
else {
|
|
15740
15741
|
key = namespaceOrKey;
|
|
15741
15742
|
}
|
|
15742
|
-
const list =
|
|
15743
|
+
// const list = store[key]?.list;
|
|
15743
15744
|
return store[key]
|
|
15744
|
-
? Object.assign(
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
15748
|
-
|
|
15749
|
-
|
|
15745
|
+
? Object.assign({ name: key }, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15746
|
+
// list: isArray(list)
|
|
15747
|
+
// ? (<Array<string>>list).reduce(
|
|
15748
|
+
// (
|
|
15749
|
+
// acc: IDictionary<string | number>,
|
|
15750
|
+
// k: string | number
|
|
15751
|
+
// ) => {
|
|
15752
|
+
// acc[String(k)] = k;
|
|
15753
|
+
// return acc;
|
|
15754
|
+
// },
|
|
15755
|
+
// {}
|
|
15756
|
+
// )
|
|
15757
|
+
// : list
|
|
15758
|
+
) : undefined;
|
|
15750
15759
|
}
|
|
15751
15760
|
|
|
15752
15761
|
|
|
@@ -15761,8 +15770,8 @@ function findControlType(path, controls) {
|
|
|
15761
15770
|
/* harmony export */ });
|
|
15762
15771
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55010);
|
|
15763
15772
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71122);
|
|
15764
|
-
/* harmony import */ var
|
|
15765
|
-
/* harmony import */ var
|
|
15773
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
15774
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68600);
|
|
15766
15775
|
/*!
|
|
15767
15776
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15768
15777
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15782,7 +15791,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15782
15791
|
const value = items[key] || {};
|
|
15783
15792
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15784
15793
|
});
|
|
15785
|
-
return elements.map(item => (0,
|
|
15794
|
+
return elements.map(item => (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls));
|
|
15786
15795
|
}
|
|
15787
15796
|
|
|
15788
15797
|
|
|
@@ -16967,8 +16976,8 @@ class CommitMode {
|
|
|
16967
16976
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
16968
16977
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49604);
|
|
16969
16978
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28190);
|
|
16970
|
-
/* harmony import */ var
|
|
16971
|
-
/* harmony import */ var
|
|
16979
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
16980
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(35102);
|
|
16972
16981
|
/*!
|
|
16973
16982
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16974
16983
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16987,7 +16996,7 @@ var Jodit_1;
|
|
|
16987
16996
|
|
|
16988
16997
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16989
16998
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16990
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
16999
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16991
17000
|
/** @override */
|
|
16992
17001
|
className() {
|
|
16993
17002
|
return 'Jodit';
|
|
@@ -17034,7 +17043,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17034
17043
|
get defaultTimeout() {
|
|
17035
17044
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
17036
17045
|
? this.o.defaultTimeout
|
|
17037
|
-
:
|
|
17046
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17038
17047
|
}
|
|
17039
17048
|
/**
|
|
17040
17049
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -17060,10 +17069,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17060
17069
|
* Default settings
|
|
17061
17070
|
*/
|
|
17062
17071
|
static get defaultOptions() {
|
|
17063
|
-
return
|
|
17072
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
17064
17073
|
}
|
|
17065
17074
|
get createInside() {
|
|
17066
|
-
return new
|
|
17075
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
17067
17076
|
}
|
|
17068
17077
|
__setPlaceField(field, value) {
|
|
17069
17078
|
if (!this.currentPlace) {
|
|
@@ -17611,8 +17620,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17611
17620
|
const active = this.od.activeElement;
|
|
17612
17621
|
if (active &&
|
|
17613
17622
|
(active === this.iframe ||
|
|
17614
|
-
|
|
17615
|
-
|
|
17623
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
17624
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
17616
17625
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
17617
17626
|
}
|
|
17618
17627
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -17764,7 +17773,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17764
17773
|
}
|
|
17765
17774
|
/** @override **/
|
|
17766
17775
|
initOptions(options) {
|
|
17767
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17776
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
17768
17777
|
}
|
|
17769
17778
|
/** @override **/
|
|
17770
17779
|
initOwners() {
|
|
@@ -17809,7 +17818,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17809
17818
|
this.destruct();
|
|
17810
17819
|
throw e;
|
|
17811
17820
|
}
|
|
17812
|
-
this.setStatus(
|
|
17821
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17813
17822
|
this.id =
|
|
17814
17823
|
(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') ||
|
|
17815
17824
|
new Date().getTime().toString();
|
|
@@ -17821,7 +17830,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17821
17830
|
}
|
|
17822
17831
|
});
|
|
17823
17832
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17824
|
-
this.selection = new
|
|
17833
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17825
17834
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17826
17835
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17827
17836
|
if (this.isInDestruct) {
|
|
@@ -17845,7 +17854,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17845
17854
|
this.e.fire('afterInit', this);
|
|
17846
17855
|
}
|
|
17847
17856
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17848
|
-
this.setStatus(
|
|
17857
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17849
17858
|
this.e.fire('afterConstructor', this);
|
|
17850
17859
|
};
|
|
17851
17860
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17861,7 +17870,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17861
17870
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17862
17871
|
const name = attr.name;
|
|
17863
17872
|
let value = attr.value;
|
|
17864
|
-
if (
|
|
17873
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17865
17874
|
(!options || options[name] === undefined)) {
|
|
17866
17875
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17867
17876
|
value = value === '' || value === 'true';
|
|
@@ -17929,11 +17938,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17929
17938
|
element,
|
|
17930
17939
|
container,
|
|
17931
17940
|
workplace,
|
|
17932
|
-
statusbar: new
|
|
17941
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17933
17942
|
options: this.isReady
|
|
17934
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17943
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17935
17944
|
: this.options,
|
|
17936
|
-
history: new
|
|
17945
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17937
17946
|
editorWindow: this.ow
|
|
17938
17947
|
};
|
|
17939
17948
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -18024,7 +18033,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18024
18033
|
return;
|
|
18025
18034
|
}
|
|
18026
18035
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
18027
|
-
|
|
18036
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
18028
18037
|
}
|
|
18029
18038
|
addClassNames(this.o.editorClassName, this.editor);
|
|
18030
18039
|
if (this.o.style) {
|
|
@@ -18111,7 +18120,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18111
18120
|
if (this.isInDestruct) {
|
|
18112
18121
|
return;
|
|
18113
18122
|
}
|
|
18114
|
-
this.setStatus(
|
|
18123
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
18115
18124
|
this.__elementToPlace.clear();
|
|
18116
18125
|
this.storage.clear();
|
|
18117
18126
|
this.buffer.clear();
|
|
@@ -18152,17 +18161,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18152
18161
|
this.e.off(container);
|
|
18153
18162
|
this.e.off(element);
|
|
18154
18163
|
this.e.off(editor);
|
|
18155
|
-
|
|
18156
|
-
|
|
18164
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
18165
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
18157
18166
|
if (container !== element) {
|
|
18158
|
-
|
|
18167
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
18159
18168
|
}
|
|
18160
18169
|
Object.defineProperty(element, 'component', {
|
|
18161
18170
|
enumerable: false,
|
|
18162
18171
|
configurable: true,
|
|
18163
18172
|
value: null
|
|
18164
18173
|
});
|
|
18165
|
-
|
|
18174
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
18166
18175
|
// inline mode
|
|
18167
18176
|
if (container === element) {
|
|
18168
18177
|
element.innerHTML = buffer;
|
|
@@ -18184,7 +18193,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
18184
18193
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
18185
18194
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
18186
18195
|
Jodit.core = {
|
|
18187
|
-
Plugin:
|
|
18196
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
18188
18197
|
};
|
|
18189
18198
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
18190
18199
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -20455,16 +20464,16 @@ function loadTree(fb) {
|
|
|
20455
20464
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
20456
20465
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
20457
20466
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
20458
|
-
/* harmony import */ var
|
|
20467
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91288);
|
|
20468
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83148);
|
|
20459
20469
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
|
|
20460
|
-
/* harmony import */ var
|
|
20461
|
-
/* harmony import */ var
|
|
20462
|
-
/* harmony import */ var
|
|
20463
|
-
/* harmony import */ var
|
|
20464
|
-
/* harmony import */ var
|
|
20465
|
-
/* harmony import */ var
|
|
20466
|
-
/* harmony import */ var
|
|
20467
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
20470
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(64164);
|
|
20471
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50067);
|
|
20472
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(25430);
|
|
20473
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34255);
|
|
20474
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(18714);
|
|
20475
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(24538);
|
|
20476
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96243);
|
|
20468
20477
|
/*!
|
|
20469
20478
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20470
20479
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20498,7 +20507,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20498
20507
|
return 'FileBrowser';
|
|
20499
20508
|
}
|
|
20500
20509
|
get dataProvider() {
|
|
20501
|
-
return (0,
|
|
20510
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
20502
20511
|
}
|
|
20503
20512
|
// eslint-disable-next-line no-unused-vars
|
|
20504
20513
|
onSelect(callback) {
|
|
@@ -20614,7 +20623,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20614
20623
|
this.__updateToolbarButtons();
|
|
20615
20624
|
this._dialog.open(this.browser, header);
|
|
20616
20625
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20617
|
-
(0,
|
|
20626
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
20618
20627
|
.then(resolve, reject)
|
|
20619
20628
|
.finally(() => {
|
|
20620
20629
|
var _a;
|
|
@@ -20651,7 +20660,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20651
20660
|
}
|
|
20652
20661
|
initUploader(editor) {
|
|
20653
20662
|
var _a;
|
|
20654
|
-
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 || {},
|
|
20663
|
+
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);
|
|
20655
20664
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
20656
20665
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20657
20666
|
self.uploader
|
|
@@ -20671,11 +20680,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20671
20680
|
super(options);
|
|
20672
20681
|
this.browser = this.c.div(this.componentName);
|
|
20673
20682
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20674
|
-
this.tree = new
|
|
20675
|
-
this.files = new
|
|
20683
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
20684
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
20676
20685
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
20677
20686
|
currentPath: '',
|
|
20678
|
-
currentSource:
|
|
20687
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20679
20688
|
currentBaseUrl: '',
|
|
20680
20689
|
activeElements: [],
|
|
20681
20690
|
elements: [],
|
|
@@ -20705,7 +20714,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20705
20714
|
this.__prevButtons = [];
|
|
20706
20715
|
this.attachEvents(options);
|
|
20707
20716
|
const self = this;
|
|
20708
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20717
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
20709
20718
|
self.browser.component = this;
|
|
20710
20719
|
self.container = self.browser;
|
|
20711
20720
|
if (self.o.showFoldersPanel) {
|
|
@@ -20713,9 +20722,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20713
20722
|
}
|
|
20714
20723
|
self.browser.appendChild(self.files.container);
|
|
20715
20724
|
self.browser.appendChild(self.status_line);
|
|
20716
|
-
|
|
20717
|
-
|
|
20718
|
-
|
|
20725
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
20726
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
20727
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
20719
20728
|
const keys = [
|
|
20720
20729
|
'getLocalFileByUrl',
|
|
20721
20730
|
'crop',
|
|
@@ -21387,10 +21396,10 @@ class Command {
|
|
|
21387
21396
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
21388
21397
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
21389
21398
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53557);
|
|
21399
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
21390
21400
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22180);
|
|
21391
|
-
/* harmony import */ var
|
|
21401
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(801);
|
|
21392
21402
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98189);
|
|
21393
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
21394
21403
|
/*!
|
|
21395
21404
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21396
21405
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21403,7 +21412,7 @@ class Command {
|
|
|
21403
21412
|
|
|
21404
21413
|
|
|
21405
21414
|
|
|
21406
|
-
|
|
21415
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
21407
21416
|
enable: true,
|
|
21408
21417
|
maxHistoryLength: Infinity,
|
|
21409
21418
|
timeout: 1000
|
|
@@ -21454,7 +21463,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21454
21463
|
set startValue(value) {
|
|
21455
21464
|
this.__startValue = value;
|
|
21456
21465
|
}
|
|
21457
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
21466
|
+
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F(editor)) {
|
|
21458
21467
|
super(editor);
|
|
21459
21468
|
this.updateTick = 0;
|
|
21460
21469
|
this.__stack = stack;
|
|
@@ -21517,7 +21526,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21517
21526
|
*/
|
|
21518
21527
|
updateStack(replace = false) {
|
|
21519
21528
|
const newValue = this.snapshot.make();
|
|
21520
|
-
if (!
|
|
21529
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
21521
21530
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
21522
21531
|
if (replace) {
|
|
21523
21532
|
const command = this.__stack.current();
|
|
@@ -21851,11 +21860,11 @@ class Stack {
|
|
|
21851
21860
|
|
|
21852
21861
|
"use strict";
|
|
21853
21862
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
21854
|
-
/* harmony import */ var
|
|
21855
|
-
/* harmony import */ var
|
|
21856
|
-
/* harmony import */ var
|
|
21857
|
-
/* harmony import */ var
|
|
21858
|
-
/* harmony import */ var
|
|
21863
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
21864
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(83904);
|
|
21865
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21866
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15582);
|
|
21867
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21859
21868
|
/*!
|
|
21860
21869
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21861
21870
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21865,7 +21874,7 @@ class Stack {
|
|
|
21865
21874
|
|
|
21866
21875
|
|
|
21867
21876
|
|
|
21868
|
-
|
|
21877
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21869
21878
|
min_width: 20,
|
|
21870
21879
|
min_height: 20,
|
|
21871
21880
|
closeAfterSave: false,
|
|
@@ -21880,7 +21889,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21880
21889
|
cropDefaultWidth: '70%',
|
|
21881
21890
|
cropDefaultHeight: '70%'
|
|
21882
21891
|
};
|
|
21883
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21892
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('resize', (_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
21884
21893
|
|
|
21885
21894
|
|
|
21886
21895
|
/***/ }),
|
|
@@ -21899,9 +21908,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21899
21908
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33465);
|
|
21900
21909
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
21901
21910
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(64962);
|
|
21902
|
-
/* harmony import */ var
|
|
21903
|
-
/* harmony import */ var
|
|
21904
|
-
/* harmony import */ var
|
|
21911
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
21912
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15546);
|
|
21913
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73898);
|
|
21905
21914
|
/*!
|
|
21906
21915
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21907
21916
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22361,7 +22370,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22361
22370
|
this.options =
|
|
22362
22371
|
editor && editor.o && editor.o.imageeditor
|
|
22363
22372
|
? editor.o.imageeditor
|
|
22364
|
-
:
|
|
22373
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
22365
22374
|
const o = this.options;
|
|
22366
22375
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
22367
22376
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -22371,7 +22380,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22371
22380
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
22372
22381
|
};
|
|
22373
22382
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
22374
|
-
this.editor = (0,
|
|
22383
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
22375
22384
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
22376
22385
|
this.resize_box = resizeBox;
|
|
22377
22386
|
this.crop_box = cropBox;
|
|
@@ -23794,7 +23803,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23794
23803
|
}
|
|
23795
23804
|
createContainer() {
|
|
23796
23805
|
const cn = this.componentName;
|
|
23797
|
-
const container = this.j.c.span(cn)
|
|
23806
|
+
const container = this.j.c.span(cn);
|
|
23807
|
+
const button = super.createContainer();
|
|
23798
23808
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23799
23809
|
button.classList.remove(cn);
|
|
23800
23810
|
button.classList.add(cn + '__button');
|
|
@@ -24176,8 +24186,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24176
24186
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24177
24187
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
24178
24188
|
/* harmony export */ });
|
|
24179
|
-
/* harmony import */ var
|
|
24189
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
24180
24190
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53557);
|
|
24191
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47903);
|
|
24181
24192
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
24182
24193
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72463);
|
|
24183
24194
|
/*!
|
|
@@ -24190,6 +24201,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24190
24201
|
|
|
24191
24202
|
|
|
24192
24203
|
|
|
24204
|
+
|
|
24193
24205
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
24194
24206
|
className() {
|
|
24195
24207
|
return 'ToolbarSelect';
|
|
@@ -24208,13 +24220,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
24208
24220
|
const keys = Object.keys(list);
|
|
24209
24221
|
key = keys[0];
|
|
24210
24222
|
}
|
|
24211
|
-
const text = (list[key.toString()] || key).toString();
|
|
24223
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
24212
24224
|
this.state.text =
|
|
24213
24225
|
(_c = (_b = (_a = this.control).textTemplate) === null || _b === void 0 ? void 0 : _b.call(_a, this.jodit, text)) !== null && _c !== void 0 ? _c : text;
|
|
24214
24226
|
}
|
|
24215
24227
|
}
|
|
24216
24228
|
};
|
|
24217
|
-
ToolbarSelect = (0,
|
|
24229
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24218
24230
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
24219
24231
|
], ToolbarSelect);
|
|
24220
24232
|
|
|
@@ -24345,7 +24357,7 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24345
24357
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
24346
24358
|
], ToolbarCollection.prototype, "__immediateUpdate", null);
|
|
24347
24359
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24348
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)()
|
|
24360
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)(ctx => ctx.j.defaultTimeout, true)
|
|
24349
24361
|
], ToolbarCollection.prototype, "update", null);
|
|
24350
24362
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24351
24363
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.hook)('ready')
|
|
@@ -25047,9 +25059,9 @@ function send(uploader, data) {
|
|
|
25047
25059
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
25048
25060
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
25049
25061
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25050
|
-
/* harmony import */ var
|
|
25051
|
-
/* harmony import */ var
|
|
25052
|
-
/* harmony import */ var
|
|
25062
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
25063
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20431);
|
|
25064
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50999);
|
|
25053
25065
|
/*!
|
|
25054
25066
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25055
25067
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25121,14 +25133,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25121
25133
|
}
|
|
25122
25134
|
};
|
|
25123
25135
|
// send data on server
|
|
25124
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
25125
|
-
(0,
|
|
25136
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
25137
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25126
25138
|
return false;
|
|
25127
25139
|
}
|
|
25128
25140
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
25129
|
-
return (0,
|
|
25141
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
25130
25142
|
}
|
|
25131
|
-
if ((0,
|
|
25143
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
25132
25144
|
const { items } = cData;
|
|
25133
25145
|
for (i = 0; i < items.length; i += 1) {
|
|
25134
25146
|
if (items[i].kind === 'file' &&
|
|
@@ -25139,7 +25151,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25139
25151
|
extension = mime[1]
|
|
25140
25152
|
? mime[1].toLowerCase()
|
|
25141
25153
|
: '';
|
|
25142
|
-
(0,
|
|
25154
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
25143
25155
|
}
|
|
25144
25156
|
e.preventDefault();
|
|
25145
25157
|
break;
|
|
@@ -25162,30 +25174,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25162
25174
|
e.preventDefault();
|
|
25163
25175
|
})
|
|
25164
25176
|
.on(form, 'dragover', (event) => {
|
|
25165
|
-
if ((0,
|
|
25166
|
-
(0,
|
|
25177
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
25178
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
25167
25179
|
form.classList.add('jodit_drag_hover');
|
|
25168
25180
|
event.preventDefault();
|
|
25169
25181
|
}
|
|
25170
25182
|
})
|
|
25171
25183
|
.on(form, 'dragend dragleave', (event) => {
|
|
25172
25184
|
form.classList.remove('jodit_drag_hover');
|
|
25173
|
-
if ((0,
|
|
25185
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25174
25186
|
event.preventDefault();
|
|
25175
25187
|
}
|
|
25176
25188
|
})
|
|
25177
25189
|
.on(form, 'drop', (event) => {
|
|
25178
25190
|
form.classList.remove('jodit_drag_hover');
|
|
25179
|
-
if ((0,
|
|
25191
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25180
25192
|
event.preventDefault();
|
|
25181
25193
|
event.stopImmediatePropagation();
|
|
25182
|
-
(0,
|
|
25194
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25183
25195
|
}
|
|
25184
25196
|
});
|
|
25185
25197
|
const inputFile = form.querySelector('input[type=file]');
|
|
25186
25198
|
if (inputFile) {
|
|
25187
25199
|
self.j.e.on(inputFile, 'change', () => {
|
|
25188
|
-
(0,
|
|
25200
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
25189
25201
|
.then(() => {
|
|
25190
25202
|
inputFile.value = '';
|
|
25191
25203
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -25205,7 +25217,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25205
25217
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
25206
25218
|
? handlerError
|
|
25207
25219
|
: o.defaultHandlerError;
|
|
25208
|
-
(0,
|
|
25220
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
25209
25221
|
action: 'fileUploadRemote',
|
|
25210
25222
|
url
|
|
25211
25223
|
})
|
|
@@ -25225,11 +25237,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25225
25237
|
super(editor);
|
|
25226
25238
|
this.path = '';
|
|
25227
25239
|
this.source = 'default';
|
|
25228
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
25240
|
+
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 : {}));
|
|
25229
25241
|
}
|
|
25230
25242
|
destruct() {
|
|
25231
25243
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
25232
|
-
const instances =
|
|
25244
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
25233
25245
|
if (instances) {
|
|
25234
25246
|
instances.forEach(ajax => {
|
|
25235
25247
|
try {
|
|
@@ -25658,9 +25670,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25658
25670
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25659
25671
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25660
25672
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
25661
|
-
/* harmony import */ var
|
|
25662
|
-
/* harmony import */ var
|
|
25663
|
-
/* harmony import */ var
|
|
25673
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
25674
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(46891);
|
|
25675
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
25664
25676
|
/*!
|
|
25665
25677
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25666
25678
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25674,7 +25686,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25674
25686
|
|
|
25675
25687
|
|
|
25676
25688
|
|
|
25677
|
-
|
|
25689
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
25678
25690
|
exec: (editor) => {
|
|
25679
25691
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
25680
25692
|
dialog
|
|
@@ -25710,7 +25722,7 @@ function about(editor) {
|
|
|
25710
25722
|
});
|
|
25711
25723
|
}
|
|
25712
25724
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
25713
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
25725
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
25714
25726
|
|
|
25715
25727
|
|
|
25716
25728
|
/***/ }),
|
|
@@ -25953,9 +25965,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25953
25965
|
|
|
25954
25966
|
"use strict";
|
|
25955
25967
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
25956
|
-
/* harmony import */ var
|
|
25957
|
-
/* harmony import */ var
|
|
25958
|
-
/* harmony import */ var
|
|
25968
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
25969
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3882);
|
|
25970
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25959
25971
|
/*!
|
|
25960
25972
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25961
25973
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25964,9 +25976,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25964
25976
|
|
|
25965
25977
|
|
|
25966
25978
|
|
|
25967
|
-
|
|
25968
|
-
|
|
25969
|
-
|
|
25979
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25980
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25981
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25970
25982
|
'table',
|
|
25971
25983
|
'iframe',
|
|
25972
25984
|
'img',
|
|
@@ -25974,8 +25986,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25974
25986
|
'pre',
|
|
25975
25987
|
'jodit'
|
|
25976
25988
|
];
|
|
25977
|
-
|
|
25978
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25989
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25990
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25979
25991
|
|
|
25980
25992
|
|
|
25981
25993
|
/***/ }),
|
|
@@ -26114,11 +26126,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
26114
26126
|
|
|
26115
26127
|
"use strict";
|
|
26116
26128
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
26117
|
-
/* harmony import */ var
|
|
26118
|
-
/* harmony import */ var
|
|
26119
|
-
/* harmony import */ var
|
|
26120
|
-
/* harmony import */ var
|
|
26121
|
-
/* harmony import */ var
|
|
26129
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
26130
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15627);
|
|
26131
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
26132
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41500);
|
|
26133
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
26122
26134
|
/*!
|
|
26123
26135
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26124
26136
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26159,10 +26171,10 @@ const aiAssistantDefaults = {
|
|
|
26159
26171
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
26160
26172
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
26161
26173
|
};
|
|
26162
|
-
|
|
26163
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
26164
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
26165
|
-
|
|
26174
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
26175
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
26176
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26177
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
26166
26178
|
isDisabled(editor) {
|
|
26167
26179
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26168
26180
|
},
|
|
@@ -26200,7 +26212,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
26200
26212
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
26201
26213
|
}
|
|
26202
26214
|
};
|
|
26203
|
-
|
|
26215
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
26204
26216
|
isDisabled(editor) {
|
|
26205
26217
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26206
26218
|
},
|
|
@@ -26839,6 +26851,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26839
26851
|
}
|
|
26840
26852
|
if ((_a = sibling.nodeValue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
26841
26853
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26854
|
+
if (!sibling.nodeValue.length &&
|
|
26855
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26856
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26857
|
+
}
|
|
26842
26858
|
}
|
|
26843
26859
|
if (!((_b = sibling.nodeValue) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
26844
26860
|
removeNeighbor = sibling;
|
|
@@ -27393,20 +27409,20 @@ function getMoveFilter(jodit) {
|
|
|
27393
27409
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51431);
|
|
27394
27410
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
27395
27411
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
27396
|
-
/* harmony import */ var
|
|
27397
|
-
/* harmony import */ var
|
|
27398
|
-
/* harmony import */ var
|
|
27399
|
-
/* harmony import */ var
|
|
27400
|
-
/* harmony import */ var
|
|
27401
|
-
/* harmony import */ var
|
|
27402
|
-
/* harmony import */ var
|
|
27403
|
-
/* harmony import */ var
|
|
27404
|
-
/* harmony import */ var
|
|
27405
|
-
/* harmony import */ var
|
|
27406
|
-
/* harmony import */ var
|
|
27407
|
-
/* harmony import */ var
|
|
27408
|
-
/* harmony import */ var
|
|
27409
|
-
/* harmony import */ var
|
|
27412
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
27413
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94673);
|
|
27414
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39586);
|
|
27415
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27416
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49463);
|
|
27417
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27418
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(10292);
|
|
27419
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
27420
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71718);
|
|
27421
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
27422
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48397);
|
|
27423
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
27424
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(46781);
|
|
27425
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
27410
27426
|
/*!
|
|
27411
27427
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27412
27428
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27429,7 +27445,7 @@ function getMoveFilter(jodit) {
|
|
|
27429
27445
|
*/
|
|
27430
27446
|
function bold(editor) {
|
|
27431
27447
|
const callBack = (command) => {
|
|
27432
|
-
const control =
|
|
27448
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = Object.assign({}, control.css);
|
|
27433
27449
|
let cssRules;
|
|
27434
27450
|
Object.keys(cssOptions).forEach((key) => {
|
|
27435
27451
|
if (!cssRules) {
|
|
@@ -27481,12 +27497,12 @@ function bold(editor) {
|
|
|
27481
27497
|
});
|
|
27482
27498
|
}
|
|
27483
27499
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
27484
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
27485
|
-
.set('italic', (
|
|
27486
|
-
.set('strikethrough', (
|
|
27487
|
-
.set('subscript', (
|
|
27488
|
-
.set('superscript', (
|
|
27489
|
-
.set('underline', (
|
|
27500
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
27501
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
27502
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
27503
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
27504
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
27505
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
27490
27506
|
|
|
27491
27507
|
|
|
27492
27508
|
/***/ }),
|
|
@@ -27556,9 +27572,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27556
27572
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94183);
|
|
27557
27573
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65564);
|
|
27558
27574
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
27559
|
-
/* harmony import */ var
|
|
27560
|
-
/* harmony import */ var
|
|
27561
|
-
/* harmony import */ var
|
|
27575
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
27576
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14835);
|
|
27577
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27562
27578
|
/*!
|
|
27563
27579
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27564
27580
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27571,7 +27587,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27571
27587
|
|
|
27572
27588
|
|
|
27573
27589
|
|
|
27574
|
-
|
|
27590
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
27575
27591
|
command: 'applyClassName',
|
|
27576
27592
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
27577
27593
|
list: [
|
|
@@ -27659,7 +27675,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
27659
27675
|
beforeDestruct() { }
|
|
27660
27676
|
}
|
|
27661
27677
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
27662
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
27678
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
27663
27679
|
|
|
27664
27680
|
|
|
27665
27681
|
/***/ }),
|
|
@@ -27798,9 +27814,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27798
27814
|
|
|
27799
27815
|
"use strict";
|
|
27800
27816
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
27801
|
-
/* harmony import */ var
|
|
27802
|
-
/* harmony import */ var
|
|
27803
|
-
/* harmony import */ var
|
|
27817
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
27818
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(556);
|
|
27819
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27804
27820
|
/*!
|
|
27805
27821
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27806
27822
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27809,7 +27825,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27809
27825
|
|
|
27810
27826
|
|
|
27811
27827
|
|
|
27812
|
-
|
|
27828
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27813
27829
|
timeout: 300,
|
|
27814
27830
|
removeEmptyElements: true,
|
|
27815
27831
|
fillEmptyParagraph: true,
|
|
@@ -27825,11 +27841,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27825
27841
|
safeJavaScriptLink: true,
|
|
27826
27842
|
disableCleanFilter: null
|
|
27827
27843
|
};
|
|
27828
|
-
|
|
27844
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27829
27845
|
command: 'removeFormat',
|
|
27830
27846
|
tooltip: 'Clear Formatting'
|
|
27831
27847
|
};
|
|
27832
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27848
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27833
27849
|
|
|
27834
27850
|
|
|
27835
27851
|
/***/ }),
|
|
@@ -28498,15 +28514,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28498
28514
|
|
|
28499
28515
|
"use strict";
|
|
28500
28516
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
28501
|
-
/* harmony import */ var
|
|
28502
|
-
/* harmony import */ var
|
|
28503
|
-
/* harmony import */ var
|
|
28504
|
-
/* harmony import */ var
|
|
28505
|
-
/* harmony import */ var
|
|
28506
|
-
/* harmony import */ var
|
|
28507
|
-
/* harmony import */ var
|
|
28508
|
-
/* harmony import */ var
|
|
28509
|
-
/* harmony import */ var
|
|
28517
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
28518
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65);
|
|
28519
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
28520
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4594);
|
|
28521
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
28522
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63859);
|
|
28523
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28524
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38808);
|
|
28525
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28510
28526
|
/*!
|
|
28511
28527
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28512
28528
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28518,25 +28534,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28518
28534
|
|
|
28519
28535
|
|
|
28520
28536
|
|
|
28521
|
-
|
|
28537
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
28522
28538
|
command: 'cut',
|
|
28523
28539
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28524
28540
|
tooltip: 'Cut selection'
|
|
28525
28541
|
};
|
|
28526
|
-
|
|
28542
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
28527
28543
|
command: 'copy',
|
|
28528
28544
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28529
28545
|
tooltip: 'Copy selection'
|
|
28530
28546
|
};
|
|
28531
|
-
|
|
28547
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
28532
28548
|
icon: 'select-all',
|
|
28533
28549
|
command: 'selectall',
|
|
28534
28550
|
tooltip: 'Select all'
|
|
28535
28551
|
};
|
|
28536
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
28537
|
-
.set('cut', (
|
|
28538
|
-
.set('paste', (
|
|
28539
|
-
.set('select-all', (
|
|
28552
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
28553
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
28554
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
28555
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28540
28556
|
|
|
28541
28557
|
|
|
28542
28558
|
/***/ }),
|
|
@@ -28608,10 +28624,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28608
28624
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
28609
28625
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
28610
28626
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28611
|
-
/* harmony import */ var
|
|
28612
|
-
/* harmony import */ var
|
|
28613
|
-
/* harmony import */ var
|
|
28614
|
-
/* harmony import */ var
|
|
28627
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28628
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21391);
|
|
28629
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(55370);
|
|
28630
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28615
28631
|
/*!
|
|
28616
28632
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28617
28633
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28623,8 +28639,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28623
28639
|
|
|
28624
28640
|
|
|
28625
28641
|
|
|
28626
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
28627
|
-
|
|
28642
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28643
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
28628
28644
|
isVisible: (editor) => {
|
|
28629
28645
|
return !editor.o.disablePlugins.includes('color');
|
|
28630
28646
|
},
|
|
@@ -28637,7 +28653,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28637
28653
|
if (!selected.length) {
|
|
28638
28654
|
return false;
|
|
28639
28655
|
}
|
|
28640
|
-
const makeColorPicker = (key) => (0,
|
|
28656
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28641
28657
|
selected.forEach(cell => {
|
|
28642
28658
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
28643
28659
|
});
|
|
@@ -28646,7 +28662,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28646
28662
|
close();
|
|
28647
28663
|
editor.unlock();
|
|
28648
28664
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
28649
|
-
return (0,
|
|
28665
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
28650
28666
|
{
|
|
28651
28667
|
name: 'Background',
|
|
28652
28668
|
content: makeColorPicker('background-color')
|
|
@@ -28657,7 +28673,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28657
28673
|
},
|
|
28658
28674
|
tooltip: 'Background'
|
|
28659
28675
|
};
|
|
28660
|
-
|
|
28676
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
28661
28677
|
isVisible: (editor) => {
|
|
28662
28678
|
return !editor.o.disablePlugins.includes('color');
|
|
28663
28679
|
},
|
|
@@ -28705,7 +28721,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28705
28721
|
}
|
|
28706
28722
|
}, editor.editor);
|
|
28707
28723
|
}
|
|
28708
|
-
const backgroundTag = (0,
|
|
28724
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28709
28725
|
if (!currentElement) {
|
|
28710
28726
|
editor.execCommand('background', false, value);
|
|
28711
28727
|
}
|
|
@@ -28716,7 +28732,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28716
28732
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
28717
28733
|
close();
|
|
28718
28734
|
}, bg_color);
|
|
28719
|
-
const colorTab = (0,
|
|
28735
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28720
28736
|
if (!currentElement) {
|
|
28721
28737
|
editor.execCommand('forecolor', false, value);
|
|
28722
28738
|
}
|
|
@@ -28740,7 +28756,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28740
28756
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
28741
28757
|
tabs = tabs.reverse();
|
|
28742
28758
|
}
|
|
28743
|
-
return (0,
|
|
28759
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
28744
28760
|
},
|
|
28745
28761
|
exec(jodit, current, { button }) {
|
|
28746
28762
|
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');
|
|
@@ -28779,10 +28795,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28779
28795
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
28780
28796
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
28781
28797
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28782
|
-
/* harmony import */ var
|
|
28783
|
-
/* harmony import */ var
|
|
28784
|
-
/* harmony import */ var
|
|
28785
|
-
/* harmony import */ var
|
|
28798
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28799
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72131);
|
|
28800
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28801
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18489);
|
|
28786
28802
|
/*!
|
|
28787
28803
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28788
28804
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28840,7 +28856,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28840
28856
|
}
|
|
28841
28857
|
return result;
|
|
28842
28858
|
};
|
|
28843
|
-
|
|
28859
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28844
28860
|
exec: (editor, current, { button }) => {
|
|
28845
28861
|
if (!current) {
|
|
28846
28862
|
return;
|
|
@@ -28890,10 +28906,10 @@ function copyFormat(editor) {
|
|
|
28890
28906
|
name: 'copyformat',
|
|
28891
28907
|
group: 'clipboard'
|
|
28892
28908
|
});
|
|
28893
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28909
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28894
28910
|
}
|
|
28895
28911
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28896
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28912
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28897
28913
|
|
|
28898
28914
|
|
|
28899
28915
|
/***/ }),
|
|
@@ -30703,8 +30719,8 @@ function wrapText(fake, jodit) {
|
|
|
30703
30719
|
/* unused harmony export file */
|
|
30704
30720
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
30705
30721
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
30706
|
-
/* harmony import */ var
|
|
30707
|
-
/* harmony import */ var
|
|
30722
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30723
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21391);
|
|
30708
30724
|
/*!
|
|
30709
30725
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30710
30726
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30714,7 +30730,7 @@ function wrapText(fake, jodit) {
|
|
|
30714
30730
|
|
|
30715
30731
|
|
|
30716
30732
|
|
|
30717
|
-
|
|
30733
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
30718
30734
|
popup: (editor, current, close) => {
|
|
30719
30735
|
const insert = (url, title = '') => {
|
|
30720
30736
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -30727,7 +30743,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
30727
30743
|
? current
|
|
30728
30744
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
30729
30745
|
}
|
|
30730
|
-
return (0,
|
|
30746
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
30731
30747
|
filebrowser: (data) => {
|
|
30732
30748
|
data.files &&
|
|
30733
30749
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30850,11 +30866,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30850
30866
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22718);
|
|
30851
30867
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
30852
30868
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
30853
|
-
/* harmony import */ var
|
|
30854
|
-
/* harmony import */ var
|
|
30855
|
-
/* harmony import */ var
|
|
30856
|
-
/* harmony import */ var
|
|
30857
|
-
/* harmony import */ var
|
|
30869
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
30870
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78602);
|
|
30871
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30872
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84413);
|
|
30873
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30858
30874
|
/*!
|
|
30859
30875
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30860
30876
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30870,9 +30886,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30870
30886
|
/**
|
|
30871
30887
|
* Default font-size points
|
|
30872
30888
|
*/
|
|
30873
|
-
|
|
30874
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30875
|
-
|
|
30889
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30890
|
+
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()));
|
|
30891
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30876
30892
|
command: 'fontsize',
|
|
30877
30893
|
data: {
|
|
30878
30894
|
cssRule: 'font-size',
|
|
@@ -30931,7 +30947,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30931
30947
|
return keySet.has(normalize(value.toString()));
|
|
30932
30948
|
}
|
|
30933
30949
|
};
|
|
30934
|
-
|
|
30950
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = Object.assign(Object.assign({}, jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize), { command: 'fontname', textTemplate: (j, value) => {
|
|
30935
30951
|
const [first] = value.split(',');
|
|
30936
30952
|
return (0,jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__/* .trimChars */ .Gd)(first, '"\'');
|
|
30937
30953
|
}, list: {
|
|
@@ -31034,11 +31050,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31034
31050
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31035
31051
|
|
|
31036
31052
|
"use strict";
|
|
31037
|
-
/* harmony import */ var
|
|
31053
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
31054
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
31038
31055
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31039
|
-
/* harmony import */ var
|
|
31040
|
-
/* harmony import */ var
|
|
31041
|
-
/* harmony import */ var
|
|
31056
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31057
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30820);
|
|
31058
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31042
31059
|
/*!
|
|
31043
31060
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31044
31061
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31048,13 +31065,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31048
31065
|
|
|
31049
31066
|
|
|
31050
31067
|
|
|
31051
|
-
|
|
31052
|
-
|
|
31068
|
+
|
|
31069
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
31070
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
31053
31071
|
command: 'formatBlock',
|
|
31054
31072
|
value(editor, button) {
|
|
31055
31073
|
var _a, _b;
|
|
31056
31074
|
const control = button.control, current = editor.s.current();
|
|
31057
|
-
const currentBox =
|
|
31075
|
+
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);
|
|
31058
31076
|
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;
|
|
31059
31077
|
},
|
|
31060
31078
|
update(editor, button) {
|
|
@@ -31063,7 +31081,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31063
31081
|
return false;
|
|
31064
31082
|
}
|
|
31065
31083
|
const currentValue = button.state.value, list = control.list;
|
|
31066
|
-
if (list && list[currentValue.toString()]) {
|
|
31084
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
31067
31085
|
if (editor.o.textIcons) {
|
|
31068
31086
|
button.state.text = list[currentValue.toString()].toString();
|
|
31069
31087
|
}
|
|
@@ -31087,9 +31105,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31087
31105
|
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]));
|
|
31088
31106
|
},
|
|
31089
31107
|
isActive: (editor, button) => {
|
|
31090
|
-
var _a;
|
|
31091
31108
|
return (button.state.value !== editor.o.enter &&
|
|
31092
|
-
|
|
31109
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
31110
|
+
Boolean(button.control.list[button.state.value]));
|
|
31093
31111
|
},
|
|
31094
31112
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
31095
31113
|
tooltip: 'Insert format block'
|
|
@@ -31139,11 +31157,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31139
31157
|
"use strict";
|
|
31140
31158
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
31141
31159
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31142
|
-
/* harmony import */ var
|
|
31143
|
-
/* harmony import */ var
|
|
31144
|
-
/* harmony import */ var
|
|
31145
|
-
/* harmony import */ var
|
|
31146
|
-
/* harmony import */ var
|
|
31160
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31161
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(88708);
|
|
31162
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31163
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10099);
|
|
31164
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31147
31165
|
/*!
|
|
31148
31166
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31149
31167
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31155,10 +31173,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31155
31173
|
|
|
31156
31174
|
|
|
31157
31175
|
|
|
31158
|
-
|
|
31159
|
-
|
|
31160
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
31161
|
-
|
|
31176
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
31177
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
31178
|
+
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()));
|
|
31179
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
31162
31180
|
exec: (editor) => {
|
|
31163
31181
|
editor.toggleFullSize();
|
|
31164
31182
|
},
|
|
@@ -31299,19 +31317,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
31299
31317
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31300
31318
|
*/
|
|
31301
31319
|
|
|
31302
|
-
/**
|
|
31303
|
-
* You can redefine hotkeys for some command
|
|
31304
|
-
*
|
|
31305
|
-
* @example
|
|
31306
|
-
* ```js
|
|
31307
|
-
* var jodit = Jodit.make('#editor', {
|
|
31308
|
-
* commandToHotkeys: {
|
|
31309
|
-
* bold: 'ctrl+shift+b',
|
|
31310
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
31311
|
-
* }
|
|
31312
|
-
* })
|
|
31313
|
-
* ```
|
|
31314
|
-
*/
|
|
31315
31320
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
31316
31321
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
31317
31322
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -31486,9 +31491,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31486
31491
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
31487
31492
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
31488
31493
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
31489
|
-
/* harmony import */ var
|
|
31490
|
-
/* harmony import */ var
|
|
31491
|
-
/* harmony import */ var
|
|
31494
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
31495
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(75241);
|
|
31496
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31492
31497
|
/*!
|
|
31493
31498
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31494
31499
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31499,8 +31504,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31499
31504
|
|
|
31500
31505
|
|
|
31501
31506
|
|
|
31502
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
31503
|
-
|
|
31507
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
31508
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
31504
31509
|
command: 'insertHorizontalRule',
|
|
31505
31510
|
tags: ['hr'],
|
|
31506
31511
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31981,6 +31986,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31981
31986
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31982
31987
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31983
31988
|
*/
|
|
31989
|
+
/**
|
|
31990
|
+
* @module plugins/image-properties
|
|
31991
|
+
*/
|
|
31984
31992
|
|
|
31985
31993
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31986
31994
|
dialogWidth: 600,
|
|
@@ -33497,10 +33505,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33497
33505
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
33498
33506
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
33499
33507
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
33500
|
-
/* harmony import */ var
|
|
33501
|
-
/* harmony import */ var
|
|
33502
|
-
/* harmony import */ var
|
|
33503
|
-
/* harmony import */ var
|
|
33508
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
33509
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
33510
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15807);
|
|
33511
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33504
33512
|
/*!
|
|
33505
33513
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33506
33514
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33514,8 +33522,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33514
33522
|
|
|
33515
33523
|
|
|
33516
33524
|
|
|
33517
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
33518
|
-
|
|
33525
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33526
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
33519
33527
|
popup: (editor, current, close) => {
|
|
33520
33528
|
let sourceImage = null;
|
|
33521
33529
|
if (current &&
|
|
@@ -33527,7 +33535,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
33527
33535
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
33528
33536
|
}
|
|
33529
33537
|
editor.s.save();
|
|
33530
|
-
return (0,
|
|
33538
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
33531
33539
|
filebrowser: (data) => {
|
|
33532
33540
|
editor.s.restore();
|
|
33533
33541
|
data.files &&
|
|
@@ -33570,12 +33578,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33570
33578
|
"use strict";
|
|
33571
33579
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
33572
33580
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
33573
|
-
/* harmony import */ var
|
|
33574
|
-
/* harmony import */ var
|
|
33575
|
-
/* harmony import */ var
|
|
33576
|
-
/* harmony import */ var
|
|
33577
|
-
/* harmony import */ var
|
|
33578
|
-
/* harmony import */ var
|
|
33581
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
33582
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96168);
|
|
33583
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
33584
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(45153);
|
|
33585
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33586
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(63163);
|
|
33579
33587
|
/*!
|
|
33580
33588
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33581
33589
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33587,17 +33595,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33587
33595
|
|
|
33588
33596
|
|
|
33589
33597
|
|
|
33590
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
33591
|
-
|
|
33598
|
+
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()));
|
|
33599
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
33592
33600
|
tooltip: 'Increase Indent'
|
|
33593
33601
|
};
|
|
33594
|
-
|
|
33602
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
33595
33603
|
isDisabled: (editor) => {
|
|
33596
33604
|
const current = editor.s.current();
|
|
33597
33605
|
if (current) {
|
|
33598
33606
|
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);
|
|
33599
33607
|
if (currentBox) {
|
|
33600
|
-
const arrow = (0,
|
|
33608
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
33601
33609
|
return (!currentBox.style[arrow] ||
|
|
33602
33610
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
33603
33611
|
}
|
|
@@ -33606,7 +33614,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
33606
33614
|
},
|
|
33607
33615
|
tooltip: 'Decrease Indent'
|
|
33608
33616
|
};
|
|
33609
|
-
|
|
33617
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
33610
33618
|
|
|
33611
33619
|
|
|
33612
33620
|
/***/ }),
|
|
@@ -33867,12 +33875,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33867
33875
|
|
|
33868
33876
|
"use strict";
|
|
33869
33877
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
33870
|
-
/* harmony import */ var
|
|
33871
|
-
/* harmony import */ var
|
|
33872
|
-
/* harmony import */ var
|
|
33873
|
-
/* harmony import */ var
|
|
33878
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
33879
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73625);
|
|
33880
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69247);
|
|
33881
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84516);
|
|
33882
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(79073);
|
|
33874
33883
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(3301);
|
|
33875
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
33876
33884
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48537);
|
|
33877
33885
|
/* 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__);
|
|
33878
33886
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1629);
|
|
@@ -33906,10 +33914,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33906
33914
|
|
|
33907
33915
|
|
|
33908
33916
|
|
|
33909
|
-
|
|
33910
|
-
|
|
33911
|
-
|
|
33912
|
-
|
|
33917
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33918
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33919
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33920
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33913
33921
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33914
33922
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33915
33923
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33917,14 +33925,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33917
33925
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33918
33926
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33919
33927
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33920
|
-
|
|
33921
|
-
a:
|
|
33922
|
-
img:
|
|
33923
|
-
cells:
|
|
33928
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33929
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33930
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33931
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33924
33932
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33925
|
-
jodit:
|
|
33926
|
-
iframe:
|
|
33927
|
-
'jodit-media':
|
|
33933
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33934
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33935
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33928
33936
|
selection: [
|
|
33929
33937
|
'bold',
|
|
33930
33938
|
'underline',
|
|
@@ -34536,12 +34544,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34536
34544
|
/* unused harmony export justify */
|
|
34537
34545
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
34538
34546
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
34539
|
-
/* harmony import */ var
|
|
34540
|
-
/* harmony import */ var
|
|
34541
|
-
/* harmony import */ var
|
|
34542
|
-
/* harmony import */ var
|
|
34543
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34547
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
34548
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26071);
|
|
34549
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4401);
|
|
34550
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
34544
34551
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
34552
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77795);
|
|
34553
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
34545
34554
|
/*!
|
|
34546
34555
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34547
34556
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34554,7 +34563,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34554
34563
|
|
|
34555
34564
|
|
|
34556
34565
|
|
|
34557
|
-
|
|
34566
|
+
|
|
34567
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
34558
34568
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
34559
34569
|
name: 'left',
|
|
34560
34570
|
tooltip: 'Align',
|
|
@@ -34563,22 +34573,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34563
34573
|
if (current) {
|
|
34564
34574
|
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) ||
|
|
34565
34575
|
editor.editor;
|
|
34566
|
-
let currentValue = (0,
|
|
34576
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
34567
34577
|
if (control.defaultValue &&
|
|
34568
34578
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
34569
34579
|
currentValue = 'left';
|
|
34570
34580
|
}
|
|
34571
|
-
|
|
34572
|
-
|
|
34573
|
-
|
|
34574
|
-
|
|
34581
|
+
const { list, data } = control;
|
|
34582
|
+
if (data &&
|
|
34583
|
+
data.currentValue !== currentValue &&
|
|
34584
|
+
list &&
|
|
34585
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
34586
|
+
? list[currentValue]
|
|
34587
|
+
: list.includes(currentValue))) {
|
|
34575
34588
|
if (editor.o.textIcons || control.component === 'select') {
|
|
34576
34589
|
button.state.text = currentValue;
|
|
34577
34590
|
}
|
|
34578
34591
|
else {
|
|
34579
34592
|
button.state.icon.name = currentValue;
|
|
34580
34593
|
}
|
|
34581
|
-
|
|
34594
|
+
data.currentValue = currentValue;
|
|
34582
34595
|
}
|
|
34583
34596
|
}
|
|
34584
34597
|
},
|
|
@@ -34589,7 +34602,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34589
34602
|
}
|
|
34590
34603
|
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) ||
|
|
34591
34604
|
editor.editor;
|
|
34592
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
34605
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
34593
34606
|
},
|
|
34594
34607
|
defaultValue: ['left', 'start', 'inherit'],
|
|
34595
34608
|
data: {
|
|
@@ -34643,7 +34656,7 @@ function justify(editor) {
|
|
|
34643
34656
|
if (!currentBox) {
|
|
34644
34657
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
34645
34658
|
}
|
|
34646
|
-
(0,
|
|
34659
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
34647
34660
|
});
|
|
34648
34661
|
return false;
|
|
34649
34662
|
};
|
|
@@ -34855,9 +34868,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34855
34868
|
"use strict";
|
|
34856
34869
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9596);
|
|
34857
34870
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
34858
|
-
/* harmony import */ var
|
|
34859
|
-
/* harmony import */ var
|
|
34860
|
-
/* harmony import */ var
|
|
34871
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
34872
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19615);
|
|
34873
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34861
34874
|
/*!
|
|
34862
34875
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34863
34876
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34867,9 +34880,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34867
34880
|
|
|
34868
34881
|
|
|
34869
34882
|
|
|
34870
|
-
|
|
34871
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34872
|
-
|
|
34883
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34884
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34885
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34873
34886
|
command: 'applyLineHeight',
|
|
34874
34887
|
tags: ['ol'],
|
|
34875
34888
|
tooltip: 'Line height',
|
|
@@ -35434,12 +35447,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35434
35447
|
"use strict";
|
|
35435
35448
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
35436
35449
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
35437
|
-
/* harmony import */ var
|
|
35438
|
-
/* harmony import */ var
|
|
35439
|
-
/* harmony import */ var
|
|
35440
|
-
/* harmony import */ var
|
|
35441
|
-
/* harmony import */ var
|
|
35442
|
-
/* harmony import */ var
|
|
35450
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
35451
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67576);
|
|
35452
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35453
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73501);
|
|
35454
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35455
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17660);
|
|
35443
35456
|
/*!
|
|
35444
35457
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35445
35458
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35451,8 +35464,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35451
35464
|
|
|
35452
35465
|
|
|
35453
35466
|
|
|
35454
|
-
|
|
35455
|
-
formTemplate:
|
|
35467
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
35468
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
35456
35469
|
followOnDblClick: false,
|
|
35457
35470
|
processVideoLink: true,
|
|
35458
35471
|
processPastedLink: true,
|
|
@@ -35464,8 +35477,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
35464
35477
|
selectOptionsClassName: [],
|
|
35465
35478
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
35466
35479
|
};
|
|
35467
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
35468
|
-
|
|
35480
|
+
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()));
|
|
35481
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
35469
35482
|
exec: (editor, current) => {
|
|
35470
35483
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
35471
35484
|
if (anchor) {
|
|
@@ -35476,7 +35489,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
35476
35489
|
},
|
|
35477
35490
|
tooltip: 'Unlink'
|
|
35478
35491
|
};
|
|
35479
|
-
|
|
35492
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
35480
35493
|
isActive: (editor) => {
|
|
35481
35494
|
const current = editor.s.current();
|
|
35482
35495
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -36021,9 +36034,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
36021
36034
|
"use strict";
|
|
36022
36035
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
36023
36036
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
36024
|
-
/* harmony import */ var
|
|
36025
|
-
/* harmony import */ var
|
|
36026
|
-
/* harmony import */ var
|
|
36037
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36038
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78167);
|
|
36039
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78072);
|
|
36027
36040
|
/*!
|
|
36028
36041
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36029
36042
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36034,9 +36047,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
36034
36047
|
|
|
36035
36048
|
|
|
36036
36049
|
|
|
36037
|
-
|
|
36038
|
-
|
|
36039
|
-
|
|
36050
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
36051
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
36052
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
36040
36053
|
{
|
|
36041
36054
|
group: 'font-style',
|
|
36042
36055
|
buttons: []
|
|
@@ -36083,7 +36096,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
36083
36096
|
'|',
|
|
36084
36097
|
'dots'
|
|
36085
36098
|
];
|
|
36086
|
-
|
|
36099
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
36087
36100
|
{
|
|
36088
36101
|
group: 'font-style',
|
|
36089
36102
|
buttons: []
|
|
@@ -36118,7 +36131,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
36118
36131
|
'|',
|
|
36119
36132
|
'dots'
|
|
36120
36133
|
];
|
|
36121
|
-
|
|
36134
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
36122
36135
|
{
|
|
36123
36136
|
group: 'font-style',
|
|
36124
36137
|
buttons: []
|
|
@@ -36139,17 +36152,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
36139
36152
|
'---',
|
|
36140
36153
|
'dots'
|
|
36141
36154
|
];
|
|
36142
|
-
|
|
36155
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
36143
36156
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
36144
36157
|
popup: (editor, current, close, button) => {
|
|
36145
36158
|
let store = button.control.data;
|
|
36146
36159
|
if (store === undefined) {
|
|
36147
36160
|
store = {
|
|
36148
|
-
toolbar: (0,
|
|
36161
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
36149
36162
|
rebuild: () => {
|
|
36150
36163
|
var _a, _b;
|
|
36151
36164
|
if (button) {
|
|
36152
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
36165
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
36153
36166
|
if (buttons && store) {
|
|
36154
36167
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
36155
36168
|
const w = ((_b = (_a = editor.toolbar) === null || _a === void 0 ? void 0 : _a.firstButton) === null || _b === void 0 ? void 0 : _b.container.offsetWidth) || 36;
|
|
@@ -36258,11 +36271,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
36258
36271
|
"use strict";
|
|
36259
36272
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49382);
|
|
36260
36273
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
36261
|
-
/* harmony import */ var
|
|
36262
|
-
/* harmony import */ var
|
|
36263
|
-
/* harmony import */ var
|
|
36264
|
-
/* harmony import */ var
|
|
36265
|
-
/* harmony import */ var
|
|
36274
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36275
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48421);
|
|
36276
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
36277
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22791);
|
|
36278
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
36266
36279
|
/*!
|
|
36267
36280
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36268
36281
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36280,8 +36293,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
36280
36293
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
36281
36294
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
36282
36295
|
};
|
|
36283
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
36284
|
-
|
|
36296
|
+
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()));
|
|
36297
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
36285
36298
|
command: 'insertUnorderedList',
|
|
36286
36299
|
tags: ['ul'],
|
|
36287
36300
|
tooltip: 'Insert Unordered List',
|
|
@@ -36293,7 +36306,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
36293
36306
|
},
|
|
36294
36307
|
exec: memoExec
|
|
36295
36308
|
};
|
|
36296
|
-
|
|
36309
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
36297
36310
|
command: 'insertOrderedList',
|
|
36298
36311
|
tags: ['ol'],
|
|
36299
36312
|
tooltip: 'Insert Ordered List',
|
|
@@ -36671,8 +36684,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36671
36684
|
"use strict";
|
|
36672
36685
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31635);
|
|
36673
36686
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
36674
|
-
/* harmony import */ var
|
|
36675
|
-
/* harmony import */ var
|
|
36687
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
36688
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48954);
|
|
36676
36689
|
/*!
|
|
36677
36690
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36678
36691
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36682,19 +36695,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36682
36695
|
|
|
36683
36696
|
|
|
36684
36697
|
|
|
36685
|
-
|
|
36686
|
-
|
|
36687
|
-
|
|
36688
|
-
|
|
36689
|
-
|
|
36698
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
36699
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
36700
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
36701
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
36702
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
36690
36703
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
36691
36704
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
36692
36705
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
36693
36706
|
];
|
|
36694
|
-
|
|
36695
|
-
|
|
36707
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
36708
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
36696
36709
|
const psKey = 'pasteStorage';
|
|
36697
|
-
|
|
36710
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
36698
36711
|
tooltip: 'Paste from clipboard',
|
|
36699
36712
|
exec(editor_1, _1, _a) {
|
|
36700
36713
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__awaiter */ .sH)(this, arguments, void 0, function* (editor, _, { control }) {
|
|
@@ -36743,7 +36756,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
36743
36756
|
!error && editor.e.fire('afterPaste');
|
|
36744
36757
|
}
|
|
36745
36758
|
else if (text.length) {
|
|
36746
|
-
(0,
|
|
36759
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
36747
36760
|
editor.e.fire('afterPaste');
|
|
36748
36761
|
}
|
|
36749
36762
|
else {
|
|
@@ -37472,10 +37485,10 @@ function generateCriticalCSS(jodit) {
|
|
|
37472
37485
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54614);
|
|
37473
37486
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85769);
|
|
37474
37487
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
37475
|
-
/* harmony import */ var
|
|
37476
|
-
/* harmony import */ var
|
|
37477
|
-
/* harmony import */ var
|
|
37478
|
-
/* harmony import */ var
|
|
37488
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
37489
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(86134);
|
|
37490
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26899);
|
|
37491
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
37479
37492
|
/*!
|
|
37480
37493
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37481
37494
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37490,8 +37503,8 @@ function generateCriticalCSS(jodit) {
|
|
|
37490
37503
|
|
|
37491
37504
|
|
|
37492
37505
|
|
|
37493
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
37494
|
-
|
|
37506
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
37507
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
37495
37508
|
exec: (editor) => {
|
|
37496
37509
|
const iframe = editor.create.element('iframe');
|
|
37497
37510
|
Object.assign(iframe.style, {
|
|
@@ -37502,7 +37515,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37502
37515
|
height: 0,
|
|
37503
37516
|
border: 0
|
|
37504
37517
|
});
|
|
37505
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
37518
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
37506
37519
|
const afterFinishPrint = () => {
|
|
37507
37520
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
37508
37521
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -37520,7 +37533,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37520
37533
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
37521
37534
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
37522
37535
|
'"><head><title></title></head><style>' +
|
|
37523
|
-
(0,
|
|
37536
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
37524
37537
|
'</style><body></body></html>');
|
|
37525
37538
|
myWindow.document.close();
|
|
37526
37539
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -37558,11 +37571,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37558
37571
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
37559
37572
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
37560
37573
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
37561
|
-
/* harmony import */ var
|
|
37562
|
-
/* harmony import */ var
|
|
37563
|
-
/* harmony import */ var
|
|
37564
|
-
/* harmony import */ var
|
|
37565
|
-
/* harmony import */ var
|
|
37574
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
37575
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(37629);
|
|
37576
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
37577
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42687);
|
|
37578
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
37566
37579
|
/*!
|
|
37567
37580
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37568
37581
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37575,13 +37588,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37575
37588
|
|
|
37576
37589
|
|
|
37577
37590
|
|
|
37578
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
37579
|
-
|
|
37591
|
+
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()));
|
|
37592
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
37580
37593
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37581
37594
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
37582
37595
|
tooltip: 'Redo'
|
|
37583
37596
|
};
|
|
37584
|
-
|
|
37597
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
37585
37598
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37586
37599
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
37587
37600
|
tooltip: 'Undo'
|
|
@@ -38600,9 +38613,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38600
38613
|
|
|
38601
38614
|
"use strict";
|
|
38602
38615
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
38603
|
-
/* harmony import */ var
|
|
38604
|
-
/* harmony import */ var
|
|
38605
|
-
/* harmony import */ var
|
|
38616
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
38617
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98973);
|
|
38618
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
38606
38619
|
/*!
|
|
38607
38620
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38608
38621
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38612,14 +38625,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38612
38625
|
|
|
38613
38626
|
|
|
38614
38627
|
|
|
38615
|
-
|
|
38616
|
-
|
|
38628
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
38629
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
38617
38630
|
lazyIdleTimeout: 0,
|
|
38618
38631
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
38619
38632
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
38620
38633
|
};
|
|
38621
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
38622
|
-
|
|
38634
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
38635
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
38623
38636
|
tooltip: 'Find',
|
|
38624
38637
|
icon: 'search',
|
|
38625
38638
|
exec(jodit, _, { control }) {
|
|
@@ -40251,9 +40264,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40251
40264
|
"use strict";
|
|
40252
40265
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
40253
40266
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
40254
|
-
/* harmony import */ var
|
|
40255
|
-
/* harmony import */ var
|
|
40256
|
-
/* harmony import */ var
|
|
40267
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
40268
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58671);
|
|
40269
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
40257
40270
|
/*!
|
|
40258
40271
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40259
40272
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40263,9 +40276,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40263
40276
|
|
|
40264
40277
|
|
|
40265
40278
|
|
|
40266
|
-
|
|
40267
|
-
|
|
40268
|
-
|
|
40279
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
40280
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
40281
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
40269
40282
|
/**
|
|
40270
40283
|
* Show gutter
|
|
40271
40284
|
*/
|
|
@@ -40287,15 +40300,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
40287
40300
|
*/
|
|
40288
40301
|
highlightActiveLine: true
|
|
40289
40302
|
};
|
|
40290
|
-
|
|
40303
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
40291
40304
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
40292
40305
|
];
|
|
40293
|
-
|
|
40306
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
40294
40307
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
40295
40308
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
40296
40309
|
];
|
|
40297
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
40298
|
-
|
|
40310
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
40311
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
40299
40312
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
40300
40313
|
exec: (editor) => {
|
|
40301
40314
|
editor.toggleMode();
|
|
@@ -41105,9 +41118,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41105
41118
|
|
|
41106
41119
|
"use strict";
|
|
41107
41120
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41108
|
-
/* harmony import */ var
|
|
41109
|
-
/* harmony import */ var
|
|
41110
|
-
/* harmony import */ var
|
|
41121
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41122
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80709);
|
|
41123
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41111
41124
|
/*!
|
|
41112
41125
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41113
41126
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41116,13 +41129,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41116
41129
|
|
|
41117
41130
|
|
|
41118
41131
|
|
|
41119
|
-
|
|
41120
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
41121
|
-
|
|
41132
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
41133
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41134
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
41122
41135
|
isActive(e) {
|
|
41123
41136
|
return e.o.spellcheck;
|
|
41124
41137
|
},
|
|
41125
|
-
icon: (
|
|
41138
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
41126
41139
|
name: 'spellcheck',
|
|
41127
41140
|
command: 'toggleSpellcheck',
|
|
41128
41141
|
tooltip: 'Spellcheck'
|
|
@@ -41897,9 +41910,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41897
41910
|
|
|
41898
41911
|
"use strict";
|
|
41899
41912
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41900
|
-
/* harmony import */ var
|
|
41901
|
-
/* harmony import */ var
|
|
41902
|
-
/* harmony import */ var
|
|
41913
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41914
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3283);
|
|
41915
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41903
41916
|
/*!
|
|
41904
41917
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41905
41918
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41908,8 +41921,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41908
41921
|
|
|
41909
41922
|
|
|
41910
41923
|
|
|
41911
|
-
|
|
41912
|
-
|
|
41924
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41925
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41913
41926
|
'!',
|
|
41914
41927
|
'"',
|
|
41915
41928
|
'#',
|
|
@@ -42121,8 +42134,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
42121
42134
|
'♦',
|
|
42122
42135
|
'≈'
|
|
42123
42136
|
];
|
|
42124
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
42125
|
-
|
|
42137
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
42138
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
42126
42139
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
42127
42140
|
tooltip: 'Insert Special Character',
|
|
42128
42141
|
popup: (editor, current, close) => {
|
|
@@ -43111,9 +43124,9 @@ function findCell(editor, key) {
|
|
|
43111
43124
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
43112
43125
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71122);
|
|
43113
43126
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43114
|
-
/* harmony import */ var
|
|
43115
|
-
/* harmony import */ var
|
|
43116
|
-
/* harmony import */ var
|
|
43127
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43128
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35863);
|
|
43129
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
43117
43130
|
/*!
|
|
43118
43131
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43119
43132
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43125,12 +43138,12 @@ function findCell(editor, key) {
|
|
|
43125
43138
|
|
|
43126
43139
|
|
|
43127
43140
|
|
|
43128
|
-
|
|
43141
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
43129
43142
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
43130
43143
|
useExtraClassesOptions: false
|
|
43131
43144
|
};
|
|
43132
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
43133
|
-
|
|
43145
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
43146
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
43134
43147
|
data: {
|
|
43135
43148
|
cols: 10,
|
|
43136
43149
|
rows: 10,
|
|
@@ -43297,10 +43310,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43297
43310
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64962);
|
|
43298
43311
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18716);
|
|
43299
43312
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43300
|
-
/* harmony import */ var
|
|
43301
|
-
/* harmony import */ var
|
|
43302
|
-
/* harmony import */ var
|
|
43303
|
-
/* harmony import */ var
|
|
43313
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43314
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
43315
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(46035);
|
|
43316
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
43304
43317
|
/*!
|
|
43305
43318
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43306
43319
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43313,8 +43326,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43313
43326
|
|
|
43314
43327
|
|
|
43315
43328
|
|
|
43316
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
43317
|
-
|
|
43329
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
43330
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
43318
43331
|
popup: (editor, current, close) => {
|
|
43319
43332
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
43320
43333
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -43361,7 +43374,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
43361
43374
|
formCode.onSubmit(data => {
|
|
43362
43375
|
insertCode(data.code);
|
|
43363
43376
|
});
|
|
43364
|
-
return (0,
|
|
43377
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
43365
43378
|
},
|
|
43366
43379
|
tags: ['iframe'],
|
|
43367
43380
|
tooltip: 'Insert youtube/vimeo video'
|
|
@@ -43996,9 +44009,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43996
44009
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
43997
44010
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65564);
|
|
43998
44011
|
/* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34138);
|
|
43999
|
-
/* harmony import */ var
|
|
44000
|
-
/* harmony import */ var
|
|
44001
|
-
/* harmony import */ var
|
|
44012
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
44013
|
+
/* harmony import */ var _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75700);
|
|
44014
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56418);
|
|
44002
44015
|
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25511);
|
|
44003
44016
|
/*!
|
|
44004
44017
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -44016,7 +44029,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44016
44029
|
|
|
44017
44030
|
|
|
44018
44031
|
|
|
44019
|
-
|
|
44032
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.autocomplete = {
|
|
44020
44033
|
sources: [],
|
|
44021
44034
|
maxItems: 50,
|
|
44022
44035
|
isMatchedQuery: (query, value) => value.toLowerCase().indexOf(query.toLowerCase()) === 0,
|
|
@@ -44034,7 +44047,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44034
44047
|
afterInit(jodit) {
|
|
44035
44048
|
this.popup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__/* .Popup */ .z(jodit);
|
|
44036
44049
|
this.popup.setMod('padding', false);
|
|
44037
|
-
this.list = new
|
|
44050
|
+
this.list = new _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__/* .Autocomplete */ .j(jodit);
|
|
44038
44051
|
this.popup.setContent(this.list.container);
|
|
44039
44052
|
jodit.e
|
|
44040
44053
|
.on('select.autocomplete', (item) => {
|
|
@@ -44045,7 +44058,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44045
44058
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isNode(insertValue)) {
|
|
44046
44059
|
insertValue = jodit.createInside.fromHTML(insertValue);
|
|
44047
44060
|
}
|
|
44048
|
-
(0,
|
|
44061
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .replaceTextLeftOfCursorAfterSpace */ .s)(jodit.s.range, insertValue);
|
|
44049
44062
|
this.j.s.setCursorAfter(insertValue);
|
|
44050
44063
|
this.j.synchronizeValues();
|
|
44051
44064
|
this.popup.close();
|
|
@@ -44083,7 +44096,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44083
44096
|
const range = ((_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.rangeCount)
|
|
44084
44097
|
? (_b = this.j.s.sel) === null || _b === void 0 ? void 0 : _b.getRangeAt(0)
|
|
44085
44098
|
: null;
|
|
44086
|
-
const query = range && (0,
|
|
44099
|
+
const query = range && (0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .getTextLeftOfCursor */ .I)(range).split(' ').pop();
|
|
44087
44100
|
if (query && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(query).length) {
|
|
44088
44101
|
const result = yield this.onAutoComplete(query);
|
|
44089
44102
|
if (result.length) {
|