jodit-pro 4.2.13 → 4.2.19
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 +47 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +489 -464
- package/es2015/jodit.min.css +1 -1
- 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 +47 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +489 -466
- package/es2018/jodit.min.css +1 -1
- 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 +47 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +489 -464
- package/es2021/jodit.min.css +1 -1
- 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 +47 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +489 -464
- package/es2021.en/jodit.min.css +1 -1
- 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 +77 -2
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +493 -466
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +7 -7
- package/es5/plugins/backup/backup.min.js +2 -2
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +9 -9
- package/es5/plugins/button-generator/button-generator.min.js +2 -2
- package/es5/plugins/change-case/change-case.js +6 -6
- package/es5/plugins/change-case/change-case.min.js +2 -2
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +11 -11
- package/es5/plugins/emoji/emoji.min.js +2 -2
- package/es5/plugins/export-docs/export-docs.js +7 -7
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +33 -33
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +2 -2
- package/es5/plugins/google-maps/google-maps.min.js +2 -2
- package/es5/plugins/google-search/google-search.js +6 -6
- package/es5/plugins/google-search/google-search.min.js +2 -2
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +8 -8
- package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +15 -15
- package/es5/plugins/keyboard/keyboard.min.js +2 -2
- package/es5/plugins/mobile-view/mobile-view.js +20 -9
- package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
- package/es5/plugins/page-break/page-break.js +8 -8
- package/es5/plugins/page-break/page-break.min.js +2 -2
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +7 -7
- package/es5/plugins/paste-code/paste-code.min.js +2 -2
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +7 -7
- package/es5/plugins/todo-list/todo-list.min.js +2 -2
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +9 -9
- package/es5/plugins/translate/translate.min.js +2 -2
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/esm/plugins/autocomplete/autocomplete.js +1 -1
- package/esm/plugins/backup/config.js +1 -1
- package/esm/plugins/button-generator/config.js +1 -1
- package/esm/plugins/change-case/config.js +1 -1
- package/esm/plugins/emoji/config.js +1 -1
- package/esm/plugins/export-docs/config.js +1 -1
- package/esm/plugins/finder/browser.js +1 -1
- package/esm/plugins/finder/interface.d.ts +69 -0
- package/esm/plugins/google-maps/config.js +1 -1
- package/esm/plugins/google-maps/interface.d.ts +109 -0
- package/esm/plugins/google-search/google-search.js +1 -1
- package/esm/plugins/iframe-editor/config.js +1 -1
- package/esm/plugins/keyboard/config.js +1 -1
- package/esm/plugins/keyboard/keyboard.js +1 -1
- package/esm/plugins/mobile-view/config.js +1 -1
- package/esm/plugins/page-break/config.js +1 -1
- package/esm/plugins/paste-code/config.js +1 -1
- package/esm/plugins/todo-list/config.js +1 -1
- package/esm/plugins/translate/config.js +1 -1
- package/package.json +1 -1
- package/types/plugins/finder/interface.d.ts +69 -0
- package/types/plugins/google-maps/interface.d.ts +109 -0
package/es2021.en/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.19
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2304,7 +2304,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2304
2304
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2305
2305
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2306
2306
|
*/
|
|
2307
|
-
const APP_VERSION = "4.2.
|
|
2307
|
+
const APP_VERSION = "4.2.19";
|
|
2308
2308
|
// prettier-ignore
|
|
2309
2309
|
const ES = "es2021";
|
|
2310
2310
|
const IS_ES_MODERN = true;
|
|
@@ -7848,6 +7848,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
7848
7848
|
}
|
|
7849
7849
|
const script = jodit.c.element('script', {
|
|
7850
7850
|
type: 'text/javascript',
|
|
7851
|
+
crossorigin: 'anonymous',
|
|
7852
|
+
referrerpolicy: 'no-referrer',
|
|
7851
7853
|
async: true,
|
|
7852
7854
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .X)(url)
|
|
7853
7855
|
});
|
|
@@ -8088,9 +8090,9 @@ const completeUrl = (url) => {
|
|
|
8088
8090
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
8089
8091
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
8090
8092
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74197);
|
|
8093
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
|
|
8091
8094
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20368);
|
|
8092
|
-
/* harmony import */ var
|
|
8093
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
8095
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94183);
|
|
8094
8096
|
/*!
|
|
8095
8097
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8096
8098
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8138,7 +8140,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8138
8140
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
8139
8141
|
return options;
|
|
8140
8142
|
}
|
|
8141
|
-
const def =
|
|
8143
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
8142
8144
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
8143
8145
|
if (def.presets[options.preset] !== undefined) {
|
|
8144
8146
|
const preset = def.presets[options.preset];
|
|
@@ -8168,7 +8170,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8168
8170
|
return newOpt;
|
|
8169
8171
|
}
|
|
8170
8172
|
function ConfigFlatten(obj) {
|
|
8171
|
-
return (0,
|
|
8173
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
8172
8174
|
app[key] = obj[key];
|
|
8173
8175
|
return app;
|
|
8174
8176
|
}, {});
|
|
@@ -10127,9 +10129,9 @@ Plugin.requires = [];
|
|
|
10127
10129
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33442);
|
|
10128
10130
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
10129
10131
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24839);
|
|
10130
|
-
/* harmony import */ var
|
|
10132
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
10133
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91596);
|
|
10131
10134
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(85349);
|
|
10132
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
10133
10135
|
/*!
|
|
10134
10136
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10135
10137
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -10147,7 +10149,7 @@ class Ajax {
|
|
|
10147
10149
|
className() {
|
|
10148
10150
|
return 'Ajax';
|
|
10149
10151
|
}
|
|
10150
|
-
constructor(options, defaultAjaxOptions =
|
|
10152
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
10151
10153
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
10152
10154
|
this.__isFulfilled = false;
|
|
10153
10155
|
this.__activated = false;
|
|
@@ -13523,6 +13525,7 @@ class Mods {
|
|
|
13523
13525
|
const UIButtonState = () => ({
|
|
13524
13526
|
size: 'middle',
|
|
13525
13527
|
type: 'button',
|
|
13528
|
+
role: 'button',
|
|
13526
13529
|
name: '',
|
|
13527
13530
|
value: '',
|
|
13528
13531
|
variant: 'initial',
|
|
@@ -13571,6 +13574,9 @@ let UIButton = class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MO
|
|
|
13571
13574
|
onChangeType() {
|
|
13572
13575
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(this.container, 'type', this.state.type);
|
|
13573
13576
|
}
|
|
13577
|
+
onChangeRole() {
|
|
13578
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(this.container, 'role', this.state.role);
|
|
13579
|
+
}
|
|
13574
13580
|
/**
|
|
13575
13581
|
* Set size from a parent list
|
|
13576
13582
|
*/
|
|
@@ -13700,6 +13706,9 @@ let UIButton = class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MO
|
|
|
13700
13706
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13701
13707
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.type', { immediately: false })
|
|
13702
13708
|
], UIButton.prototype, "onChangeType", null);
|
|
13709
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13710
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.role', { immediately: false })
|
|
13711
|
+
], UIButton.prototype, "onChangeRole", null);
|
|
13703
13712
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13704
13713
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('parentElement')
|
|
13705
13714
|
], UIButton.prototype, "updateSize", null);
|
|
@@ -13909,6 +13918,19 @@ var UITooltip_1;
|
|
|
13909
13918
|
|
|
13910
13919
|
|
|
13911
13920
|
|
|
13921
|
+
const WINDOW_EVENTS_ON_HIDE = [
|
|
13922
|
+
'scroll.tooltip',
|
|
13923
|
+
'joditCloseDialog',
|
|
13924
|
+
'mouseleave.tooltip'
|
|
13925
|
+
];
|
|
13926
|
+
const JODIT_EVENTS_ON_HIDE = [
|
|
13927
|
+
'escape.tooltip',
|
|
13928
|
+
'change.tooltip',
|
|
13929
|
+
'changePlace.tooltip',
|
|
13930
|
+
'afterOpenPopup.tooltip',
|
|
13931
|
+
'hidePopup.tooltip',
|
|
13932
|
+
'closeAllPopups.tooltip'
|
|
13933
|
+
];
|
|
13912
13934
|
let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_5__/* .UIElement */ .D {
|
|
13913
13935
|
className() {
|
|
13914
13936
|
return 'UITooltip';
|
|
@@ -13927,7 +13949,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
13927
13949
|
view.o.showTooltip &&
|
|
13928
13950
|
!view.o.useNativeTooltip) {
|
|
13929
13951
|
view.hookStatus(jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.ready, () => {
|
|
13930
|
-
// TODO Move it inside
|
|
13952
|
+
// TODO Move it inside __show method. Now it is here because testcase failed with capturing
|
|
13931
13953
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(this.j, UITooltip_1).appendChild(this.container);
|
|
13932
13954
|
view.e.on(view.container, 'mouseenter.tooltip', this.__onMouseEnter, {
|
|
13933
13955
|
capture: true
|
|
@@ -13935,44 +13957,28 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
13935
13957
|
});
|
|
13936
13958
|
}
|
|
13937
13959
|
}
|
|
13938
|
-
|
|
13960
|
+
__addListenersOnEnter() {
|
|
13939
13961
|
if (this.__listenClose) {
|
|
13940
13962
|
return;
|
|
13941
13963
|
}
|
|
13942
13964
|
this.__listenClose = true;
|
|
13943
13965
|
const view = this.j;
|
|
13944
13966
|
view.e
|
|
13945
|
-
.on(view.ow,
|
|
13946
|
-
.on(
|
|
13947
|
-
.on(view.container, 'mouseleave.tooltip', this.
|
|
13948
|
-
.on([
|
|
13949
|
-
'escape.tooltip',
|
|
13950
|
-
'change.tooltip',
|
|
13951
|
-
'changePlace.tooltip',
|
|
13952
|
-
'afterOpenPopup.tooltip',
|
|
13953
|
-
'hidePopup.tooltip',
|
|
13954
|
-
'closeAllPopups.tooltip'
|
|
13955
|
-
], this.__hide)
|
|
13956
|
-
.on(view.container, 'mouseleave', this.__onMouseLeave, {
|
|
13967
|
+
.on(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
13968
|
+
.on(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
13969
|
+
.on(view.container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
13957
13970
|
capture: true
|
|
13958
13971
|
});
|
|
13959
13972
|
}
|
|
13960
|
-
|
|
13973
|
+
__removeListenersOnLeave() {
|
|
13961
13974
|
if (!this.__listenClose) {
|
|
13962
13975
|
return;
|
|
13963
13976
|
}
|
|
13964
13977
|
this.__listenClose = false;
|
|
13965
13978
|
const view = this.j;
|
|
13966
13979
|
view.e
|
|
13967
|
-
.off(view.ow,
|
|
13968
|
-
.off(
|
|
13969
|
-
'escape.tooltip',
|
|
13970
|
-
'change.tooltip',
|
|
13971
|
-
'changePlace.tooltip',
|
|
13972
|
-
'afterOpenPopup.tooltip',
|
|
13973
|
-
'hidePopup.tooltip',
|
|
13974
|
-
'closeAllPopups.tooltip'
|
|
13975
|
-
], this.__hide)
|
|
13980
|
+
.off(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
13981
|
+
.off(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
13976
13982
|
.off(view.container, 'mouseleave.tooltip', this.__onMouseLeave);
|
|
13977
13983
|
}
|
|
13978
13984
|
__onMouseLeave(e) {
|
|
@@ -13998,29 +14004,30 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
13998
14004
|
return;
|
|
13999
14005
|
}
|
|
14000
14006
|
this.__currentTarget = e.target;
|
|
14001
|
-
const
|
|
14002
|
-
this.
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
|
|
14008
|
-
|
|
14009
|
-
|
|
14007
|
+
const target = e.target;
|
|
14008
|
+
this.__open(() => {
|
|
14009
|
+
const pos = (0,jodit_core_helpers_size_position__WEBPACK_IMPORTED_MODULE_6__/* .position */ .G)(target);
|
|
14010
|
+
return {
|
|
14011
|
+
x: pos.left + pos.width / 2,
|
|
14012
|
+
y: pos.top + pos.height
|
|
14013
|
+
};
|
|
14014
|
+
}, tooltip);
|
|
14015
|
+
}
|
|
14016
|
+
__open(getPoint, content) {
|
|
14017
|
+
this.__addListenersOnEnter();
|
|
14018
|
+
this.__isOpened = true;
|
|
14010
14019
|
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14011
14020
|
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14021
|
+
const to = this.j.o.showTooltipDelay || this.j.defaultTimeout;
|
|
14022
|
+
if (!to) {
|
|
14023
|
+
this.__show(getPoint, content);
|
|
14024
|
+
return;
|
|
14025
|
+
}
|
|
14026
|
+
this.__delayShowTimeout = this.j.async.setTimeout(() => this.__show(getPoint, content), to);
|
|
14016
14027
|
}
|
|
14017
|
-
|
|
14028
|
+
__show(getPoint, content) {
|
|
14018
14029
|
this.setMod('visible', true);
|
|
14019
14030
|
this.getElm('content').innerHTML = content;
|
|
14020
|
-
this.__isOpened = true;
|
|
14021
|
-
this.__setPosition(getPoint);
|
|
14022
|
-
}
|
|
14023
|
-
__setPosition(getPoint) {
|
|
14024
14031
|
const point = getPoint();
|
|
14025
14032
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.css)(this.container, {
|
|
14026
14033
|
left: point.x,
|
|
@@ -14030,24 +14037,26 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14030
14037
|
__hide() {
|
|
14031
14038
|
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14032
14039
|
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14033
|
-
this.
|
|
14040
|
+
this.__removeListenersOnLeave();
|
|
14034
14041
|
if (this.__isOpened) {
|
|
14035
14042
|
this.__isOpened = false;
|
|
14036
14043
|
this.setMod('visible', false);
|
|
14044
|
+
this.getElm('content').innerHTML = '';
|
|
14037
14045
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.css)(this.container, {
|
|
14038
14046
|
left: -5000
|
|
14039
14047
|
});
|
|
14040
14048
|
}
|
|
14041
14049
|
}
|
|
14042
14050
|
__hideDelay() {
|
|
14051
|
+
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14052
|
+
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14043
14053
|
if (!this.__isOpened) {
|
|
14044
14054
|
return;
|
|
14045
14055
|
}
|
|
14046
|
-
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14047
14056
|
this.__hideTimeout = this.async.setTimeout(this.__hide, this.j.defaultTimeout);
|
|
14048
14057
|
}
|
|
14049
14058
|
destruct() {
|
|
14050
|
-
this.j.e.off(this.j.container, 'mouseenter', this.__onMouseEnter);
|
|
14059
|
+
this.j.e.off(this.j.container, 'mouseenter.tooltip', this.__onMouseEnter);
|
|
14051
14060
|
this.__hide();
|
|
14052
14061
|
super.destruct();
|
|
14053
14062
|
}
|
|
@@ -15595,17 +15604,23 @@ function findControlType(path, controls) {
|
|
|
15595
15604
|
else {
|
|
15596
15605
|
key = namespaceOrKey;
|
|
15597
15606
|
}
|
|
15598
|
-
const list = store[key]?.list;
|
|
15607
|
+
// const list = store[key]?.list;
|
|
15599
15608
|
return store[key]
|
|
15600
15609
|
? {
|
|
15601
15610
|
name: key,
|
|
15602
|
-
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15603
|
-
list:
|
|
15604
|
-
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
|
|
15611
|
+
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15612
|
+
// list: isArray(list)
|
|
15613
|
+
// ? (<Array<string>>list).reduce(
|
|
15614
|
+
// (
|
|
15615
|
+
// acc: IDictionary<string | number>,
|
|
15616
|
+
// k: string | number
|
|
15617
|
+
// ) => {
|
|
15618
|
+
// acc[String(k)] = k;
|
|
15619
|
+
// return acc;
|
|
15620
|
+
// },
|
|
15621
|
+
// {}
|
|
15622
|
+
// )
|
|
15623
|
+
// : list
|
|
15609
15624
|
}
|
|
15610
15625
|
: undefined;
|
|
15611
15626
|
}
|
|
@@ -15622,8 +15637,8 @@ function findControlType(path, controls) {
|
|
|
15622
15637
|
/* harmony export */ });
|
|
15623
15638
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55010);
|
|
15624
15639
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71122);
|
|
15625
|
-
/* harmony import */ var
|
|
15626
|
-
/* harmony import */ var
|
|
15640
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
15641
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68600);
|
|
15627
15642
|
/*!
|
|
15628
15643
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15629
15644
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15643,7 +15658,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15643
15658
|
const value = items[key] || {};
|
|
15644
15659
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15645
15660
|
});
|
|
15646
|
-
return elements.map(item => (0,
|
|
15661
|
+
return elements.map(item => (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls));
|
|
15647
15662
|
}
|
|
15648
15663
|
|
|
15649
15664
|
|
|
@@ -16829,8 +16844,8 @@ class CommitMode {
|
|
|
16829
16844
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
16830
16845
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49604);
|
|
16831
16846
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28190);
|
|
16832
|
-
/* harmony import */ var
|
|
16833
|
-
/* harmony import */ var
|
|
16847
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
16848
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(35102);
|
|
16834
16849
|
/*!
|
|
16835
16850
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16836
16851
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16849,7 +16864,7 @@ var Jodit_1;
|
|
|
16849
16864
|
|
|
16850
16865
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16851
16866
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16852
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
16867
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16853
16868
|
/** @override */
|
|
16854
16869
|
className() {
|
|
16855
16870
|
return 'Jodit';
|
|
@@ -16896,7 +16911,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16896
16911
|
get defaultTimeout() {
|
|
16897
16912
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
16898
16913
|
? this.o.defaultTimeout
|
|
16899
|
-
:
|
|
16914
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
16900
16915
|
}
|
|
16901
16916
|
/**
|
|
16902
16917
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -16922,10 +16937,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16922
16937
|
* Default settings
|
|
16923
16938
|
*/
|
|
16924
16939
|
static get defaultOptions() {
|
|
16925
|
-
return
|
|
16940
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
16926
16941
|
}
|
|
16927
16942
|
get createInside() {
|
|
16928
|
-
return new
|
|
16943
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
16929
16944
|
}
|
|
16930
16945
|
__setPlaceField(field, value) {
|
|
16931
16946
|
if (!this.currentPlace) {
|
|
@@ -17473,8 +17488,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17473
17488
|
const active = this.od.activeElement;
|
|
17474
17489
|
if (active &&
|
|
17475
17490
|
(active === this.iframe ||
|
|
17476
|
-
|
|
17477
|
-
|
|
17491
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
17492
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
17478
17493
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
17479
17494
|
}
|
|
17480
17495
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -17626,7 +17641,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17626
17641
|
}
|
|
17627
17642
|
/** @override **/
|
|
17628
17643
|
initOptions(options) {
|
|
17629
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17644
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
17630
17645
|
}
|
|
17631
17646
|
/** @override **/
|
|
17632
17647
|
initOwners() {
|
|
@@ -17671,7 +17686,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17671
17686
|
this.destruct();
|
|
17672
17687
|
throw e;
|
|
17673
17688
|
}
|
|
17674
|
-
this.setStatus(
|
|
17689
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17675
17690
|
this.id =
|
|
17676
17691
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.resolveElement)(element, this.o.shadowRoot || this.od), 'id') ||
|
|
17677
17692
|
new Date().getTime().toString();
|
|
@@ -17683,7 +17698,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17683
17698
|
}
|
|
17684
17699
|
});
|
|
17685
17700
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17686
|
-
this.selection = new
|
|
17701
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17687
17702
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17688
17703
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17689
17704
|
if (this.isInDestruct) {
|
|
@@ -17707,7 +17722,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17707
17722
|
this.e.fire('afterInit', this);
|
|
17708
17723
|
}
|
|
17709
17724
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17710
|
-
this.setStatus(
|
|
17725
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17711
17726
|
this.e.fire('afterConstructor', this);
|
|
17712
17727
|
};
|
|
17713
17728
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17723,7 +17738,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17723
17738
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17724
17739
|
const name = attr.name;
|
|
17725
17740
|
let value = attr.value;
|
|
17726
|
-
if (
|
|
17741
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17727
17742
|
(!options || options[name] === undefined)) {
|
|
17728
17743
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17729
17744
|
value = value === '' || value === 'true';
|
|
@@ -17791,11 +17806,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17791
17806
|
element,
|
|
17792
17807
|
container,
|
|
17793
17808
|
workplace,
|
|
17794
|
-
statusbar: new
|
|
17809
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17795
17810
|
options: this.isReady
|
|
17796
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17811
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17797
17812
|
: this.options,
|
|
17798
|
-
history: new
|
|
17813
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17799
17814
|
editorWindow: this.ow
|
|
17800
17815
|
};
|
|
17801
17816
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -17886,7 +17901,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17886
17901
|
return;
|
|
17887
17902
|
}
|
|
17888
17903
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
17889
|
-
|
|
17904
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
17890
17905
|
}
|
|
17891
17906
|
addClassNames(this.o.editorClassName, this.editor);
|
|
17892
17907
|
if (this.o.style) {
|
|
@@ -17976,7 +17991,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17976
17991
|
if (this.isInDestruct) {
|
|
17977
17992
|
return;
|
|
17978
17993
|
}
|
|
17979
|
-
this.setStatus(
|
|
17994
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
17980
17995
|
this.__elementToPlace.clear();
|
|
17981
17996
|
this.storage.clear();
|
|
17982
17997
|
this.buffer.clear();
|
|
@@ -18017,17 +18032,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18017
18032
|
this.e.off(container);
|
|
18018
18033
|
this.e.off(element);
|
|
18019
18034
|
this.e.off(editor);
|
|
18020
|
-
|
|
18021
|
-
|
|
18035
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
18036
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
18022
18037
|
if (container !== element) {
|
|
18023
|
-
|
|
18038
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
18024
18039
|
}
|
|
18025
18040
|
Object.defineProperty(element, 'component', {
|
|
18026
18041
|
enumerable: false,
|
|
18027
18042
|
configurable: true,
|
|
18028
18043
|
value: null
|
|
18029
18044
|
});
|
|
18030
|
-
|
|
18045
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
18031
18046
|
// inline mode
|
|
18032
18047
|
if (container === element) {
|
|
18033
18048
|
element.innerHTML = buffer;
|
|
@@ -18049,7 +18064,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
18049
18064
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
18050
18065
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
18051
18066
|
Jodit.core = {
|
|
18052
|
-
Plugin:
|
|
18067
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
18053
18068
|
};
|
|
18054
18069
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
18055
18070
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -20304,16 +20319,16 @@ async function loadTree(fb) {
|
|
|
20304
20319
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
20305
20320
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
20306
20321
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
20307
|
-
/* harmony import */ var
|
|
20322
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91288);
|
|
20323
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83148);
|
|
20308
20324
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
|
|
20309
|
-
/* harmony import */ var
|
|
20310
|
-
/* harmony import */ var
|
|
20311
|
-
/* harmony import */ var
|
|
20312
|
-
/* harmony import */ var
|
|
20313
|
-
/* harmony import */ var
|
|
20314
|
-
/* harmony import */ var
|
|
20315
|
-
/* harmony import */ var
|
|
20316
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
20325
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(64164);
|
|
20326
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50067);
|
|
20327
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(25430);
|
|
20328
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34255);
|
|
20329
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(18714);
|
|
20330
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(24538);
|
|
20331
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96243);
|
|
20317
20332
|
/*!
|
|
20318
20333
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20319
20334
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20347,7 +20362,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20347
20362
|
return 'FileBrowser';
|
|
20348
20363
|
}
|
|
20349
20364
|
get dataProvider() {
|
|
20350
|
-
return (0,
|
|
20365
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
20351
20366
|
}
|
|
20352
20367
|
// eslint-disable-next-line no-unused-vars
|
|
20353
20368
|
onSelect(callback) {
|
|
@@ -20461,7 +20476,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20461
20476
|
this.__updateToolbarButtons();
|
|
20462
20477
|
this._dialog.open(this.browser, header);
|
|
20463
20478
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20464
|
-
(0,
|
|
20479
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
20465
20480
|
.then(resolve, reject)
|
|
20466
20481
|
.finally(() => {
|
|
20467
20482
|
if (this.isInDestruct) {
|
|
@@ -20495,7 +20510,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20495
20510
|
});
|
|
20496
20511
|
}
|
|
20497
20512
|
initUploader(editor) {
|
|
20498
|
-
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20513
|
+
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
20499
20514
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
20500
20515
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20501
20516
|
self.uploader
|
|
@@ -20515,11 +20530,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20515
20530
|
super(options);
|
|
20516
20531
|
this.browser = this.c.div(this.componentName);
|
|
20517
20532
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20518
|
-
this.tree = new
|
|
20519
|
-
this.files = new
|
|
20533
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
20534
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
20520
20535
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
20521
20536
|
currentPath: '',
|
|
20522
|
-
currentSource:
|
|
20537
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20523
20538
|
currentBaseUrl: '',
|
|
20524
20539
|
activeElements: [],
|
|
20525
20540
|
elements: [],
|
|
@@ -20549,7 +20564,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20549
20564
|
this.__prevButtons = [];
|
|
20550
20565
|
this.attachEvents(options);
|
|
20551
20566
|
const self = this;
|
|
20552
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20567
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
20553
20568
|
self.browser.component = this;
|
|
20554
20569
|
self.container = self.browser;
|
|
20555
20570
|
if (self.o.showFoldersPanel) {
|
|
@@ -20557,9 +20572,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20557
20572
|
}
|
|
20558
20573
|
self.browser.appendChild(self.files.container);
|
|
20559
20574
|
self.browser.appendChild(self.status_line);
|
|
20560
|
-
|
|
20561
|
-
|
|
20562
|
-
|
|
20575
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
20576
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
20577
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
20563
20578
|
const keys = [
|
|
20564
20579
|
'getLocalFileByUrl',
|
|
20565
20580
|
'crop',
|
|
@@ -21230,10 +21245,10 @@ class Command {
|
|
|
21230
21245
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
21231
21246
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
21232
21247
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53557);
|
|
21248
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
21233
21249
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22180);
|
|
21234
|
-
/* harmony import */ var
|
|
21250
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(801);
|
|
21235
21251
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98189);
|
|
21236
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
21237
21252
|
/*!
|
|
21238
21253
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21239
21254
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21246,7 +21261,7 @@ class Command {
|
|
|
21246
21261
|
|
|
21247
21262
|
|
|
21248
21263
|
|
|
21249
|
-
|
|
21264
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
21250
21265
|
enable: true,
|
|
21251
21266
|
maxHistoryLength: Infinity,
|
|
21252
21267
|
timeout: 1000
|
|
@@ -21297,7 +21312,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21297
21312
|
set startValue(value) {
|
|
21298
21313
|
this.__startValue = value;
|
|
21299
21314
|
}
|
|
21300
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
21315
|
+
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F(editor)) {
|
|
21301
21316
|
super(editor);
|
|
21302
21317
|
this.updateTick = 0;
|
|
21303
21318
|
this.__stack = stack;
|
|
@@ -21360,7 +21375,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21360
21375
|
*/
|
|
21361
21376
|
updateStack(replace = false) {
|
|
21362
21377
|
const newValue = this.snapshot.make();
|
|
21363
|
-
if (!
|
|
21378
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
21364
21379
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
21365
21380
|
if (replace) {
|
|
21366
21381
|
const command = this.__stack.current();
|
|
@@ -21693,11 +21708,11 @@ class Stack {
|
|
|
21693
21708
|
|
|
21694
21709
|
"use strict";
|
|
21695
21710
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
21696
|
-
/* harmony import */ var
|
|
21697
|
-
/* harmony import */ var
|
|
21698
|
-
/* harmony import */ var
|
|
21699
|
-
/* harmony import */ var
|
|
21700
|
-
/* harmony import */ var
|
|
21711
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
21712
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(83904);
|
|
21713
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21714
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15582);
|
|
21715
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21701
21716
|
/*!
|
|
21702
21717
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21703
21718
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21707,7 +21722,7 @@ class Stack {
|
|
|
21707
21722
|
|
|
21708
21723
|
|
|
21709
21724
|
|
|
21710
|
-
|
|
21725
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21711
21726
|
min_width: 20,
|
|
21712
21727
|
min_height: 20,
|
|
21713
21728
|
closeAfterSave: false,
|
|
@@ -21722,7 +21737,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21722
21737
|
cropDefaultWidth: '70%',
|
|
21723
21738
|
cropDefaultHeight: '70%'
|
|
21724
21739
|
};
|
|
21725
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21740
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('resize', (_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
21726
21741
|
|
|
21727
21742
|
|
|
21728
21743
|
/***/ }),
|
|
@@ -21741,9 +21756,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21741
21756
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33465);
|
|
21742
21757
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
21743
21758
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(64962);
|
|
21744
|
-
/* harmony import */ var
|
|
21745
|
-
/* harmony import */ var
|
|
21746
|
-
/* harmony import */ var
|
|
21759
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
21760
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15546);
|
|
21761
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73898);
|
|
21747
21762
|
/*!
|
|
21748
21763
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21749
21764
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22203,7 +22218,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22203
22218
|
this.options =
|
|
22204
22219
|
editor && editor.o && editor.o.imageeditor
|
|
22205
22220
|
? editor.o.imageeditor
|
|
22206
|
-
:
|
|
22221
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
22207
22222
|
const o = this.options;
|
|
22208
22223
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
22209
22224
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -22213,7 +22228,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22213
22228
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
22214
22229
|
};
|
|
22215
22230
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
22216
|
-
this.editor = (0,
|
|
22231
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
22217
22232
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
22218
22233
|
this.resize_box = resizeBox;
|
|
22219
22234
|
this.crop_box = cropBox;
|
|
@@ -23629,7 +23644,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23629
23644
|
}
|
|
23630
23645
|
createContainer() {
|
|
23631
23646
|
const cn = this.componentName;
|
|
23632
|
-
const container = this.j.c.span(cn)
|
|
23647
|
+
const container = this.j.c.span(cn);
|
|
23648
|
+
const button = super.createContainer();
|
|
23633
23649
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23634
23650
|
button.classList.remove(cn);
|
|
23635
23651
|
button.classList.add(cn + '__button');
|
|
@@ -24018,8 +24034,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24018
24034
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24019
24035
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
24020
24036
|
/* harmony export */ });
|
|
24021
|
-
/* harmony import */ var
|
|
24037
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
24022
24038
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53557);
|
|
24039
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47903);
|
|
24023
24040
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
24024
24041
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72463);
|
|
24025
24042
|
/*!
|
|
@@ -24032,6 +24049,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24032
24049
|
|
|
24033
24050
|
|
|
24034
24051
|
|
|
24052
|
+
|
|
24035
24053
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
24036
24054
|
className() {
|
|
24037
24055
|
return 'ToolbarSelect';
|
|
@@ -24049,13 +24067,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
24049
24067
|
const keys = Object.keys(list);
|
|
24050
24068
|
key = keys[0];
|
|
24051
24069
|
}
|
|
24052
|
-
const text = (list[key.toString()] || key).toString();
|
|
24070
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
24053
24071
|
this.state.text =
|
|
24054
24072
|
this.control.textTemplate?.(this.jodit, text) ?? text;
|
|
24055
24073
|
}
|
|
24056
24074
|
}
|
|
24057
24075
|
};
|
|
24058
|
-
ToolbarSelect = (0,
|
|
24076
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24059
24077
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
24060
24078
|
], ToolbarSelect);
|
|
24061
24079
|
|
|
@@ -24185,7 +24203,7 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24185
24203
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
24186
24204
|
], ToolbarCollection.prototype, "__immediateUpdate", null);
|
|
24187
24205
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24188
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)()
|
|
24206
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)(ctx => ctx.j.defaultTimeout, true)
|
|
24189
24207
|
], ToolbarCollection.prototype, "update", null);
|
|
24190
24208
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24191
24209
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.hook)('ready')
|
|
@@ -24887,9 +24905,9 @@ function send(uploader, data) {
|
|
|
24887
24905
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
24888
24906
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
24889
24907
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
24890
|
-
/* harmony import */ var
|
|
24891
|
-
/* harmony import */ var
|
|
24892
|
-
/* harmony import */ var
|
|
24908
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
24909
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20431);
|
|
24910
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50999);
|
|
24893
24911
|
/*!
|
|
24894
24912
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24895
24913
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24961,14 +24979,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24961
24979
|
}
|
|
24962
24980
|
};
|
|
24963
24981
|
// send data on server
|
|
24964
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
24965
|
-
(0,
|
|
24982
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
24983
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24966
24984
|
return false;
|
|
24967
24985
|
}
|
|
24968
24986
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
24969
|
-
return (0,
|
|
24987
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
24970
24988
|
}
|
|
24971
|
-
if ((0,
|
|
24989
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
24972
24990
|
const { items } = cData;
|
|
24973
24991
|
for (i = 0; i < items.length; i += 1) {
|
|
24974
24992
|
if (items[i].kind === 'file' &&
|
|
@@ -24979,7 +24997,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24979
24997
|
extension = mime[1]
|
|
24980
24998
|
? mime[1].toLowerCase()
|
|
24981
24999
|
: '';
|
|
24982
|
-
(0,
|
|
25000
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
24983
25001
|
}
|
|
24984
25002
|
e.preventDefault();
|
|
24985
25003
|
break;
|
|
@@ -25002,30 +25020,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25002
25020
|
e.preventDefault();
|
|
25003
25021
|
})
|
|
25004
25022
|
.on(form, 'dragover', (event) => {
|
|
25005
|
-
if ((0,
|
|
25006
|
-
(0,
|
|
25023
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
25024
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
25007
25025
|
form.classList.add('jodit_drag_hover');
|
|
25008
25026
|
event.preventDefault();
|
|
25009
25027
|
}
|
|
25010
25028
|
})
|
|
25011
25029
|
.on(form, 'dragend dragleave', (event) => {
|
|
25012
25030
|
form.classList.remove('jodit_drag_hover');
|
|
25013
|
-
if ((0,
|
|
25031
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25014
25032
|
event.preventDefault();
|
|
25015
25033
|
}
|
|
25016
25034
|
})
|
|
25017
25035
|
.on(form, 'drop', (event) => {
|
|
25018
25036
|
form.classList.remove('jodit_drag_hover');
|
|
25019
|
-
if ((0,
|
|
25037
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25020
25038
|
event.preventDefault();
|
|
25021
25039
|
event.stopImmediatePropagation();
|
|
25022
|
-
(0,
|
|
25040
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25023
25041
|
}
|
|
25024
25042
|
});
|
|
25025
25043
|
const inputFile = form.querySelector('input[type=file]');
|
|
25026
25044
|
if (inputFile) {
|
|
25027
25045
|
self.j.e.on(inputFile, 'change', () => {
|
|
25028
|
-
(0,
|
|
25046
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
25029
25047
|
.then(() => {
|
|
25030
25048
|
inputFile.value = '';
|
|
25031
25049
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -25045,7 +25063,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25045
25063
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
25046
25064
|
? handlerError
|
|
25047
25065
|
: o.defaultHandlerError;
|
|
25048
|
-
(0,
|
|
25066
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
25049
25067
|
action: 'fileUploadRemote',
|
|
25050
25068
|
url
|
|
25051
25069
|
})
|
|
@@ -25065,11 +25083,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25065
25083
|
super(editor);
|
|
25066
25084
|
this.path = '';
|
|
25067
25085
|
this.source = 'default';
|
|
25068
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
25086
|
+
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.uploader, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(editor) ? editor.o.uploader : {}));
|
|
25069
25087
|
}
|
|
25070
25088
|
destruct() {
|
|
25071
25089
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
25072
|
-
const instances =
|
|
25090
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
25073
25091
|
if (instances) {
|
|
25074
25092
|
instances.forEach(ajax => {
|
|
25075
25093
|
try {
|
|
@@ -25363,8 +25381,8 @@ function val(elm, selector, value) {
|
|
|
25363
25381
|
/* harmony export */ });
|
|
25364
25382
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
25365
25383
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23545);
|
|
25366
|
-
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25367
25384
|
/* harmony import */ var jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41959);
|
|
25385
|
+
/* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97099);
|
|
25368
25386
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76185);
|
|
25369
25387
|
/*!
|
|
25370
25388
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -25406,8 +25424,16 @@ function val(elm, selector, value) {
|
|
|
25406
25424
|
* ```
|
|
25407
25425
|
*/
|
|
25408
25426
|
const TabsWidget = (jodit, tabs, state) => {
|
|
25409
|
-
const box = jodit.c.div('jodit-tabs')
|
|
25410
|
-
|
|
25427
|
+
const box = jodit.c.div('jodit-tabs');
|
|
25428
|
+
const tabBox = jodit.c.div('jodit-tabs__wrapper');
|
|
25429
|
+
const buttons = jodit.c.div('jodit-tabs__buttons');
|
|
25430
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(buttons, {
|
|
25431
|
+
role: 'tablist',
|
|
25432
|
+
'aria-orientation': 'horizontal'
|
|
25433
|
+
});
|
|
25434
|
+
const nameToTab = {};
|
|
25435
|
+
const buttonList = [];
|
|
25436
|
+
let firstTab = '';
|
|
25411
25437
|
box.appendChild(buttons);
|
|
25412
25438
|
box.appendChild(tabBox);
|
|
25413
25439
|
const setActive = (tab) => {
|
|
@@ -25415,20 +25441,21 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25415
25441
|
return;
|
|
25416
25442
|
}
|
|
25417
25443
|
buttonList.forEach(b => {
|
|
25418
|
-
b.state.variant = 'initial';
|
|
25419
25444
|
b.state.activated = false;
|
|
25420
25445
|
});
|
|
25421
|
-
(
|
|
25422
|
-
a.classList.remove('jodit-tab_active');
|
|
25423
|
-
});
|
|
25424
|
-
nameToTab[tab].button.state.variant = 'outline';
|
|
25446
|
+
Object.values(nameToTab).forEach(({ tab }) => tab.classList.remove('jodit-tab_active'));
|
|
25425
25447
|
nameToTab[tab].button.state.activated = true;
|
|
25426
25448
|
nameToTab[tab].tab.classList.add('jodit-tab_active');
|
|
25427
25449
|
};
|
|
25428
25450
|
tabs.forEach(({ icon, name, content }) => {
|
|
25429
|
-
const tab = jodit.c.div('jodit-tab')
|
|
25451
|
+
const tab = jodit.c.div('jodit-tab');
|
|
25452
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(tab, {
|
|
25453
|
+
role: 'tabpanel'
|
|
25454
|
+
});
|
|
25455
|
+
const button = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .Button */ .$n)(jodit, icon || name, name);
|
|
25456
|
+
button.state.role = 'tab';
|
|
25430
25457
|
// Stop lose the focus
|
|
25431
|
-
jodit.e.on(button.container, '
|
|
25458
|
+
jodit.e.on(button.container, 'pointerdown', (e) => e.preventDefault());
|
|
25432
25459
|
if (!firstTab) {
|
|
25433
25460
|
firstTab = name;
|
|
25434
25461
|
}
|
|
@@ -25458,13 +25485,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25458
25485
|
button,
|
|
25459
25486
|
tab
|
|
25460
25487
|
};
|
|
25461
|
-
tabCount += 1;
|
|
25462
25488
|
});
|
|
25463
|
-
|
|
25464
|
-
|
|
25465
|
-
}
|
|
25466
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('a', buttons).forEach(a => {
|
|
25467
|
-
a.style.width = (100 / tabCount).toFixed(10) + '%';
|
|
25489
|
+
Object.values(nameToTab).forEach(({ button }) => {
|
|
25490
|
+
button.container.style.width = (100 / tabs.length).toFixed(10) + '%';
|
|
25468
25491
|
});
|
|
25469
25492
|
const tab = !state || !state.activeTab || !nameToTab[state.activeTab]
|
|
25470
25493
|
? firstTab
|
|
@@ -25498,9 +25521,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25498
25521
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25499
25522
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25500
25523
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
25501
|
-
/* harmony import */ var
|
|
25502
|
-
/* harmony import */ var
|
|
25503
|
-
/* harmony import */ var
|
|
25524
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
25525
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(46891);
|
|
25526
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
25504
25527
|
/*!
|
|
25505
25528
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25506
25529
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25514,7 +25537,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25514
25537
|
|
|
25515
25538
|
|
|
25516
25539
|
|
|
25517
|
-
|
|
25540
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
25518
25541
|
exec: (editor) => {
|
|
25519
25542
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
25520
25543
|
dialog
|
|
@@ -25550,7 +25573,7 @@ function about(editor) {
|
|
|
25550
25573
|
});
|
|
25551
25574
|
}
|
|
25552
25575
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
25553
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
25576
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
25554
25577
|
|
|
25555
25578
|
|
|
25556
25579
|
/***/ }),
|
|
@@ -25793,9 +25816,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25793
25816
|
|
|
25794
25817
|
"use strict";
|
|
25795
25818
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
25796
|
-
/* harmony import */ var
|
|
25797
|
-
/* harmony import */ var
|
|
25798
|
-
/* harmony import */ var
|
|
25819
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
25820
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3882);
|
|
25821
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25799
25822
|
/*!
|
|
25800
25823
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25801
25824
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25804,9 +25827,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25804
25827
|
|
|
25805
25828
|
|
|
25806
25829
|
|
|
25807
|
-
|
|
25808
|
-
|
|
25809
|
-
|
|
25830
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25831
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25832
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25810
25833
|
'table',
|
|
25811
25834
|
'iframe',
|
|
25812
25835
|
'img',
|
|
@@ -25814,8 +25837,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25814
25837
|
'pre',
|
|
25815
25838
|
'jodit'
|
|
25816
25839
|
];
|
|
25817
|
-
|
|
25818
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25840
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25841
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25819
25842
|
|
|
25820
25843
|
|
|
25821
25844
|
/***/ }),
|
|
@@ -25953,11 +25976,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
25953
25976
|
|
|
25954
25977
|
"use strict";
|
|
25955
25978
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
25956
|
-
/* harmony import */ var
|
|
25957
|
-
/* harmony import */ var
|
|
25958
|
-
/* harmony import */ var
|
|
25959
|
-
/* harmony import */ var
|
|
25960
|
-
/* harmony import */ var
|
|
25979
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
25980
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15627);
|
|
25981
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25982
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41500);
|
|
25983
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
25961
25984
|
/*!
|
|
25962
25985
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25963
25986
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25998,10 +26021,10 @@ const aiAssistantDefaults = {
|
|
|
25998
26021
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
25999
26022
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
26000
26023
|
};
|
|
26001
|
-
|
|
26002
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
26003
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
26004
|
-
|
|
26024
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
26025
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
26026
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26027
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
26005
26028
|
isDisabled(editor) {
|
|
26006
26029
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26007
26030
|
},
|
|
@@ -26039,7 +26062,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
26039
26062
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
26040
26063
|
}
|
|
26041
26064
|
};
|
|
26042
|
-
|
|
26065
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
26043
26066
|
isDisabled(editor) {
|
|
26044
26067
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26045
26068
|
},
|
|
@@ -26623,6 +26646,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26623
26646
|
}
|
|
26624
26647
|
if (sibling.nodeValue?.length) {
|
|
26625
26648
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26649
|
+
if (!sibling.nodeValue.length &&
|
|
26650
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26651
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26652
|
+
}
|
|
26626
26653
|
}
|
|
26627
26654
|
if (!sibling.nodeValue?.length) {
|
|
26628
26655
|
removeNeighbor = sibling;
|
|
@@ -27175,20 +27202,20 @@ function getMoveFilter(jodit) {
|
|
|
27175
27202
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51431);
|
|
27176
27203
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
27177
27204
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
27178
|
-
/* harmony import */ var
|
|
27179
|
-
/* harmony import */ var
|
|
27180
|
-
/* harmony import */ var
|
|
27181
|
-
/* harmony import */ var
|
|
27182
|
-
/* harmony import */ var
|
|
27183
|
-
/* harmony import */ var
|
|
27184
|
-
/* harmony import */ var
|
|
27185
|
-
/* harmony import */ var
|
|
27186
|
-
/* harmony import */ var
|
|
27187
|
-
/* harmony import */ var
|
|
27188
|
-
/* harmony import */ var
|
|
27189
|
-
/* harmony import */ var
|
|
27190
|
-
/* harmony import */ var
|
|
27191
|
-
/* harmony import */ var
|
|
27205
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
27206
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94673);
|
|
27207
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39586);
|
|
27208
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27209
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49463);
|
|
27210
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27211
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(10292);
|
|
27212
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
27213
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71718);
|
|
27214
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
27215
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48397);
|
|
27216
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
27217
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(46781);
|
|
27218
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
27192
27219
|
/*!
|
|
27193
27220
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27194
27221
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27211,7 +27238,7 @@ function getMoveFilter(jodit) {
|
|
|
27211
27238
|
*/
|
|
27212
27239
|
function bold(editor) {
|
|
27213
27240
|
const callBack = (command) => {
|
|
27214
|
-
const control =
|
|
27241
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
27215
27242
|
...control.css
|
|
27216
27243
|
};
|
|
27217
27244
|
let cssRules;
|
|
@@ -27265,12 +27292,12 @@ function bold(editor) {
|
|
|
27265
27292
|
});
|
|
27266
27293
|
}
|
|
27267
27294
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
27268
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
27269
|
-
.set('italic', (
|
|
27270
|
-
.set('strikethrough', (
|
|
27271
|
-
.set('subscript', (
|
|
27272
|
-
.set('superscript', (
|
|
27273
|
-
.set('underline', (
|
|
27295
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
27296
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
27297
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
27298
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
27299
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
27300
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
27274
27301
|
|
|
27275
27302
|
|
|
27276
27303
|
/***/ }),
|
|
@@ -27340,9 +27367,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27340
27367
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94183);
|
|
27341
27368
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65564);
|
|
27342
27369
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
27343
|
-
/* harmony import */ var
|
|
27344
|
-
/* harmony import */ var
|
|
27345
|
-
/* harmony import */ var
|
|
27370
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
27371
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14835);
|
|
27372
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27346
27373
|
/*!
|
|
27347
27374
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27348
27375
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27355,7 +27382,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27355
27382
|
|
|
27356
27383
|
|
|
27357
27384
|
|
|
27358
|
-
|
|
27385
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
27359
27386
|
command: 'applyClassName',
|
|
27360
27387
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
27361
27388
|
list: [
|
|
@@ -27443,7 +27470,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
27443
27470
|
beforeDestruct() { }
|
|
27444
27471
|
}
|
|
27445
27472
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
27446
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
27473
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
27447
27474
|
|
|
27448
27475
|
|
|
27449
27476
|
/***/ }),
|
|
@@ -27582,9 +27609,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27582
27609
|
|
|
27583
27610
|
"use strict";
|
|
27584
27611
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
27585
|
-
/* harmony import */ var
|
|
27586
|
-
/* harmony import */ var
|
|
27587
|
-
/* harmony import */ var
|
|
27612
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
27613
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(556);
|
|
27614
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27588
27615
|
/*!
|
|
27589
27616
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27590
27617
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27593,7 +27620,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27593
27620
|
|
|
27594
27621
|
|
|
27595
27622
|
|
|
27596
|
-
|
|
27623
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27597
27624
|
timeout: 300,
|
|
27598
27625
|
removeEmptyElements: true,
|
|
27599
27626
|
fillEmptyParagraph: true,
|
|
@@ -27609,11 +27636,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27609
27636
|
safeJavaScriptLink: true,
|
|
27610
27637
|
disableCleanFilter: null
|
|
27611
27638
|
};
|
|
27612
|
-
|
|
27639
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27613
27640
|
command: 'removeFormat',
|
|
27614
27641
|
tooltip: 'Clear Formatting'
|
|
27615
27642
|
};
|
|
27616
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27643
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27617
27644
|
|
|
27618
27645
|
|
|
27619
27646
|
/***/ }),
|
|
@@ -28279,15 +28306,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28279
28306
|
|
|
28280
28307
|
"use strict";
|
|
28281
28308
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
28282
|
-
/* harmony import */ var
|
|
28283
|
-
/* harmony import */ var
|
|
28284
|
-
/* harmony import */ var
|
|
28285
|
-
/* harmony import */ var
|
|
28286
|
-
/* harmony import */ var
|
|
28287
|
-
/* harmony import */ var
|
|
28288
|
-
/* harmony import */ var
|
|
28289
|
-
/* harmony import */ var
|
|
28290
|
-
/* harmony import */ var
|
|
28309
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
28310
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65);
|
|
28311
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
28312
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4594);
|
|
28313
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
28314
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63859);
|
|
28315
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28316
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38808);
|
|
28317
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28291
28318
|
/*!
|
|
28292
28319
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28293
28320
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28299,25 +28326,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28299
28326
|
|
|
28300
28327
|
|
|
28301
28328
|
|
|
28302
|
-
|
|
28329
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
28303
28330
|
command: 'cut',
|
|
28304
28331
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28305
28332
|
tooltip: 'Cut selection'
|
|
28306
28333
|
};
|
|
28307
|
-
|
|
28334
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
28308
28335
|
command: 'copy',
|
|
28309
28336
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28310
28337
|
tooltip: 'Copy selection'
|
|
28311
28338
|
};
|
|
28312
|
-
|
|
28339
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
28313
28340
|
icon: 'select-all',
|
|
28314
28341
|
command: 'selectall',
|
|
28315
28342
|
tooltip: 'Select all'
|
|
28316
28343
|
};
|
|
28317
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
28318
|
-
.set('cut', (
|
|
28319
|
-
.set('paste', (
|
|
28320
|
-
.set('select-all', (
|
|
28344
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
28345
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
28346
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
28347
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28321
28348
|
|
|
28322
28349
|
|
|
28323
28350
|
/***/ }),
|
|
@@ -28389,10 +28416,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28389
28416
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
28390
28417
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
28391
28418
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28392
|
-
/* harmony import */ var
|
|
28393
|
-
/* harmony import */ var
|
|
28394
|
-
/* harmony import */ var
|
|
28395
|
-
/* harmony import */ var
|
|
28419
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28420
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21391);
|
|
28421
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(55370);
|
|
28422
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28396
28423
|
/*!
|
|
28397
28424
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28398
28425
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28404,8 +28431,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28404
28431
|
|
|
28405
28432
|
|
|
28406
28433
|
|
|
28407
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
28408
|
-
|
|
28434
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28435
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
28409
28436
|
isVisible: (editor) => {
|
|
28410
28437
|
return !editor.o.disablePlugins.includes('color');
|
|
28411
28438
|
},
|
|
@@ -28418,7 +28445,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28418
28445
|
if (!selected.length) {
|
|
28419
28446
|
return false;
|
|
28420
28447
|
}
|
|
28421
|
-
const makeColorPicker = (key) => (0,
|
|
28448
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28422
28449
|
selected.forEach(cell => {
|
|
28423
28450
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
28424
28451
|
});
|
|
@@ -28427,7 +28454,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28427
28454
|
close();
|
|
28428
28455
|
editor.unlock();
|
|
28429
28456
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
28430
|
-
return (0,
|
|
28457
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
28431
28458
|
{
|
|
28432
28459
|
name: 'Background',
|
|
28433
28460
|
content: makeColorPicker('background-color')
|
|
@@ -28438,7 +28465,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28438
28465
|
},
|
|
28439
28466
|
tooltip: 'Background'
|
|
28440
28467
|
};
|
|
28441
|
-
|
|
28468
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
28442
28469
|
isVisible: (editor) => {
|
|
28443
28470
|
return !editor.o.disablePlugins.includes('color');
|
|
28444
28471
|
},
|
|
@@ -28486,7 +28513,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28486
28513
|
}
|
|
28487
28514
|
}, editor.editor);
|
|
28488
28515
|
}
|
|
28489
|
-
const backgroundTag = (0,
|
|
28516
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28490
28517
|
if (!currentElement) {
|
|
28491
28518
|
editor.execCommand('background', false, value);
|
|
28492
28519
|
}
|
|
@@ -28497,7 +28524,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28497
28524
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
28498
28525
|
close();
|
|
28499
28526
|
}, bg_color);
|
|
28500
|
-
const colorTab = (0,
|
|
28527
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28501
28528
|
if (!currentElement) {
|
|
28502
28529
|
editor.execCommand('forecolor', false, value);
|
|
28503
28530
|
}
|
|
@@ -28521,7 +28548,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28521
28548
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
28522
28549
|
tabs = tabs.reverse();
|
|
28523
28550
|
}
|
|
28524
|
-
return (0,
|
|
28551
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
28525
28552
|
},
|
|
28526
28553
|
exec(jodit, current, { button }) {
|
|
28527
28554
|
const mode = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode'), color = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color');
|
|
@@ -28560,10 +28587,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28560
28587
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
28561
28588
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
28562
28589
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28563
|
-
/* harmony import */ var
|
|
28564
|
-
/* harmony import */ var
|
|
28565
|
-
/* harmony import */ var
|
|
28566
|
-
/* harmony import */ var
|
|
28590
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28591
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72131);
|
|
28592
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28593
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18489);
|
|
28567
28594
|
/*!
|
|
28568
28595
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28569
28596
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28621,7 +28648,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28621
28648
|
}
|
|
28622
28649
|
return result;
|
|
28623
28650
|
};
|
|
28624
|
-
|
|
28651
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28625
28652
|
exec: (editor, current, { button }) => {
|
|
28626
28653
|
if (!current) {
|
|
28627
28654
|
return;
|
|
@@ -28671,10 +28698,10 @@ function copyFormat(editor) {
|
|
|
28671
28698
|
name: 'copyformat',
|
|
28672
28699
|
group: 'clipboard'
|
|
28673
28700
|
});
|
|
28674
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28701
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28675
28702
|
}
|
|
28676
28703
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28677
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28704
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28678
28705
|
|
|
28679
28706
|
|
|
28680
28707
|
/***/ }),
|
|
@@ -30085,8 +30112,8 @@ function wrapText(fake, jodit) {
|
|
|
30085
30112
|
/* unused harmony export file */
|
|
30086
30113
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
30087
30114
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
30088
|
-
/* harmony import */ var
|
|
30089
|
-
/* harmony import */ var
|
|
30115
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30116
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21391);
|
|
30090
30117
|
/*!
|
|
30091
30118
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30092
30119
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30096,7 +30123,7 @@ function wrapText(fake, jodit) {
|
|
|
30096
30123
|
|
|
30097
30124
|
|
|
30098
30125
|
|
|
30099
|
-
|
|
30126
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
30100
30127
|
popup: (editor, current, close) => {
|
|
30101
30128
|
const insert = (url, title = '') => {
|
|
30102
30129
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -30109,7 +30136,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
30109
30136
|
? current
|
|
30110
30137
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
30111
30138
|
}
|
|
30112
|
-
return (0,
|
|
30139
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
30113
30140
|
filebrowser: (data) => {
|
|
30114
30141
|
data.files &&
|
|
30115
30142
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30232,11 +30259,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30232
30259
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22718);
|
|
30233
30260
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
30234
30261
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
30235
|
-
/* harmony import */ var
|
|
30236
|
-
/* harmony import */ var
|
|
30237
|
-
/* harmony import */ var
|
|
30238
|
-
/* harmony import */ var
|
|
30239
|
-
/* harmony import */ var
|
|
30262
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
30263
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78602);
|
|
30264
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30265
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84413);
|
|
30266
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30240
30267
|
/*!
|
|
30241
30268
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30242
30269
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30252,9 +30279,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30252
30279
|
/**
|
|
30253
30280
|
* Default font-size points
|
|
30254
30281
|
*/
|
|
30255
|
-
|
|
30256
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30257
|
-
|
|
30282
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30283
|
+
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()));
|
|
30284
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30258
30285
|
command: 'fontsize',
|
|
30259
30286
|
data: {
|
|
30260
30287
|
cssRule: 'font-size',
|
|
@@ -30310,8 +30337,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30310
30337
|
return keySet.has(normalize(value.toString()));
|
|
30311
30338
|
}
|
|
30312
30339
|
};
|
|
30313
|
-
|
|
30314
|
-
...
|
|
30340
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
30341
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
30315
30342
|
command: 'fontname',
|
|
30316
30343
|
textTemplate: (j, value) => {
|
|
30317
30344
|
const [first] = value.split(',');
|
|
@@ -30421,11 +30448,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30421
30448
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30422
30449
|
|
|
30423
30450
|
"use strict";
|
|
30424
|
-
/* harmony import */ var
|
|
30451
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
30452
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
30425
30453
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
30426
|
-
/* harmony import */ var
|
|
30427
|
-
/* harmony import */ var
|
|
30428
|
-
/* harmony import */ var
|
|
30454
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30455
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30820);
|
|
30456
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30429
30457
|
/*!
|
|
30430
30458
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30431
30459
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30435,12 +30463,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30435
30463
|
|
|
30436
30464
|
|
|
30437
30465
|
|
|
30438
|
-
|
|
30439
|
-
|
|
30466
|
+
|
|
30467
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
30468
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
30440
30469
|
command: 'formatBlock',
|
|
30441
30470
|
value(editor, button) {
|
|
30442
30471
|
const control = button.control, current = editor.s.current();
|
|
30443
|
-
const currentBox =
|
|
30472
|
+
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
30444
30473
|
return currentBox?.nodeName.toLowerCase() ?? control.data?.currentValue;
|
|
30445
30474
|
},
|
|
30446
30475
|
update(editor, button) {
|
|
@@ -30449,7 +30478,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30449
30478
|
return false;
|
|
30450
30479
|
}
|
|
30451
30480
|
const currentValue = button.state.value, list = control.list;
|
|
30452
|
-
if (list && list[currentValue.toString()]) {
|
|
30481
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
30453
30482
|
if (editor.o.textIcons) {
|
|
30454
30483
|
button.state.text = list[currentValue.toString()].toString();
|
|
30455
30484
|
}
|
|
@@ -30473,7 +30502,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30473
30502
|
},
|
|
30474
30503
|
isActive: (editor, button) => {
|
|
30475
30504
|
return (button.state.value !== editor.o.enter &&
|
|
30476
|
-
|
|
30505
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
30506
|
+
Boolean(button.control.list[button.state.value]));
|
|
30477
30507
|
},
|
|
30478
30508
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
30479
30509
|
tooltip: 'Insert format block'
|
|
@@ -30523,11 +30553,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30523
30553
|
"use strict";
|
|
30524
30554
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
30525
30555
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
30526
|
-
/* harmony import */ var
|
|
30527
|
-
/* harmony import */ var
|
|
30528
|
-
/* harmony import */ var
|
|
30529
|
-
/* harmony import */ var
|
|
30530
|
-
/* harmony import */ var
|
|
30556
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30557
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(88708);
|
|
30558
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30559
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10099);
|
|
30560
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30531
30561
|
/*!
|
|
30532
30562
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30533
30563
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30539,10 +30569,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30539
30569
|
|
|
30540
30570
|
|
|
30541
30571
|
|
|
30542
|
-
|
|
30543
|
-
|
|
30544
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
30545
|
-
|
|
30572
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
30573
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
30574
|
+
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()));
|
|
30575
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
30546
30576
|
exec: (editor) => {
|
|
30547
30577
|
editor.toggleFullSize();
|
|
30548
30578
|
},
|
|
@@ -30681,19 +30711,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
30681
30711
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
30682
30712
|
*/
|
|
30683
30713
|
|
|
30684
|
-
/**
|
|
30685
|
-
* You can redefine hotkeys for some command
|
|
30686
|
-
*
|
|
30687
|
-
* @example
|
|
30688
|
-
* ```js
|
|
30689
|
-
* var jodit = Jodit.make('#editor', {
|
|
30690
|
-
* commandToHotkeys: {
|
|
30691
|
-
* bold: 'ctrl+shift+b',
|
|
30692
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
30693
|
-
* }
|
|
30694
|
-
* })
|
|
30695
|
-
* ```
|
|
30696
|
-
*/
|
|
30697
30714
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
30698
30715
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
30699
30716
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -30868,9 +30885,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30868
30885
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
30869
30886
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
30870
30887
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
30871
|
-
/* harmony import */ var
|
|
30872
|
-
/* harmony import */ var
|
|
30873
|
-
/* harmony import */ var
|
|
30888
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
30889
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(75241);
|
|
30890
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30874
30891
|
/*!
|
|
30875
30892
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30876
30893
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30881,8 +30898,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30881
30898
|
|
|
30882
30899
|
|
|
30883
30900
|
|
|
30884
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
30885
|
-
|
|
30901
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30902
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
30886
30903
|
command: 'insertHorizontalRule',
|
|
30887
30904
|
tags: ['hr'],
|
|
30888
30905
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31359,6 +31376,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31359
31376
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31360
31377
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31361
31378
|
*/
|
|
31379
|
+
/**
|
|
31380
|
+
* @module plugins/image-properties
|
|
31381
|
+
*/
|
|
31362
31382
|
|
|
31363
31383
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31364
31384
|
dialogWidth: 600,
|
|
@@ -32859,10 +32879,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32859
32879
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
32860
32880
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
32861
32881
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
32862
|
-
/* harmony import */ var
|
|
32863
|
-
/* harmony import */ var
|
|
32864
|
-
/* harmony import */ var
|
|
32865
|
-
/* harmony import */ var
|
|
32882
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
32883
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
32884
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15807);
|
|
32885
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
32866
32886
|
/*!
|
|
32867
32887
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32868
32888
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32875,8 +32895,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32875
32895
|
|
|
32876
32896
|
|
|
32877
32897
|
|
|
32878
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
32879
|
-
|
|
32898
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
32899
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
32880
32900
|
popup: (editor, current, close) => {
|
|
32881
32901
|
let sourceImage = null;
|
|
32882
32902
|
if (current &&
|
|
@@ -32888,7 +32908,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
32888
32908
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
32889
32909
|
}
|
|
32890
32910
|
editor.s.save();
|
|
32891
|
-
return (0,
|
|
32911
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32892
32912
|
filebrowser: (data) => {
|
|
32893
32913
|
editor.s.restore();
|
|
32894
32914
|
data.files &&
|
|
@@ -32931,12 +32951,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32931
32951
|
"use strict";
|
|
32932
32952
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
32933
32953
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
32934
|
-
/* harmony import */ var
|
|
32935
|
-
/* harmony import */ var
|
|
32936
|
-
/* harmony import */ var
|
|
32937
|
-
/* harmony import */ var
|
|
32938
|
-
/* harmony import */ var
|
|
32939
|
-
/* harmony import */ var
|
|
32954
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
32955
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96168);
|
|
32956
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32957
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(45153);
|
|
32958
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32959
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(63163);
|
|
32940
32960
|
/*!
|
|
32941
32961
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32942
32962
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32948,17 +32968,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32948
32968
|
|
|
32949
32969
|
|
|
32950
32970
|
|
|
32951
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
32952
|
-
|
|
32971
|
+
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()));
|
|
32972
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
32953
32973
|
tooltip: 'Increase Indent'
|
|
32954
32974
|
};
|
|
32955
|
-
|
|
32975
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
32956
32976
|
isDisabled: (editor) => {
|
|
32957
32977
|
const current = editor.s.current();
|
|
32958
32978
|
if (current) {
|
|
32959
32979
|
const currentBox = jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
32960
32980
|
if (currentBox) {
|
|
32961
|
-
const arrow = (0,
|
|
32981
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
32962
32982
|
return (!currentBox.style[arrow] ||
|
|
32963
32983
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
32964
32984
|
}
|
|
@@ -32967,7 +32987,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
32967
32987
|
},
|
|
32968
32988
|
tooltip: 'Decrease Indent'
|
|
32969
32989
|
};
|
|
32970
|
-
|
|
32990
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
32971
32991
|
|
|
32972
32992
|
|
|
32973
32993
|
/***/ }),
|
|
@@ -33228,12 +33248,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33228
33248
|
|
|
33229
33249
|
"use strict";
|
|
33230
33250
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
33231
|
-
/* harmony import */ var
|
|
33232
|
-
/* harmony import */ var
|
|
33233
|
-
/* harmony import */ var
|
|
33234
|
-
/* harmony import */ var
|
|
33251
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
33252
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73625);
|
|
33253
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69247);
|
|
33254
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84516);
|
|
33255
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(79073);
|
|
33235
33256
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(3301);
|
|
33236
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
33237
33257
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48537);
|
|
33238
33258
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33239
33259
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1629);
|
|
@@ -33267,10 +33287,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33267
33287
|
|
|
33268
33288
|
|
|
33269
33289
|
|
|
33270
|
-
|
|
33271
|
-
|
|
33272
|
-
|
|
33273
|
-
|
|
33290
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33291
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33292
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33293
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33274
33294
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33275
33295
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33276
33296
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33278,14 +33298,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33278
33298
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33279
33299
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33280
33300
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33281
|
-
|
|
33282
|
-
a:
|
|
33283
|
-
img:
|
|
33284
|
-
cells:
|
|
33301
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33302
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33303
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33304
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33285
33305
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33286
|
-
jodit:
|
|
33287
|
-
iframe:
|
|
33288
|
-
'jodit-media':
|
|
33306
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33307
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33308
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33289
33309
|
selection: [
|
|
33290
33310
|
'bold',
|
|
33291
33311
|
'underline',
|
|
@@ -33897,12 +33917,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33897
33917
|
/* unused harmony export justify */
|
|
33898
33918
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
33899
33919
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
33900
|
-
/* harmony import */ var
|
|
33901
|
-
/* harmony import */ var
|
|
33902
|
-
/* harmony import */ var
|
|
33903
|
-
/* harmony import */ var
|
|
33904
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33920
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
33921
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26071);
|
|
33922
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4401);
|
|
33923
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
33905
33924
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
33925
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77795);
|
|
33926
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33906
33927
|
/*!
|
|
33907
33928
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33908
33929
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33915,7 +33936,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33915
33936
|
|
|
33916
33937
|
|
|
33917
33938
|
|
|
33918
|
-
|
|
33939
|
+
|
|
33940
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33919
33941
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
33920
33942
|
name: 'left',
|
|
33921
33943
|
tooltip: 'Align',
|
|
@@ -33924,22 +33946,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33924
33946
|
if (current) {
|
|
33925
33947
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
33926
33948
|
editor.editor;
|
|
33927
|
-
let currentValue = (0,
|
|
33949
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
33928
33950
|
if (control.defaultValue &&
|
|
33929
33951
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
33930
33952
|
currentValue = 'left';
|
|
33931
33953
|
}
|
|
33932
|
-
|
|
33933
|
-
|
|
33934
|
-
|
|
33935
|
-
|
|
33954
|
+
const { list, data } = control;
|
|
33955
|
+
if (data &&
|
|
33956
|
+
data.currentValue !== currentValue &&
|
|
33957
|
+
list &&
|
|
33958
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
33959
|
+
? list[currentValue]
|
|
33960
|
+
: list.includes(currentValue))) {
|
|
33936
33961
|
if (editor.o.textIcons || control.component === 'select') {
|
|
33937
33962
|
button.state.text = currentValue;
|
|
33938
33963
|
}
|
|
33939
33964
|
else {
|
|
33940
33965
|
button.state.icon.name = currentValue;
|
|
33941
33966
|
}
|
|
33942
|
-
|
|
33967
|
+
data.currentValue = currentValue;
|
|
33943
33968
|
}
|
|
33944
33969
|
}
|
|
33945
33970
|
},
|
|
@@ -33950,7 +33975,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33950
33975
|
}
|
|
33951
33976
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
33952
33977
|
editor.editor;
|
|
33953
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
33978
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
33954
33979
|
},
|
|
33955
33980
|
defaultValue: ['left', 'start', 'inherit'],
|
|
33956
33981
|
data: {
|
|
@@ -34004,7 +34029,7 @@ function justify(editor) {
|
|
|
34004
34029
|
if (!currentBox) {
|
|
34005
34030
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
34006
34031
|
}
|
|
34007
|
-
(0,
|
|
34032
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
34008
34033
|
});
|
|
34009
34034
|
return false;
|
|
34010
34035
|
};
|
|
@@ -34215,9 +34240,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34215
34240
|
"use strict";
|
|
34216
34241
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9596);
|
|
34217
34242
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
34218
|
-
/* harmony import */ var
|
|
34219
|
-
/* harmony import */ var
|
|
34220
|
-
/* harmony import */ var
|
|
34243
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
34244
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19615);
|
|
34245
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34221
34246
|
/*!
|
|
34222
34247
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34223
34248
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34227,9 +34252,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34227
34252
|
|
|
34228
34253
|
|
|
34229
34254
|
|
|
34230
|
-
|
|
34231
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34232
|
-
|
|
34255
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34256
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34257
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34233
34258
|
command: 'applyLineHeight',
|
|
34234
34259
|
tags: ['ol'],
|
|
34235
34260
|
tooltip: 'Line height',
|
|
@@ -34397,12 +34422,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34397
34422
|
"use strict";
|
|
34398
34423
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
34399
34424
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
34400
|
-
/* harmony import */ var
|
|
34401
|
-
/* harmony import */ var
|
|
34402
|
-
/* harmony import */ var
|
|
34403
|
-
/* harmony import */ var
|
|
34404
|
-
/* harmony import */ var
|
|
34405
|
-
/* harmony import */ var
|
|
34425
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
34426
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67576);
|
|
34427
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34428
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73501);
|
|
34429
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34430
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17660);
|
|
34406
34431
|
/*!
|
|
34407
34432
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34408
34433
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34414,8 +34439,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34414
34439
|
|
|
34415
34440
|
|
|
34416
34441
|
|
|
34417
|
-
|
|
34418
|
-
formTemplate:
|
|
34442
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
34443
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
34419
34444
|
followOnDblClick: false,
|
|
34420
34445
|
processVideoLink: true,
|
|
34421
34446
|
processPastedLink: true,
|
|
@@ -34427,8 +34452,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
34427
34452
|
selectOptionsClassName: [],
|
|
34428
34453
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
34429
34454
|
};
|
|
34430
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
34431
|
-
|
|
34455
|
+
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()));
|
|
34456
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
34432
34457
|
exec: (editor, current) => {
|
|
34433
34458
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
34434
34459
|
if (anchor) {
|
|
@@ -34439,7 +34464,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
34439
34464
|
},
|
|
34440
34465
|
tooltip: 'Unlink'
|
|
34441
34466
|
};
|
|
34442
|
-
|
|
34467
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
34443
34468
|
isActive: (editor) => {
|
|
34444
34469
|
const current = editor.s.current();
|
|
34445
34470
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -34983,9 +35008,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
34983
35008
|
"use strict";
|
|
34984
35009
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
34985
35010
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
34986
|
-
/* harmony import */ var
|
|
34987
|
-
/* harmony import */ var
|
|
34988
|
-
/* harmony import */ var
|
|
35011
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
35012
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78167);
|
|
35013
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78072);
|
|
34989
35014
|
/*!
|
|
34990
35015
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34991
35016
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34996,9 +35021,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
34996
35021
|
|
|
34997
35022
|
|
|
34998
35023
|
|
|
34999
|
-
|
|
35000
|
-
|
|
35001
|
-
|
|
35024
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
35025
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
35026
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
35002
35027
|
{
|
|
35003
35028
|
group: 'font-style',
|
|
35004
35029
|
buttons: []
|
|
@@ -35045,7 +35070,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
35045
35070
|
'|',
|
|
35046
35071
|
'dots'
|
|
35047
35072
|
];
|
|
35048
|
-
|
|
35073
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
35049
35074
|
{
|
|
35050
35075
|
group: 'font-style',
|
|
35051
35076
|
buttons: []
|
|
@@ -35080,7 +35105,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
35080
35105
|
'|',
|
|
35081
35106
|
'dots'
|
|
35082
35107
|
];
|
|
35083
|
-
|
|
35108
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
35084
35109
|
{
|
|
35085
35110
|
group: 'font-style',
|
|
35086
35111
|
buttons: []
|
|
@@ -35101,16 +35126,16 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
35101
35126
|
'---',
|
|
35102
35127
|
'dots'
|
|
35103
35128
|
];
|
|
35104
|
-
|
|
35129
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
35105
35130
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
35106
35131
|
popup: (editor, current, close, button) => {
|
|
35107
35132
|
let store = button.control.data;
|
|
35108
35133
|
if (store === undefined) {
|
|
35109
35134
|
store = {
|
|
35110
|
-
toolbar: (0,
|
|
35135
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
35111
35136
|
rebuild: () => {
|
|
35112
35137
|
if (button) {
|
|
35113
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
35138
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
35114
35139
|
if (buttons && store) {
|
|
35115
35140
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
35116
35141
|
const w = editor.toolbar?.firstButton?.container
|
|
@@ -35221,11 +35246,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
35221
35246
|
"use strict";
|
|
35222
35247
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49382);
|
|
35223
35248
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
35224
|
-
/* harmony import */ var
|
|
35225
|
-
/* harmony import */ var
|
|
35226
|
-
/* harmony import */ var
|
|
35227
|
-
/* harmony import */ var
|
|
35228
|
-
/* harmony import */ var
|
|
35249
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
35250
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48421);
|
|
35251
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35252
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22791);
|
|
35253
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35229
35254
|
/*!
|
|
35230
35255
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35231
35256
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35242,8 +35267,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
35242
35267
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
35243
35268
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
35244
35269
|
};
|
|
35245
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
35246
|
-
|
|
35270
|
+
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()));
|
|
35271
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
35247
35272
|
command: 'insertUnorderedList',
|
|
35248
35273
|
tags: ['ul'],
|
|
35249
35274
|
tooltip: 'Insert Unordered List',
|
|
@@ -35255,7 +35280,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
35255
35280
|
},
|
|
35256
35281
|
exec: memoExec
|
|
35257
35282
|
};
|
|
35258
|
-
|
|
35283
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
35259
35284
|
command: 'insertOrderedList',
|
|
35260
35285
|
tags: ['ol'],
|
|
35261
35286
|
tooltip: 'Insert Ordered List',
|
|
@@ -35631,8 +35656,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35631
35656
|
|
|
35632
35657
|
"use strict";
|
|
35633
35658
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
35634
|
-
/* harmony import */ var
|
|
35635
|
-
/* harmony import */ var
|
|
35659
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
35660
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48954);
|
|
35636
35661
|
/*!
|
|
35637
35662
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35638
35663
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35641,19 +35666,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35641
35666
|
|
|
35642
35667
|
|
|
35643
35668
|
|
|
35644
|
-
|
|
35645
|
-
|
|
35646
|
-
|
|
35647
|
-
|
|
35648
|
-
|
|
35669
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
35670
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
35671
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
35672
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
35673
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
35649
35674
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
35650
35675
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
35651
35676
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
35652
35677
|
];
|
|
35653
|
-
|
|
35654
|
-
|
|
35678
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
35679
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
35655
35680
|
const psKey = 'pasteStorage';
|
|
35656
|
-
|
|
35681
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
35657
35682
|
tooltip: 'Paste from clipboard',
|
|
35658
35683
|
async exec(editor, _, { control }) {
|
|
35659
35684
|
if (control.name === psKey) {
|
|
@@ -35701,7 +35726,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
35701
35726
|
!error && editor.e.fire('afterPaste');
|
|
35702
35727
|
}
|
|
35703
35728
|
else if (text.length) {
|
|
35704
|
-
(0,
|
|
35729
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
35705
35730
|
editor.e.fire('afterPaste');
|
|
35706
35731
|
}
|
|
35707
35732
|
else {
|
|
@@ -36428,10 +36453,10 @@ function generateCriticalCSS(jodit) {
|
|
|
36428
36453
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54614);
|
|
36429
36454
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85769);
|
|
36430
36455
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
36431
|
-
/* harmony import */ var
|
|
36432
|
-
/* harmony import */ var
|
|
36433
|
-
/* harmony import */ var
|
|
36434
|
-
/* harmony import */ var
|
|
36456
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
36457
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(86134);
|
|
36458
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26899);
|
|
36459
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
36435
36460
|
/*!
|
|
36436
36461
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36437
36462
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36446,8 +36471,8 @@ function generateCriticalCSS(jodit) {
|
|
|
36446
36471
|
|
|
36447
36472
|
|
|
36448
36473
|
|
|
36449
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
36450
|
-
|
|
36474
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
36475
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
36451
36476
|
exec: (editor) => {
|
|
36452
36477
|
const iframe = editor.create.element('iframe');
|
|
36453
36478
|
Object.assign(iframe.style, {
|
|
@@ -36458,7 +36483,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36458
36483
|
height: 0,
|
|
36459
36484
|
border: 0
|
|
36460
36485
|
});
|
|
36461
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
36486
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
36462
36487
|
const afterFinishPrint = () => {
|
|
36463
36488
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
36464
36489
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -36476,7 +36501,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36476
36501
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
36477
36502
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
36478
36503
|
'"><head><title></title></head><style>' +
|
|
36479
|
-
(0,
|
|
36504
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
36480
36505
|
'</style><body></body></html>');
|
|
36481
36506
|
myWindow.document.close();
|
|
36482
36507
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -36514,11 +36539,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36514
36539
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
36515
36540
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
36516
36541
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
36517
|
-
/* harmony import */ var
|
|
36518
|
-
/* harmony import */ var
|
|
36519
|
-
/* harmony import */ var
|
|
36520
|
-
/* harmony import */ var
|
|
36521
|
-
/* harmony import */ var
|
|
36542
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
36543
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(37629);
|
|
36544
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
36545
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42687);
|
|
36546
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
36522
36547
|
/*!
|
|
36523
36548
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36524
36549
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36531,13 +36556,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36531
36556
|
|
|
36532
36557
|
|
|
36533
36558
|
|
|
36534
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
36535
|
-
|
|
36559
|
+
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()));
|
|
36560
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
36536
36561
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36537
36562
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
36538
36563
|
tooltip: 'Redo'
|
|
36539
36564
|
};
|
|
36540
|
-
|
|
36565
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
36541
36566
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36542
36567
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
36543
36568
|
tooltip: 'Undo'
|
|
@@ -37556,9 +37581,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37556
37581
|
|
|
37557
37582
|
"use strict";
|
|
37558
37583
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
37559
|
-
/* harmony import */ var
|
|
37560
|
-
/* harmony import */ var
|
|
37561
|
-
/* harmony import */ var
|
|
37584
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
37585
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98973);
|
|
37586
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
37562
37587
|
/*!
|
|
37563
37588
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37564
37589
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37568,14 +37593,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37568
37593
|
|
|
37569
37594
|
|
|
37570
37595
|
|
|
37571
|
-
|
|
37572
|
-
|
|
37596
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
37597
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
37573
37598
|
lazyIdleTimeout: 0,
|
|
37574
37599
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
37575
37600
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
37576
37601
|
};
|
|
37577
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
37578
|
-
|
|
37602
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
37603
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
37579
37604
|
tooltip: 'Find',
|
|
37580
37605
|
icon: 'search',
|
|
37581
37606
|
exec(jodit, _, { control }) {
|
|
@@ -39182,9 +39207,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39182
39207
|
"use strict";
|
|
39183
39208
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
39184
39209
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
39185
|
-
/* harmony import */ var
|
|
39186
|
-
/* harmony import */ var
|
|
39187
|
-
/* harmony import */ var
|
|
39210
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
39211
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58671);
|
|
39212
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
39188
39213
|
/*!
|
|
39189
39214
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39190
39215
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39194,9 +39219,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39194
39219
|
|
|
39195
39220
|
|
|
39196
39221
|
|
|
39197
|
-
|
|
39198
|
-
|
|
39199
|
-
|
|
39222
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
39223
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
39224
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
39200
39225
|
/**
|
|
39201
39226
|
* Show gutter
|
|
39202
39227
|
*/
|
|
@@ -39218,15 +39243,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
39218
39243
|
*/
|
|
39219
39244
|
highlightActiveLine: true
|
|
39220
39245
|
};
|
|
39221
|
-
|
|
39246
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
39222
39247
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
39223
39248
|
];
|
|
39224
|
-
|
|
39249
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
39225
39250
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
39226
39251
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
39227
39252
|
];
|
|
39228
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
39229
|
-
|
|
39253
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
39254
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
39230
39255
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39231
39256
|
exec: (editor) => {
|
|
39232
39257
|
editor.toggleMode();
|
|
@@ -40021,9 +40046,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40021
40046
|
|
|
40022
40047
|
"use strict";
|
|
40023
40048
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
40024
|
-
/* harmony import */ var
|
|
40025
|
-
/* harmony import */ var
|
|
40026
|
-
/* harmony import */ var
|
|
40049
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
40050
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80709);
|
|
40051
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40027
40052
|
/*!
|
|
40028
40053
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40029
40054
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40032,13 +40057,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40032
40057
|
|
|
40033
40058
|
|
|
40034
40059
|
|
|
40035
|
-
|
|
40036
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
40037
|
-
|
|
40060
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
40061
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40062
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
40038
40063
|
isActive(e) {
|
|
40039
40064
|
return e.o.spellcheck;
|
|
40040
40065
|
},
|
|
40041
|
-
icon: (
|
|
40066
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
40042
40067
|
name: 'spellcheck',
|
|
40043
40068
|
command: 'toggleSpellcheck',
|
|
40044
40069
|
tooltip: 'Spellcheck'
|
|
@@ -40416,9 +40441,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
40416
40441
|
|
|
40417
40442
|
"use strict";
|
|
40418
40443
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
40419
|
-
/* harmony import */ var
|
|
40420
|
-
/* harmony import */ var
|
|
40421
|
-
/* harmony import */ var
|
|
40444
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
40445
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3283);
|
|
40446
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40422
40447
|
/*!
|
|
40423
40448
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40424
40449
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40427,8 +40452,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
40427
40452
|
|
|
40428
40453
|
|
|
40429
40454
|
|
|
40430
|
-
|
|
40431
|
-
|
|
40455
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
40456
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
40432
40457
|
'!',
|
|
40433
40458
|
'"',
|
|
40434
40459
|
'#',
|
|
@@ -40640,8 +40665,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
40640
40665
|
'♦',
|
|
40641
40666
|
'≈'
|
|
40642
40667
|
];
|
|
40643
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
40644
|
-
|
|
40668
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40669
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
40645
40670
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
40646
40671
|
tooltip: 'Insert Special Character',
|
|
40647
40672
|
popup: (editor, current, close) => {
|
|
@@ -41233,9 +41258,9 @@ function findCell(editor, key) {
|
|
|
41233
41258
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
41234
41259
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71122);
|
|
41235
41260
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
41236
|
-
/* harmony import */ var
|
|
41237
|
-
/* harmony import */ var
|
|
41238
|
-
/* harmony import */ var
|
|
41261
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
41262
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35863);
|
|
41263
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
41239
41264
|
/*!
|
|
41240
41265
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41241
41266
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41247,12 +41272,12 @@ function findCell(editor, key) {
|
|
|
41247
41272
|
|
|
41248
41273
|
|
|
41249
41274
|
|
|
41250
|
-
|
|
41275
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
41251
41276
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
41252
41277
|
useExtraClassesOptions: false
|
|
41253
41278
|
};
|
|
41254
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
41255
|
-
|
|
41279
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
41280
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
41256
41281
|
data: {
|
|
41257
41282
|
cols: 10,
|
|
41258
41283
|
rows: 10,
|
|
@@ -41419,10 +41444,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
41419
41444
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64962);
|
|
41420
41445
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18716);
|
|
41421
41446
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
41422
|
-
/* harmony import */ var
|
|
41423
|
-
/* harmony import */ var
|
|
41424
|
-
/* harmony import */ var
|
|
41425
|
-
/* harmony import */ var
|
|
41447
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
41448
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
41449
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(46035);
|
|
41450
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
41426
41451
|
/*!
|
|
41427
41452
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41428
41453
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41435,8 +41460,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
41435
41460
|
|
|
41436
41461
|
|
|
41437
41462
|
|
|
41438
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
41439
|
-
|
|
41463
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
41464
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
41440
41465
|
popup: (editor, current, close) => {
|
|
41441
41466
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
41442
41467
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -41483,7 +41508,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
41483
41508
|
formCode.onSubmit(data => {
|
|
41484
41509
|
insertCode(data.code);
|
|
41485
41510
|
});
|
|
41486
|
-
return (0,
|
|
41511
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
41487
41512
|
},
|
|
41488
41513
|
tags: ['iframe'],
|
|
41489
41514
|
tooltip: 'Insert youtube/vimeo video'
|
|
@@ -42116,9 +42141,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42116
42141
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
42117
42142
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65564);
|
|
42118
42143
|
/* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34138);
|
|
42119
|
-
/* harmony import */ var
|
|
42120
|
-
/* harmony import */ var
|
|
42121
|
-
/* harmony import */ var
|
|
42144
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
42145
|
+
/* harmony import */ var _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75700);
|
|
42146
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56418);
|
|
42122
42147
|
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25511);
|
|
42123
42148
|
/*!
|
|
42124
42149
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -42136,7 +42161,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42136
42161
|
|
|
42137
42162
|
|
|
42138
42163
|
|
|
42139
|
-
|
|
42164
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.autocomplete = {
|
|
42140
42165
|
sources: [],
|
|
42141
42166
|
maxItems: 50,
|
|
42142
42167
|
isMatchedQuery: (query, value) => value.toLowerCase().indexOf(query.toLowerCase()) === 0,
|
|
@@ -42154,7 +42179,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
42154
42179
|
afterInit(jodit) {
|
|
42155
42180
|
this.popup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__/* .Popup */ .z(jodit);
|
|
42156
42181
|
this.popup.setMod('padding', false);
|
|
42157
|
-
this.list = new
|
|
42182
|
+
this.list = new _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__/* .Autocomplete */ .j(jodit);
|
|
42158
42183
|
this.popup.setContent(this.list.container);
|
|
42159
42184
|
jodit.e
|
|
42160
42185
|
.on('select.autocomplete', (item) => {
|
|
@@ -42165,7 +42190,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
42165
42190
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isNode(insertValue)) {
|
|
42166
42191
|
insertValue = jodit.createInside.fromHTML(insertValue);
|
|
42167
42192
|
}
|
|
42168
|
-
(0,
|
|
42193
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .replaceTextLeftOfCursorAfterSpace */ .s)(jodit.s.range, insertValue);
|
|
42169
42194
|
this.j.s.setCursorAfter(insertValue);
|
|
42170
42195
|
this.j.synchronizeValues();
|
|
42171
42196
|
this.popup.close();
|
|
@@ -42201,7 +42226,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
42201
42226
|
const range = this.j.s.sel?.rangeCount
|
|
42202
42227
|
? this.j.s.sel?.getRangeAt(0)
|
|
42203
42228
|
: null;
|
|
42204
|
-
const query = range && (0,
|
|
42229
|
+
const query = range && (0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .getTextLeftOfCursor */ .I)(range).split(' ').pop();
|
|
42205
42230
|
if (query && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(query).length) {
|
|
42206
42231
|
const result = await this.onAutoComplete(query);
|
|
42207
42232
|
if (result.length) {
|