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/es2018/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.19
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2443,7 +2443,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2443
2443
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2444
2444
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2445
2445
|
*/
|
|
2446
|
-
const APP_VERSION = "4.2.
|
|
2446
|
+
const APP_VERSION = "4.2.19";
|
|
2447
2447
|
// prettier-ignore
|
|
2448
2448
|
const ES = "es2018";
|
|
2449
2449
|
const IS_ES_MODERN = true;
|
|
@@ -8005,6 +8005,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
8005
8005
|
}
|
|
8006
8006
|
const script = jodit.c.element('script', {
|
|
8007
8007
|
type: 'text/javascript',
|
|
8008
|
+
crossorigin: 'anonymous',
|
|
8009
|
+
referrerpolicy: 'no-referrer',
|
|
8008
8010
|
async: true,
|
|
8009
8011
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .X)(url)
|
|
8010
8012
|
});
|
|
@@ -8245,9 +8247,9 @@ const completeUrl = (url) => {
|
|
|
8245
8247
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
8246
8248
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
8247
8249
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74197);
|
|
8250
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
|
|
8248
8251
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20368);
|
|
8249
|
-
/* harmony import */ var
|
|
8250
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
8252
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94183);
|
|
8251
8253
|
/*!
|
|
8252
8254
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8253
8255
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8295,7 +8297,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8295
8297
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
8296
8298
|
return options;
|
|
8297
8299
|
}
|
|
8298
|
-
const def =
|
|
8300
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
8299
8301
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
8300
8302
|
if (def.presets[options.preset] !== undefined) {
|
|
8301
8303
|
const preset = def.presets[options.preset];
|
|
@@ -8325,7 +8327,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8325
8327
|
return newOpt;
|
|
8326
8328
|
}
|
|
8327
8329
|
function ConfigFlatten(obj) {
|
|
8328
|
-
return (0,
|
|
8330
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
8329
8331
|
app[key] = obj[key];
|
|
8330
8332
|
return app;
|
|
8331
8333
|
}, {});
|
|
@@ -10289,9 +10291,9 @@ Plugin.requires = [];
|
|
|
10289
10291
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33442);
|
|
10290
10292
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
10291
10293
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24839);
|
|
10292
|
-
/* harmony import */ var
|
|
10294
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
10295
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91596);
|
|
10293
10296
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(85349);
|
|
10294
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
10295
10297
|
/*!
|
|
10296
10298
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10297
10299
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -10309,7 +10311,7 @@ class Ajax {
|
|
|
10309
10311
|
className() {
|
|
10310
10312
|
return 'Ajax';
|
|
10311
10313
|
}
|
|
10312
|
-
constructor(options, defaultAjaxOptions =
|
|
10314
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
10313
10315
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
10314
10316
|
this.__isFulfilled = false;
|
|
10315
10317
|
this.__activated = false;
|
|
@@ -13703,6 +13705,7 @@ class Mods {
|
|
|
13703
13705
|
const UIButtonState = () => ({
|
|
13704
13706
|
size: 'middle',
|
|
13705
13707
|
type: 'button',
|
|
13708
|
+
role: 'button',
|
|
13706
13709
|
name: '',
|
|
13707
13710
|
value: '',
|
|
13708
13711
|
variant: 'initial',
|
|
@@ -13751,6 +13754,9 @@ let UIButton = class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MO
|
|
|
13751
13754
|
onChangeType() {
|
|
13752
13755
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(this.container, 'type', this.state.type);
|
|
13753
13756
|
}
|
|
13757
|
+
onChangeRole() {
|
|
13758
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(this.container, 'role', this.state.role);
|
|
13759
|
+
}
|
|
13754
13760
|
/**
|
|
13755
13761
|
* Set size from a parent list
|
|
13756
13762
|
*/
|
|
@@ -13880,6 +13886,9 @@ let UIButton = class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MO
|
|
|
13880
13886
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13881
13887
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.type', { immediately: false })
|
|
13882
13888
|
], UIButton.prototype, "onChangeType", null);
|
|
13889
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13890
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.role', { immediately: false })
|
|
13891
|
+
], UIButton.prototype, "onChangeRole", null);
|
|
13883
13892
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13884
13893
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('parentElement')
|
|
13885
13894
|
], UIButton.prototype, "updateSize", null);
|
|
@@ -14091,6 +14100,19 @@ var UITooltip_1;
|
|
|
14091
14100
|
|
|
14092
14101
|
|
|
14093
14102
|
|
|
14103
|
+
const WINDOW_EVENTS_ON_HIDE = [
|
|
14104
|
+
'scroll.tooltip',
|
|
14105
|
+
'joditCloseDialog',
|
|
14106
|
+
'mouseleave.tooltip'
|
|
14107
|
+
];
|
|
14108
|
+
const JODIT_EVENTS_ON_HIDE = [
|
|
14109
|
+
'escape.tooltip',
|
|
14110
|
+
'change.tooltip',
|
|
14111
|
+
'changePlace.tooltip',
|
|
14112
|
+
'afterOpenPopup.tooltip',
|
|
14113
|
+
'hidePopup.tooltip',
|
|
14114
|
+
'closeAllPopups.tooltip'
|
|
14115
|
+
];
|
|
14094
14116
|
let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_5__/* .UIElement */ .D {
|
|
14095
14117
|
className() {
|
|
14096
14118
|
return 'UITooltip';
|
|
@@ -14109,7 +14131,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14109
14131
|
view.o.showTooltip &&
|
|
14110
14132
|
!view.o.useNativeTooltip) {
|
|
14111
14133
|
view.hookStatus(jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.ready, () => {
|
|
14112
|
-
// TODO Move it inside
|
|
14134
|
+
// TODO Move it inside __show method. Now it is here because testcase failed with capturing
|
|
14113
14135
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(this.j, UITooltip_1).appendChild(this.container);
|
|
14114
14136
|
view.e.on(view.container, 'mouseenter.tooltip', this.__onMouseEnter, {
|
|
14115
14137
|
capture: true
|
|
@@ -14117,44 +14139,28 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14117
14139
|
});
|
|
14118
14140
|
}
|
|
14119
14141
|
}
|
|
14120
|
-
|
|
14142
|
+
__addListenersOnEnter() {
|
|
14121
14143
|
if (this.__listenClose) {
|
|
14122
14144
|
return;
|
|
14123
14145
|
}
|
|
14124
14146
|
this.__listenClose = true;
|
|
14125
14147
|
const view = this.j;
|
|
14126
14148
|
view.e
|
|
14127
|
-
.on(view.ow,
|
|
14128
|
-
.on(
|
|
14129
|
-
.on(view.container, 'mouseleave.tooltip', this.
|
|
14130
|
-
.on([
|
|
14131
|
-
'escape.tooltip',
|
|
14132
|
-
'change.tooltip',
|
|
14133
|
-
'changePlace.tooltip',
|
|
14134
|
-
'afterOpenPopup.tooltip',
|
|
14135
|
-
'hidePopup.tooltip',
|
|
14136
|
-
'closeAllPopups.tooltip'
|
|
14137
|
-
], this.__hide)
|
|
14138
|
-
.on(view.container, 'mouseleave', this.__onMouseLeave, {
|
|
14149
|
+
.on(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14150
|
+
.on(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14151
|
+
.on(view.container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14139
14152
|
capture: true
|
|
14140
14153
|
});
|
|
14141
14154
|
}
|
|
14142
|
-
|
|
14155
|
+
__removeListenersOnLeave() {
|
|
14143
14156
|
if (!this.__listenClose) {
|
|
14144
14157
|
return;
|
|
14145
14158
|
}
|
|
14146
14159
|
this.__listenClose = false;
|
|
14147
14160
|
const view = this.j;
|
|
14148
14161
|
view.e
|
|
14149
|
-
.off(view.ow,
|
|
14150
|
-
.off(
|
|
14151
|
-
'escape.tooltip',
|
|
14152
|
-
'change.tooltip',
|
|
14153
|
-
'changePlace.tooltip',
|
|
14154
|
-
'afterOpenPopup.tooltip',
|
|
14155
|
-
'hidePopup.tooltip',
|
|
14156
|
-
'closeAllPopups.tooltip'
|
|
14157
|
-
], this.__hide)
|
|
14162
|
+
.off(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14163
|
+
.off(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14158
14164
|
.off(view.container, 'mouseleave.tooltip', this.__onMouseLeave);
|
|
14159
14165
|
}
|
|
14160
14166
|
__onMouseLeave(e) {
|
|
@@ -14180,29 +14186,30 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14180
14186
|
return;
|
|
14181
14187
|
}
|
|
14182
14188
|
this.__currentTarget = e.target;
|
|
14183
|
-
const
|
|
14184
|
-
this.
|
|
14185
|
-
|
|
14186
|
-
|
|
14187
|
-
|
|
14188
|
-
|
|
14189
|
-
|
|
14190
|
-
|
|
14191
|
-
|
|
14189
|
+
const target = e.target;
|
|
14190
|
+
this.__open(() => {
|
|
14191
|
+
const pos = (0,jodit_core_helpers_size_position__WEBPACK_IMPORTED_MODULE_6__/* .position */ .G)(target);
|
|
14192
|
+
return {
|
|
14193
|
+
x: pos.left + pos.width / 2,
|
|
14194
|
+
y: pos.top + pos.height
|
|
14195
|
+
};
|
|
14196
|
+
}, tooltip);
|
|
14197
|
+
}
|
|
14198
|
+
__open(getPoint, content) {
|
|
14199
|
+
this.__addListenersOnEnter();
|
|
14200
|
+
this.__isOpened = true;
|
|
14192
14201
|
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14193
14202
|
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14194
|
-
|
|
14195
|
-
|
|
14196
|
-
|
|
14197
|
-
|
|
14203
|
+
const to = this.j.o.showTooltipDelay || this.j.defaultTimeout;
|
|
14204
|
+
if (!to) {
|
|
14205
|
+
this.__show(getPoint, content);
|
|
14206
|
+
return;
|
|
14207
|
+
}
|
|
14208
|
+
this.__delayShowTimeout = this.j.async.setTimeout(() => this.__show(getPoint, content), to);
|
|
14198
14209
|
}
|
|
14199
|
-
|
|
14210
|
+
__show(getPoint, content) {
|
|
14200
14211
|
this.setMod('visible', true);
|
|
14201
14212
|
this.getElm('content').innerHTML = content;
|
|
14202
|
-
this.__isOpened = true;
|
|
14203
|
-
this.__setPosition(getPoint);
|
|
14204
|
-
}
|
|
14205
|
-
__setPosition(getPoint) {
|
|
14206
14213
|
const point = getPoint();
|
|
14207
14214
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.css)(this.container, {
|
|
14208
14215
|
left: point.x,
|
|
@@ -14212,24 +14219,26 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14212
14219
|
__hide() {
|
|
14213
14220
|
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14214
14221
|
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14215
|
-
this.
|
|
14222
|
+
this.__removeListenersOnLeave();
|
|
14216
14223
|
if (this.__isOpened) {
|
|
14217
14224
|
this.__isOpened = false;
|
|
14218
14225
|
this.setMod('visible', false);
|
|
14226
|
+
this.getElm('content').innerHTML = '';
|
|
14219
14227
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.css)(this.container, {
|
|
14220
14228
|
left: -5000
|
|
14221
14229
|
});
|
|
14222
14230
|
}
|
|
14223
14231
|
}
|
|
14224
14232
|
__hideDelay() {
|
|
14233
|
+
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14234
|
+
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14225
14235
|
if (!this.__isOpened) {
|
|
14226
14236
|
return;
|
|
14227
14237
|
}
|
|
14228
|
-
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14229
14238
|
this.__hideTimeout = this.async.setTimeout(this.__hide, this.j.defaultTimeout);
|
|
14230
14239
|
}
|
|
14231
14240
|
destruct() {
|
|
14232
|
-
this.j.e.off(this.j.container, 'mouseenter', this.__onMouseEnter);
|
|
14241
|
+
this.j.e.off(this.j.container, 'mouseenter.tooltip', this.__onMouseEnter);
|
|
14233
14242
|
this.__hide();
|
|
14234
14243
|
super.destruct();
|
|
14235
14244
|
}
|
|
@@ -15775,7 +15784,6 @@ function getControlType(button, controls) {
|
|
|
15775
15784
|
* @private
|
|
15776
15785
|
*/
|
|
15777
15786
|
function findControlType(path, controls) {
|
|
15778
|
-
var _a;
|
|
15779
15787
|
// eslint-disable-next-line prefer-const
|
|
15780
15788
|
let [namespaceOrKey, key] = path.split(/\./);
|
|
15781
15789
|
let store = controls;
|
|
@@ -15787,17 +15795,23 @@ function findControlType(path, controls) {
|
|
|
15787
15795
|
else {
|
|
15788
15796
|
key = namespaceOrKey;
|
|
15789
15797
|
}
|
|
15790
|
-
const list =
|
|
15798
|
+
// const list = store[key]?.list;
|
|
15791
15799
|
return store[key]
|
|
15792
15800
|
? {
|
|
15793
15801
|
name: key,
|
|
15794
|
-
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15795
|
-
list:
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
|
|
15799
|
-
|
|
15800
|
-
|
|
15802
|
+
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15803
|
+
// list: isArray(list)
|
|
15804
|
+
// ? (<Array<string>>list).reduce(
|
|
15805
|
+
// (
|
|
15806
|
+
// acc: IDictionary<string | number>,
|
|
15807
|
+
// k: string | number
|
|
15808
|
+
// ) => {
|
|
15809
|
+
// acc[String(k)] = k;
|
|
15810
|
+
// return acc;
|
|
15811
|
+
// },
|
|
15812
|
+
// {}
|
|
15813
|
+
// )
|
|
15814
|
+
// : list
|
|
15801
15815
|
}
|
|
15802
15816
|
: undefined;
|
|
15803
15817
|
}
|
|
@@ -15814,8 +15828,8 @@ function findControlType(path, controls) {
|
|
|
15814
15828
|
/* harmony export */ });
|
|
15815
15829
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55010);
|
|
15816
15830
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71122);
|
|
15817
|
-
/* harmony import */ var
|
|
15818
|
-
/* harmony import */ var
|
|
15831
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
15832
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68600);
|
|
15819
15833
|
/*!
|
|
15820
15834
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15821
15835
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15835,7 +15849,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15835
15849
|
const value = items[key] || {};
|
|
15836
15850
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15837
15851
|
});
|
|
15838
|
-
return elements.map(item => (0,
|
|
15852
|
+
return elements.map(item => (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls));
|
|
15839
15853
|
}
|
|
15840
15854
|
|
|
15841
15855
|
|
|
@@ -17024,8 +17038,8 @@ class CommitMode {
|
|
|
17024
17038
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
17025
17039
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49604);
|
|
17026
17040
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28190);
|
|
17027
|
-
/* harmony import */ var
|
|
17028
|
-
/* harmony import */ var
|
|
17041
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
17042
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(35102);
|
|
17029
17043
|
/*!
|
|
17030
17044
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
17031
17045
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -17044,7 +17058,7 @@ var Jodit_1;
|
|
|
17044
17058
|
|
|
17045
17059
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
17046
17060
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
17047
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
17061
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
17048
17062
|
/** @override */
|
|
17049
17063
|
className() {
|
|
17050
17064
|
return 'Jodit';
|
|
@@ -17091,7 +17105,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17091
17105
|
get defaultTimeout() {
|
|
17092
17106
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
17093
17107
|
? this.o.defaultTimeout
|
|
17094
|
-
:
|
|
17108
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17095
17109
|
}
|
|
17096
17110
|
/**
|
|
17097
17111
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -17117,10 +17131,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17117
17131
|
* Default settings
|
|
17118
17132
|
*/
|
|
17119
17133
|
static get defaultOptions() {
|
|
17120
|
-
return
|
|
17134
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
17121
17135
|
}
|
|
17122
17136
|
get createInside() {
|
|
17123
|
-
return new
|
|
17137
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
17124
17138
|
}
|
|
17125
17139
|
__setPlaceField(field, value) {
|
|
17126
17140
|
if (!this.currentPlace) {
|
|
@@ -17668,8 +17682,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17668
17682
|
const active = this.od.activeElement;
|
|
17669
17683
|
if (active &&
|
|
17670
17684
|
(active === this.iframe ||
|
|
17671
|
-
|
|
17672
|
-
|
|
17685
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
17686
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
17673
17687
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
17674
17688
|
}
|
|
17675
17689
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -17821,7 +17835,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17821
17835
|
}
|
|
17822
17836
|
/** @override **/
|
|
17823
17837
|
initOptions(options) {
|
|
17824
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17838
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
17825
17839
|
}
|
|
17826
17840
|
/** @override **/
|
|
17827
17841
|
initOwners() {
|
|
@@ -17866,7 +17880,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17866
17880
|
this.destruct();
|
|
17867
17881
|
throw e;
|
|
17868
17882
|
}
|
|
17869
|
-
this.setStatus(
|
|
17883
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17870
17884
|
this.id =
|
|
17871
17885
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.resolveElement)(element, this.o.shadowRoot || this.od), 'id') ||
|
|
17872
17886
|
new Date().getTime().toString();
|
|
@@ -17878,7 +17892,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17878
17892
|
}
|
|
17879
17893
|
});
|
|
17880
17894
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17881
|
-
this.selection = new
|
|
17895
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17882
17896
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17883
17897
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17884
17898
|
if (this.isInDestruct) {
|
|
@@ -17902,7 +17916,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17902
17916
|
this.e.fire('afterInit', this);
|
|
17903
17917
|
}
|
|
17904
17918
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17905
|
-
this.setStatus(
|
|
17919
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17906
17920
|
this.e.fire('afterConstructor', this);
|
|
17907
17921
|
};
|
|
17908
17922
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17918,7 +17932,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17918
17932
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17919
17933
|
const name = attr.name;
|
|
17920
17934
|
let value = attr.value;
|
|
17921
|
-
if (
|
|
17935
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17922
17936
|
(!options || options[name] === undefined)) {
|
|
17923
17937
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17924
17938
|
value = value === '' || value === 'true';
|
|
@@ -17986,11 +18000,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17986
18000
|
element,
|
|
17987
18001
|
container,
|
|
17988
18002
|
workplace,
|
|
17989
|
-
statusbar: new
|
|
18003
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17990
18004
|
options: this.isReady
|
|
17991
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
18005
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17992
18006
|
: this.options,
|
|
17993
|
-
history: new
|
|
18007
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17994
18008
|
editorWindow: this.ow
|
|
17995
18009
|
};
|
|
17996
18010
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -18081,7 +18095,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18081
18095
|
return;
|
|
18082
18096
|
}
|
|
18083
18097
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
18084
|
-
|
|
18098
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
18085
18099
|
}
|
|
18086
18100
|
addClassNames(this.o.editorClassName, this.editor);
|
|
18087
18101
|
if (this.o.style) {
|
|
@@ -18171,7 +18185,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18171
18185
|
if (this.isInDestruct) {
|
|
18172
18186
|
return;
|
|
18173
18187
|
}
|
|
18174
|
-
this.setStatus(
|
|
18188
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
18175
18189
|
this.__elementToPlace.clear();
|
|
18176
18190
|
this.storage.clear();
|
|
18177
18191
|
this.buffer.clear();
|
|
@@ -18212,17 +18226,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18212
18226
|
this.e.off(container);
|
|
18213
18227
|
this.e.off(element);
|
|
18214
18228
|
this.e.off(editor);
|
|
18215
|
-
|
|
18216
|
-
|
|
18229
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
18230
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
18217
18231
|
if (container !== element) {
|
|
18218
|
-
|
|
18232
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
18219
18233
|
}
|
|
18220
18234
|
Object.defineProperty(element, 'component', {
|
|
18221
18235
|
enumerable: false,
|
|
18222
18236
|
configurable: true,
|
|
18223
18237
|
value: null
|
|
18224
18238
|
});
|
|
18225
|
-
|
|
18239
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
18226
18240
|
// inline mode
|
|
18227
18241
|
if (container === element) {
|
|
18228
18242
|
element.innerHTML = buffer;
|
|
@@ -18244,7 +18258,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
18244
18258
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
18245
18259
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
18246
18260
|
Jodit.core = {
|
|
18247
|
-
Plugin:
|
|
18261
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
18248
18262
|
};
|
|
18249
18263
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
18250
18264
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -20523,16 +20537,16 @@ async function loadTree(fb) {
|
|
|
20523
20537
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
20524
20538
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
20525
20539
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
20526
|
-
/* harmony import */ var
|
|
20540
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91288);
|
|
20541
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83148);
|
|
20527
20542
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
|
|
20528
|
-
/* harmony import */ var
|
|
20529
|
-
/* harmony import */ var
|
|
20530
|
-
/* harmony import */ var
|
|
20531
|
-
/* harmony import */ var
|
|
20532
|
-
/* harmony import */ var
|
|
20533
|
-
/* harmony import */ var
|
|
20534
|
-
/* harmony import */ var
|
|
20535
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
20543
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(64164);
|
|
20544
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50067);
|
|
20545
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(25430);
|
|
20546
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34255);
|
|
20547
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(18714);
|
|
20548
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(24538);
|
|
20549
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96243);
|
|
20536
20550
|
/*!
|
|
20537
20551
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20538
20552
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20566,7 +20580,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20566
20580
|
return 'FileBrowser';
|
|
20567
20581
|
}
|
|
20568
20582
|
get dataProvider() {
|
|
20569
|
-
return (0,
|
|
20583
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
20570
20584
|
}
|
|
20571
20585
|
// eslint-disable-next-line no-unused-vars
|
|
20572
20586
|
onSelect(callback) {
|
|
@@ -20682,7 +20696,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20682
20696
|
this.__updateToolbarButtons();
|
|
20683
20697
|
this._dialog.open(this.browser, header);
|
|
20684
20698
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20685
|
-
(0,
|
|
20699
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
20686
20700
|
.then(resolve, reject)
|
|
20687
20701
|
.finally(() => {
|
|
20688
20702
|
var _a;
|
|
@@ -20719,7 +20733,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20719
20733
|
}
|
|
20720
20734
|
initUploader(editor) {
|
|
20721
20735
|
var _a;
|
|
20722
|
-
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20736
|
+
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
20723
20737
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
20724
20738
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20725
20739
|
self.uploader
|
|
@@ -20739,11 +20753,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20739
20753
|
super(options);
|
|
20740
20754
|
this.browser = this.c.div(this.componentName);
|
|
20741
20755
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20742
|
-
this.tree = new
|
|
20743
|
-
this.files = new
|
|
20756
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
20757
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
20744
20758
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
20745
20759
|
currentPath: '',
|
|
20746
|
-
currentSource:
|
|
20760
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20747
20761
|
currentBaseUrl: '',
|
|
20748
20762
|
activeElements: [],
|
|
20749
20763
|
elements: [],
|
|
@@ -20773,7 +20787,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20773
20787
|
this.__prevButtons = [];
|
|
20774
20788
|
this.attachEvents(options);
|
|
20775
20789
|
const self = this;
|
|
20776
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20790
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
20777
20791
|
self.browser.component = this;
|
|
20778
20792
|
self.container = self.browser;
|
|
20779
20793
|
if (self.o.showFoldersPanel) {
|
|
@@ -20781,9 +20795,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20781
20795
|
}
|
|
20782
20796
|
self.browser.appendChild(self.files.container);
|
|
20783
20797
|
self.browser.appendChild(self.status_line);
|
|
20784
|
-
|
|
20785
|
-
|
|
20786
|
-
|
|
20798
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
20799
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
20800
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
20787
20801
|
const keys = [
|
|
20788
20802
|
'getLocalFileByUrl',
|
|
20789
20803
|
'crop',
|
|
@@ -21455,10 +21469,10 @@ class Command {
|
|
|
21455
21469
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
21456
21470
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
21457
21471
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53557);
|
|
21472
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
21458
21473
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22180);
|
|
21459
|
-
/* harmony import */ var
|
|
21474
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(801);
|
|
21460
21475
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98189);
|
|
21461
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
21462
21476
|
/*!
|
|
21463
21477
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21464
21478
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21471,7 +21485,7 @@ class Command {
|
|
|
21471
21485
|
|
|
21472
21486
|
|
|
21473
21487
|
|
|
21474
|
-
|
|
21488
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
21475
21489
|
enable: true,
|
|
21476
21490
|
maxHistoryLength: Infinity,
|
|
21477
21491
|
timeout: 1000
|
|
@@ -21522,7 +21536,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21522
21536
|
set startValue(value) {
|
|
21523
21537
|
this.__startValue = value;
|
|
21524
21538
|
}
|
|
21525
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
21539
|
+
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F(editor)) {
|
|
21526
21540
|
super(editor);
|
|
21527
21541
|
this.updateTick = 0;
|
|
21528
21542
|
this.__stack = stack;
|
|
@@ -21585,7 +21599,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21585
21599
|
*/
|
|
21586
21600
|
updateStack(replace = false) {
|
|
21587
21601
|
const newValue = this.snapshot.make();
|
|
21588
|
-
if (!
|
|
21602
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
21589
21603
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
21590
21604
|
if (replace) {
|
|
21591
21605
|
const command = this.__stack.current();
|
|
@@ -21919,11 +21933,11 @@ class Stack {
|
|
|
21919
21933
|
|
|
21920
21934
|
"use strict";
|
|
21921
21935
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
21922
|
-
/* harmony import */ var
|
|
21923
|
-
/* harmony import */ var
|
|
21924
|
-
/* harmony import */ var
|
|
21925
|
-
/* harmony import */ var
|
|
21926
|
-
/* harmony import */ var
|
|
21936
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
21937
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(83904);
|
|
21938
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21939
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15582);
|
|
21940
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21927
21941
|
/*!
|
|
21928
21942
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21929
21943
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21933,7 +21947,7 @@ class Stack {
|
|
|
21933
21947
|
|
|
21934
21948
|
|
|
21935
21949
|
|
|
21936
|
-
|
|
21950
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21937
21951
|
min_width: 20,
|
|
21938
21952
|
min_height: 20,
|
|
21939
21953
|
closeAfterSave: false,
|
|
@@ -21948,7 +21962,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21948
21962
|
cropDefaultWidth: '70%',
|
|
21949
21963
|
cropDefaultHeight: '70%'
|
|
21950
21964
|
};
|
|
21951
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21965
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('resize', (_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
21952
21966
|
|
|
21953
21967
|
|
|
21954
21968
|
/***/ }),
|
|
@@ -21967,9 +21981,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21967
21981
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33465);
|
|
21968
21982
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
21969
21983
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(64962);
|
|
21970
|
-
/* harmony import */ var
|
|
21971
|
-
/* harmony import */ var
|
|
21972
|
-
/* harmony import */ var
|
|
21984
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
21985
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15546);
|
|
21986
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73898);
|
|
21973
21987
|
/*!
|
|
21974
21988
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21975
21989
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22429,7 +22443,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22429
22443
|
this.options =
|
|
22430
22444
|
editor && editor.o && editor.o.imageeditor
|
|
22431
22445
|
? editor.o.imageeditor
|
|
22432
|
-
:
|
|
22446
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
22433
22447
|
const o = this.options;
|
|
22434
22448
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
22435
22449
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -22439,7 +22453,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22439
22453
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
22440
22454
|
};
|
|
22441
22455
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
22442
|
-
this.editor = (0,
|
|
22456
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
22443
22457
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
22444
22458
|
this.resize_box = resizeBox;
|
|
22445
22459
|
this.crop_box = cropBox;
|
|
@@ -23862,7 +23876,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23862
23876
|
}
|
|
23863
23877
|
createContainer() {
|
|
23864
23878
|
const cn = this.componentName;
|
|
23865
|
-
const container = this.j.c.span(cn)
|
|
23879
|
+
const container = this.j.c.span(cn);
|
|
23880
|
+
const button = super.createContainer();
|
|
23866
23881
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23867
23882
|
button.classList.remove(cn);
|
|
23868
23883
|
button.classList.add(cn + '__button');
|
|
@@ -24259,8 +24274,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24259
24274
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24260
24275
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
24261
24276
|
/* harmony export */ });
|
|
24262
|
-
/* harmony import */ var
|
|
24277
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
24263
24278
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53557);
|
|
24279
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47903);
|
|
24264
24280
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
24265
24281
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72463);
|
|
24266
24282
|
/*!
|
|
@@ -24273,6 +24289,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24273
24289
|
|
|
24274
24290
|
|
|
24275
24291
|
|
|
24292
|
+
|
|
24276
24293
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
24277
24294
|
className() {
|
|
24278
24295
|
return 'ToolbarSelect';
|
|
@@ -24291,13 +24308,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
24291
24308
|
const keys = Object.keys(list);
|
|
24292
24309
|
key = keys[0];
|
|
24293
24310
|
}
|
|
24294
|
-
const text = (list[key.toString()] || key).toString();
|
|
24311
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
24295
24312
|
this.state.text =
|
|
24296
24313
|
(_c = (_b = (_a = this.control).textTemplate) === null || _b === void 0 ? void 0 : _b.call(_a, this.jodit, text)) !== null && _c !== void 0 ? _c : text;
|
|
24297
24314
|
}
|
|
24298
24315
|
}
|
|
24299
24316
|
};
|
|
24300
|
-
ToolbarSelect = (0,
|
|
24317
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24301
24318
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
24302
24319
|
], ToolbarSelect);
|
|
24303
24320
|
|
|
@@ -24428,7 +24445,7 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24428
24445
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
24429
24446
|
], ToolbarCollection.prototype, "__immediateUpdate", null);
|
|
24430
24447
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24431
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)()
|
|
24448
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)(ctx => ctx.j.defaultTimeout, true)
|
|
24432
24449
|
], ToolbarCollection.prototype, "update", null);
|
|
24433
24450
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24434
24451
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.hook)('ready')
|
|
@@ -25130,9 +25147,9 @@ function send(uploader, data) {
|
|
|
25130
25147
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
25131
25148
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
25132
25149
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25133
|
-
/* harmony import */ var
|
|
25134
|
-
/* harmony import */ var
|
|
25135
|
-
/* harmony import */ var
|
|
25150
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
25151
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20431);
|
|
25152
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50999);
|
|
25136
25153
|
/*!
|
|
25137
25154
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25138
25155
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25204,14 +25221,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25204
25221
|
}
|
|
25205
25222
|
};
|
|
25206
25223
|
// send data on server
|
|
25207
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
25208
|
-
(0,
|
|
25224
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
25225
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25209
25226
|
return false;
|
|
25210
25227
|
}
|
|
25211
25228
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
25212
|
-
return (0,
|
|
25229
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
25213
25230
|
}
|
|
25214
|
-
if ((0,
|
|
25231
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
25215
25232
|
const { items } = cData;
|
|
25216
25233
|
for (i = 0; i < items.length; i += 1) {
|
|
25217
25234
|
if (items[i].kind === 'file' &&
|
|
@@ -25222,7 +25239,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25222
25239
|
extension = mime[1]
|
|
25223
25240
|
? mime[1].toLowerCase()
|
|
25224
25241
|
: '';
|
|
25225
|
-
(0,
|
|
25242
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
25226
25243
|
}
|
|
25227
25244
|
e.preventDefault();
|
|
25228
25245
|
break;
|
|
@@ -25245,30 +25262,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25245
25262
|
e.preventDefault();
|
|
25246
25263
|
})
|
|
25247
25264
|
.on(form, 'dragover', (event) => {
|
|
25248
|
-
if ((0,
|
|
25249
|
-
(0,
|
|
25265
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
25266
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
25250
25267
|
form.classList.add('jodit_drag_hover');
|
|
25251
25268
|
event.preventDefault();
|
|
25252
25269
|
}
|
|
25253
25270
|
})
|
|
25254
25271
|
.on(form, 'dragend dragleave', (event) => {
|
|
25255
25272
|
form.classList.remove('jodit_drag_hover');
|
|
25256
|
-
if ((0,
|
|
25273
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25257
25274
|
event.preventDefault();
|
|
25258
25275
|
}
|
|
25259
25276
|
})
|
|
25260
25277
|
.on(form, 'drop', (event) => {
|
|
25261
25278
|
form.classList.remove('jodit_drag_hover');
|
|
25262
|
-
if ((0,
|
|
25279
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25263
25280
|
event.preventDefault();
|
|
25264
25281
|
event.stopImmediatePropagation();
|
|
25265
|
-
(0,
|
|
25282
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25266
25283
|
}
|
|
25267
25284
|
});
|
|
25268
25285
|
const inputFile = form.querySelector('input[type=file]');
|
|
25269
25286
|
if (inputFile) {
|
|
25270
25287
|
self.j.e.on(inputFile, 'change', () => {
|
|
25271
|
-
(0,
|
|
25288
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
25272
25289
|
.then(() => {
|
|
25273
25290
|
inputFile.value = '';
|
|
25274
25291
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -25288,7 +25305,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25288
25305
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
25289
25306
|
? handlerError
|
|
25290
25307
|
: o.defaultHandlerError;
|
|
25291
|
-
(0,
|
|
25308
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
25292
25309
|
action: 'fileUploadRemote',
|
|
25293
25310
|
url
|
|
25294
25311
|
})
|
|
@@ -25308,11 +25325,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25308
25325
|
super(editor);
|
|
25309
25326
|
this.path = '';
|
|
25310
25327
|
this.source = 'default';
|
|
25311
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
25328
|
+
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.uploader, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(editor) ? editor.o.uploader : {}));
|
|
25312
25329
|
}
|
|
25313
25330
|
destruct() {
|
|
25314
25331
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
25315
|
-
const instances =
|
|
25332
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
25316
25333
|
if (instances) {
|
|
25317
25334
|
instances.forEach(ajax => {
|
|
25318
25335
|
try {
|
|
@@ -25606,8 +25623,8 @@ function val(elm, selector, value) {
|
|
|
25606
25623
|
/* harmony export */ });
|
|
25607
25624
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
25608
25625
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23545);
|
|
25609
|
-
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25610
25626
|
/* harmony import */ var jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41959);
|
|
25627
|
+
/* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97099);
|
|
25611
25628
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76185);
|
|
25612
25629
|
/*!
|
|
25613
25630
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -25649,8 +25666,16 @@ function val(elm, selector, value) {
|
|
|
25649
25666
|
* ```
|
|
25650
25667
|
*/
|
|
25651
25668
|
const TabsWidget = (jodit, tabs, state) => {
|
|
25652
|
-
const box = jodit.c.div('jodit-tabs')
|
|
25653
|
-
|
|
25669
|
+
const box = jodit.c.div('jodit-tabs');
|
|
25670
|
+
const tabBox = jodit.c.div('jodit-tabs__wrapper');
|
|
25671
|
+
const buttons = jodit.c.div('jodit-tabs__buttons');
|
|
25672
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(buttons, {
|
|
25673
|
+
role: 'tablist',
|
|
25674
|
+
'aria-orientation': 'horizontal'
|
|
25675
|
+
});
|
|
25676
|
+
const nameToTab = {};
|
|
25677
|
+
const buttonList = [];
|
|
25678
|
+
let firstTab = '';
|
|
25654
25679
|
box.appendChild(buttons);
|
|
25655
25680
|
box.appendChild(tabBox);
|
|
25656
25681
|
const setActive = (tab) => {
|
|
@@ -25658,20 +25683,21 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25658
25683
|
return;
|
|
25659
25684
|
}
|
|
25660
25685
|
buttonList.forEach(b => {
|
|
25661
|
-
b.state.variant = 'initial';
|
|
25662
25686
|
b.state.activated = false;
|
|
25663
25687
|
});
|
|
25664
|
-
(
|
|
25665
|
-
a.classList.remove('jodit-tab_active');
|
|
25666
|
-
});
|
|
25667
|
-
nameToTab[tab].button.state.variant = 'outline';
|
|
25688
|
+
Object.values(nameToTab).forEach(({ tab }) => tab.classList.remove('jodit-tab_active'));
|
|
25668
25689
|
nameToTab[tab].button.state.activated = true;
|
|
25669
25690
|
nameToTab[tab].tab.classList.add('jodit-tab_active');
|
|
25670
25691
|
};
|
|
25671
25692
|
tabs.forEach(({ icon, name, content }) => {
|
|
25672
|
-
const tab = jodit.c.div('jodit-tab')
|
|
25693
|
+
const tab = jodit.c.div('jodit-tab');
|
|
25694
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(tab, {
|
|
25695
|
+
role: 'tabpanel'
|
|
25696
|
+
});
|
|
25697
|
+
const button = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .Button */ .$n)(jodit, icon || name, name);
|
|
25698
|
+
button.state.role = 'tab';
|
|
25673
25699
|
// Stop lose the focus
|
|
25674
|
-
jodit.e.on(button.container, '
|
|
25700
|
+
jodit.e.on(button.container, 'pointerdown', (e) => e.preventDefault());
|
|
25675
25701
|
if (!firstTab) {
|
|
25676
25702
|
firstTab = name;
|
|
25677
25703
|
}
|
|
@@ -25701,13 +25727,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25701
25727
|
button,
|
|
25702
25728
|
tab
|
|
25703
25729
|
};
|
|
25704
|
-
tabCount += 1;
|
|
25705
25730
|
});
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
}
|
|
25709
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('a', buttons).forEach(a => {
|
|
25710
|
-
a.style.width = (100 / tabCount).toFixed(10) + '%';
|
|
25731
|
+
Object.values(nameToTab).forEach(({ button }) => {
|
|
25732
|
+
button.container.style.width = (100 / tabs.length).toFixed(10) + '%';
|
|
25711
25733
|
});
|
|
25712
25734
|
const tab = !state || !state.activeTab || !nameToTab[state.activeTab]
|
|
25713
25735
|
? firstTab
|
|
@@ -25741,9 +25763,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25741
25763
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25742
25764
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25743
25765
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
25744
|
-
/* harmony import */ var
|
|
25745
|
-
/* harmony import */ var
|
|
25746
|
-
/* harmony import */ var
|
|
25766
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
25767
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(46891);
|
|
25768
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
25747
25769
|
/*!
|
|
25748
25770
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25749
25771
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25757,7 +25779,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25757
25779
|
|
|
25758
25780
|
|
|
25759
25781
|
|
|
25760
|
-
|
|
25782
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
25761
25783
|
exec: (editor) => {
|
|
25762
25784
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
25763
25785
|
dialog
|
|
@@ -25793,7 +25815,7 @@ function about(editor) {
|
|
|
25793
25815
|
});
|
|
25794
25816
|
}
|
|
25795
25817
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
25796
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
25818
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
25797
25819
|
|
|
25798
25820
|
|
|
25799
25821
|
/***/ }),
|
|
@@ -26036,9 +26058,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
26036
26058
|
|
|
26037
26059
|
"use strict";
|
|
26038
26060
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
26039
|
-
/* harmony import */ var
|
|
26040
|
-
/* harmony import */ var
|
|
26041
|
-
/* harmony import */ var
|
|
26061
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
26062
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3882);
|
|
26063
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
26042
26064
|
/*!
|
|
26043
26065
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26044
26066
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26047,9 +26069,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
26047
26069
|
|
|
26048
26070
|
|
|
26049
26071
|
|
|
26050
|
-
|
|
26051
|
-
|
|
26052
|
-
|
|
26072
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
26073
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
26074
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
26053
26075
|
'table',
|
|
26054
26076
|
'iframe',
|
|
26055
26077
|
'img',
|
|
@@ -26057,8 +26079,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
26057
26079
|
'pre',
|
|
26058
26080
|
'jodit'
|
|
26059
26081
|
];
|
|
26060
|
-
|
|
26061
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
26082
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
26083
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26062
26084
|
|
|
26063
26085
|
|
|
26064
26086
|
/***/ }),
|
|
@@ -26197,11 +26219,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
26197
26219
|
|
|
26198
26220
|
"use strict";
|
|
26199
26221
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
26200
|
-
/* harmony import */ var
|
|
26201
|
-
/* harmony import */ var
|
|
26202
|
-
/* harmony import */ var
|
|
26203
|
-
/* harmony import */ var
|
|
26204
|
-
/* harmony import */ var
|
|
26222
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
26223
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15627);
|
|
26224
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
26225
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41500);
|
|
26226
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
26205
26227
|
/*!
|
|
26206
26228
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26207
26229
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26242,10 +26264,10 @@ const aiAssistantDefaults = {
|
|
|
26242
26264
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
26243
26265
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
26244
26266
|
};
|
|
26245
|
-
|
|
26246
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
26247
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
26248
|
-
|
|
26267
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
26268
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
26269
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26270
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
26249
26271
|
isDisabled(editor) {
|
|
26250
26272
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26251
26273
|
},
|
|
@@ -26283,7 +26305,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
26283
26305
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
26284
26306
|
}
|
|
26285
26307
|
};
|
|
26286
|
-
|
|
26308
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
26287
26309
|
isDisabled(editor) {
|
|
26288
26310
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26289
26311
|
},
|
|
@@ -26922,6 +26944,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26922
26944
|
}
|
|
26923
26945
|
if ((_a = sibling.nodeValue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
26924
26946
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26947
|
+
if (!sibling.nodeValue.length &&
|
|
26948
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26949
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26950
|
+
}
|
|
26925
26951
|
}
|
|
26926
26952
|
if (!((_b = sibling.nodeValue) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
26927
26953
|
removeNeighbor = sibling;
|
|
@@ -27476,20 +27502,20 @@ function getMoveFilter(jodit) {
|
|
|
27476
27502
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51431);
|
|
27477
27503
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
27478
27504
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
27479
|
-
/* harmony import */ var
|
|
27480
|
-
/* harmony import */ var
|
|
27481
|
-
/* harmony import */ var
|
|
27482
|
-
/* harmony import */ var
|
|
27483
|
-
/* harmony import */ var
|
|
27484
|
-
/* harmony import */ var
|
|
27485
|
-
/* harmony import */ var
|
|
27486
|
-
/* harmony import */ var
|
|
27487
|
-
/* harmony import */ var
|
|
27488
|
-
/* harmony import */ var
|
|
27489
|
-
/* harmony import */ var
|
|
27490
|
-
/* harmony import */ var
|
|
27491
|
-
/* harmony import */ var
|
|
27492
|
-
/* harmony import */ var
|
|
27505
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
27506
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94673);
|
|
27507
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39586);
|
|
27508
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27509
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49463);
|
|
27510
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27511
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(10292);
|
|
27512
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
27513
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71718);
|
|
27514
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
27515
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48397);
|
|
27516
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
27517
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(46781);
|
|
27518
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
27493
27519
|
/*!
|
|
27494
27520
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27495
27521
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27512,7 +27538,7 @@ function getMoveFilter(jodit) {
|
|
|
27512
27538
|
*/
|
|
27513
27539
|
function bold(editor) {
|
|
27514
27540
|
const callBack = (command) => {
|
|
27515
|
-
const control =
|
|
27541
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
27516
27542
|
...control.css
|
|
27517
27543
|
};
|
|
27518
27544
|
let cssRules;
|
|
@@ -27566,12 +27592,12 @@ function bold(editor) {
|
|
|
27566
27592
|
});
|
|
27567
27593
|
}
|
|
27568
27594
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
27569
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
27570
|
-
.set('italic', (
|
|
27571
|
-
.set('strikethrough', (
|
|
27572
|
-
.set('subscript', (
|
|
27573
|
-
.set('superscript', (
|
|
27574
|
-
.set('underline', (
|
|
27595
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
27596
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
27597
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
27598
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
27599
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
27600
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
27575
27601
|
|
|
27576
27602
|
|
|
27577
27603
|
/***/ }),
|
|
@@ -27641,9 +27667,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27641
27667
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94183);
|
|
27642
27668
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65564);
|
|
27643
27669
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
27644
|
-
/* harmony import */ var
|
|
27645
|
-
/* harmony import */ var
|
|
27646
|
-
/* harmony import */ var
|
|
27670
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
27671
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14835);
|
|
27672
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27647
27673
|
/*!
|
|
27648
27674
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27649
27675
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27656,7 +27682,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27656
27682
|
|
|
27657
27683
|
|
|
27658
27684
|
|
|
27659
|
-
|
|
27685
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
27660
27686
|
command: 'applyClassName',
|
|
27661
27687
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
27662
27688
|
list: [
|
|
@@ -27744,7 +27770,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
27744
27770
|
beforeDestruct() { }
|
|
27745
27771
|
}
|
|
27746
27772
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
27747
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
27773
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
27748
27774
|
|
|
27749
27775
|
|
|
27750
27776
|
/***/ }),
|
|
@@ -27883,9 +27909,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27883
27909
|
|
|
27884
27910
|
"use strict";
|
|
27885
27911
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
27886
|
-
/* harmony import */ var
|
|
27887
|
-
/* harmony import */ var
|
|
27888
|
-
/* harmony import */ var
|
|
27912
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
27913
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(556);
|
|
27914
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27889
27915
|
/*!
|
|
27890
27916
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27891
27917
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27894,7 +27920,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27894
27920
|
|
|
27895
27921
|
|
|
27896
27922
|
|
|
27897
|
-
|
|
27923
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27898
27924
|
timeout: 300,
|
|
27899
27925
|
removeEmptyElements: true,
|
|
27900
27926
|
fillEmptyParagraph: true,
|
|
@@ -27910,11 +27936,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27910
27936
|
safeJavaScriptLink: true,
|
|
27911
27937
|
disableCleanFilter: null
|
|
27912
27938
|
};
|
|
27913
|
-
|
|
27939
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27914
27940
|
command: 'removeFormat',
|
|
27915
27941
|
tooltip: 'Clear Formatting'
|
|
27916
27942
|
};
|
|
27917
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27943
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27918
27944
|
|
|
27919
27945
|
|
|
27920
27946
|
/***/ }),
|
|
@@ -28583,15 +28609,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28583
28609
|
|
|
28584
28610
|
"use strict";
|
|
28585
28611
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
28586
|
-
/* harmony import */ var
|
|
28587
|
-
/* harmony import */ var
|
|
28588
|
-
/* harmony import */ var
|
|
28589
|
-
/* harmony import */ var
|
|
28590
|
-
/* harmony import */ var
|
|
28591
|
-
/* harmony import */ var
|
|
28592
|
-
/* harmony import */ var
|
|
28593
|
-
/* harmony import */ var
|
|
28594
|
-
/* harmony import */ var
|
|
28612
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
28613
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65);
|
|
28614
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
28615
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4594);
|
|
28616
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
28617
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63859);
|
|
28618
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28619
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38808);
|
|
28620
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28595
28621
|
/*!
|
|
28596
28622
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28597
28623
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28603,25 +28629,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28603
28629
|
|
|
28604
28630
|
|
|
28605
28631
|
|
|
28606
|
-
|
|
28632
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
28607
28633
|
command: 'cut',
|
|
28608
28634
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28609
28635
|
tooltip: 'Cut selection'
|
|
28610
28636
|
};
|
|
28611
|
-
|
|
28637
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
28612
28638
|
command: 'copy',
|
|
28613
28639
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28614
28640
|
tooltip: 'Copy selection'
|
|
28615
28641
|
};
|
|
28616
|
-
|
|
28642
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
28617
28643
|
icon: 'select-all',
|
|
28618
28644
|
command: 'selectall',
|
|
28619
28645
|
tooltip: 'Select all'
|
|
28620
28646
|
};
|
|
28621
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
28622
|
-
.set('cut', (
|
|
28623
|
-
.set('paste', (
|
|
28624
|
-
.set('select-all', (
|
|
28647
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
28648
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
28649
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
28650
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28625
28651
|
|
|
28626
28652
|
|
|
28627
28653
|
/***/ }),
|
|
@@ -28693,10 +28719,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28693
28719
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
28694
28720
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
28695
28721
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28696
|
-
/* harmony import */ var
|
|
28697
|
-
/* harmony import */ var
|
|
28698
|
-
/* harmony import */ var
|
|
28699
|
-
/* harmony import */ var
|
|
28722
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28723
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21391);
|
|
28724
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(55370);
|
|
28725
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28700
28726
|
/*!
|
|
28701
28727
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28702
28728
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28708,8 +28734,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28708
28734
|
|
|
28709
28735
|
|
|
28710
28736
|
|
|
28711
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
28712
|
-
|
|
28737
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28738
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
28713
28739
|
isVisible: (editor) => {
|
|
28714
28740
|
return !editor.o.disablePlugins.includes('color');
|
|
28715
28741
|
},
|
|
@@ -28722,7 +28748,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28722
28748
|
if (!selected.length) {
|
|
28723
28749
|
return false;
|
|
28724
28750
|
}
|
|
28725
|
-
const makeColorPicker = (key) => (0,
|
|
28751
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28726
28752
|
selected.forEach(cell => {
|
|
28727
28753
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
28728
28754
|
});
|
|
@@ -28731,7 +28757,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28731
28757
|
close();
|
|
28732
28758
|
editor.unlock();
|
|
28733
28759
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
28734
|
-
return (0,
|
|
28760
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
28735
28761
|
{
|
|
28736
28762
|
name: 'Background',
|
|
28737
28763
|
content: makeColorPicker('background-color')
|
|
@@ -28742,7 +28768,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28742
28768
|
},
|
|
28743
28769
|
tooltip: 'Background'
|
|
28744
28770
|
};
|
|
28745
|
-
|
|
28771
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
28746
28772
|
isVisible: (editor) => {
|
|
28747
28773
|
return !editor.o.disablePlugins.includes('color');
|
|
28748
28774
|
},
|
|
@@ -28790,7 +28816,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28790
28816
|
}
|
|
28791
28817
|
}, editor.editor);
|
|
28792
28818
|
}
|
|
28793
|
-
const backgroundTag = (0,
|
|
28819
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28794
28820
|
if (!currentElement) {
|
|
28795
28821
|
editor.execCommand('background', false, value);
|
|
28796
28822
|
}
|
|
@@ -28801,7 +28827,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28801
28827
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
28802
28828
|
close();
|
|
28803
28829
|
}, bg_color);
|
|
28804
|
-
const colorTab = (0,
|
|
28830
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28805
28831
|
if (!currentElement) {
|
|
28806
28832
|
editor.execCommand('forecolor', false, value);
|
|
28807
28833
|
}
|
|
@@ -28825,7 +28851,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28825
28851
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
28826
28852
|
tabs = tabs.reverse();
|
|
28827
28853
|
}
|
|
28828
|
-
return (0,
|
|
28854
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
28829
28855
|
},
|
|
28830
28856
|
exec(jodit, current, { button }) {
|
|
28831
28857
|
const mode = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode'), color = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color');
|
|
@@ -28864,10 +28890,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28864
28890
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
28865
28891
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
28866
28892
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28867
|
-
/* harmony import */ var
|
|
28868
|
-
/* harmony import */ var
|
|
28869
|
-
/* harmony import */ var
|
|
28870
|
-
/* harmony import */ var
|
|
28893
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28894
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72131);
|
|
28895
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28896
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18489);
|
|
28871
28897
|
/*!
|
|
28872
28898
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28873
28899
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28925,7 +28951,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28925
28951
|
}
|
|
28926
28952
|
return result;
|
|
28927
28953
|
};
|
|
28928
|
-
|
|
28954
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28929
28955
|
exec: (editor, current, { button }) => {
|
|
28930
28956
|
if (!current) {
|
|
28931
28957
|
return;
|
|
@@ -28975,10 +29001,10 @@ function copyFormat(editor) {
|
|
|
28975
29001
|
name: 'copyformat',
|
|
28976
29002
|
group: 'clipboard'
|
|
28977
29003
|
});
|
|
28978
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
29004
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28979
29005
|
}
|
|
28980
29006
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28981
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
29007
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28982
29008
|
|
|
28983
29009
|
|
|
28984
29010
|
/***/ }),
|
|
@@ -30788,8 +30814,8 @@ function wrapText(fake, jodit) {
|
|
|
30788
30814
|
/* unused harmony export file */
|
|
30789
30815
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
30790
30816
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
30791
|
-
/* harmony import */ var
|
|
30792
|
-
/* harmony import */ var
|
|
30817
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30818
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21391);
|
|
30793
30819
|
/*!
|
|
30794
30820
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30795
30821
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30799,7 +30825,7 @@ function wrapText(fake, jodit) {
|
|
|
30799
30825
|
|
|
30800
30826
|
|
|
30801
30827
|
|
|
30802
|
-
|
|
30828
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
30803
30829
|
popup: (editor, current, close) => {
|
|
30804
30830
|
const insert = (url, title = '') => {
|
|
30805
30831
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -30812,7 +30838,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
30812
30838
|
? current
|
|
30813
30839
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
30814
30840
|
}
|
|
30815
|
-
return (0,
|
|
30841
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
30816
30842
|
filebrowser: (data) => {
|
|
30817
30843
|
data.files &&
|
|
30818
30844
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30935,11 +30961,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30935
30961
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22718);
|
|
30936
30962
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
30937
30963
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
30938
|
-
/* harmony import */ var
|
|
30939
|
-
/* harmony import */ var
|
|
30940
|
-
/* harmony import */ var
|
|
30941
|
-
/* harmony import */ var
|
|
30942
|
-
/* harmony import */ var
|
|
30964
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
30965
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78602);
|
|
30966
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30967
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84413);
|
|
30968
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30943
30969
|
/*!
|
|
30944
30970
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30945
30971
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30955,9 +30981,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30955
30981
|
/**
|
|
30956
30982
|
* Default font-size points
|
|
30957
30983
|
*/
|
|
30958
|
-
|
|
30959
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30960
|
-
|
|
30984
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30985
|
+
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()));
|
|
30986
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30961
30987
|
command: 'fontsize',
|
|
30962
30988
|
data: {
|
|
30963
30989
|
cssRule: 'font-size',
|
|
@@ -31016,8 +31042,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
31016
31042
|
return keySet.has(normalize(value.toString()));
|
|
31017
31043
|
}
|
|
31018
31044
|
};
|
|
31019
|
-
|
|
31020
|
-
...
|
|
31045
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
31046
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
31021
31047
|
command: 'fontname',
|
|
31022
31048
|
textTemplate: (j, value) => {
|
|
31023
31049
|
const [first] = value.split(',');
|
|
@@ -31127,11 +31153,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31127
31153
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31128
31154
|
|
|
31129
31155
|
"use strict";
|
|
31130
|
-
/* harmony import */ var
|
|
31156
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
31157
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
31131
31158
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31132
|
-
/* harmony import */ var
|
|
31133
|
-
/* harmony import */ var
|
|
31134
|
-
/* harmony import */ var
|
|
31159
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31160
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30820);
|
|
31161
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31135
31162
|
/*!
|
|
31136
31163
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31137
31164
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31141,13 +31168,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31141
31168
|
|
|
31142
31169
|
|
|
31143
31170
|
|
|
31144
|
-
|
|
31145
|
-
|
|
31171
|
+
|
|
31172
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
31173
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
31146
31174
|
command: 'formatBlock',
|
|
31147
31175
|
value(editor, button) {
|
|
31148
31176
|
var _a, _b;
|
|
31149
31177
|
const control = button.control, current = editor.s.current();
|
|
31150
|
-
const currentBox =
|
|
31178
|
+
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
31151
31179
|
return (_a = currentBox === null || currentBox === void 0 ? void 0 : currentBox.nodeName.toLowerCase()) !== null && _a !== void 0 ? _a : (_b = control.data) === null || _b === void 0 ? void 0 : _b.currentValue;
|
|
31152
31180
|
},
|
|
31153
31181
|
update(editor, button) {
|
|
@@ -31156,7 +31184,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31156
31184
|
return false;
|
|
31157
31185
|
}
|
|
31158
31186
|
const currentValue = button.state.value, list = control.list;
|
|
31159
|
-
if (list && list[currentValue.toString()]) {
|
|
31187
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
31160
31188
|
if (editor.o.textIcons) {
|
|
31161
31189
|
button.state.text = list[currentValue.toString()].toString();
|
|
31162
31190
|
}
|
|
@@ -31180,9 +31208,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31180
31208
|
return Boolean(button.state.value === ((_b = (_a = button.control) === null || _a === void 0 ? void 0 : _a.args) === null || _b === void 0 ? void 0 : _b[0]));
|
|
31181
31209
|
},
|
|
31182
31210
|
isActive: (editor, button) => {
|
|
31183
|
-
var _a;
|
|
31184
31211
|
return (button.state.value !== editor.o.enter &&
|
|
31185
|
-
|
|
31212
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
31213
|
+
Boolean(button.control.list[button.state.value]));
|
|
31186
31214
|
},
|
|
31187
31215
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
31188
31216
|
tooltip: 'Insert format block'
|
|
@@ -31232,11 +31260,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31232
31260
|
"use strict";
|
|
31233
31261
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
31234
31262
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31235
|
-
/* harmony import */ var
|
|
31236
|
-
/* harmony import */ var
|
|
31237
|
-
/* harmony import */ var
|
|
31238
|
-
/* harmony import */ var
|
|
31239
|
-
/* harmony import */ var
|
|
31263
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31264
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(88708);
|
|
31265
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31266
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10099);
|
|
31267
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31240
31268
|
/*!
|
|
31241
31269
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31242
31270
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31248,10 +31276,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31248
31276
|
|
|
31249
31277
|
|
|
31250
31278
|
|
|
31251
|
-
|
|
31252
|
-
|
|
31253
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
31254
|
-
|
|
31279
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
31280
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
31281
|
+
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()));
|
|
31282
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
31255
31283
|
exec: (editor) => {
|
|
31256
31284
|
editor.toggleFullSize();
|
|
31257
31285
|
},
|
|
@@ -31392,19 +31420,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
31392
31420
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31393
31421
|
*/
|
|
31394
31422
|
|
|
31395
|
-
/**
|
|
31396
|
-
* You can redefine hotkeys for some command
|
|
31397
|
-
*
|
|
31398
|
-
* @example
|
|
31399
|
-
* ```js
|
|
31400
|
-
* var jodit = Jodit.make('#editor', {
|
|
31401
|
-
* commandToHotkeys: {
|
|
31402
|
-
* bold: 'ctrl+shift+b',
|
|
31403
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
31404
|
-
* }
|
|
31405
|
-
* })
|
|
31406
|
-
* ```
|
|
31407
|
-
*/
|
|
31408
31423
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
31409
31424
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
31410
31425
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -31579,9 +31594,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31579
31594
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
31580
31595
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
31581
31596
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
31582
|
-
/* harmony import */ var
|
|
31583
|
-
/* harmony import */ var
|
|
31584
|
-
/* harmony import */ var
|
|
31597
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
31598
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(75241);
|
|
31599
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31585
31600
|
/*!
|
|
31586
31601
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31587
31602
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31592,8 +31607,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31592
31607
|
|
|
31593
31608
|
|
|
31594
31609
|
|
|
31595
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
31596
|
-
|
|
31610
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
31611
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
31597
31612
|
command: 'insertHorizontalRule',
|
|
31598
31613
|
tags: ['hr'],
|
|
31599
31614
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -32072,6 +32087,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
32072
32087
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32073
32088
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32074
32089
|
*/
|
|
32090
|
+
/**
|
|
32091
|
+
* @module plugins/image-properties
|
|
32092
|
+
*/
|
|
32075
32093
|
|
|
32076
32094
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
32077
32095
|
dialogWidth: 600,
|
|
@@ -33573,10 +33591,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33573
33591
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
33574
33592
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
33575
33593
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
33576
|
-
/* harmony import */ var
|
|
33577
|
-
/* harmony import */ var
|
|
33578
|
-
/* harmony import */ var
|
|
33579
|
-
/* harmony import */ var
|
|
33594
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
33595
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
33596
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15807);
|
|
33597
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33580
33598
|
/*!
|
|
33581
33599
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33582
33600
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33589,8 +33607,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33589
33607
|
|
|
33590
33608
|
|
|
33591
33609
|
|
|
33592
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
33593
|
-
|
|
33610
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33611
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
33594
33612
|
popup: (editor, current, close) => {
|
|
33595
33613
|
let sourceImage = null;
|
|
33596
33614
|
if (current &&
|
|
@@ -33602,7 +33620,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
33602
33620
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
33603
33621
|
}
|
|
33604
33622
|
editor.s.save();
|
|
33605
|
-
return (0,
|
|
33623
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
33606
33624
|
filebrowser: (data) => {
|
|
33607
33625
|
editor.s.restore();
|
|
33608
33626
|
data.files &&
|
|
@@ -33645,12 +33663,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33645
33663
|
"use strict";
|
|
33646
33664
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
33647
33665
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
33648
|
-
/* harmony import */ var
|
|
33649
|
-
/* harmony import */ var
|
|
33650
|
-
/* harmony import */ var
|
|
33651
|
-
/* harmony import */ var
|
|
33652
|
-
/* harmony import */ var
|
|
33653
|
-
/* harmony import */ var
|
|
33666
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
33667
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96168);
|
|
33668
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
33669
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(45153);
|
|
33670
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33671
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(63163);
|
|
33654
33672
|
/*!
|
|
33655
33673
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33656
33674
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33662,17 +33680,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33662
33680
|
|
|
33663
33681
|
|
|
33664
33682
|
|
|
33665
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
33666
|
-
|
|
33683
|
+
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()));
|
|
33684
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
33667
33685
|
tooltip: 'Increase Indent'
|
|
33668
33686
|
};
|
|
33669
|
-
|
|
33687
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
33670
33688
|
isDisabled: (editor) => {
|
|
33671
33689
|
const current = editor.s.current();
|
|
33672
33690
|
if (current) {
|
|
33673
33691
|
const currentBox = jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
33674
33692
|
if (currentBox) {
|
|
33675
|
-
const arrow = (0,
|
|
33693
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
33676
33694
|
return (!currentBox.style[arrow] ||
|
|
33677
33695
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
33678
33696
|
}
|
|
@@ -33681,7 +33699,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
33681
33699
|
},
|
|
33682
33700
|
tooltip: 'Decrease Indent'
|
|
33683
33701
|
};
|
|
33684
|
-
|
|
33702
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
33685
33703
|
|
|
33686
33704
|
|
|
33687
33705
|
/***/ }),
|
|
@@ -33942,12 +33960,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33942
33960
|
|
|
33943
33961
|
"use strict";
|
|
33944
33962
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
33945
|
-
/* harmony import */ var
|
|
33946
|
-
/* harmony import */ var
|
|
33947
|
-
/* harmony import */ var
|
|
33948
|
-
/* harmony import */ var
|
|
33963
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
33964
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73625);
|
|
33965
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69247);
|
|
33966
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84516);
|
|
33967
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(79073);
|
|
33949
33968
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(3301);
|
|
33950
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
33951
33969
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48537);
|
|
33952
33970
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33953
33971
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1629);
|
|
@@ -33981,10 +33999,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33981
33999
|
|
|
33982
34000
|
|
|
33983
34001
|
|
|
33984
|
-
|
|
33985
|
-
|
|
33986
|
-
|
|
33987
|
-
|
|
34002
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
34003
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
34004
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
34005
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33988
34006
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33989
34007
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33990
34008
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33992,14 +34010,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33992
34010
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33993
34011
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33994
34012
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33995
|
-
|
|
33996
|
-
a:
|
|
33997
|
-
img:
|
|
33998
|
-
cells:
|
|
34013
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
34014
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
34015
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
34016
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33999
34017
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
34000
|
-
jodit:
|
|
34001
|
-
iframe:
|
|
34002
|
-
'jodit-media':
|
|
34018
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
34019
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
34020
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
34003
34021
|
selection: [
|
|
34004
34022
|
'bold',
|
|
34005
34023
|
'underline',
|
|
@@ -34611,12 +34629,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34611
34629
|
/* unused harmony export justify */
|
|
34612
34630
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
34613
34631
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
34614
|
-
/* harmony import */ var
|
|
34615
|
-
/* harmony import */ var
|
|
34616
|
-
/* harmony import */ var
|
|
34617
|
-
/* harmony import */ var
|
|
34618
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34632
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
34633
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26071);
|
|
34634
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4401);
|
|
34635
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
34619
34636
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
34637
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77795);
|
|
34638
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
34620
34639
|
/*!
|
|
34621
34640
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34622
34641
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34629,7 +34648,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34629
34648
|
|
|
34630
34649
|
|
|
34631
34650
|
|
|
34632
|
-
|
|
34651
|
+
|
|
34652
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
34633
34653
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
34634
34654
|
name: 'left',
|
|
34635
34655
|
tooltip: 'Align',
|
|
@@ -34638,22 +34658,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34638
34658
|
if (current) {
|
|
34639
34659
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
34640
34660
|
editor.editor;
|
|
34641
|
-
let currentValue = (0,
|
|
34661
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
34642
34662
|
if (control.defaultValue &&
|
|
34643
34663
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
34644
34664
|
currentValue = 'left';
|
|
34645
34665
|
}
|
|
34646
|
-
|
|
34647
|
-
|
|
34648
|
-
|
|
34649
|
-
|
|
34666
|
+
const { list, data } = control;
|
|
34667
|
+
if (data &&
|
|
34668
|
+
data.currentValue !== currentValue &&
|
|
34669
|
+
list &&
|
|
34670
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
34671
|
+
? list[currentValue]
|
|
34672
|
+
: list.includes(currentValue))) {
|
|
34650
34673
|
if (editor.o.textIcons || control.component === 'select') {
|
|
34651
34674
|
button.state.text = currentValue;
|
|
34652
34675
|
}
|
|
34653
34676
|
else {
|
|
34654
34677
|
button.state.icon.name = currentValue;
|
|
34655
34678
|
}
|
|
34656
|
-
|
|
34679
|
+
data.currentValue = currentValue;
|
|
34657
34680
|
}
|
|
34658
34681
|
}
|
|
34659
34682
|
},
|
|
@@ -34664,7 +34687,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34664
34687
|
}
|
|
34665
34688
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
34666
34689
|
editor.editor;
|
|
34667
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
34690
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
34668
34691
|
},
|
|
34669
34692
|
defaultValue: ['left', 'start', 'inherit'],
|
|
34670
34693
|
data: {
|
|
@@ -34718,7 +34741,7 @@ function justify(editor) {
|
|
|
34718
34741
|
if (!currentBox) {
|
|
34719
34742
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
34720
34743
|
}
|
|
34721
|
-
(0,
|
|
34744
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
34722
34745
|
});
|
|
34723
34746
|
return false;
|
|
34724
34747
|
};
|
|
@@ -34930,9 +34953,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34930
34953
|
"use strict";
|
|
34931
34954
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9596);
|
|
34932
34955
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
34933
|
-
/* harmony import */ var
|
|
34934
|
-
/* harmony import */ var
|
|
34935
|
-
/* harmony import */ var
|
|
34956
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
34957
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19615);
|
|
34958
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34936
34959
|
/*!
|
|
34937
34960
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34938
34961
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34942,9 +34965,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34942
34965
|
|
|
34943
34966
|
|
|
34944
34967
|
|
|
34945
|
-
|
|
34946
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34947
|
-
|
|
34968
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34969
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34970
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34948
34971
|
command: 'applyLineHeight',
|
|
34949
34972
|
tags: ['ol'],
|
|
34950
34973
|
tooltip: 'Line height',
|
|
@@ -35509,12 +35532,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35509
35532
|
"use strict";
|
|
35510
35533
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
35511
35534
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
35512
|
-
/* harmony import */ var
|
|
35513
|
-
/* harmony import */ var
|
|
35514
|
-
/* harmony import */ var
|
|
35515
|
-
/* harmony import */ var
|
|
35516
|
-
/* harmony import */ var
|
|
35517
|
-
/* harmony import */ var
|
|
35535
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
35536
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67576);
|
|
35537
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35538
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73501);
|
|
35539
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35540
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17660);
|
|
35518
35541
|
/*!
|
|
35519
35542
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35520
35543
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35526,8 +35549,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35526
35549
|
|
|
35527
35550
|
|
|
35528
35551
|
|
|
35529
|
-
|
|
35530
|
-
formTemplate:
|
|
35552
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
35553
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
35531
35554
|
followOnDblClick: false,
|
|
35532
35555
|
processVideoLink: true,
|
|
35533
35556
|
processPastedLink: true,
|
|
@@ -35539,8 +35562,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
35539
35562
|
selectOptionsClassName: [],
|
|
35540
35563
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
35541
35564
|
};
|
|
35542
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
35543
|
-
|
|
35565
|
+
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()));
|
|
35566
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
35544
35567
|
exec: (editor, current) => {
|
|
35545
35568
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
35546
35569
|
if (anchor) {
|
|
@@ -35551,7 +35574,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
35551
35574
|
},
|
|
35552
35575
|
tooltip: 'Unlink'
|
|
35553
35576
|
};
|
|
35554
|
-
|
|
35577
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
35555
35578
|
isActive: (editor) => {
|
|
35556
35579
|
const current = editor.s.current();
|
|
35557
35580
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -36096,9 +36119,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
36096
36119
|
"use strict";
|
|
36097
36120
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
36098
36121
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
36099
|
-
/* harmony import */ var
|
|
36100
|
-
/* harmony import */ var
|
|
36101
|
-
/* harmony import */ var
|
|
36122
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36123
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78167);
|
|
36124
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78072);
|
|
36102
36125
|
/*!
|
|
36103
36126
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36104
36127
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36109,9 +36132,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
36109
36132
|
|
|
36110
36133
|
|
|
36111
36134
|
|
|
36112
|
-
|
|
36113
|
-
|
|
36114
|
-
|
|
36135
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
36136
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
36137
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
36115
36138
|
{
|
|
36116
36139
|
group: 'font-style',
|
|
36117
36140
|
buttons: []
|
|
@@ -36158,7 +36181,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
36158
36181
|
'|',
|
|
36159
36182
|
'dots'
|
|
36160
36183
|
];
|
|
36161
|
-
|
|
36184
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
36162
36185
|
{
|
|
36163
36186
|
group: 'font-style',
|
|
36164
36187
|
buttons: []
|
|
@@ -36193,7 +36216,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
36193
36216
|
'|',
|
|
36194
36217
|
'dots'
|
|
36195
36218
|
];
|
|
36196
|
-
|
|
36219
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
36197
36220
|
{
|
|
36198
36221
|
group: 'font-style',
|
|
36199
36222
|
buttons: []
|
|
@@ -36214,17 +36237,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
36214
36237
|
'---',
|
|
36215
36238
|
'dots'
|
|
36216
36239
|
];
|
|
36217
|
-
|
|
36240
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
36218
36241
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
36219
36242
|
popup: (editor, current, close, button) => {
|
|
36220
36243
|
let store = button.control.data;
|
|
36221
36244
|
if (store === undefined) {
|
|
36222
36245
|
store = {
|
|
36223
|
-
toolbar: (0,
|
|
36246
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
36224
36247
|
rebuild: () => {
|
|
36225
36248
|
var _a, _b;
|
|
36226
36249
|
if (button) {
|
|
36227
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
36250
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
36228
36251
|
if (buttons && store) {
|
|
36229
36252
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
36230
36253
|
const w = ((_b = (_a = editor.toolbar) === null || _a === void 0 ? void 0 : _a.firstButton) === null || _b === void 0 ? void 0 : _b.container.offsetWidth) || 36;
|
|
@@ -36333,11 +36356,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
36333
36356
|
"use strict";
|
|
36334
36357
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49382);
|
|
36335
36358
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
36336
|
-
/* harmony import */ var
|
|
36337
|
-
/* harmony import */ var
|
|
36338
|
-
/* harmony import */ var
|
|
36339
|
-
/* harmony import */ var
|
|
36340
|
-
/* harmony import */ var
|
|
36359
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36360
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48421);
|
|
36361
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
36362
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22791);
|
|
36363
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
36341
36364
|
/*!
|
|
36342
36365
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36343
36366
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36355,8 +36378,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
36355
36378
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
36356
36379
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
36357
36380
|
};
|
|
36358
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
36359
|
-
|
|
36381
|
+
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()));
|
|
36382
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
36360
36383
|
command: 'insertUnorderedList',
|
|
36361
36384
|
tags: ['ul'],
|
|
36362
36385
|
tooltip: 'Insert Unordered List',
|
|
@@ -36368,7 +36391,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
36368
36391
|
},
|
|
36369
36392
|
exec: memoExec
|
|
36370
36393
|
};
|
|
36371
|
-
|
|
36394
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
36372
36395
|
command: 'insertOrderedList',
|
|
36373
36396
|
tags: ['ol'],
|
|
36374
36397
|
tooltip: 'Insert Ordered List',
|
|
@@ -36745,8 +36768,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36745
36768
|
|
|
36746
36769
|
"use strict";
|
|
36747
36770
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
36748
|
-
/* harmony import */ var
|
|
36749
|
-
/* harmony import */ var
|
|
36771
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
36772
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48954);
|
|
36750
36773
|
/*!
|
|
36751
36774
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36752
36775
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36755,19 +36778,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36755
36778
|
|
|
36756
36779
|
|
|
36757
36780
|
|
|
36758
|
-
|
|
36759
|
-
|
|
36760
|
-
|
|
36761
|
-
|
|
36762
|
-
|
|
36781
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
36782
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
36783
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
36784
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
36785
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
36763
36786
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
36764
36787
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
36765
36788
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
36766
36789
|
];
|
|
36767
|
-
|
|
36768
|
-
|
|
36790
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
36791
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
36769
36792
|
const psKey = 'pasteStorage';
|
|
36770
|
-
|
|
36793
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
36771
36794
|
tooltip: 'Paste from clipboard',
|
|
36772
36795
|
async exec(editor, _, { control }) {
|
|
36773
36796
|
if (control.name === psKey) {
|
|
@@ -36815,7 +36838,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
36815
36838
|
!error && editor.e.fire('afterPaste');
|
|
36816
36839
|
}
|
|
36817
36840
|
else if (text.length) {
|
|
36818
|
-
(0,
|
|
36841
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
36819
36842
|
editor.e.fire('afterPaste');
|
|
36820
36843
|
}
|
|
36821
36844
|
else {
|
|
@@ -37543,10 +37566,10 @@ function generateCriticalCSS(jodit) {
|
|
|
37543
37566
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54614);
|
|
37544
37567
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85769);
|
|
37545
37568
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
37546
|
-
/* harmony import */ var
|
|
37547
|
-
/* harmony import */ var
|
|
37548
|
-
/* harmony import */ var
|
|
37549
|
-
/* harmony import */ var
|
|
37569
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
37570
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(86134);
|
|
37571
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26899);
|
|
37572
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
37550
37573
|
/*!
|
|
37551
37574
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37552
37575
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37561,8 +37584,8 @@ function generateCriticalCSS(jodit) {
|
|
|
37561
37584
|
|
|
37562
37585
|
|
|
37563
37586
|
|
|
37564
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
37565
|
-
|
|
37587
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
37588
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
37566
37589
|
exec: (editor) => {
|
|
37567
37590
|
const iframe = editor.create.element('iframe');
|
|
37568
37591
|
Object.assign(iframe.style, {
|
|
@@ -37573,7 +37596,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37573
37596
|
height: 0,
|
|
37574
37597
|
border: 0
|
|
37575
37598
|
});
|
|
37576
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
37599
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
37577
37600
|
const afterFinishPrint = () => {
|
|
37578
37601
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
37579
37602
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -37591,7 +37614,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37591
37614
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
37592
37615
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
37593
37616
|
'"><head><title></title></head><style>' +
|
|
37594
|
-
(0,
|
|
37617
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
37595
37618
|
'</style><body></body></html>');
|
|
37596
37619
|
myWindow.document.close();
|
|
37597
37620
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -37629,11 +37652,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37629
37652
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
37630
37653
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
37631
37654
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
37632
|
-
/* harmony import */ var
|
|
37633
|
-
/* harmony import */ var
|
|
37634
|
-
/* harmony import */ var
|
|
37635
|
-
/* harmony import */ var
|
|
37636
|
-
/* harmony import */ var
|
|
37655
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
37656
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(37629);
|
|
37657
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
37658
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42687);
|
|
37659
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
37637
37660
|
/*!
|
|
37638
37661
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37639
37662
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37646,13 +37669,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37646
37669
|
|
|
37647
37670
|
|
|
37648
37671
|
|
|
37649
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
37650
|
-
|
|
37672
|
+
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()));
|
|
37673
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
37651
37674
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37652
37675
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
37653
37676
|
tooltip: 'Redo'
|
|
37654
37677
|
};
|
|
37655
|
-
|
|
37678
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
37656
37679
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37657
37680
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
37658
37681
|
tooltip: 'Undo'
|
|
@@ -38671,9 +38694,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38671
38694
|
|
|
38672
38695
|
"use strict";
|
|
38673
38696
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
38674
|
-
/* harmony import */ var
|
|
38675
|
-
/* harmony import */ var
|
|
38676
|
-
/* harmony import */ var
|
|
38697
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
38698
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98973);
|
|
38699
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
38677
38700
|
/*!
|
|
38678
38701
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38679
38702
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38683,14 +38706,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38683
38706
|
|
|
38684
38707
|
|
|
38685
38708
|
|
|
38686
|
-
|
|
38687
|
-
|
|
38709
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
38710
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
38688
38711
|
lazyIdleTimeout: 0,
|
|
38689
38712
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
38690
38713
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
38691
38714
|
};
|
|
38692
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
38693
|
-
|
|
38715
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
38716
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
38694
38717
|
tooltip: 'Find',
|
|
38695
38718
|
icon: 'search',
|
|
38696
38719
|
exec(jodit, _, { control }) {
|
|
@@ -40308,9 +40331,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40308
40331
|
"use strict";
|
|
40309
40332
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
40310
40333
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
40311
|
-
/* harmony import */ var
|
|
40312
|
-
/* harmony import */ var
|
|
40313
|
-
/* harmony import */ var
|
|
40334
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
40335
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58671);
|
|
40336
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
40314
40337
|
/*!
|
|
40315
40338
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40316
40339
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40320,9 +40343,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40320
40343
|
|
|
40321
40344
|
|
|
40322
40345
|
|
|
40323
|
-
|
|
40324
|
-
|
|
40325
|
-
|
|
40346
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
40347
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
40348
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
40326
40349
|
/**
|
|
40327
40350
|
* Show gutter
|
|
40328
40351
|
*/
|
|
@@ -40344,15 +40367,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
40344
40367
|
*/
|
|
40345
40368
|
highlightActiveLine: true
|
|
40346
40369
|
};
|
|
40347
|
-
|
|
40370
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
40348
40371
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
40349
40372
|
];
|
|
40350
|
-
|
|
40373
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
40351
40374
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
40352
40375
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
40353
40376
|
];
|
|
40354
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
40355
|
-
|
|
40377
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
40378
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
40356
40379
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
40357
40380
|
exec: (editor) => {
|
|
40358
40381
|
editor.toggleMode();
|
|
@@ -41162,9 +41185,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41162
41185
|
|
|
41163
41186
|
"use strict";
|
|
41164
41187
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41165
|
-
/* harmony import */ var
|
|
41166
|
-
/* harmony import */ var
|
|
41167
|
-
/* harmony import */ var
|
|
41188
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41189
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80709);
|
|
41190
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41168
41191
|
/*!
|
|
41169
41192
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41170
41193
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41173,13 +41196,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41173
41196
|
|
|
41174
41197
|
|
|
41175
41198
|
|
|
41176
|
-
|
|
41177
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
41178
|
-
|
|
41199
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
41200
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41201
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
41179
41202
|
isActive(e) {
|
|
41180
41203
|
return e.o.spellcheck;
|
|
41181
41204
|
},
|
|
41182
|
-
icon: (
|
|
41205
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
41183
41206
|
name: 'spellcheck',
|
|
41184
41207
|
command: 'toggleSpellcheck',
|
|
41185
41208
|
tooltip: 'Spellcheck'
|
|
@@ -41954,9 +41977,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41954
41977
|
|
|
41955
41978
|
"use strict";
|
|
41956
41979
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41957
|
-
/* harmony import */ var
|
|
41958
|
-
/* harmony import */ var
|
|
41959
|
-
/* harmony import */ var
|
|
41980
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41981
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3283);
|
|
41982
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41960
41983
|
/*!
|
|
41961
41984
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41962
41985
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41965,8 +41988,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41965
41988
|
|
|
41966
41989
|
|
|
41967
41990
|
|
|
41968
|
-
|
|
41969
|
-
|
|
41991
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41992
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41970
41993
|
'!',
|
|
41971
41994
|
'"',
|
|
41972
41995
|
'#',
|
|
@@ -42178,8 +42201,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
42178
42201
|
'♦',
|
|
42179
42202
|
'≈'
|
|
42180
42203
|
];
|
|
42181
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
42182
|
-
|
|
42204
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
42205
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
42183
42206
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
42184
42207
|
tooltip: 'Insert Special Character',
|
|
42185
42208
|
popup: (editor, current, close) => {
|
|
@@ -43168,9 +43191,9 @@ function findCell(editor, key) {
|
|
|
43168
43191
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
43169
43192
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71122);
|
|
43170
43193
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43171
|
-
/* harmony import */ var
|
|
43172
|
-
/* harmony import */ var
|
|
43173
|
-
/* harmony import */ var
|
|
43194
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43195
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35863);
|
|
43196
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
43174
43197
|
/*!
|
|
43175
43198
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43176
43199
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43182,12 +43205,12 @@ function findCell(editor, key) {
|
|
|
43182
43205
|
|
|
43183
43206
|
|
|
43184
43207
|
|
|
43185
|
-
|
|
43208
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
43186
43209
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
43187
43210
|
useExtraClassesOptions: false
|
|
43188
43211
|
};
|
|
43189
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
43190
|
-
|
|
43212
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
43213
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
43191
43214
|
data: {
|
|
43192
43215
|
cols: 10,
|
|
43193
43216
|
rows: 10,
|
|
@@ -43354,10 +43377,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43354
43377
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64962);
|
|
43355
43378
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18716);
|
|
43356
43379
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43357
|
-
/* harmony import */ var
|
|
43358
|
-
/* harmony import */ var
|
|
43359
|
-
/* harmony import */ var
|
|
43360
|
-
/* harmony import */ var
|
|
43380
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43381
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
43382
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(46035);
|
|
43383
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
43361
43384
|
/*!
|
|
43362
43385
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43363
43386
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43370,8 +43393,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43370
43393
|
|
|
43371
43394
|
|
|
43372
43395
|
|
|
43373
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
43374
|
-
|
|
43396
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
43397
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
43375
43398
|
popup: (editor, current, close) => {
|
|
43376
43399
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
43377
43400
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -43418,7 +43441,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
43418
43441
|
formCode.onSubmit(data => {
|
|
43419
43442
|
insertCode(data.code);
|
|
43420
43443
|
});
|
|
43421
|
-
return (0,
|
|
43444
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
43422
43445
|
},
|
|
43423
43446
|
tags: ['iframe'],
|
|
43424
43447
|
tooltip: 'Insert youtube/vimeo video'
|
|
@@ -44054,9 +44077,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44054
44077
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
44055
44078
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65564);
|
|
44056
44079
|
/* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34138);
|
|
44057
|
-
/* harmony import */ var
|
|
44058
|
-
/* harmony import */ var
|
|
44059
|
-
/* harmony import */ var
|
|
44080
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
44081
|
+
/* harmony import */ var _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75700);
|
|
44082
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56418);
|
|
44060
44083
|
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25511);
|
|
44061
44084
|
/*!
|
|
44062
44085
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -44074,7 +44097,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44074
44097
|
|
|
44075
44098
|
|
|
44076
44099
|
|
|
44077
|
-
|
|
44100
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.autocomplete = {
|
|
44078
44101
|
sources: [],
|
|
44079
44102
|
maxItems: 50,
|
|
44080
44103
|
isMatchedQuery: (query, value) => value.toLowerCase().indexOf(query.toLowerCase()) === 0,
|
|
@@ -44092,7 +44115,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44092
44115
|
afterInit(jodit) {
|
|
44093
44116
|
this.popup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__/* .Popup */ .z(jodit);
|
|
44094
44117
|
this.popup.setMod('padding', false);
|
|
44095
|
-
this.list = new
|
|
44118
|
+
this.list = new _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__/* .Autocomplete */ .j(jodit);
|
|
44096
44119
|
this.popup.setContent(this.list.container);
|
|
44097
44120
|
jodit.e
|
|
44098
44121
|
.on('select.autocomplete', (item) => {
|
|
@@ -44103,7 +44126,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44103
44126
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isNode(insertValue)) {
|
|
44104
44127
|
insertValue = jodit.createInside.fromHTML(insertValue);
|
|
44105
44128
|
}
|
|
44106
|
-
(0,
|
|
44129
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .replaceTextLeftOfCursorAfterSpace */ .s)(jodit.s.range, insertValue);
|
|
44107
44130
|
this.j.s.setCursorAfter(insertValue);
|
|
44108
44131
|
this.j.synchronizeValues();
|
|
44109
44132
|
this.popup.close();
|
|
@@ -44140,7 +44163,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44140
44163
|
const range = ((_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.rangeCount)
|
|
44141
44164
|
? (_b = this.j.s.sel) === null || _b === void 0 ? void 0 : _b.getRangeAt(0)
|
|
44142
44165
|
: null;
|
|
44143
|
-
const query = range && (0,
|
|
44166
|
+
const query = range && (0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .getTextLeftOfCursor */ .I)(range).split(' ').pop();
|
|
44144
44167
|
if (query && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(query).length) {
|
|
44145
44168
|
const result = await this.onAutoComplete(query);
|
|
44146
44169
|
if (result.length) {
|