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/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
|
*/
|
|
@@ -2444,7 +2444,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2444
2444
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2445
2445
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2446
2446
|
*/
|
|
2447
|
-
const APP_VERSION = "4.2.
|
|
2447
|
+
const APP_VERSION = "4.2.19";
|
|
2448
2448
|
// prettier-ignore
|
|
2449
2449
|
const ES = "es2021";
|
|
2450
2450
|
const IS_ES_MODERN = true;
|
|
@@ -7988,6 +7988,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
7988
7988
|
}
|
|
7989
7989
|
const script = jodit.c.element('script', {
|
|
7990
7990
|
type: 'text/javascript',
|
|
7991
|
+
crossorigin: 'anonymous',
|
|
7992
|
+
referrerpolicy: 'no-referrer',
|
|
7991
7993
|
async: true,
|
|
7992
7994
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .X)(url)
|
|
7993
7995
|
});
|
|
@@ -8228,9 +8230,9 @@ const completeUrl = (url) => {
|
|
|
8228
8230
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
8229
8231
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
8230
8232
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74197);
|
|
8233
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
|
|
8231
8234
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20368);
|
|
8232
|
-
/* harmony import */ var
|
|
8233
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
8235
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94183);
|
|
8234
8236
|
/*!
|
|
8235
8237
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8236
8238
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8278,7 +8280,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8278
8280
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
8279
8281
|
return options;
|
|
8280
8282
|
}
|
|
8281
|
-
const def =
|
|
8283
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
8282
8284
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
8283
8285
|
if (def.presets[options.preset] !== undefined) {
|
|
8284
8286
|
const preset = def.presets[options.preset];
|
|
@@ -8308,7 +8310,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8308
8310
|
return newOpt;
|
|
8309
8311
|
}
|
|
8310
8312
|
function ConfigFlatten(obj) {
|
|
8311
|
-
return (0,
|
|
8313
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
8312
8314
|
app[key] = obj[key];
|
|
8313
8315
|
return app;
|
|
8314
8316
|
}, {});
|
|
@@ -10267,9 +10269,9 @@ Plugin.requires = [];
|
|
|
10267
10269
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33442);
|
|
10268
10270
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
10269
10271
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24839);
|
|
10270
|
-
/* harmony import */ var
|
|
10272
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
10273
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91596);
|
|
10271
10274
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(85349);
|
|
10272
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
10273
10275
|
/*!
|
|
10274
10276
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10275
10277
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -10287,7 +10289,7 @@ class Ajax {
|
|
|
10287
10289
|
className() {
|
|
10288
10290
|
return 'Ajax';
|
|
10289
10291
|
}
|
|
10290
|
-
constructor(options, defaultAjaxOptions =
|
|
10292
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
10291
10293
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
10292
10294
|
this.__isFulfilled = false;
|
|
10293
10295
|
this.__activated = false;
|
|
@@ -13663,6 +13665,7 @@ class Mods {
|
|
|
13663
13665
|
const UIButtonState = () => ({
|
|
13664
13666
|
size: 'middle',
|
|
13665
13667
|
type: 'button',
|
|
13668
|
+
role: 'button',
|
|
13666
13669
|
name: '',
|
|
13667
13670
|
value: '',
|
|
13668
13671
|
variant: 'initial',
|
|
@@ -13711,6 +13714,9 @@ let UIButton = class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MO
|
|
|
13711
13714
|
onChangeType() {
|
|
13712
13715
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(this.container, 'type', this.state.type);
|
|
13713
13716
|
}
|
|
13717
|
+
onChangeRole() {
|
|
13718
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(this.container, 'role', this.state.role);
|
|
13719
|
+
}
|
|
13714
13720
|
/**
|
|
13715
13721
|
* Set size from a parent list
|
|
13716
13722
|
*/
|
|
@@ -13840,6 +13846,9 @@ let UIButton = class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MO
|
|
|
13840
13846
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13841
13847
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.type', { immediately: false })
|
|
13842
13848
|
], UIButton.prototype, "onChangeType", null);
|
|
13849
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13850
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.role', { immediately: false })
|
|
13851
|
+
], UIButton.prototype, "onChangeRole", null);
|
|
13843
13852
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13844
13853
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('parentElement')
|
|
13845
13854
|
], UIButton.prototype, "updateSize", null);
|
|
@@ -14049,6 +14058,19 @@ var UITooltip_1;
|
|
|
14049
14058
|
|
|
14050
14059
|
|
|
14051
14060
|
|
|
14061
|
+
const WINDOW_EVENTS_ON_HIDE = [
|
|
14062
|
+
'scroll.tooltip',
|
|
14063
|
+
'joditCloseDialog',
|
|
14064
|
+
'mouseleave.tooltip'
|
|
14065
|
+
];
|
|
14066
|
+
const JODIT_EVENTS_ON_HIDE = [
|
|
14067
|
+
'escape.tooltip',
|
|
14068
|
+
'change.tooltip',
|
|
14069
|
+
'changePlace.tooltip',
|
|
14070
|
+
'afterOpenPopup.tooltip',
|
|
14071
|
+
'hidePopup.tooltip',
|
|
14072
|
+
'closeAllPopups.tooltip'
|
|
14073
|
+
];
|
|
14052
14074
|
let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_5__/* .UIElement */ .D {
|
|
14053
14075
|
className() {
|
|
14054
14076
|
return 'UITooltip';
|
|
@@ -14067,7 +14089,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14067
14089
|
view.o.showTooltip &&
|
|
14068
14090
|
!view.o.useNativeTooltip) {
|
|
14069
14091
|
view.hookStatus(jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.ready, () => {
|
|
14070
|
-
// TODO Move it inside
|
|
14092
|
+
// TODO Move it inside __show method. Now it is here because testcase failed with capturing
|
|
14071
14093
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(this.j, UITooltip_1).appendChild(this.container);
|
|
14072
14094
|
view.e.on(view.container, 'mouseenter.tooltip', this.__onMouseEnter, {
|
|
14073
14095
|
capture: true
|
|
@@ -14075,44 +14097,28 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14075
14097
|
});
|
|
14076
14098
|
}
|
|
14077
14099
|
}
|
|
14078
|
-
|
|
14100
|
+
__addListenersOnEnter() {
|
|
14079
14101
|
if (this.__listenClose) {
|
|
14080
14102
|
return;
|
|
14081
14103
|
}
|
|
14082
14104
|
this.__listenClose = true;
|
|
14083
14105
|
const view = this.j;
|
|
14084
14106
|
view.e
|
|
14085
|
-
.on(view.ow,
|
|
14086
|
-
.on(
|
|
14087
|
-
.on(view.container, 'mouseleave.tooltip', this.
|
|
14088
|
-
.on([
|
|
14089
|
-
'escape.tooltip',
|
|
14090
|
-
'change.tooltip',
|
|
14091
|
-
'changePlace.tooltip',
|
|
14092
|
-
'afterOpenPopup.tooltip',
|
|
14093
|
-
'hidePopup.tooltip',
|
|
14094
|
-
'closeAllPopups.tooltip'
|
|
14095
|
-
], this.__hide)
|
|
14096
|
-
.on(view.container, 'mouseleave', this.__onMouseLeave, {
|
|
14107
|
+
.on(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14108
|
+
.on(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14109
|
+
.on(view.container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14097
14110
|
capture: true
|
|
14098
14111
|
});
|
|
14099
14112
|
}
|
|
14100
|
-
|
|
14113
|
+
__removeListenersOnLeave() {
|
|
14101
14114
|
if (!this.__listenClose) {
|
|
14102
14115
|
return;
|
|
14103
14116
|
}
|
|
14104
14117
|
this.__listenClose = false;
|
|
14105
14118
|
const view = this.j;
|
|
14106
14119
|
view.e
|
|
14107
|
-
.off(view.ow,
|
|
14108
|
-
.off(
|
|
14109
|
-
'escape.tooltip',
|
|
14110
|
-
'change.tooltip',
|
|
14111
|
-
'changePlace.tooltip',
|
|
14112
|
-
'afterOpenPopup.tooltip',
|
|
14113
|
-
'hidePopup.tooltip',
|
|
14114
|
-
'closeAllPopups.tooltip'
|
|
14115
|
-
], this.__hide)
|
|
14120
|
+
.off(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14121
|
+
.off(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14116
14122
|
.off(view.container, 'mouseleave.tooltip', this.__onMouseLeave);
|
|
14117
14123
|
}
|
|
14118
14124
|
__onMouseLeave(e) {
|
|
@@ -14138,29 +14144,30 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14138
14144
|
return;
|
|
14139
14145
|
}
|
|
14140
14146
|
this.__currentTarget = e.target;
|
|
14141
|
-
const
|
|
14142
|
-
this.
|
|
14143
|
-
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
|
|
14147
|
+
const target = e.target;
|
|
14148
|
+
this.__open(() => {
|
|
14149
|
+
const pos = (0,jodit_core_helpers_size_position__WEBPACK_IMPORTED_MODULE_6__/* .position */ .G)(target);
|
|
14150
|
+
return {
|
|
14151
|
+
x: pos.left + pos.width / 2,
|
|
14152
|
+
y: pos.top + pos.height
|
|
14153
|
+
};
|
|
14154
|
+
}, tooltip);
|
|
14155
|
+
}
|
|
14156
|
+
__open(getPoint, content) {
|
|
14157
|
+
this.__addListenersOnEnter();
|
|
14158
|
+
this.__isOpened = true;
|
|
14150
14159
|
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14151
14160
|
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14152
|
-
|
|
14153
|
-
|
|
14154
|
-
|
|
14155
|
-
|
|
14161
|
+
const to = this.j.o.showTooltipDelay || this.j.defaultTimeout;
|
|
14162
|
+
if (!to) {
|
|
14163
|
+
this.__show(getPoint, content);
|
|
14164
|
+
return;
|
|
14165
|
+
}
|
|
14166
|
+
this.__delayShowTimeout = this.j.async.setTimeout(() => this.__show(getPoint, content), to);
|
|
14156
14167
|
}
|
|
14157
|
-
|
|
14168
|
+
__show(getPoint, content) {
|
|
14158
14169
|
this.setMod('visible', true);
|
|
14159
14170
|
this.getElm('content').innerHTML = content;
|
|
14160
|
-
this.__isOpened = true;
|
|
14161
|
-
this.__setPosition(getPoint);
|
|
14162
|
-
}
|
|
14163
|
-
__setPosition(getPoint) {
|
|
14164
14171
|
const point = getPoint();
|
|
14165
14172
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.css)(this.container, {
|
|
14166
14173
|
left: point.x,
|
|
@@ -14170,24 +14177,26 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14170
14177
|
__hide() {
|
|
14171
14178
|
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14172
14179
|
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14173
|
-
this.
|
|
14180
|
+
this.__removeListenersOnLeave();
|
|
14174
14181
|
if (this.__isOpened) {
|
|
14175
14182
|
this.__isOpened = false;
|
|
14176
14183
|
this.setMod('visible', false);
|
|
14184
|
+
this.getElm('content').innerHTML = '';
|
|
14177
14185
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.css)(this.container, {
|
|
14178
14186
|
left: -5000
|
|
14179
14187
|
});
|
|
14180
14188
|
}
|
|
14181
14189
|
}
|
|
14182
14190
|
__hideDelay() {
|
|
14191
|
+
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14192
|
+
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14183
14193
|
if (!this.__isOpened) {
|
|
14184
14194
|
return;
|
|
14185
14195
|
}
|
|
14186
|
-
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14187
14196
|
this.__hideTimeout = this.async.setTimeout(this.__hide, this.j.defaultTimeout);
|
|
14188
14197
|
}
|
|
14189
14198
|
destruct() {
|
|
14190
|
-
this.j.e.off(this.j.container, 'mouseenter', this.__onMouseEnter);
|
|
14199
|
+
this.j.e.off(this.j.container, 'mouseenter.tooltip', this.__onMouseEnter);
|
|
14191
14200
|
this.__hide();
|
|
14192
14201
|
super.destruct();
|
|
14193
14202
|
}
|
|
@@ -15735,17 +15744,23 @@ function findControlType(path, controls) {
|
|
|
15735
15744
|
else {
|
|
15736
15745
|
key = namespaceOrKey;
|
|
15737
15746
|
}
|
|
15738
|
-
const list = store[key]?.list;
|
|
15747
|
+
// const list = store[key]?.list;
|
|
15739
15748
|
return store[key]
|
|
15740
15749
|
? {
|
|
15741
15750
|
name: key,
|
|
15742
|
-
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15743
|
-
list:
|
|
15744
|
-
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
15748
|
-
|
|
15751
|
+
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15752
|
+
// list: isArray(list)
|
|
15753
|
+
// ? (<Array<string>>list).reduce(
|
|
15754
|
+
// (
|
|
15755
|
+
// acc: IDictionary<string | number>,
|
|
15756
|
+
// k: string | number
|
|
15757
|
+
// ) => {
|
|
15758
|
+
// acc[String(k)] = k;
|
|
15759
|
+
// return acc;
|
|
15760
|
+
// },
|
|
15761
|
+
// {}
|
|
15762
|
+
// )
|
|
15763
|
+
// : list
|
|
15749
15764
|
}
|
|
15750
15765
|
: undefined;
|
|
15751
15766
|
}
|
|
@@ -15762,8 +15777,8 @@ function findControlType(path, controls) {
|
|
|
15762
15777
|
/* harmony export */ });
|
|
15763
15778
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55010);
|
|
15764
15779
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71122);
|
|
15765
|
-
/* harmony import */ var
|
|
15766
|
-
/* harmony import */ var
|
|
15780
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
15781
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68600);
|
|
15767
15782
|
/*!
|
|
15768
15783
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15769
15784
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15783,7 +15798,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15783
15798
|
const value = items[key] || {};
|
|
15784
15799
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15785
15800
|
});
|
|
15786
|
-
return elements.map(item => (0,
|
|
15801
|
+
return elements.map(item => (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls));
|
|
15787
15802
|
}
|
|
15788
15803
|
|
|
15789
15804
|
|
|
@@ -16969,8 +16984,8 @@ class CommitMode {
|
|
|
16969
16984
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
16970
16985
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49604);
|
|
16971
16986
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28190);
|
|
16972
|
-
/* harmony import */ var
|
|
16973
|
-
/* harmony import */ var
|
|
16987
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
16988
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(35102);
|
|
16974
16989
|
/*!
|
|
16975
16990
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16976
16991
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16989,7 +17004,7 @@ var Jodit_1;
|
|
|
16989
17004
|
|
|
16990
17005
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16991
17006
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16992
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
17007
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16993
17008
|
/** @override */
|
|
16994
17009
|
className() {
|
|
16995
17010
|
return 'Jodit';
|
|
@@ -17036,7 +17051,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17036
17051
|
get defaultTimeout() {
|
|
17037
17052
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
17038
17053
|
? this.o.defaultTimeout
|
|
17039
|
-
:
|
|
17054
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17040
17055
|
}
|
|
17041
17056
|
/**
|
|
17042
17057
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -17062,10 +17077,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17062
17077
|
* Default settings
|
|
17063
17078
|
*/
|
|
17064
17079
|
static get defaultOptions() {
|
|
17065
|
-
return
|
|
17080
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
17066
17081
|
}
|
|
17067
17082
|
get createInside() {
|
|
17068
|
-
return new
|
|
17083
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
17069
17084
|
}
|
|
17070
17085
|
__setPlaceField(field, value) {
|
|
17071
17086
|
if (!this.currentPlace) {
|
|
@@ -17613,8 +17628,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17613
17628
|
const active = this.od.activeElement;
|
|
17614
17629
|
if (active &&
|
|
17615
17630
|
(active === this.iframe ||
|
|
17616
|
-
|
|
17617
|
-
|
|
17631
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
17632
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
17618
17633
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
17619
17634
|
}
|
|
17620
17635
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -17766,7 +17781,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17766
17781
|
}
|
|
17767
17782
|
/** @override **/
|
|
17768
17783
|
initOptions(options) {
|
|
17769
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17784
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
17770
17785
|
}
|
|
17771
17786
|
/** @override **/
|
|
17772
17787
|
initOwners() {
|
|
@@ -17811,7 +17826,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17811
17826
|
this.destruct();
|
|
17812
17827
|
throw e;
|
|
17813
17828
|
}
|
|
17814
|
-
this.setStatus(
|
|
17829
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17815
17830
|
this.id =
|
|
17816
17831
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.resolveElement)(element, this.o.shadowRoot || this.od), 'id') ||
|
|
17817
17832
|
new Date().getTime().toString();
|
|
@@ -17823,7 +17838,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17823
17838
|
}
|
|
17824
17839
|
});
|
|
17825
17840
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17826
|
-
this.selection = new
|
|
17841
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17827
17842
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17828
17843
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17829
17844
|
if (this.isInDestruct) {
|
|
@@ -17847,7 +17862,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17847
17862
|
this.e.fire('afterInit', this);
|
|
17848
17863
|
}
|
|
17849
17864
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17850
|
-
this.setStatus(
|
|
17865
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17851
17866
|
this.e.fire('afterConstructor', this);
|
|
17852
17867
|
};
|
|
17853
17868
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17863,7 +17878,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17863
17878
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17864
17879
|
const name = attr.name;
|
|
17865
17880
|
let value = attr.value;
|
|
17866
|
-
if (
|
|
17881
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17867
17882
|
(!options || options[name] === undefined)) {
|
|
17868
17883
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17869
17884
|
value = value === '' || value === 'true';
|
|
@@ -17931,11 +17946,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17931
17946
|
element,
|
|
17932
17947
|
container,
|
|
17933
17948
|
workplace,
|
|
17934
|
-
statusbar: new
|
|
17949
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17935
17950
|
options: this.isReady
|
|
17936
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17951
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17937
17952
|
: this.options,
|
|
17938
|
-
history: new
|
|
17953
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17939
17954
|
editorWindow: this.ow
|
|
17940
17955
|
};
|
|
17941
17956
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -18026,7 +18041,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18026
18041
|
return;
|
|
18027
18042
|
}
|
|
18028
18043
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
18029
|
-
|
|
18044
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
18030
18045
|
}
|
|
18031
18046
|
addClassNames(this.o.editorClassName, this.editor);
|
|
18032
18047
|
if (this.o.style) {
|
|
@@ -18116,7 +18131,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18116
18131
|
if (this.isInDestruct) {
|
|
18117
18132
|
return;
|
|
18118
18133
|
}
|
|
18119
|
-
this.setStatus(
|
|
18134
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
18120
18135
|
this.__elementToPlace.clear();
|
|
18121
18136
|
this.storage.clear();
|
|
18122
18137
|
this.buffer.clear();
|
|
@@ -18157,17 +18172,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18157
18172
|
this.e.off(container);
|
|
18158
18173
|
this.e.off(element);
|
|
18159
18174
|
this.e.off(editor);
|
|
18160
|
-
|
|
18161
|
-
|
|
18175
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
18176
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
18162
18177
|
if (container !== element) {
|
|
18163
|
-
|
|
18178
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
18164
18179
|
}
|
|
18165
18180
|
Object.defineProperty(element, 'component', {
|
|
18166
18181
|
enumerable: false,
|
|
18167
18182
|
configurable: true,
|
|
18168
18183
|
value: null
|
|
18169
18184
|
});
|
|
18170
|
-
|
|
18185
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
18171
18186
|
// inline mode
|
|
18172
18187
|
if (container === element) {
|
|
18173
18188
|
element.innerHTML = buffer;
|
|
@@ -18189,7 +18204,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
18189
18204
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
18190
18205
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
18191
18206
|
Jodit.core = {
|
|
18192
|
-
Plugin:
|
|
18207
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
18193
18208
|
};
|
|
18194
18209
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
18195
18210
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -20462,16 +20477,16 @@ async function loadTree(fb) {
|
|
|
20462
20477
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
20463
20478
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
20464
20479
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
20465
|
-
/* harmony import */ var
|
|
20480
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91288);
|
|
20481
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83148);
|
|
20466
20482
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
|
|
20467
|
-
/* harmony import */ var
|
|
20468
|
-
/* harmony import */ var
|
|
20469
|
-
/* harmony import */ var
|
|
20470
|
-
/* harmony import */ var
|
|
20471
|
-
/* harmony import */ var
|
|
20472
|
-
/* harmony import */ var
|
|
20473
|
-
/* harmony import */ var
|
|
20474
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
20483
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(64164);
|
|
20484
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50067);
|
|
20485
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(25430);
|
|
20486
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34255);
|
|
20487
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(18714);
|
|
20488
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(24538);
|
|
20489
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96243);
|
|
20475
20490
|
/*!
|
|
20476
20491
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20477
20492
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20505,7 +20520,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20505
20520
|
return 'FileBrowser';
|
|
20506
20521
|
}
|
|
20507
20522
|
get dataProvider() {
|
|
20508
|
-
return (0,
|
|
20523
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
20509
20524
|
}
|
|
20510
20525
|
// eslint-disable-next-line no-unused-vars
|
|
20511
20526
|
onSelect(callback) {
|
|
@@ -20619,7 +20634,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20619
20634
|
this.__updateToolbarButtons();
|
|
20620
20635
|
this._dialog.open(this.browser, header);
|
|
20621
20636
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20622
|
-
(0,
|
|
20637
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
20623
20638
|
.then(resolve, reject)
|
|
20624
20639
|
.finally(() => {
|
|
20625
20640
|
if (this.isInDestruct) {
|
|
@@ -20653,7 +20668,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20653
20668
|
});
|
|
20654
20669
|
}
|
|
20655
20670
|
initUploader(editor) {
|
|
20656
|
-
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20671
|
+
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
20657
20672
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
20658
20673
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20659
20674
|
self.uploader
|
|
@@ -20673,11 +20688,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20673
20688
|
super(options);
|
|
20674
20689
|
this.browser = this.c.div(this.componentName);
|
|
20675
20690
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20676
|
-
this.tree = new
|
|
20677
|
-
this.files = new
|
|
20691
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
20692
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
20678
20693
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
20679
20694
|
currentPath: '',
|
|
20680
|
-
currentSource:
|
|
20695
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20681
20696
|
currentBaseUrl: '',
|
|
20682
20697
|
activeElements: [],
|
|
20683
20698
|
elements: [],
|
|
@@ -20707,7 +20722,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20707
20722
|
this.__prevButtons = [];
|
|
20708
20723
|
this.attachEvents(options);
|
|
20709
20724
|
const self = this;
|
|
20710
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20725
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
20711
20726
|
self.browser.component = this;
|
|
20712
20727
|
self.container = self.browser;
|
|
20713
20728
|
if (self.o.showFoldersPanel) {
|
|
@@ -20715,9 +20730,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20715
20730
|
}
|
|
20716
20731
|
self.browser.appendChild(self.files.container);
|
|
20717
20732
|
self.browser.appendChild(self.status_line);
|
|
20718
|
-
|
|
20719
|
-
|
|
20720
|
-
|
|
20733
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
20734
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
20735
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
20721
20736
|
const keys = [
|
|
20722
20737
|
'getLocalFileByUrl',
|
|
20723
20738
|
'crop',
|
|
@@ -21388,10 +21403,10 @@ class Command {
|
|
|
21388
21403
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
21389
21404
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
21390
21405
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53557);
|
|
21406
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
21391
21407
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22180);
|
|
21392
|
-
/* harmony import */ var
|
|
21408
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(801);
|
|
21393
21409
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98189);
|
|
21394
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
21395
21410
|
/*!
|
|
21396
21411
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21397
21412
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21404,7 +21419,7 @@ class Command {
|
|
|
21404
21419
|
|
|
21405
21420
|
|
|
21406
21421
|
|
|
21407
|
-
|
|
21422
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
21408
21423
|
enable: true,
|
|
21409
21424
|
maxHistoryLength: Infinity,
|
|
21410
21425
|
timeout: 1000
|
|
@@ -21455,7 +21470,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21455
21470
|
set startValue(value) {
|
|
21456
21471
|
this.__startValue = value;
|
|
21457
21472
|
}
|
|
21458
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
21473
|
+
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F(editor)) {
|
|
21459
21474
|
super(editor);
|
|
21460
21475
|
this.updateTick = 0;
|
|
21461
21476
|
this.__stack = stack;
|
|
@@ -21518,7 +21533,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21518
21533
|
*/
|
|
21519
21534
|
updateStack(replace = false) {
|
|
21520
21535
|
const newValue = this.snapshot.make();
|
|
21521
|
-
if (!
|
|
21536
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
21522
21537
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
21523
21538
|
if (replace) {
|
|
21524
21539
|
const command = this.__stack.current();
|
|
@@ -21851,11 +21866,11 @@ class Stack {
|
|
|
21851
21866
|
|
|
21852
21867
|
"use strict";
|
|
21853
21868
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
21854
|
-
/* harmony import */ var
|
|
21855
|
-
/* harmony import */ var
|
|
21856
|
-
/* harmony import */ var
|
|
21857
|
-
/* harmony import */ var
|
|
21858
|
-
/* harmony import */ var
|
|
21869
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
21870
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(83904);
|
|
21871
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21872
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15582);
|
|
21873
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21859
21874
|
/*!
|
|
21860
21875
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21861
21876
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21865,7 +21880,7 @@ class Stack {
|
|
|
21865
21880
|
|
|
21866
21881
|
|
|
21867
21882
|
|
|
21868
|
-
|
|
21883
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21869
21884
|
min_width: 20,
|
|
21870
21885
|
min_height: 20,
|
|
21871
21886
|
closeAfterSave: false,
|
|
@@ -21880,7 +21895,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21880
21895
|
cropDefaultWidth: '70%',
|
|
21881
21896
|
cropDefaultHeight: '70%'
|
|
21882
21897
|
};
|
|
21883
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21898
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('resize', (_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
21884
21899
|
|
|
21885
21900
|
|
|
21886
21901
|
/***/ }),
|
|
@@ -21899,9 +21914,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21899
21914
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33465);
|
|
21900
21915
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
21901
21916
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(64962);
|
|
21902
|
-
/* harmony import */ var
|
|
21903
|
-
/* harmony import */ var
|
|
21904
|
-
/* harmony import */ var
|
|
21917
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
21918
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15546);
|
|
21919
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73898);
|
|
21905
21920
|
/*!
|
|
21906
21921
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21907
21922
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22361,7 +22376,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22361
22376
|
this.options =
|
|
22362
22377
|
editor && editor.o && editor.o.imageeditor
|
|
22363
22378
|
? editor.o.imageeditor
|
|
22364
|
-
:
|
|
22379
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
22365
22380
|
const o = this.options;
|
|
22366
22381
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
22367
22382
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -22371,7 +22386,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22371
22386
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
22372
22387
|
};
|
|
22373
22388
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
22374
|
-
this.editor = (0,
|
|
22389
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
22375
22390
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
22376
22391
|
this.resize_box = resizeBox;
|
|
22377
22392
|
this.crop_box = cropBox;
|
|
@@ -23787,7 +23802,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23787
23802
|
}
|
|
23788
23803
|
createContainer() {
|
|
23789
23804
|
const cn = this.componentName;
|
|
23790
|
-
const container = this.j.c.span(cn)
|
|
23805
|
+
const container = this.j.c.span(cn);
|
|
23806
|
+
const button = super.createContainer();
|
|
23791
23807
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23792
23808
|
button.classList.remove(cn);
|
|
23793
23809
|
button.classList.add(cn + '__button');
|
|
@@ -24176,8 +24192,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24176
24192
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24177
24193
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
24178
24194
|
/* harmony export */ });
|
|
24179
|
-
/* harmony import */ var
|
|
24195
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
24180
24196
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53557);
|
|
24197
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47903);
|
|
24181
24198
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
24182
24199
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72463);
|
|
24183
24200
|
/*!
|
|
@@ -24190,6 +24207,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24190
24207
|
|
|
24191
24208
|
|
|
24192
24209
|
|
|
24210
|
+
|
|
24193
24211
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
24194
24212
|
className() {
|
|
24195
24213
|
return 'ToolbarSelect';
|
|
@@ -24207,13 +24225,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
24207
24225
|
const keys = Object.keys(list);
|
|
24208
24226
|
key = keys[0];
|
|
24209
24227
|
}
|
|
24210
|
-
const text = (list[key.toString()] || key).toString();
|
|
24228
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
24211
24229
|
this.state.text =
|
|
24212
24230
|
this.control.textTemplate?.(this.jodit, text) ?? text;
|
|
24213
24231
|
}
|
|
24214
24232
|
}
|
|
24215
24233
|
};
|
|
24216
|
-
ToolbarSelect = (0,
|
|
24234
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24217
24235
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
24218
24236
|
], ToolbarSelect);
|
|
24219
24237
|
|
|
@@ -24343,7 +24361,7 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24343
24361
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
24344
24362
|
], ToolbarCollection.prototype, "__immediateUpdate", null);
|
|
24345
24363
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24346
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)()
|
|
24364
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)(ctx => ctx.j.defaultTimeout, true)
|
|
24347
24365
|
], ToolbarCollection.prototype, "update", null);
|
|
24348
24366
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24349
24367
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.hook)('ready')
|
|
@@ -25045,9 +25063,9 @@ function send(uploader, data) {
|
|
|
25045
25063
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
25046
25064
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
25047
25065
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25048
|
-
/* harmony import */ var
|
|
25049
|
-
/* harmony import */ var
|
|
25050
|
-
/* harmony import */ var
|
|
25066
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
25067
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20431);
|
|
25068
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50999);
|
|
25051
25069
|
/*!
|
|
25052
25070
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25053
25071
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25119,14 +25137,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25119
25137
|
}
|
|
25120
25138
|
};
|
|
25121
25139
|
// send data on server
|
|
25122
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
25123
|
-
(0,
|
|
25140
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
25141
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25124
25142
|
return false;
|
|
25125
25143
|
}
|
|
25126
25144
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
25127
|
-
return (0,
|
|
25145
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
25128
25146
|
}
|
|
25129
|
-
if ((0,
|
|
25147
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
25130
25148
|
const { items } = cData;
|
|
25131
25149
|
for (i = 0; i < items.length; i += 1) {
|
|
25132
25150
|
if (items[i].kind === 'file' &&
|
|
@@ -25137,7 +25155,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25137
25155
|
extension = mime[1]
|
|
25138
25156
|
? mime[1].toLowerCase()
|
|
25139
25157
|
: '';
|
|
25140
|
-
(0,
|
|
25158
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
25141
25159
|
}
|
|
25142
25160
|
e.preventDefault();
|
|
25143
25161
|
break;
|
|
@@ -25160,30 +25178,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25160
25178
|
e.preventDefault();
|
|
25161
25179
|
})
|
|
25162
25180
|
.on(form, 'dragover', (event) => {
|
|
25163
|
-
if ((0,
|
|
25164
|
-
(0,
|
|
25181
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
25182
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
25165
25183
|
form.classList.add('jodit_drag_hover');
|
|
25166
25184
|
event.preventDefault();
|
|
25167
25185
|
}
|
|
25168
25186
|
})
|
|
25169
25187
|
.on(form, 'dragend dragleave', (event) => {
|
|
25170
25188
|
form.classList.remove('jodit_drag_hover');
|
|
25171
|
-
if ((0,
|
|
25189
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25172
25190
|
event.preventDefault();
|
|
25173
25191
|
}
|
|
25174
25192
|
})
|
|
25175
25193
|
.on(form, 'drop', (event) => {
|
|
25176
25194
|
form.classList.remove('jodit_drag_hover');
|
|
25177
|
-
if ((0,
|
|
25195
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25178
25196
|
event.preventDefault();
|
|
25179
25197
|
event.stopImmediatePropagation();
|
|
25180
|
-
(0,
|
|
25198
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25181
25199
|
}
|
|
25182
25200
|
});
|
|
25183
25201
|
const inputFile = form.querySelector('input[type=file]');
|
|
25184
25202
|
if (inputFile) {
|
|
25185
25203
|
self.j.e.on(inputFile, 'change', () => {
|
|
25186
|
-
(0,
|
|
25204
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
25187
25205
|
.then(() => {
|
|
25188
25206
|
inputFile.value = '';
|
|
25189
25207
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -25203,7 +25221,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25203
25221
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
25204
25222
|
? handlerError
|
|
25205
25223
|
: o.defaultHandlerError;
|
|
25206
|
-
(0,
|
|
25224
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
25207
25225
|
action: 'fileUploadRemote',
|
|
25208
25226
|
url
|
|
25209
25227
|
})
|
|
@@ -25223,11 +25241,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25223
25241
|
super(editor);
|
|
25224
25242
|
this.path = '';
|
|
25225
25243
|
this.source = 'default';
|
|
25226
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
25244
|
+
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.uploader, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(editor) ? editor.o.uploader : {}));
|
|
25227
25245
|
}
|
|
25228
25246
|
destruct() {
|
|
25229
25247
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
25230
|
-
const instances =
|
|
25248
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
25231
25249
|
if (instances) {
|
|
25232
25250
|
instances.forEach(ajax => {
|
|
25233
25251
|
try {
|
|
@@ -25521,8 +25539,8 @@ function val(elm, selector, value) {
|
|
|
25521
25539
|
/* harmony export */ });
|
|
25522
25540
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
25523
25541
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23545);
|
|
25524
|
-
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25525
25542
|
/* harmony import */ var jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41959);
|
|
25543
|
+
/* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97099);
|
|
25526
25544
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76185);
|
|
25527
25545
|
/*!
|
|
25528
25546
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -25564,8 +25582,16 @@ function val(elm, selector, value) {
|
|
|
25564
25582
|
* ```
|
|
25565
25583
|
*/
|
|
25566
25584
|
const TabsWidget = (jodit, tabs, state) => {
|
|
25567
|
-
const box = jodit.c.div('jodit-tabs')
|
|
25568
|
-
|
|
25585
|
+
const box = jodit.c.div('jodit-tabs');
|
|
25586
|
+
const tabBox = jodit.c.div('jodit-tabs__wrapper');
|
|
25587
|
+
const buttons = jodit.c.div('jodit-tabs__buttons');
|
|
25588
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(buttons, {
|
|
25589
|
+
role: 'tablist',
|
|
25590
|
+
'aria-orientation': 'horizontal'
|
|
25591
|
+
});
|
|
25592
|
+
const nameToTab = {};
|
|
25593
|
+
const buttonList = [];
|
|
25594
|
+
let firstTab = '';
|
|
25569
25595
|
box.appendChild(buttons);
|
|
25570
25596
|
box.appendChild(tabBox);
|
|
25571
25597
|
const setActive = (tab) => {
|
|
@@ -25573,20 +25599,21 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25573
25599
|
return;
|
|
25574
25600
|
}
|
|
25575
25601
|
buttonList.forEach(b => {
|
|
25576
|
-
b.state.variant = 'initial';
|
|
25577
25602
|
b.state.activated = false;
|
|
25578
25603
|
});
|
|
25579
|
-
(
|
|
25580
|
-
a.classList.remove('jodit-tab_active');
|
|
25581
|
-
});
|
|
25582
|
-
nameToTab[tab].button.state.variant = 'outline';
|
|
25604
|
+
Object.values(nameToTab).forEach(({ tab }) => tab.classList.remove('jodit-tab_active'));
|
|
25583
25605
|
nameToTab[tab].button.state.activated = true;
|
|
25584
25606
|
nameToTab[tab].tab.classList.add('jodit-tab_active');
|
|
25585
25607
|
};
|
|
25586
25608
|
tabs.forEach(({ icon, name, content }) => {
|
|
25587
|
-
const tab = jodit.c.div('jodit-tab')
|
|
25609
|
+
const tab = jodit.c.div('jodit-tab');
|
|
25610
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(tab, {
|
|
25611
|
+
role: 'tabpanel'
|
|
25612
|
+
});
|
|
25613
|
+
const button = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .Button */ .$n)(jodit, icon || name, name);
|
|
25614
|
+
button.state.role = 'tab';
|
|
25588
25615
|
// Stop lose the focus
|
|
25589
|
-
jodit.e.on(button.container, '
|
|
25616
|
+
jodit.e.on(button.container, 'pointerdown', (e) => e.preventDefault());
|
|
25590
25617
|
if (!firstTab) {
|
|
25591
25618
|
firstTab = name;
|
|
25592
25619
|
}
|
|
@@ -25616,13 +25643,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25616
25643
|
button,
|
|
25617
25644
|
tab
|
|
25618
25645
|
};
|
|
25619
|
-
tabCount += 1;
|
|
25620
25646
|
});
|
|
25621
|
-
|
|
25622
|
-
|
|
25623
|
-
}
|
|
25624
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('a', buttons).forEach(a => {
|
|
25625
|
-
a.style.width = (100 / tabCount).toFixed(10) + '%';
|
|
25647
|
+
Object.values(nameToTab).forEach(({ button }) => {
|
|
25648
|
+
button.container.style.width = (100 / tabs.length).toFixed(10) + '%';
|
|
25626
25649
|
});
|
|
25627
25650
|
const tab = !state || !state.activeTab || !nameToTab[state.activeTab]
|
|
25628
25651
|
? firstTab
|
|
@@ -25656,9 +25679,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25656
25679
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25657
25680
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25658
25681
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
25659
|
-
/* harmony import */ var
|
|
25660
|
-
/* harmony import */ var
|
|
25661
|
-
/* harmony import */ var
|
|
25682
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
25683
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(46891);
|
|
25684
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
25662
25685
|
/*!
|
|
25663
25686
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25664
25687
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25672,7 +25695,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25672
25695
|
|
|
25673
25696
|
|
|
25674
25697
|
|
|
25675
|
-
|
|
25698
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
25676
25699
|
exec: (editor) => {
|
|
25677
25700
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
25678
25701
|
dialog
|
|
@@ -25708,7 +25731,7 @@ function about(editor) {
|
|
|
25708
25731
|
});
|
|
25709
25732
|
}
|
|
25710
25733
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
25711
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
25734
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
25712
25735
|
|
|
25713
25736
|
|
|
25714
25737
|
/***/ }),
|
|
@@ -25951,9 +25974,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25951
25974
|
|
|
25952
25975
|
"use strict";
|
|
25953
25976
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
25954
|
-
/* harmony import */ var
|
|
25955
|
-
/* harmony import */ var
|
|
25956
|
-
/* harmony import */ var
|
|
25977
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
25978
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3882);
|
|
25979
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25957
25980
|
/*!
|
|
25958
25981
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25959
25982
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25962,9 +25985,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25962
25985
|
|
|
25963
25986
|
|
|
25964
25987
|
|
|
25965
|
-
|
|
25966
|
-
|
|
25967
|
-
|
|
25988
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25989
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25990
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25968
25991
|
'table',
|
|
25969
25992
|
'iframe',
|
|
25970
25993
|
'img',
|
|
@@ -25972,8 +25995,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25972
25995
|
'pre',
|
|
25973
25996
|
'jodit'
|
|
25974
25997
|
];
|
|
25975
|
-
|
|
25976
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25998
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25999
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25977
26000
|
|
|
25978
26001
|
|
|
25979
26002
|
/***/ }),
|
|
@@ -26111,11 +26134,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
26111
26134
|
|
|
26112
26135
|
"use strict";
|
|
26113
26136
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
26114
|
-
/* harmony import */ var
|
|
26115
|
-
/* harmony import */ var
|
|
26116
|
-
/* harmony import */ var
|
|
26117
|
-
/* harmony import */ var
|
|
26118
|
-
/* harmony import */ var
|
|
26137
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
26138
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15627);
|
|
26139
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
26140
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41500);
|
|
26141
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
26119
26142
|
/*!
|
|
26120
26143
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26121
26144
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26156,10 +26179,10 @@ const aiAssistantDefaults = {
|
|
|
26156
26179
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
26157
26180
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
26158
26181
|
};
|
|
26159
|
-
|
|
26160
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
26161
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
26162
|
-
|
|
26182
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
26183
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
26184
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26185
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
26163
26186
|
isDisabled(editor) {
|
|
26164
26187
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26165
26188
|
},
|
|
@@ -26197,7 +26220,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
26197
26220
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
26198
26221
|
}
|
|
26199
26222
|
};
|
|
26200
|
-
|
|
26223
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
26201
26224
|
isDisabled(editor) {
|
|
26202
26225
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26203
26226
|
},
|
|
@@ -26834,6 +26857,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26834
26857
|
}
|
|
26835
26858
|
if (sibling.nodeValue?.length) {
|
|
26836
26859
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26860
|
+
if (!sibling.nodeValue.length &&
|
|
26861
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26862
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26863
|
+
}
|
|
26837
26864
|
}
|
|
26838
26865
|
if (!sibling.nodeValue?.length) {
|
|
26839
26866
|
removeNeighbor = sibling;
|
|
@@ -27386,20 +27413,20 @@ function getMoveFilter(jodit) {
|
|
|
27386
27413
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51431);
|
|
27387
27414
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
27388
27415
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
27389
|
-
/* harmony import */ var
|
|
27390
|
-
/* harmony import */ var
|
|
27391
|
-
/* harmony import */ var
|
|
27392
|
-
/* harmony import */ var
|
|
27393
|
-
/* harmony import */ var
|
|
27394
|
-
/* harmony import */ var
|
|
27395
|
-
/* harmony import */ var
|
|
27396
|
-
/* harmony import */ var
|
|
27397
|
-
/* harmony import */ var
|
|
27398
|
-
/* harmony import */ var
|
|
27399
|
-
/* harmony import */ var
|
|
27400
|
-
/* harmony import */ var
|
|
27401
|
-
/* harmony import */ var
|
|
27402
|
-
/* harmony import */ var
|
|
27416
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
27417
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94673);
|
|
27418
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39586);
|
|
27419
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27420
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49463);
|
|
27421
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27422
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(10292);
|
|
27423
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
27424
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71718);
|
|
27425
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
27426
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48397);
|
|
27427
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
27428
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(46781);
|
|
27429
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
27403
27430
|
/*!
|
|
27404
27431
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27405
27432
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27422,7 +27449,7 @@ function getMoveFilter(jodit) {
|
|
|
27422
27449
|
*/
|
|
27423
27450
|
function bold(editor) {
|
|
27424
27451
|
const callBack = (command) => {
|
|
27425
|
-
const control =
|
|
27452
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
27426
27453
|
...control.css
|
|
27427
27454
|
};
|
|
27428
27455
|
let cssRules;
|
|
@@ -27476,12 +27503,12 @@ function bold(editor) {
|
|
|
27476
27503
|
});
|
|
27477
27504
|
}
|
|
27478
27505
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
27479
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
27480
|
-
.set('italic', (
|
|
27481
|
-
.set('strikethrough', (
|
|
27482
|
-
.set('subscript', (
|
|
27483
|
-
.set('superscript', (
|
|
27484
|
-
.set('underline', (
|
|
27506
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
27507
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
27508
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
27509
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
27510
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
27511
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
27485
27512
|
|
|
27486
27513
|
|
|
27487
27514
|
/***/ }),
|
|
@@ -27551,9 +27578,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27551
27578
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94183);
|
|
27552
27579
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65564);
|
|
27553
27580
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
27554
|
-
/* harmony import */ var
|
|
27555
|
-
/* harmony import */ var
|
|
27556
|
-
/* harmony import */ var
|
|
27581
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
27582
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14835);
|
|
27583
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27557
27584
|
/*!
|
|
27558
27585
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27559
27586
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27566,7 +27593,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27566
27593
|
|
|
27567
27594
|
|
|
27568
27595
|
|
|
27569
|
-
|
|
27596
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
27570
27597
|
command: 'applyClassName',
|
|
27571
27598
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
27572
27599
|
list: [
|
|
@@ -27654,7 +27681,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
27654
27681
|
beforeDestruct() { }
|
|
27655
27682
|
}
|
|
27656
27683
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
27657
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
27684
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
27658
27685
|
|
|
27659
27686
|
|
|
27660
27687
|
/***/ }),
|
|
@@ -27793,9 +27820,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27793
27820
|
|
|
27794
27821
|
"use strict";
|
|
27795
27822
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
27796
|
-
/* harmony import */ var
|
|
27797
|
-
/* harmony import */ var
|
|
27798
|
-
/* harmony import */ var
|
|
27823
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
27824
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(556);
|
|
27825
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27799
27826
|
/*!
|
|
27800
27827
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27801
27828
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27804,7 +27831,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27804
27831
|
|
|
27805
27832
|
|
|
27806
27833
|
|
|
27807
|
-
|
|
27834
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27808
27835
|
timeout: 300,
|
|
27809
27836
|
removeEmptyElements: true,
|
|
27810
27837
|
fillEmptyParagraph: true,
|
|
@@ -27820,11 +27847,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27820
27847
|
safeJavaScriptLink: true,
|
|
27821
27848
|
disableCleanFilter: null
|
|
27822
27849
|
};
|
|
27823
|
-
|
|
27850
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27824
27851
|
command: 'removeFormat',
|
|
27825
27852
|
tooltip: 'Clear Formatting'
|
|
27826
27853
|
};
|
|
27827
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27854
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27828
27855
|
|
|
27829
27856
|
|
|
27830
27857
|
/***/ }),
|
|
@@ -28490,15 +28517,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28490
28517
|
|
|
28491
28518
|
"use strict";
|
|
28492
28519
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
28493
|
-
/* harmony import */ var
|
|
28494
|
-
/* harmony import */ var
|
|
28495
|
-
/* harmony import */ var
|
|
28496
|
-
/* harmony import */ var
|
|
28497
|
-
/* harmony import */ var
|
|
28498
|
-
/* harmony import */ var
|
|
28499
|
-
/* harmony import */ var
|
|
28500
|
-
/* harmony import */ var
|
|
28501
|
-
/* harmony import */ var
|
|
28520
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
28521
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65);
|
|
28522
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
28523
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4594);
|
|
28524
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
28525
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63859);
|
|
28526
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28527
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38808);
|
|
28528
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28502
28529
|
/*!
|
|
28503
28530
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28504
28531
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28510,25 +28537,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28510
28537
|
|
|
28511
28538
|
|
|
28512
28539
|
|
|
28513
|
-
|
|
28540
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
28514
28541
|
command: 'cut',
|
|
28515
28542
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28516
28543
|
tooltip: 'Cut selection'
|
|
28517
28544
|
};
|
|
28518
|
-
|
|
28545
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
28519
28546
|
command: 'copy',
|
|
28520
28547
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28521
28548
|
tooltip: 'Copy selection'
|
|
28522
28549
|
};
|
|
28523
|
-
|
|
28550
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
28524
28551
|
icon: 'select-all',
|
|
28525
28552
|
command: 'selectall',
|
|
28526
28553
|
tooltip: 'Select all'
|
|
28527
28554
|
};
|
|
28528
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
28529
|
-
.set('cut', (
|
|
28530
|
-
.set('paste', (
|
|
28531
|
-
.set('select-all', (
|
|
28555
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
28556
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
28557
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
28558
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28532
28559
|
|
|
28533
28560
|
|
|
28534
28561
|
/***/ }),
|
|
@@ -28600,10 +28627,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28600
28627
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
28601
28628
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
28602
28629
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28603
|
-
/* harmony import */ var
|
|
28604
|
-
/* harmony import */ var
|
|
28605
|
-
/* harmony import */ var
|
|
28606
|
-
/* harmony import */ var
|
|
28630
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28631
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21391);
|
|
28632
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(55370);
|
|
28633
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28607
28634
|
/*!
|
|
28608
28635
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28609
28636
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28615,8 +28642,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28615
28642
|
|
|
28616
28643
|
|
|
28617
28644
|
|
|
28618
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
28619
|
-
|
|
28645
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28646
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
28620
28647
|
isVisible: (editor) => {
|
|
28621
28648
|
return !editor.o.disablePlugins.includes('color');
|
|
28622
28649
|
},
|
|
@@ -28629,7 +28656,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28629
28656
|
if (!selected.length) {
|
|
28630
28657
|
return false;
|
|
28631
28658
|
}
|
|
28632
|
-
const makeColorPicker = (key) => (0,
|
|
28659
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28633
28660
|
selected.forEach(cell => {
|
|
28634
28661
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
28635
28662
|
});
|
|
@@ -28638,7 +28665,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28638
28665
|
close();
|
|
28639
28666
|
editor.unlock();
|
|
28640
28667
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
28641
|
-
return (0,
|
|
28668
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
28642
28669
|
{
|
|
28643
28670
|
name: 'Background',
|
|
28644
28671
|
content: makeColorPicker('background-color')
|
|
@@ -28649,7 +28676,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28649
28676
|
},
|
|
28650
28677
|
tooltip: 'Background'
|
|
28651
28678
|
};
|
|
28652
|
-
|
|
28679
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
28653
28680
|
isVisible: (editor) => {
|
|
28654
28681
|
return !editor.o.disablePlugins.includes('color');
|
|
28655
28682
|
},
|
|
@@ -28697,7 +28724,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28697
28724
|
}
|
|
28698
28725
|
}, editor.editor);
|
|
28699
28726
|
}
|
|
28700
|
-
const backgroundTag = (0,
|
|
28727
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28701
28728
|
if (!currentElement) {
|
|
28702
28729
|
editor.execCommand('background', false, value);
|
|
28703
28730
|
}
|
|
@@ -28708,7 +28735,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28708
28735
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
28709
28736
|
close();
|
|
28710
28737
|
}, bg_color);
|
|
28711
|
-
const colorTab = (0,
|
|
28738
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28712
28739
|
if (!currentElement) {
|
|
28713
28740
|
editor.execCommand('forecolor', false, value);
|
|
28714
28741
|
}
|
|
@@ -28732,7 +28759,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28732
28759
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
28733
28760
|
tabs = tabs.reverse();
|
|
28734
28761
|
}
|
|
28735
|
-
return (0,
|
|
28762
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
28736
28763
|
},
|
|
28737
28764
|
exec(jodit, current, { button }) {
|
|
28738
28765
|
const mode = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode'), color = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color');
|
|
@@ -28771,10 +28798,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28771
28798
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
28772
28799
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
28773
28800
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28774
|
-
/* harmony import */ var
|
|
28775
|
-
/* harmony import */ var
|
|
28776
|
-
/* harmony import */ var
|
|
28777
|
-
/* harmony import */ var
|
|
28801
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28802
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72131);
|
|
28803
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28804
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18489);
|
|
28778
28805
|
/*!
|
|
28779
28806
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28780
28807
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28832,7 +28859,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28832
28859
|
}
|
|
28833
28860
|
return result;
|
|
28834
28861
|
};
|
|
28835
|
-
|
|
28862
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28836
28863
|
exec: (editor, current, { button }) => {
|
|
28837
28864
|
if (!current) {
|
|
28838
28865
|
return;
|
|
@@ -28882,10 +28909,10 @@ function copyFormat(editor) {
|
|
|
28882
28909
|
name: 'copyformat',
|
|
28883
28910
|
group: 'clipboard'
|
|
28884
28911
|
});
|
|
28885
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28912
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28886
28913
|
}
|
|
28887
28914
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28888
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28915
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28889
28916
|
|
|
28890
28917
|
|
|
28891
28918
|
/***/ }),
|
|
@@ -30693,8 +30720,8 @@ function wrapText(fake, jodit) {
|
|
|
30693
30720
|
/* unused harmony export file */
|
|
30694
30721
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
30695
30722
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
30696
|
-
/* harmony import */ var
|
|
30697
|
-
/* harmony import */ var
|
|
30723
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30724
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21391);
|
|
30698
30725
|
/*!
|
|
30699
30726
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30700
30727
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30704,7 +30731,7 @@ function wrapText(fake, jodit) {
|
|
|
30704
30731
|
|
|
30705
30732
|
|
|
30706
30733
|
|
|
30707
|
-
|
|
30734
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
30708
30735
|
popup: (editor, current, close) => {
|
|
30709
30736
|
const insert = (url, title = '') => {
|
|
30710
30737
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -30717,7 +30744,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
30717
30744
|
? current
|
|
30718
30745
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
30719
30746
|
}
|
|
30720
|
-
return (0,
|
|
30747
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
30721
30748
|
filebrowser: (data) => {
|
|
30722
30749
|
data.files &&
|
|
30723
30750
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30840,11 +30867,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30840
30867
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22718);
|
|
30841
30868
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
30842
30869
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
30843
|
-
/* harmony import */ var
|
|
30844
|
-
/* harmony import */ var
|
|
30845
|
-
/* harmony import */ var
|
|
30846
|
-
/* harmony import */ var
|
|
30847
|
-
/* harmony import */ var
|
|
30870
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
30871
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78602);
|
|
30872
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30873
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84413);
|
|
30874
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30848
30875
|
/*!
|
|
30849
30876
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30850
30877
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30860,9 +30887,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30860
30887
|
/**
|
|
30861
30888
|
* Default font-size points
|
|
30862
30889
|
*/
|
|
30863
|
-
|
|
30864
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30865
|
-
|
|
30890
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30891
|
+
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()));
|
|
30892
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30866
30893
|
command: 'fontsize',
|
|
30867
30894
|
data: {
|
|
30868
30895
|
cssRule: 'font-size',
|
|
@@ -30918,8 +30945,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30918
30945
|
return keySet.has(normalize(value.toString()));
|
|
30919
30946
|
}
|
|
30920
30947
|
};
|
|
30921
|
-
|
|
30922
|
-
...
|
|
30948
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
30949
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
30923
30950
|
command: 'fontname',
|
|
30924
30951
|
textTemplate: (j, value) => {
|
|
30925
30952
|
const [first] = value.split(',');
|
|
@@ -31029,11 +31056,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31029
31056
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31030
31057
|
|
|
31031
31058
|
"use strict";
|
|
31032
|
-
/* harmony import */ var
|
|
31059
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
31060
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
31033
31061
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31034
|
-
/* harmony import */ var
|
|
31035
|
-
/* harmony import */ var
|
|
31036
|
-
/* harmony import */ var
|
|
31062
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31063
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30820);
|
|
31064
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31037
31065
|
/*!
|
|
31038
31066
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31039
31067
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31043,12 +31071,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31043
31071
|
|
|
31044
31072
|
|
|
31045
31073
|
|
|
31046
|
-
|
|
31047
|
-
|
|
31074
|
+
|
|
31075
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
31076
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
31048
31077
|
command: 'formatBlock',
|
|
31049
31078
|
value(editor, button) {
|
|
31050
31079
|
const control = button.control, current = editor.s.current();
|
|
31051
|
-
const currentBox =
|
|
31080
|
+
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
31052
31081
|
return currentBox?.nodeName.toLowerCase() ?? control.data?.currentValue;
|
|
31053
31082
|
},
|
|
31054
31083
|
update(editor, button) {
|
|
@@ -31057,7 +31086,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31057
31086
|
return false;
|
|
31058
31087
|
}
|
|
31059
31088
|
const currentValue = button.state.value, list = control.list;
|
|
31060
|
-
if (list && list[currentValue.toString()]) {
|
|
31089
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
31061
31090
|
if (editor.o.textIcons) {
|
|
31062
31091
|
button.state.text = list[currentValue.toString()].toString();
|
|
31063
31092
|
}
|
|
@@ -31081,7 +31110,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31081
31110
|
},
|
|
31082
31111
|
isActive: (editor, button) => {
|
|
31083
31112
|
return (button.state.value !== editor.o.enter &&
|
|
31084
|
-
|
|
31113
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
31114
|
+
Boolean(button.control.list[button.state.value]));
|
|
31085
31115
|
},
|
|
31086
31116
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
31087
31117
|
tooltip: 'Insert format block'
|
|
@@ -31131,11 +31161,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31131
31161
|
"use strict";
|
|
31132
31162
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
31133
31163
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31134
|
-
/* harmony import */ var
|
|
31135
|
-
/* harmony import */ var
|
|
31136
|
-
/* harmony import */ var
|
|
31137
|
-
/* harmony import */ var
|
|
31138
|
-
/* harmony import */ var
|
|
31164
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31165
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(88708);
|
|
31166
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31167
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10099);
|
|
31168
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31139
31169
|
/*!
|
|
31140
31170
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31141
31171
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31147,10 +31177,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31147
31177
|
|
|
31148
31178
|
|
|
31149
31179
|
|
|
31150
|
-
|
|
31151
|
-
|
|
31152
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
31153
|
-
|
|
31180
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
31181
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
31182
|
+
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()));
|
|
31183
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
31154
31184
|
exec: (editor) => {
|
|
31155
31185
|
editor.toggleFullSize();
|
|
31156
31186
|
},
|
|
@@ -31289,19 +31319,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
31289
31319
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31290
31320
|
*/
|
|
31291
31321
|
|
|
31292
|
-
/**
|
|
31293
|
-
* You can redefine hotkeys for some command
|
|
31294
|
-
*
|
|
31295
|
-
* @example
|
|
31296
|
-
* ```js
|
|
31297
|
-
* var jodit = Jodit.make('#editor', {
|
|
31298
|
-
* commandToHotkeys: {
|
|
31299
|
-
* bold: 'ctrl+shift+b',
|
|
31300
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
31301
|
-
* }
|
|
31302
|
-
* })
|
|
31303
|
-
* ```
|
|
31304
|
-
*/
|
|
31305
31322
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
31306
31323
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
31307
31324
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -31476,9 +31493,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31476
31493
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
31477
31494
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
31478
31495
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
31479
|
-
/* harmony import */ var
|
|
31480
|
-
/* harmony import */ var
|
|
31481
|
-
/* harmony import */ var
|
|
31496
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
31497
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(75241);
|
|
31498
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31482
31499
|
/*!
|
|
31483
31500
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31484
31501
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31489,8 +31506,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31489
31506
|
|
|
31490
31507
|
|
|
31491
31508
|
|
|
31492
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
31493
|
-
|
|
31509
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
31510
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
31494
31511
|
command: 'insertHorizontalRule',
|
|
31495
31512
|
tags: ['hr'],
|
|
31496
31513
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31967,6 +31984,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31967
31984
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31968
31985
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31969
31986
|
*/
|
|
31987
|
+
/**
|
|
31988
|
+
* @module plugins/image-properties
|
|
31989
|
+
*/
|
|
31970
31990
|
|
|
31971
31991
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31972
31992
|
dialogWidth: 600,
|
|
@@ -33467,10 +33487,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33467
33487
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
33468
33488
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
33469
33489
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
33470
|
-
/* harmony import */ var
|
|
33471
|
-
/* harmony import */ var
|
|
33472
|
-
/* harmony import */ var
|
|
33473
|
-
/* harmony import */ var
|
|
33490
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
33491
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
33492
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15807);
|
|
33493
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33474
33494
|
/*!
|
|
33475
33495
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33476
33496
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33483,8 +33503,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33483
33503
|
|
|
33484
33504
|
|
|
33485
33505
|
|
|
33486
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
33487
|
-
|
|
33506
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33507
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
33488
33508
|
popup: (editor, current, close) => {
|
|
33489
33509
|
let sourceImage = null;
|
|
33490
33510
|
if (current &&
|
|
@@ -33496,7 +33516,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
33496
33516
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
33497
33517
|
}
|
|
33498
33518
|
editor.s.save();
|
|
33499
|
-
return (0,
|
|
33519
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
33500
33520
|
filebrowser: (data) => {
|
|
33501
33521
|
editor.s.restore();
|
|
33502
33522
|
data.files &&
|
|
@@ -33539,12 +33559,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33539
33559
|
"use strict";
|
|
33540
33560
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
33541
33561
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
33542
|
-
/* harmony import */ var
|
|
33543
|
-
/* harmony import */ var
|
|
33544
|
-
/* harmony import */ var
|
|
33545
|
-
/* harmony import */ var
|
|
33546
|
-
/* harmony import */ var
|
|
33547
|
-
/* harmony import */ var
|
|
33562
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
33563
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96168);
|
|
33564
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
33565
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(45153);
|
|
33566
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33567
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(63163);
|
|
33548
33568
|
/*!
|
|
33549
33569
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33550
33570
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33556,17 +33576,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33556
33576
|
|
|
33557
33577
|
|
|
33558
33578
|
|
|
33559
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
33560
|
-
|
|
33579
|
+
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()));
|
|
33580
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
33561
33581
|
tooltip: 'Increase Indent'
|
|
33562
33582
|
};
|
|
33563
|
-
|
|
33583
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
33564
33584
|
isDisabled: (editor) => {
|
|
33565
33585
|
const current = editor.s.current();
|
|
33566
33586
|
if (current) {
|
|
33567
33587
|
const currentBox = jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
33568
33588
|
if (currentBox) {
|
|
33569
|
-
const arrow = (0,
|
|
33589
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
33570
33590
|
return (!currentBox.style[arrow] ||
|
|
33571
33591
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
33572
33592
|
}
|
|
@@ -33575,7 +33595,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
33575
33595
|
},
|
|
33576
33596
|
tooltip: 'Decrease Indent'
|
|
33577
33597
|
};
|
|
33578
|
-
|
|
33598
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
33579
33599
|
|
|
33580
33600
|
|
|
33581
33601
|
/***/ }),
|
|
@@ -33836,12 +33856,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33836
33856
|
|
|
33837
33857
|
"use strict";
|
|
33838
33858
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
33839
|
-
/* harmony import */ var
|
|
33840
|
-
/* harmony import */ var
|
|
33841
|
-
/* harmony import */ var
|
|
33842
|
-
/* harmony import */ var
|
|
33859
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
33860
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73625);
|
|
33861
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69247);
|
|
33862
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84516);
|
|
33863
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(79073);
|
|
33843
33864
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(3301);
|
|
33844
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
33845
33865
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48537);
|
|
33846
33866
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33847
33867
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1629);
|
|
@@ -33875,10 +33895,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33875
33895
|
|
|
33876
33896
|
|
|
33877
33897
|
|
|
33878
|
-
|
|
33879
|
-
|
|
33880
|
-
|
|
33881
|
-
|
|
33898
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33899
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33900
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33901
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33882
33902
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33883
33903
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33884
33904
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33886,14 +33906,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33886
33906
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33887
33907
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33888
33908
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33889
|
-
|
|
33890
|
-
a:
|
|
33891
|
-
img:
|
|
33892
|
-
cells:
|
|
33909
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33910
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33911
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33912
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33893
33913
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33894
|
-
jodit:
|
|
33895
|
-
iframe:
|
|
33896
|
-
'jodit-media':
|
|
33914
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33915
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33916
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33897
33917
|
selection: [
|
|
33898
33918
|
'bold',
|
|
33899
33919
|
'underline',
|
|
@@ -34505,12 +34525,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34505
34525
|
/* unused harmony export justify */
|
|
34506
34526
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
34507
34527
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
34508
|
-
/* harmony import */ var
|
|
34509
|
-
/* harmony import */ var
|
|
34510
|
-
/* harmony import */ var
|
|
34511
|
-
/* harmony import */ var
|
|
34512
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34528
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
34529
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26071);
|
|
34530
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4401);
|
|
34531
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
34513
34532
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
34533
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77795);
|
|
34534
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
34514
34535
|
/*!
|
|
34515
34536
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34516
34537
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34523,7 +34544,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34523
34544
|
|
|
34524
34545
|
|
|
34525
34546
|
|
|
34526
|
-
|
|
34547
|
+
|
|
34548
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
34527
34549
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
34528
34550
|
name: 'left',
|
|
34529
34551
|
tooltip: 'Align',
|
|
@@ -34532,22 +34554,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34532
34554
|
if (current) {
|
|
34533
34555
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
34534
34556
|
editor.editor;
|
|
34535
|
-
let currentValue = (0,
|
|
34557
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
34536
34558
|
if (control.defaultValue &&
|
|
34537
34559
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
34538
34560
|
currentValue = 'left';
|
|
34539
34561
|
}
|
|
34540
|
-
|
|
34541
|
-
|
|
34542
|
-
|
|
34543
|
-
|
|
34562
|
+
const { list, data } = control;
|
|
34563
|
+
if (data &&
|
|
34564
|
+
data.currentValue !== currentValue &&
|
|
34565
|
+
list &&
|
|
34566
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
34567
|
+
? list[currentValue]
|
|
34568
|
+
: list.includes(currentValue))) {
|
|
34544
34569
|
if (editor.o.textIcons || control.component === 'select') {
|
|
34545
34570
|
button.state.text = currentValue;
|
|
34546
34571
|
}
|
|
34547
34572
|
else {
|
|
34548
34573
|
button.state.icon.name = currentValue;
|
|
34549
34574
|
}
|
|
34550
|
-
|
|
34575
|
+
data.currentValue = currentValue;
|
|
34551
34576
|
}
|
|
34552
34577
|
}
|
|
34553
34578
|
},
|
|
@@ -34558,7 +34583,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34558
34583
|
}
|
|
34559
34584
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
34560
34585
|
editor.editor;
|
|
34561
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
34586
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
34562
34587
|
},
|
|
34563
34588
|
defaultValue: ['left', 'start', 'inherit'],
|
|
34564
34589
|
data: {
|
|
@@ -34612,7 +34637,7 @@ function justify(editor) {
|
|
|
34612
34637
|
if (!currentBox) {
|
|
34613
34638
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
34614
34639
|
}
|
|
34615
|
-
(0,
|
|
34640
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
34616
34641
|
});
|
|
34617
34642
|
return false;
|
|
34618
34643
|
};
|
|
@@ -34823,9 +34848,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34823
34848
|
"use strict";
|
|
34824
34849
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9596);
|
|
34825
34850
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
34826
|
-
/* harmony import */ var
|
|
34827
|
-
/* harmony import */ var
|
|
34828
|
-
/* harmony import */ var
|
|
34851
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
34852
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19615);
|
|
34853
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34829
34854
|
/*!
|
|
34830
34855
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34831
34856
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34835,9 +34860,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34835
34860
|
|
|
34836
34861
|
|
|
34837
34862
|
|
|
34838
|
-
|
|
34839
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34840
|
-
|
|
34863
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34864
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34865
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34841
34866
|
command: 'applyLineHeight',
|
|
34842
34867
|
tags: ['ol'],
|
|
34843
34868
|
tooltip: 'Line height',
|
|
@@ -35402,12 +35427,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35402
35427
|
"use strict";
|
|
35403
35428
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
35404
35429
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
35405
|
-
/* harmony import */ var
|
|
35406
|
-
/* harmony import */ var
|
|
35407
|
-
/* harmony import */ var
|
|
35408
|
-
/* harmony import */ var
|
|
35409
|
-
/* harmony import */ var
|
|
35410
|
-
/* harmony import */ var
|
|
35430
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
35431
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67576);
|
|
35432
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35433
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73501);
|
|
35434
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35435
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17660);
|
|
35411
35436
|
/*!
|
|
35412
35437
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35413
35438
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35419,8 +35444,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35419
35444
|
|
|
35420
35445
|
|
|
35421
35446
|
|
|
35422
|
-
|
|
35423
|
-
formTemplate:
|
|
35447
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
35448
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
35424
35449
|
followOnDblClick: false,
|
|
35425
35450
|
processVideoLink: true,
|
|
35426
35451
|
processPastedLink: true,
|
|
@@ -35432,8 +35457,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
35432
35457
|
selectOptionsClassName: [],
|
|
35433
35458
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
35434
35459
|
};
|
|
35435
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
35436
|
-
|
|
35460
|
+
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()));
|
|
35461
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
35437
35462
|
exec: (editor, current) => {
|
|
35438
35463
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
35439
35464
|
if (anchor) {
|
|
@@ -35444,7 +35469,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
35444
35469
|
},
|
|
35445
35470
|
tooltip: 'Unlink'
|
|
35446
35471
|
};
|
|
35447
|
-
|
|
35472
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
35448
35473
|
isActive: (editor) => {
|
|
35449
35474
|
const current = editor.s.current();
|
|
35450
35475
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -35988,9 +36013,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35988
36013
|
"use strict";
|
|
35989
36014
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
35990
36015
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
35991
|
-
/* harmony import */ var
|
|
35992
|
-
/* harmony import */ var
|
|
35993
|
-
/* harmony import */ var
|
|
36016
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36017
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78167);
|
|
36018
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78072);
|
|
35994
36019
|
/*!
|
|
35995
36020
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35996
36021
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36001,9 +36026,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
36001
36026
|
|
|
36002
36027
|
|
|
36003
36028
|
|
|
36004
|
-
|
|
36005
|
-
|
|
36006
|
-
|
|
36029
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
36030
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
36031
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
36007
36032
|
{
|
|
36008
36033
|
group: 'font-style',
|
|
36009
36034
|
buttons: []
|
|
@@ -36050,7 +36075,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
36050
36075
|
'|',
|
|
36051
36076
|
'dots'
|
|
36052
36077
|
];
|
|
36053
|
-
|
|
36078
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
36054
36079
|
{
|
|
36055
36080
|
group: 'font-style',
|
|
36056
36081
|
buttons: []
|
|
@@ -36085,7 +36110,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
36085
36110
|
'|',
|
|
36086
36111
|
'dots'
|
|
36087
36112
|
];
|
|
36088
|
-
|
|
36113
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
36089
36114
|
{
|
|
36090
36115
|
group: 'font-style',
|
|
36091
36116
|
buttons: []
|
|
@@ -36106,16 +36131,16 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
36106
36131
|
'---',
|
|
36107
36132
|
'dots'
|
|
36108
36133
|
];
|
|
36109
|
-
|
|
36134
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
36110
36135
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
36111
36136
|
popup: (editor, current, close, button) => {
|
|
36112
36137
|
let store = button.control.data;
|
|
36113
36138
|
if (store === undefined) {
|
|
36114
36139
|
store = {
|
|
36115
|
-
toolbar: (0,
|
|
36140
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
36116
36141
|
rebuild: () => {
|
|
36117
36142
|
if (button) {
|
|
36118
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
36143
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
36119
36144
|
if (buttons && store) {
|
|
36120
36145
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
36121
36146
|
const w = editor.toolbar?.firstButton?.container
|
|
@@ -36226,11 +36251,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
36226
36251
|
"use strict";
|
|
36227
36252
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49382);
|
|
36228
36253
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
36229
|
-
/* harmony import */ var
|
|
36230
|
-
/* harmony import */ var
|
|
36231
|
-
/* harmony import */ var
|
|
36232
|
-
/* harmony import */ var
|
|
36233
|
-
/* harmony import */ var
|
|
36254
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36255
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48421);
|
|
36256
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
36257
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22791);
|
|
36258
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
36234
36259
|
/*!
|
|
36235
36260
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36236
36261
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36247,8 +36272,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
36247
36272
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
36248
36273
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
36249
36274
|
};
|
|
36250
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
36251
|
-
|
|
36275
|
+
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()));
|
|
36276
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
36252
36277
|
command: 'insertUnorderedList',
|
|
36253
36278
|
tags: ['ul'],
|
|
36254
36279
|
tooltip: 'Insert Unordered List',
|
|
@@ -36260,7 +36285,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
36260
36285
|
},
|
|
36261
36286
|
exec: memoExec
|
|
36262
36287
|
};
|
|
36263
|
-
|
|
36288
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
36264
36289
|
command: 'insertOrderedList',
|
|
36265
36290
|
tags: ['ol'],
|
|
36266
36291
|
tooltip: 'Insert Ordered List',
|
|
@@ -36636,8 +36661,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36636
36661
|
|
|
36637
36662
|
"use strict";
|
|
36638
36663
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
36639
|
-
/* harmony import */ var
|
|
36640
|
-
/* harmony import */ var
|
|
36664
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
36665
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48954);
|
|
36641
36666
|
/*!
|
|
36642
36667
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36643
36668
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36646,19 +36671,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36646
36671
|
|
|
36647
36672
|
|
|
36648
36673
|
|
|
36649
|
-
|
|
36650
|
-
|
|
36651
|
-
|
|
36652
|
-
|
|
36653
|
-
|
|
36674
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
36675
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
36676
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
36677
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
36678
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
36654
36679
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
36655
36680
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
36656
36681
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
36657
36682
|
];
|
|
36658
|
-
|
|
36659
|
-
|
|
36683
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
36684
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
36660
36685
|
const psKey = 'pasteStorage';
|
|
36661
|
-
|
|
36686
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
36662
36687
|
tooltip: 'Paste from clipboard',
|
|
36663
36688
|
async exec(editor, _, { control }) {
|
|
36664
36689
|
if (control.name === psKey) {
|
|
@@ -36706,7 +36731,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
36706
36731
|
!error && editor.e.fire('afterPaste');
|
|
36707
36732
|
}
|
|
36708
36733
|
else if (text.length) {
|
|
36709
|
-
(0,
|
|
36734
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
36710
36735
|
editor.e.fire('afterPaste');
|
|
36711
36736
|
}
|
|
36712
36737
|
else {
|
|
@@ -37433,10 +37458,10 @@ function generateCriticalCSS(jodit) {
|
|
|
37433
37458
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54614);
|
|
37434
37459
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85769);
|
|
37435
37460
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
37436
|
-
/* harmony import */ var
|
|
37437
|
-
/* harmony import */ var
|
|
37438
|
-
/* harmony import */ var
|
|
37439
|
-
/* harmony import */ var
|
|
37461
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
37462
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(86134);
|
|
37463
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26899);
|
|
37464
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
37440
37465
|
/*!
|
|
37441
37466
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37442
37467
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37451,8 +37476,8 @@ function generateCriticalCSS(jodit) {
|
|
|
37451
37476
|
|
|
37452
37477
|
|
|
37453
37478
|
|
|
37454
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
37455
|
-
|
|
37479
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
37480
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
37456
37481
|
exec: (editor) => {
|
|
37457
37482
|
const iframe = editor.create.element('iframe');
|
|
37458
37483
|
Object.assign(iframe.style, {
|
|
@@ -37463,7 +37488,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37463
37488
|
height: 0,
|
|
37464
37489
|
border: 0
|
|
37465
37490
|
});
|
|
37466
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
37491
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
37467
37492
|
const afterFinishPrint = () => {
|
|
37468
37493
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
37469
37494
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -37481,7 +37506,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37481
37506
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
37482
37507
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
37483
37508
|
'"><head><title></title></head><style>' +
|
|
37484
|
-
(0,
|
|
37509
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
37485
37510
|
'</style><body></body></html>');
|
|
37486
37511
|
myWindow.document.close();
|
|
37487
37512
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -37519,11 +37544,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37519
37544
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
37520
37545
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
37521
37546
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
37522
|
-
/* harmony import */ var
|
|
37523
|
-
/* harmony import */ var
|
|
37524
|
-
/* harmony import */ var
|
|
37525
|
-
/* harmony import */ var
|
|
37526
|
-
/* harmony import */ var
|
|
37547
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
37548
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(37629);
|
|
37549
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
37550
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42687);
|
|
37551
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
37527
37552
|
/*!
|
|
37528
37553
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37529
37554
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37536,13 +37561,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37536
37561
|
|
|
37537
37562
|
|
|
37538
37563
|
|
|
37539
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
37540
|
-
|
|
37564
|
+
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()));
|
|
37565
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
37541
37566
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37542
37567
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
37543
37568
|
tooltip: 'Redo'
|
|
37544
37569
|
};
|
|
37545
|
-
|
|
37570
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
37546
37571
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37547
37572
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
37548
37573
|
tooltip: 'Undo'
|
|
@@ -38561,9 +38586,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38561
38586
|
|
|
38562
38587
|
"use strict";
|
|
38563
38588
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
38564
|
-
/* harmony import */ var
|
|
38565
|
-
/* harmony import */ var
|
|
38566
|
-
/* harmony import */ var
|
|
38589
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
38590
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98973);
|
|
38591
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
38567
38592
|
/*!
|
|
38568
38593
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38569
38594
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38573,14 +38598,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38573
38598
|
|
|
38574
38599
|
|
|
38575
38600
|
|
|
38576
|
-
|
|
38577
|
-
|
|
38601
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
38602
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
38578
38603
|
lazyIdleTimeout: 0,
|
|
38579
38604
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
38580
38605
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
38581
38606
|
};
|
|
38582
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
38583
|
-
|
|
38607
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
38608
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
38584
38609
|
tooltip: 'Find',
|
|
38585
38610
|
icon: 'search',
|
|
38586
38611
|
exec(jodit, _, { control }) {
|
|
@@ -40187,9 +40212,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40187
40212
|
"use strict";
|
|
40188
40213
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
40189
40214
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
40190
|
-
/* harmony import */ var
|
|
40191
|
-
/* harmony import */ var
|
|
40192
|
-
/* harmony import */ var
|
|
40215
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
40216
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58671);
|
|
40217
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
40193
40218
|
/*!
|
|
40194
40219
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40195
40220
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40199,9 +40224,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40199
40224
|
|
|
40200
40225
|
|
|
40201
40226
|
|
|
40202
|
-
|
|
40203
|
-
|
|
40204
|
-
|
|
40227
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
40228
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
40229
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
40205
40230
|
/**
|
|
40206
40231
|
* Show gutter
|
|
40207
40232
|
*/
|
|
@@ -40223,15 +40248,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
40223
40248
|
*/
|
|
40224
40249
|
highlightActiveLine: true
|
|
40225
40250
|
};
|
|
40226
|
-
|
|
40251
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
40227
40252
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
40228
40253
|
];
|
|
40229
|
-
|
|
40254
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
40230
40255
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
40231
40256
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
40232
40257
|
];
|
|
40233
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
40234
|
-
|
|
40258
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
40259
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
40235
40260
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
40236
40261
|
exec: (editor) => {
|
|
40237
40262
|
editor.toggleMode();
|
|
@@ -41026,9 +41051,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41026
41051
|
|
|
41027
41052
|
"use strict";
|
|
41028
41053
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41029
|
-
/* harmony import */ var
|
|
41030
|
-
/* harmony import */ var
|
|
41031
|
-
/* harmony import */ var
|
|
41054
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41055
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80709);
|
|
41056
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41032
41057
|
/*!
|
|
41033
41058
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41034
41059
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41037,13 +41062,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41037
41062
|
|
|
41038
41063
|
|
|
41039
41064
|
|
|
41040
|
-
|
|
41041
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
41042
|
-
|
|
41065
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
41066
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41067
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
41043
41068
|
isActive(e) {
|
|
41044
41069
|
return e.o.spellcheck;
|
|
41045
41070
|
},
|
|
41046
|
-
icon: (
|
|
41071
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
41047
41072
|
name: 'spellcheck',
|
|
41048
41073
|
command: 'toggleSpellcheck',
|
|
41049
41074
|
tooltip: 'Spellcheck'
|
|
@@ -41818,9 +41843,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41818
41843
|
|
|
41819
41844
|
"use strict";
|
|
41820
41845
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41821
|
-
/* harmony import */ var
|
|
41822
|
-
/* harmony import */ var
|
|
41823
|
-
/* harmony import */ var
|
|
41846
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41847
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3283);
|
|
41848
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41824
41849
|
/*!
|
|
41825
41850
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41826
41851
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41829,8 +41854,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41829
41854
|
|
|
41830
41855
|
|
|
41831
41856
|
|
|
41832
|
-
|
|
41833
|
-
|
|
41857
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41858
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41834
41859
|
'!',
|
|
41835
41860
|
'"',
|
|
41836
41861
|
'#',
|
|
@@ -42042,8 +42067,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
42042
42067
|
'♦',
|
|
42043
42068
|
'≈'
|
|
42044
42069
|
];
|
|
42045
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
42046
|
-
|
|
42070
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
42071
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
42047
42072
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
42048
42073
|
tooltip: 'Insert Special Character',
|
|
42049
42074
|
popup: (editor, current, close) => {
|
|
@@ -43032,9 +43057,9 @@ function findCell(editor, key) {
|
|
|
43032
43057
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
43033
43058
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71122);
|
|
43034
43059
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43035
|
-
/* harmony import */ var
|
|
43036
|
-
/* harmony import */ var
|
|
43037
|
-
/* harmony import */ var
|
|
43060
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43061
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35863);
|
|
43062
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
43038
43063
|
/*!
|
|
43039
43064
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43040
43065
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43046,12 +43071,12 @@ function findCell(editor, key) {
|
|
|
43046
43071
|
|
|
43047
43072
|
|
|
43048
43073
|
|
|
43049
|
-
|
|
43074
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
43050
43075
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
43051
43076
|
useExtraClassesOptions: false
|
|
43052
43077
|
};
|
|
43053
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
43054
|
-
|
|
43078
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
43079
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
43055
43080
|
data: {
|
|
43056
43081
|
cols: 10,
|
|
43057
43082
|
rows: 10,
|
|
@@ -43218,10 +43243,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43218
43243
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64962);
|
|
43219
43244
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18716);
|
|
43220
43245
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43221
|
-
/* harmony import */ var
|
|
43222
|
-
/* harmony import */ var
|
|
43223
|
-
/* harmony import */ var
|
|
43224
|
-
/* harmony import */ var
|
|
43246
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43247
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
43248
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(46035);
|
|
43249
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
43225
43250
|
/*!
|
|
43226
43251
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43227
43252
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43234,8 +43259,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43234
43259
|
|
|
43235
43260
|
|
|
43236
43261
|
|
|
43237
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
43238
|
-
|
|
43262
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
43263
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
43239
43264
|
popup: (editor, current, close) => {
|
|
43240
43265
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
43241
43266
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -43282,7 +43307,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
43282
43307
|
formCode.onSubmit(data => {
|
|
43283
43308
|
insertCode(data.code);
|
|
43284
43309
|
});
|
|
43285
|
-
return (0,
|
|
43310
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
43286
43311
|
},
|
|
43287
43312
|
tags: ['iframe'],
|
|
43288
43313
|
tooltip: 'Insert youtube/vimeo video'
|
|
@@ -43915,9 +43940,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43915
43940
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
43916
43941
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65564);
|
|
43917
43942
|
/* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34138);
|
|
43918
|
-
/* harmony import */ var
|
|
43919
|
-
/* harmony import */ var
|
|
43920
|
-
/* harmony import */ var
|
|
43943
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
43944
|
+
/* harmony import */ var _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75700);
|
|
43945
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56418);
|
|
43921
43946
|
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25511);
|
|
43922
43947
|
/*!
|
|
43923
43948
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -43935,7 +43960,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43935
43960
|
|
|
43936
43961
|
|
|
43937
43962
|
|
|
43938
|
-
|
|
43963
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.autocomplete = {
|
|
43939
43964
|
sources: [],
|
|
43940
43965
|
maxItems: 50,
|
|
43941
43966
|
isMatchedQuery: (query, value) => value.toLowerCase().indexOf(query.toLowerCase()) === 0,
|
|
@@ -43953,7 +43978,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
43953
43978
|
afterInit(jodit) {
|
|
43954
43979
|
this.popup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__/* .Popup */ .z(jodit);
|
|
43955
43980
|
this.popup.setMod('padding', false);
|
|
43956
|
-
this.list = new
|
|
43981
|
+
this.list = new _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__/* .Autocomplete */ .j(jodit);
|
|
43957
43982
|
this.popup.setContent(this.list.container);
|
|
43958
43983
|
jodit.e
|
|
43959
43984
|
.on('select.autocomplete', (item) => {
|
|
@@ -43964,7 +43989,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
43964
43989
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isNode(insertValue)) {
|
|
43965
43990
|
insertValue = jodit.createInside.fromHTML(insertValue);
|
|
43966
43991
|
}
|
|
43967
|
-
(0,
|
|
43992
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .replaceTextLeftOfCursorAfterSpace */ .s)(jodit.s.range, insertValue);
|
|
43968
43993
|
this.j.s.setCursorAfter(insertValue);
|
|
43969
43994
|
this.j.synchronizeValues();
|
|
43970
43995
|
this.popup.close();
|
|
@@ -44000,7 +44025,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44000
44025
|
const range = this.j.s.sel?.rangeCount
|
|
44001
44026
|
? this.j.s.sel?.getRangeAt(0)
|
|
44002
44027
|
: null;
|
|
44003
|
-
const query = range && (0,
|
|
44028
|
+
const query = range && (0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .getTextLeftOfCursor */ .I)(range).split(' ').pop();
|
|
44004
44029
|
if (query && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(query).length) {
|
|
44005
44030
|
const result = await this.onAutoComplete(query);
|
|
44006
44031
|
if (result.length) {
|