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/es2015/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.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 = "es2015";
|
|
2449
2449
|
const IS_ES_MODERN = true;
|
|
@@ -8007,6 +8007,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
8007
8007
|
}
|
|
8008
8008
|
const script = jodit.c.element('script', {
|
|
8009
8009
|
type: 'text/javascript',
|
|
8010
|
+
crossorigin: 'anonymous',
|
|
8011
|
+
referrerpolicy: 'no-referrer',
|
|
8010
8012
|
async: true,
|
|
8011
8013
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_1__/* .completeUrl */ .X)(url)
|
|
8012
8014
|
});
|
|
@@ -8247,9 +8249,9 @@ const completeUrl = (url) => {
|
|
|
8247
8249
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
8248
8250
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
8249
8251
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74197);
|
|
8252
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(91288);
|
|
8250
8253
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20368);
|
|
8251
|
-
/* harmony import */ var
|
|
8252
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
8254
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94183);
|
|
8253
8255
|
/*!
|
|
8254
8256
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8255
8257
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -8297,7 +8299,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8297
8299
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
8298
8300
|
return options;
|
|
8299
8301
|
}
|
|
8300
|
-
const def =
|
|
8302
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
8301
8303
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
8302
8304
|
if (def.presets[options.preset] !== undefined) {
|
|
8303
8305
|
const preset = def.presets[options.preset];
|
|
@@ -8327,7 +8329,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
8327
8329
|
return newOpt;
|
|
8328
8330
|
}
|
|
8329
8331
|
function ConfigFlatten(obj) {
|
|
8330
|
-
return (0,
|
|
8332
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
8331
8333
|
app[key] = obj[key];
|
|
8332
8334
|
return app;
|
|
8333
8335
|
}, {});
|
|
@@ -10295,9 +10297,9 @@ Plugin.requires = [];
|
|
|
10295
10297
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33442);
|
|
10296
10298
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
10297
10299
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24839);
|
|
10298
|
-
/* harmony import */ var
|
|
10300
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
10301
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91596);
|
|
10299
10302
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(85349);
|
|
10300
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
10301
10303
|
/*!
|
|
10302
10304
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
10303
10305
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -10315,7 +10317,7 @@ class Ajax {
|
|
|
10315
10317
|
className() {
|
|
10316
10318
|
return 'Ajax';
|
|
10317
10319
|
}
|
|
10318
|
-
constructor(options, defaultAjaxOptions =
|
|
10320
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
10319
10321
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
10320
10322
|
this.__isFulfilled = false;
|
|
10321
10323
|
this.__activated = false;
|
|
@@ -13678,6 +13680,7 @@ class Mods {
|
|
|
13678
13680
|
const UIButtonState = () => ({
|
|
13679
13681
|
size: 'middle',
|
|
13680
13682
|
type: 'button',
|
|
13683
|
+
role: 'button',
|
|
13681
13684
|
name: '',
|
|
13682
13685
|
value: '',
|
|
13683
13686
|
variant: 'initial',
|
|
@@ -13726,6 +13729,9 @@ let UIButton = class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MO
|
|
|
13726
13729
|
onChangeType() {
|
|
13727
13730
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(this.container, 'type', this.state.type);
|
|
13728
13731
|
}
|
|
13732
|
+
onChangeRole() {
|
|
13733
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_3__.attr)(this.container, 'role', this.state.role);
|
|
13734
|
+
}
|
|
13729
13735
|
/**
|
|
13730
13736
|
* Set size from a parent list
|
|
13731
13737
|
*/
|
|
@@ -13855,6 +13861,9 @@ let UIButton = class UIButton extends jodit_core_ui_element__WEBPACK_IMPORTED_MO
|
|
|
13855
13861
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13856
13862
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.type', { immediately: false })
|
|
13857
13863
|
], UIButton.prototype, "onChangeType", null);
|
|
13864
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13865
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('state.role', { immediately: false })
|
|
13866
|
+
], UIButton.prototype, "onChangeRole", null);
|
|
13858
13867
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
13859
13868
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)('parentElement')
|
|
13860
13869
|
], UIButton.prototype, "updateSize", null);
|
|
@@ -14066,6 +14075,19 @@ var UITooltip_1;
|
|
|
14066
14075
|
|
|
14067
14076
|
|
|
14068
14077
|
|
|
14078
|
+
const WINDOW_EVENTS_ON_HIDE = [
|
|
14079
|
+
'scroll.tooltip',
|
|
14080
|
+
'joditCloseDialog',
|
|
14081
|
+
'mouseleave.tooltip'
|
|
14082
|
+
];
|
|
14083
|
+
const JODIT_EVENTS_ON_HIDE = [
|
|
14084
|
+
'escape.tooltip',
|
|
14085
|
+
'change.tooltip',
|
|
14086
|
+
'changePlace.tooltip',
|
|
14087
|
+
'afterOpenPopup.tooltip',
|
|
14088
|
+
'hidePopup.tooltip',
|
|
14089
|
+
'closeAllPopups.tooltip'
|
|
14090
|
+
];
|
|
14069
14091
|
let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_5__/* .UIElement */ .D {
|
|
14070
14092
|
className() {
|
|
14071
14093
|
return 'UITooltip';
|
|
@@ -14084,7 +14106,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14084
14106
|
view.o.showTooltip &&
|
|
14085
14107
|
!view.o.useNativeTooltip) {
|
|
14086
14108
|
view.hookStatus(jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.ready, () => {
|
|
14087
|
-
// TODO Move it inside
|
|
14109
|
+
// TODO Move it inside __show method. Now it is here because testcase failed with capturing
|
|
14088
14110
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(this.j, UITooltip_1).appendChild(this.container);
|
|
14089
14111
|
view.e.on(view.container, 'mouseenter.tooltip', this.__onMouseEnter, {
|
|
14090
14112
|
capture: true
|
|
@@ -14092,44 +14114,28 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14092
14114
|
});
|
|
14093
14115
|
}
|
|
14094
14116
|
}
|
|
14095
|
-
|
|
14117
|
+
__addListenersOnEnter() {
|
|
14096
14118
|
if (this.__listenClose) {
|
|
14097
14119
|
return;
|
|
14098
14120
|
}
|
|
14099
14121
|
this.__listenClose = true;
|
|
14100
14122
|
const view = this.j;
|
|
14101
14123
|
view.e
|
|
14102
|
-
.on(view.ow,
|
|
14103
|
-
.on(
|
|
14104
|
-
.on(view.container, 'mouseleave.tooltip', this.
|
|
14105
|
-
.on([
|
|
14106
|
-
'escape.tooltip',
|
|
14107
|
-
'change.tooltip',
|
|
14108
|
-
'changePlace.tooltip',
|
|
14109
|
-
'afterOpenPopup.tooltip',
|
|
14110
|
-
'hidePopup.tooltip',
|
|
14111
|
-
'closeAllPopups.tooltip'
|
|
14112
|
-
], this.__hide)
|
|
14113
|
-
.on(view.container, 'mouseleave', this.__onMouseLeave, {
|
|
14124
|
+
.on(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14125
|
+
.on(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14126
|
+
.on(view.container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14114
14127
|
capture: true
|
|
14115
14128
|
});
|
|
14116
14129
|
}
|
|
14117
|
-
|
|
14130
|
+
__removeListenersOnLeave() {
|
|
14118
14131
|
if (!this.__listenClose) {
|
|
14119
14132
|
return;
|
|
14120
14133
|
}
|
|
14121
14134
|
this.__listenClose = false;
|
|
14122
14135
|
const view = this.j;
|
|
14123
14136
|
view.e
|
|
14124
|
-
.off(view.ow,
|
|
14125
|
-
.off(
|
|
14126
|
-
'escape.tooltip',
|
|
14127
|
-
'change.tooltip',
|
|
14128
|
-
'changePlace.tooltip',
|
|
14129
|
-
'afterOpenPopup.tooltip',
|
|
14130
|
-
'hidePopup.tooltip',
|
|
14131
|
-
'closeAllPopups.tooltip'
|
|
14132
|
-
], this.__hide)
|
|
14137
|
+
.off(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14138
|
+
.off(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14133
14139
|
.off(view.container, 'mouseleave.tooltip', this.__onMouseLeave);
|
|
14134
14140
|
}
|
|
14135
14141
|
__onMouseLeave(e) {
|
|
@@ -14155,29 +14161,30 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14155
14161
|
return;
|
|
14156
14162
|
}
|
|
14157
14163
|
this.__currentTarget = e.target;
|
|
14158
|
-
const
|
|
14159
|
-
this.
|
|
14160
|
-
|
|
14161
|
-
|
|
14162
|
-
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14166
|
-
|
|
14164
|
+
const target = e.target;
|
|
14165
|
+
this.__open(() => {
|
|
14166
|
+
const pos = (0,jodit_core_helpers_size_position__WEBPACK_IMPORTED_MODULE_6__/* .position */ .G)(target);
|
|
14167
|
+
return {
|
|
14168
|
+
x: pos.left + pos.width / 2,
|
|
14169
|
+
y: pos.top + pos.height
|
|
14170
|
+
};
|
|
14171
|
+
}, tooltip);
|
|
14172
|
+
}
|
|
14173
|
+
__open(getPoint, content) {
|
|
14174
|
+
this.__addListenersOnEnter();
|
|
14175
|
+
this.__isOpened = true;
|
|
14167
14176
|
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14168
14177
|
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14169
|
-
|
|
14170
|
-
|
|
14171
|
-
|
|
14172
|
-
|
|
14178
|
+
const to = this.j.o.showTooltipDelay || this.j.defaultTimeout;
|
|
14179
|
+
if (!to) {
|
|
14180
|
+
this.__show(getPoint, content);
|
|
14181
|
+
return;
|
|
14182
|
+
}
|
|
14183
|
+
this.__delayShowTimeout = this.j.async.setTimeout(() => this.__show(getPoint, content), to);
|
|
14173
14184
|
}
|
|
14174
|
-
|
|
14185
|
+
__show(getPoint, content) {
|
|
14175
14186
|
this.setMod('visible', true);
|
|
14176
14187
|
this.getElm('content').innerHTML = content;
|
|
14177
|
-
this.__isOpened = true;
|
|
14178
|
-
this.__setPosition(getPoint);
|
|
14179
|
-
}
|
|
14180
|
-
__setPosition(getPoint) {
|
|
14181
14188
|
const point = getPoint();
|
|
14182
14189
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.css)(this.container, {
|
|
14183
14190
|
left: point.x,
|
|
@@ -14187,24 +14194,26 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14187
14194
|
__hide() {
|
|
14188
14195
|
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14189
14196
|
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14190
|
-
this.
|
|
14197
|
+
this.__removeListenersOnLeave();
|
|
14191
14198
|
if (this.__isOpened) {
|
|
14192
14199
|
this.__isOpened = false;
|
|
14193
14200
|
this.setMod('visible', false);
|
|
14201
|
+
this.getElm('content').innerHTML = '';
|
|
14194
14202
|
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_4__.css)(this.container, {
|
|
14195
14203
|
left: -5000
|
|
14196
14204
|
});
|
|
14197
14205
|
}
|
|
14198
14206
|
}
|
|
14199
14207
|
__hideDelay() {
|
|
14208
|
+
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14209
|
+
this.j.async.clearTimeout(this.__hideTimeout);
|
|
14200
14210
|
if (!this.__isOpened) {
|
|
14201
14211
|
return;
|
|
14202
14212
|
}
|
|
14203
|
-
this.j.async.clearTimeout(this.__delayShowTimeout);
|
|
14204
14213
|
this.__hideTimeout = this.async.setTimeout(this.__hide, this.j.defaultTimeout);
|
|
14205
14214
|
}
|
|
14206
14215
|
destruct() {
|
|
14207
|
-
this.j.e.off(this.j.container, 'mouseenter', this.__onMouseEnter);
|
|
14216
|
+
this.j.e.off(this.j.container, 'mouseenter.tooltip', this.__onMouseEnter);
|
|
14208
14217
|
this.__hide();
|
|
14209
14218
|
super.destruct();
|
|
14210
14219
|
}
|
|
@@ -15727,7 +15736,6 @@ function getControlType(button, controls) {
|
|
|
15727
15736
|
* @private
|
|
15728
15737
|
*/
|
|
15729
15738
|
function findControlType(path, controls) {
|
|
15730
|
-
var _a;
|
|
15731
15739
|
// eslint-disable-next-line prefer-const
|
|
15732
15740
|
let [namespaceOrKey, key] = path.split(/\./);
|
|
15733
15741
|
let store = controls;
|
|
@@ -15739,14 +15747,22 @@ function findControlType(path, controls) {
|
|
|
15739
15747
|
else {
|
|
15740
15748
|
key = namespaceOrKey;
|
|
15741
15749
|
}
|
|
15742
|
-
const list =
|
|
15750
|
+
// const list = store[key]?.list;
|
|
15743
15751
|
return store[key]
|
|
15744
|
-
? Object.assign(
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
15748
|
-
|
|
15749
|
-
|
|
15752
|
+
? Object.assign({ name: key }, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15753
|
+
// list: isArray(list)
|
|
15754
|
+
// ? (<Array<string>>list).reduce(
|
|
15755
|
+
// (
|
|
15756
|
+
// acc: IDictionary<string | number>,
|
|
15757
|
+
// k: string | number
|
|
15758
|
+
// ) => {
|
|
15759
|
+
// acc[String(k)] = k;
|
|
15760
|
+
// return acc;
|
|
15761
|
+
// },
|
|
15762
|
+
// {}
|
|
15763
|
+
// )
|
|
15764
|
+
// : list
|
|
15765
|
+
) : undefined;
|
|
15750
15766
|
}
|
|
15751
15767
|
|
|
15752
15768
|
|
|
@@ -15761,8 +15777,8 @@ function findControlType(path, controls) {
|
|
|
15761
15777
|
/* harmony export */ });
|
|
15762
15778
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55010);
|
|
15763
15779
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71122);
|
|
15764
|
-
/* harmony import */ var
|
|
15765
|
-
/* harmony import */ var
|
|
15780
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
15781
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68600);
|
|
15766
15782
|
/*!
|
|
15767
15783
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15768
15784
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15782,7 +15798,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15782
15798
|
const value = items[key] || {};
|
|
15783
15799
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15784
15800
|
});
|
|
15785
|
-
return elements.map(item => (0,
|
|
15801
|
+
return elements.map(item => (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls));
|
|
15786
15802
|
}
|
|
15787
15803
|
|
|
15788
15804
|
|
|
@@ -16967,8 +16983,8 @@ class CommitMode {
|
|
|
16967
16983
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
16968
16984
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49604);
|
|
16969
16985
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28190);
|
|
16970
|
-
/* harmony import */ var
|
|
16971
|
-
/* harmony import */ var
|
|
16986
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
16987
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(35102);
|
|
16972
16988
|
/*!
|
|
16973
16989
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16974
16990
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16987,7 +17003,7 @@ var Jodit_1;
|
|
|
16987
17003
|
|
|
16988
17004
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16989
17005
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16990
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
17006
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16991
17007
|
/** @override */
|
|
16992
17008
|
className() {
|
|
16993
17009
|
return 'Jodit';
|
|
@@ -17034,7 +17050,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17034
17050
|
get defaultTimeout() {
|
|
17035
17051
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
17036
17052
|
? this.o.defaultTimeout
|
|
17037
|
-
:
|
|
17053
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
17038
17054
|
}
|
|
17039
17055
|
/**
|
|
17040
17056
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -17060,10 +17076,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17060
17076
|
* Default settings
|
|
17061
17077
|
*/
|
|
17062
17078
|
static get defaultOptions() {
|
|
17063
|
-
return
|
|
17079
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
17064
17080
|
}
|
|
17065
17081
|
get createInside() {
|
|
17066
|
-
return new
|
|
17082
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
17067
17083
|
}
|
|
17068
17084
|
__setPlaceField(field, value) {
|
|
17069
17085
|
if (!this.currentPlace) {
|
|
@@ -17611,8 +17627,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17611
17627
|
const active = this.od.activeElement;
|
|
17612
17628
|
if (active &&
|
|
17613
17629
|
(active === this.iframe ||
|
|
17614
|
-
|
|
17615
|
-
|
|
17630
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
17631
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
17616
17632
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
17617
17633
|
}
|
|
17618
17634
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -17764,7 +17780,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17764
17780
|
}
|
|
17765
17781
|
/** @override **/
|
|
17766
17782
|
initOptions(options) {
|
|
17767
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17783
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
17768
17784
|
}
|
|
17769
17785
|
/** @override **/
|
|
17770
17786
|
initOwners() {
|
|
@@ -17809,7 +17825,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17809
17825
|
this.destruct();
|
|
17810
17826
|
throw e;
|
|
17811
17827
|
}
|
|
17812
|
-
this.setStatus(
|
|
17828
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17813
17829
|
this.id =
|
|
17814
17830
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.resolveElement)(element, this.o.shadowRoot || this.od), 'id') ||
|
|
17815
17831
|
new Date().getTime().toString();
|
|
@@ -17821,7 +17837,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17821
17837
|
}
|
|
17822
17838
|
});
|
|
17823
17839
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17824
|
-
this.selection = new
|
|
17840
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17825
17841
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17826
17842
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17827
17843
|
if (this.isInDestruct) {
|
|
@@ -17845,7 +17861,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17845
17861
|
this.e.fire('afterInit', this);
|
|
17846
17862
|
}
|
|
17847
17863
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17848
|
-
this.setStatus(
|
|
17864
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17849
17865
|
this.e.fire('afterConstructor', this);
|
|
17850
17866
|
};
|
|
17851
17867
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17861,7 +17877,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17861
17877
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17862
17878
|
const name = attr.name;
|
|
17863
17879
|
let value = attr.value;
|
|
17864
|
-
if (
|
|
17880
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17865
17881
|
(!options || options[name] === undefined)) {
|
|
17866
17882
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17867
17883
|
value = value === '' || value === 'true';
|
|
@@ -17929,11 +17945,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17929
17945
|
element,
|
|
17930
17946
|
container,
|
|
17931
17947
|
workplace,
|
|
17932
|
-
statusbar: new
|
|
17948
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17933
17949
|
options: this.isReady
|
|
17934
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17950
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17935
17951
|
: this.options,
|
|
17936
|
-
history: new
|
|
17952
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17937
17953
|
editorWindow: this.ow
|
|
17938
17954
|
};
|
|
17939
17955
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -18024,7 +18040,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18024
18040
|
return;
|
|
18025
18041
|
}
|
|
18026
18042
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
18027
|
-
|
|
18043
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
18028
18044
|
}
|
|
18029
18045
|
addClassNames(this.o.editorClassName, this.editor);
|
|
18030
18046
|
if (this.o.style) {
|
|
@@ -18111,7 +18127,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18111
18127
|
if (this.isInDestruct) {
|
|
18112
18128
|
return;
|
|
18113
18129
|
}
|
|
18114
|
-
this.setStatus(
|
|
18130
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
18115
18131
|
this.__elementToPlace.clear();
|
|
18116
18132
|
this.storage.clear();
|
|
18117
18133
|
this.buffer.clear();
|
|
@@ -18152,17 +18168,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
18152
18168
|
this.e.off(container);
|
|
18153
18169
|
this.e.off(element);
|
|
18154
18170
|
this.e.off(editor);
|
|
18155
|
-
|
|
18156
|
-
|
|
18171
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
18172
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
18157
18173
|
if (container !== element) {
|
|
18158
|
-
|
|
18174
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
18159
18175
|
}
|
|
18160
18176
|
Object.defineProperty(element, 'component', {
|
|
18161
18177
|
enumerable: false,
|
|
18162
18178
|
configurable: true,
|
|
18163
18179
|
value: null
|
|
18164
18180
|
});
|
|
18165
|
-
|
|
18181
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
18166
18182
|
// inline mode
|
|
18167
18183
|
if (container === element) {
|
|
18168
18184
|
element.innerHTML = buffer;
|
|
@@ -18184,7 +18200,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
18184
18200
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
18185
18201
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
18186
18202
|
Jodit.core = {
|
|
18187
|
-
Plugin:
|
|
18203
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
18188
18204
|
};
|
|
18189
18205
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
18190
18206
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -20455,16 +20471,16 @@ function loadTree(fb) {
|
|
|
20455
20471
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(47672);
|
|
20456
20472
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28190);
|
|
20457
20473
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12148);
|
|
20458
|
-
/* harmony import */ var
|
|
20474
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(91288);
|
|
20475
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83148);
|
|
20459
20476
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21310);
|
|
20460
|
-
/* harmony import */ var
|
|
20461
|
-
/* harmony import */ var
|
|
20462
|
-
/* harmony import */ var
|
|
20463
|
-
/* harmony import */ var
|
|
20464
|
-
/* harmony import */ var
|
|
20465
|
-
/* harmony import */ var
|
|
20466
|
-
/* harmony import */ var
|
|
20467
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(91288);
|
|
20477
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(64164);
|
|
20478
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50067);
|
|
20479
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(25430);
|
|
20480
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34255);
|
|
20481
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(18714);
|
|
20482
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(24538);
|
|
20483
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(96243);
|
|
20468
20484
|
/*!
|
|
20469
20485
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20470
20486
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20498,7 +20514,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20498
20514
|
return 'FileBrowser';
|
|
20499
20515
|
}
|
|
20500
20516
|
get dataProvider() {
|
|
20501
|
-
return (0,
|
|
20517
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
20502
20518
|
}
|
|
20503
20519
|
// eslint-disable-next-line no-unused-vars
|
|
20504
20520
|
onSelect(callback) {
|
|
@@ -20614,7 +20630,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20614
20630
|
this.__updateToolbarButtons();
|
|
20615
20631
|
this._dialog.open(this.browser, header);
|
|
20616
20632
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
20617
|
-
(0,
|
|
20633
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
20618
20634
|
.then(resolve, reject)
|
|
20619
20635
|
.finally(() => {
|
|
20620
20636
|
var _a;
|
|
@@ -20651,7 +20667,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20651
20667
|
}
|
|
20652
20668
|
initUploader(editor) {
|
|
20653
20669
|
var _a;
|
|
20654
|
-
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20670
|
+
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
20655
20671
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
20656
20672
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
20657
20673
|
self.uploader
|
|
@@ -20671,11 +20687,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20671
20687
|
super(options);
|
|
20672
20688
|
this.browser = this.c.div(this.componentName);
|
|
20673
20689
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
20674
|
-
this.tree = new
|
|
20675
|
-
this.files = new
|
|
20690
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
20691
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
20676
20692
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
20677
20693
|
currentPath: '',
|
|
20678
|
-
currentSource:
|
|
20694
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
20679
20695
|
currentBaseUrl: '',
|
|
20680
20696
|
activeElements: [],
|
|
20681
20697
|
elements: [],
|
|
@@ -20705,7 +20721,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20705
20721
|
this.__prevButtons = [];
|
|
20706
20722
|
this.attachEvents(options);
|
|
20707
20723
|
const self = this;
|
|
20708
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
20724
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
20709
20725
|
self.browser.component = this;
|
|
20710
20726
|
self.container = self.browser;
|
|
20711
20727
|
if (self.o.showFoldersPanel) {
|
|
@@ -20713,9 +20729,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
20713
20729
|
}
|
|
20714
20730
|
self.browser.appendChild(self.files.container);
|
|
20715
20731
|
self.browser.appendChild(self.status_line);
|
|
20716
|
-
|
|
20717
|
-
|
|
20718
|
-
|
|
20732
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
20733
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
20734
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
20719
20735
|
const keys = [
|
|
20720
20736
|
'getLocalFileByUrl',
|
|
20721
20737
|
'crop',
|
|
@@ -21387,10 +21403,10 @@ class Command {
|
|
|
21387
21403
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
21388
21404
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
21389
21405
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53557);
|
|
21406
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
21390
21407
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22180);
|
|
21391
|
-
/* harmony import */ var
|
|
21408
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(801);
|
|
21392
21409
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(98189);
|
|
21393
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
21394
21410
|
/*!
|
|
21395
21411
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21396
21412
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21403,7 +21419,7 @@ class Command {
|
|
|
21403
21419
|
|
|
21404
21420
|
|
|
21405
21421
|
|
|
21406
|
-
|
|
21422
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
21407
21423
|
enable: true,
|
|
21408
21424
|
maxHistoryLength: Infinity,
|
|
21409
21425
|
timeout: 1000
|
|
@@ -21454,7 +21470,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21454
21470
|
set startValue(value) {
|
|
21455
21471
|
this.__startValue = value;
|
|
21456
21472
|
}
|
|
21457
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
21473
|
+
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F(editor)) {
|
|
21458
21474
|
super(editor);
|
|
21459
21475
|
this.updateTick = 0;
|
|
21460
21476
|
this.__stack = stack;
|
|
@@ -21517,7 +21533,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
21517
21533
|
*/
|
|
21518
21534
|
updateStack(replace = false) {
|
|
21519
21535
|
const newValue = this.snapshot.make();
|
|
21520
|
-
if (!
|
|
21536
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
21521
21537
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
21522
21538
|
if (replace) {
|
|
21523
21539
|
const command = this.__stack.current();
|
|
@@ -21851,11 +21867,11 @@ class Stack {
|
|
|
21851
21867
|
|
|
21852
21868
|
"use strict";
|
|
21853
21869
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
21854
|
-
/* harmony import */ var
|
|
21855
|
-
/* harmony import */ var
|
|
21856
|
-
/* harmony import */ var
|
|
21857
|
-
/* harmony import */ var
|
|
21858
|
-
/* harmony import */ var
|
|
21870
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
21871
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(83904);
|
|
21872
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21873
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15582);
|
|
21874
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21859
21875
|
/*!
|
|
21860
21876
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21861
21877
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21865,7 +21881,7 @@ class Stack {
|
|
|
21865
21881
|
|
|
21866
21882
|
|
|
21867
21883
|
|
|
21868
|
-
|
|
21884
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21869
21885
|
min_width: 20,
|
|
21870
21886
|
min_height: 20,
|
|
21871
21887
|
closeAfterSave: false,
|
|
@@ -21880,7 +21896,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21880
21896
|
cropDefaultWidth: '70%',
|
|
21881
21897
|
cropDefaultHeight: '70%'
|
|
21882
21898
|
};
|
|
21883
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21899
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('resize', (_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
21884
21900
|
|
|
21885
21901
|
|
|
21886
21902
|
/***/ }),
|
|
@@ -21899,9 +21915,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21899
21915
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(33465);
|
|
21900
21916
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
21901
21917
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(64962);
|
|
21902
|
-
/* harmony import */ var
|
|
21903
|
-
/* harmony import */ var
|
|
21904
|
-
/* harmony import */ var
|
|
21918
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
21919
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15546);
|
|
21920
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(73898);
|
|
21905
21921
|
/*!
|
|
21906
21922
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21907
21923
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22361,7 +22377,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22361
22377
|
this.options =
|
|
22362
22378
|
editor && editor.o && editor.o.imageeditor
|
|
22363
22379
|
? editor.o.imageeditor
|
|
22364
|
-
:
|
|
22380
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
22365
22381
|
const o = this.options;
|
|
22366
22382
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
22367
22383
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -22371,7 +22387,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
22371
22387
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
22372
22388
|
};
|
|
22373
22389
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
22374
|
-
this.editor = (0,
|
|
22390
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
22375
22391
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
22376
22392
|
this.resize_box = resizeBox;
|
|
22377
22393
|
this.crop_box = cropBox;
|
|
@@ -23794,7 +23810,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23794
23810
|
}
|
|
23795
23811
|
createContainer() {
|
|
23796
23812
|
const cn = this.componentName;
|
|
23797
|
-
const container = this.j.c.span(cn)
|
|
23813
|
+
const container = this.j.c.span(cn);
|
|
23814
|
+
const button = super.createContainer();
|
|
23798
23815
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23799
23816
|
button.classList.remove(cn);
|
|
23800
23817
|
button.classList.add(cn + '__button');
|
|
@@ -24176,8 +24193,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24176
24193
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24177
24194
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
24178
24195
|
/* harmony export */ });
|
|
24179
|
-
/* harmony import */ var
|
|
24196
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
24180
24197
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53557);
|
|
24198
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47903);
|
|
24181
24199
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26986);
|
|
24182
24200
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72463);
|
|
24183
24201
|
/*!
|
|
@@ -24190,6 +24208,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
24190
24208
|
|
|
24191
24209
|
|
|
24192
24210
|
|
|
24211
|
+
|
|
24193
24212
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
24194
24213
|
className() {
|
|
24195
24214
|
return 'ToolbarSelect';
|
|
@@ -24208,13 +24227,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
24208
24227
|
const keys = Object.keys(list);
|
|
24209
24228
|
key = keys[0];
|
|
24210
24229
|
}
|
|
24211
|
-
const text = (list[key.toString()] || key).toString();
|
|
24230
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
24212
24231
|
this.state.text =
|
|
24213
24232
|
(_c = (_b = (_a = this.control).textTemplate) === null || _b === void 0 ? void 0 : _b.call(_a, this.jodit, text)) !== null && _c !== void 0 ? _c : text;
|
|
24214
24233
|
}
|
|
24215
24234
|
}
|
|
24216
24235
|
};
|
|
24217
|
-
ToolbarSelect = (0,
|
|
24236
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24218
24237
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
24219
24238
|
], ToolbarSelect);
|
|
24220
24239
|
|
|
@@ -24345,7 +24364,7 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24345
24364
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
24346
24365
|
], ToolbarCollection.prototype, "__immediateUpdate", null);
|
|
24347
24366
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24348
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)()
|
|
24367
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.debounce)(ctx => ctx.j.defaultTimeout, true)
|
|
24349
24368
|
], ToolbarCollection.prototype, "update", null);
|
|
24350
24369
|
(0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
24351
24370
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.hook)('ready')
|
|
@@ -25047,9 +25066,9 @@ function send(uploader, data) {
|
|
|
25047
25066
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
25048
25067
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67259);
|
|
25049
25068
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25050
|
-
/* harmony import */ var
|
|
25051
|
-
/* harmony import */ var
|
|
25052
|
-
/* harmony import */ var
|
|
25069
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
25070
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20431);
|
|
25071
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50999);
|
|
25053
25072
|
/*!
|
|
25054
25073
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25055
25074
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25121,14 +25140,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25121
25140
|
}
|
|
25122
25141
|
};
|
|
25123
25142
|
// send data on server
|
|
25124
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
25125
|
-
(0,
|
|
25143
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
25144
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25126
25145
|
return false;
|
|
25127
25146
|
}
|
|
25128
25147
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
25129
|
-
return (0,
|
|
25148
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
25130
25149
|
}
|
|
25131
|
-
if ((0,
|
|
25150
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
25132
25151
|
const { items } = cData;
|
|
25133
25152
|
for (i = 0; i < items.length; i += 1) {
|
|
25134
25153
|
if (items[i].kind === 'file' &&
|
|
@@ -25139,7 +25158,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25139
25158
|
extension = mime[1]
|
|
25140
25159
|
? mime[1].toLowerCase()
|
|
25141
25160
|
: '';
|
|
25142
|
-
(0,
|
|
25161
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
25143
25162
|
}
|
|
25144
25163
|
e.preventDefault();
|
|
25145
25164
|
break;
|
|
@@ -25162,30 +25181,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25162
25181
|
e.preventDefault();
|
|
25163
25182
|
})
|
|
25164
25183
|
.on(form, 'dragover', (event) => {
|
|
25165
|
-
if ((0,
|
|
25166
|
-
(0,
|
|
25184
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
25185
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
25167
25186
|
form.classList.add('jodit_drag_hover');
|
|
25168
25187
|
event.preventDefault();
|
|
25169
25188
|
}
|
|
25170
25189
|
})
|
|
25171
25190
|
.on(form, 'dragend dragleave', (event) => {
|
|
25172
25191
|
form.classList.remove('jodit_drag_hover');
|
|
25173
|
-
if ((0,
|
|
25192
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25174
25193
|
event.preventDefault();
|
|
25175
25194
|
}
|
|
25176
25195
|
})
|
|
25177
25196
|
.on(form, 'drop', (event) => {
|
|
25178
25197
|
form.classList.remove('jodit_drag_hover');
|
|
25179
|
-
if ((0,
|
|
25198
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
25180
25199
|
event.preventDefault();
|
|
25181
25200
|
event.stopImmediatePropagation();
|
|
25182
|
-
(0,
|
|
25201
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
25183
25202
|
}
|
|
25184
25203
|
});
|
|
25185
25204
|
const inputFile = form.querySelector('input[type=file]');
|
|
25186
25205
|
if (inputFile) {
|
|
25187
25206
|
self.j.e.on(inputFile, 'change', () => {
|
|
25188
|
-
(0,
|
|
25207
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
25189
25208
|
.then(() => {
|
|
25190
25209
|
inputFile.value = '';
|
|
25191
25210
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -25205,7 +25224,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25205
25224
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
25206
25225
|
? handlerError
|
|
25207
25226
|
: o.defaultHandlerError;
|
|
25208
|
-
(0,
|
|
25227
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
25209
25228
|
action: 'fileUploadRemote',
|
|
25210
25229
|
url
|
|
25211
25230
|
})
|
|
@@ -25225,11 +25244,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
25225
25244
|
super(editor);
|
|
25226
25245
|
this.path = '';
|
|
25227
25246
|
this.source = 'default';
|
|
25228
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
25247
|
+
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.uploader, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(editor) ? editor.o.uploader : {}));
|
|
25229
25248
|
}
|
|
25230
25249
|
destruct() {
|
|
25231
25250
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
25232
|
-
const instances =
|
|
25251
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
25233
25252
|
if (instances) {
|
|
25234
25253
|
instances.forEach(ajax => {
|
|
25235
25254
|
try {
|
|
@@ -25523,8 +25542,8 @@ function val(elm, selector, value) {
|
|
|
25523
25542
|
/* harmony export */ });
|
|
25524
25543
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(79834);
|
|
25525
25544
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23545);
|
|
25526
|
-
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25527
25545
|
/* harmony import */ var jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41959);
|
|
25546
|
+
/* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97099);
|
|
25528
25547
|
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76185);
|
|
25529
25548
|
/*!
|
|
25530
25549
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -25566,8 +25585,16 @@ function val(elm, selector, value) {
|
|
|
25566
25585
|
* ```
|
|
25567
25586
|
*/
|
|
25568
25587
|
const TabsWidget = (jodit, tabs, state) => {
|
|
25569
|
-
const box = jodit.c.div('jodit-tabs')
|
|
25570
|
-
|
|
25588
|
+
const box = jodit.c.div('jodit-tabs');
|
|
25589
|
+
const tabBox = jodit.c.div('jodit-tabs__wrapper');
|
|
25590
|
+
const buttons = jodit.c.div('jodit-tabs__buttons');
|
|
25591
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(buttons, {
|
|
25592
|
+
role: 'tablist',
|
|
25593
|
+
'aria-orientation': 'horizontal'
|
|
25594
|
+
});
|
|
25595
|
+
const nameToTab = {};
|
|
25596
|
+
const buttonList = [];
|
|
25597
|
+
let firstTab = '';
|
|
25571
25598
|
box.appendChild(buttons);
|
|
25572
25599
|
box.appendChild(tabBox);
|
|
25573
25600
|
const setActive = (tab) => {
|
|
@@ -25575,20 +25602,21 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25575
25602
|
return;
|
|
25576
25603
|
}
|
|
25577
25604
|
buttonList.forEach(b => {
|
|
25578
|
-
b.state.variant = 'initial';
|
|
25579
25605
|
b.state.activated = false;
|
|
25580
25606
|
});
|
|
25581
|
-
(
|
|
25582
|
-
a.classList.remove('jodit-tab_active');
|
|
25583
|
-
});
|
|
25584
|
-
nameToTab[tab].button.state.variant = 'outline';
|
|
25607
|
+
Object.values(nameToTab).forEach(({ tab }) => tab.classList.remove('jodit-tab_active'));
|
|
25585
25608
|
nameToTab[tab].button.state.activated = true;
|
|
25586
25609
|
nameToTab[tab].tab.classList.add('jodit-tab_active');
|
|
25587
25610
|
};
|
|
25588
25611
|
tabs.forEach(({ icon, name, content }) => {
|
|
25589
|
-
const tab = jodit.c.div('jodit-tab')
|
|
25612
|
+
const tab = jodit.c.div('jodit-tab');
|
|
25613
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(tab, {
|
|
25614
|
+
role: 'tabpanel'
|
|
25615
|
+
});
|
|
25616
|
+
const button = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_3__/* .Button */ .$n)(jodit, icon || name, name);
|
|
25617
|
+
button.state.role = 'tab';
|
|
25590
25618
|
// Stop lose the focus
|
|
25591
|
-
jodit.e.on(button.container, '
|
|
25619
|
+
jodit.e.on(button.container, 'pointerdown', (e) => e.preventDefault());
|
|
25592
25620
|
if (!firstTab) {
|
|
25593
25621
|
firstTab = name;
|
|
25594
25622
|
}
|
|
@@ -25618,13 +25646,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25618
25646
|
button,
|
|
25619
25647
|
tab
|
|
25620
25648
|
};
|
|
25621
|
-
tabCount += 1;
|
|
25622
25649
|
});
|
|
25623
|
-
|
|
25624
|
-
|
|
25625
|
-
}
|
|
25626
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('a', buttons).forEach(a => {
|
|
25627
|
-
a.style.width = (100 / tabCount).toFixed(10) + '%';
|
|
25650
|
+
Object.values(nameToTab).forEach(({ button }) => {
|
|
25651
|
+
button.container.style.width = (100 / tabs.length).toFixed(10) + '%';
|
|
25628
25652
|
});
|
|
25629
25653
|
const tab = !state || !state.activeTab || !nameToTab[state.activeTab]
|
|
25630
25654
|
? firstTab
|
|
@@ -25658,9 +25682,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25658
25682
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
25659
25683
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
25660
25684
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
25661
|
-
/* harmony import */ var
|
|
25662
|
-
/* harmony import */ var
|
|
25663
|
-
/* harmony import */ var
|
|
25685
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
25686
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(46891);
|
|
25687
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
25664
25688
|
/*!
|
|
25665
25689
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25666
25690
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25674,7 +25698,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
25674
25698
|
|
|
25675
25699
|
|
|
25676
25700
|
|
|
25677
|
-
|
|
25701
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
25678
25702
|
exec: (editor) => {
|
|
25679
25703
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
25680
25704
|
dialog
|
|
@@ -25710,7 +25734,7 @@ function about(editor) {
|
|
|
25710
25734
|
});
|
|
25711
25735
|
}
|
|
25712
25736
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
25713
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
25737
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
25714
25738
|
|
|
25715
25739
|
|
|
25716
25740
|
/***/ }),
|
|
@@ -25953,9 +25977,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25953
25977
|
|
|
25954
25978
|
"use strict";
|
|
25955
25979
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
25956
|
-
/* harmony import */ var
|
|
25957
|
-
/* harmony import */ var
|
|
25958
|
-
/* harmony import */ var
|
|
25980
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
25981
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3882);
|
|
25982
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25959
25983
|
/*!
|
|
25960
25984
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25961
25985
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25964,9 +25988,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25964
25988
|
|
|
25965
25989
|
|
|
25966
25990
|
|
|
25967
|
-
|
|
25968
|
-
|
|
25969
|
-
|
|
25991
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25992
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25993
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25970
25994
|
'table',
|
|
25971
25995
|
'iframe',
|
|
25972
25996
|
'img',
|
|
@@ -25974,8 +25998,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25974
25998
|
'pre',
|
|
25975
25999
|
'jodit'
|
|
25976
26000
|
];
|
|
25977
|
-
|
|
25978
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
26001
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
26002
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25979
26003
|
|
|
25980
26004
|
|
|
25981
26005
|
/***/ }),
|
|
@@ -26114,11 +26138,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
26114
26138
|
|
|
26115
26139
|
"use strict";
|
|
26116
26140
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
26117
|
-
/* harmony import */ var
|
|
26118
|
-
/* harmony import */ var
|
|
26119
|
-
/* harmony import */ var
|
|
26120
|
-
/* harmony import */ var
|
|
26121
|
-
/* harmony import */ var
|
|
26141
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
26142
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15627);
|
|
26143
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
26144
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41500);
|
|
26145
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
26122
26146
|
/*!
|
|
26123
26147
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26124
26148
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26159,10 +26183,10 @@ const aiAssistantDefaults = {
|
|
|
26159
26183
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
26160
26184
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
26161
26185
|
};
|
|
26162
|
-
|
|
26163
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
26164
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
26165
|
-
|
|
26186
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
26187
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
26188
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26189
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
26166
26190
|
isDisabled(editor) {
|
|
26167
26191
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26168
26192
|
},
|
|
@@ -26200,7 +26224,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
26200
26224
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
26201
26225
|
}
|
|
26202
26226
|
};
|
|
26203
|
-
|
|
26227
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
26204
26228
|
isDisabled(editor) {
|
|
26205
26229
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
26206
26230
|
},
|
|
@@ -26839,6 +26863,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26839
26863
|
}
|
|
26840
26864
|
if ((_a = sibling.nodeValue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
26841
26865
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26866
|
+
if (!sibling.nodeValue.length &&
|
|
26867
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26868
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26869
|
+
}
|
|
26842
26870
|
}
|
|
26843
26871
|
if (!((_b = sibling.nodeValue) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
26844
26872
|
removeNeighbor = sibling;
|
|
@@ -27393,20 +27421,20 @@ function getMoveFilter(jodit) {
|
|
|
27393
27421
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51431);
|
|
27394
27422
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
27395
27423
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
27396
|
-
/* harmony import */ var
|
|
27397
|
-
/* harmony import */ var
|
|
27398
|
-
/* harmony import */ var
|
|
27399
|
-
/* harmony import */ var
|
|
27400
|
-
/* harmony import */ var
|
|
27401
|
-
/* harmony import */ var
|
|
27402
|
-
/* harmony import */ var
|
|
27403
|
-
/* harmony import */ var
|
|
27404
|
-
/* harmony import */ var
|
|
27405
|
-
/* harmony import */ var
|
|
27406
|
-
/* harmony import */ var
|
|
27407
|
-
/* harmony import */ var
|
|
27408
|
-
/* harmony import */ var
|
|
27409
|
-
/* harmony import */ var
|
|
27424
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
27425
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94673);
|
|
27426
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39586);
|
|
27427
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27428
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49463);
|
|
27429
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27430
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(10292);
|
|
27431
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
27432
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71718);
|
|
27433
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
27434
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(48397);
|
|
27435
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
27436
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(46781);
|
|
27437
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
27410
27438
|
/*!
|
|
27411
27439
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27412
27440
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27429,7 +27457,7 @@ function getMoveFilter(jodit) {
|
|
|
27429
27457
|
*/
|
|
27430
27458
|
function bold(editor) {
|
|
27431
27459
|
const callBack = (command) => {
|
|
27432
|
-
const control =
|
|
27460
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = Object.assign({}, control.css);
|
|
27433
27461
|
let cssRules;
|
|
27434
27462
|
Object.keys(cssOptions).forEach((key) => {
|
|
27435
27463
|
if (!cssRules) {
|
|
@@ -27481,12 +27509,12 @@ function bold(editor) {
|
|
|
27481
27509
|
});
|
|
27482
27510
|
}
|
|
27483
27511
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
27484
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
27485
|
-
.set('italic', (
|
|
27486
|
-
.set('strikethrough', (
|
|
27487
|
-
.set('subscript', (
|
|
27488
|
-
.set('superscript', (
|
|
27489
|
-
.set('underline', (
|
|
27512
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
27513
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
27514
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
27515
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
27516
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
27517
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
27490
27518
|
|
|
27491
27519
|
|
|
27492
27520
|
/***/ }),
|
|
@@ -27556,9 +27584,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27556
27584
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94183);
|
|
27557
27585
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65564);
|
|
27558
27586
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
27559
|
-
/* harmony import */ var
|
|
27560
|
-
/* harmony import */ var
|
|
27561
|
-
/* harmony import */ var
|
|
27587
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
27588
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14835);
|
|
27589
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
27562
27590
|
/*!
|
|
27563
27591
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27564
27592
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27571,7 +27599,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
27571
27599
|
|
|
27572
27600
|
|
|
27573
27601
|
|
|
27574
|
-
|
|
27602
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
27575
27603
|
command: 'applyClassName',
|
|
27576
27604
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
27577
27605
|
list: [
|
|
@@ -27659,7 +27687,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
27659
27687
|
beforeDestruct() { }
|
|
27660
27688
|
}
|
|
27661
27689
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
27662
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
27690
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
27663
27691
|
|
|
27664
27692
|
|
|
27665
27693
|
/***/ }),
|
|
@@ -27798,9 +27826,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27798
27826
|
|
|
27799
27827
|
"use strict";
|
|
27800
27828
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
27801
|
-
/* harmony import */ var
|
|
27802
|
-
/* harmony import */ var
|
|
27803
|
-
/* harmony import */ var
|
|
27829
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
27830
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(556);
|
|
27831
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27804
27832
|
/*!
|
|
27805
27833
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27806
27834
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27809,7 +27837,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27809
27837
|
|
|
27810
27838
|
|
|
27811
27839
|
|
|
27812
|
-
|
|
27840
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27813
27841
|
timeout: 300,
|
|
27814
27842
|
removeEmptyElements: true,
|
|
27815
27843
|
fillEmptyParagraph: true,
|
|
@@ -27825,11 +27853,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27825
27853
|
safeJavaScriptLink: true,
|
|
27826
27854
|
disableCleanFilter: null
|
|
27827
27855
|
};
|
|
27828
|
-
|
|
27856
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27829
27857
|
command: 'removeFormat',
|
|
27830
27858
|
tooltip: 'Clear Formatting'
|
|
27831
27859
|
};
|
|
27832
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27860
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27833
27861
|
|
|
27834
27862
|
|
|
27835
27863
|
/***/ }),
|
|
@@ -28498,15 +28526,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28498
28526
|
|
|
28499
28527
|
"use strict";
|
|
28500
28528
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
28501
|
-
/* harmony import */ var
|
|
28502
|
-
/* harmony import */ var
|
|
28503
|
-
/* harmony import */ var
|
|
28504
|
-
/* harmony import */ var
|
|
28505
|
-
/* harmony import */ var
|
|
28506
|
-
/* harmony import */ var
|
|
28507
|
-
/* harmony import */ var
|
|
28508
|
-
/* harmony import */ var
|
|
28509
|
-
/* harmony import */ var
|
|
28529
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
28530
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65);
|
|
28531
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
28532
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4594);
|
|
28533
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
28534
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63859);
|
|
28535
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28536
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38808);
|
|
28537
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28510
28538
|
/*!
|
|
28511
28539
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28512
28540
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28518,25 +28546,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
28518
28546
|
|
|
28519
28547
|
|
|
28520
28548
|
|
|
28521
|
-
|
|
28549
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
28522
28550
|
command: 'cut',
|
|
28523
28551
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28524
28552
|
tooltip: 'Cut selection'
|
|
28525
28553
|
};
|
|
28526
|
-
|
|
28554
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
28527
28555
|
command: 'copy',
|
|
28528
28556
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
28529
28557
|
tooltip: 'Copy selection'
|
|
28530
28558
|
};
|
|
28531
|
-
|
|
28559
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
28532
28560
|
icon: 'select-all',
|
|
28533
28561
|
command: 'selectall',
|
|
28534
28562
|
tooltip: 'Select all'
|
|
28535
28563
|
};
|
|
28536
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
28537
|
-
.set('cut', (
|
|
28538
|
-
.set('paste', (
|
|
28539
|
-
.set('select-all', (
|
|
28564
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
28565
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
28566
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
28567
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28540
28568
|
|
|
28541
28569
|
|
|
28542
28570
|
/***/ }),
|
|
@@ -28608,10 +28636,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28608
28636
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
28609
28637
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
28610
28638
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28611
|
-
/* harmony import */ var
|
|
28612
|
-
/* harmony import */ var
|
|
28613
|
-
/* harmony import */ var
|
|
28614
|
-
/* harmony import */ var
|
|
28639
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28640
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21391);
|
|
28641
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(55370);
|
|
28642
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
28615
28643
|
/*!
|
|
28616
28644
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28617
28645
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28623,8 +28651,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
28623
28651
|
|
|
28624
28652
|
|
|
28625
28653
|
|
|
28626
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
28627
|
-
|
|
28654
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
28655
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
28628
28656
|
isVisible: (editor) => {
|
|
28629
28657
|
return !editor.o.disablePlugins.includes('color');
|
|
28630
28658
|
},
|
|
@@ -28637,7 +28665,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28637
28665
|
if (!selected.length) {
|
|
28638
28666
|
return false;
|
|
28639
28667
|
}
|
|
28640
|
-
const makeColorPicker = (key) => (0,
|
|
28668
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28641
28669
|
selected.forEach(cell => {
|
|
28642
28670
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
28643
28671
|
});
|
|
@@ -28646,7 +28674,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28646
28674
|
close();
|
|
28647
28675
|
editor.unlock();
|
|
28648
28676
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
28649
|
-
return (0,
|
|
28677
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
28650
28678
|
{
|
|
28651
28679
|
name: 'Background',
|
|
28652
28680
|
content: makeColorPicker('background-color')
|
|
@@ -28657,7 +28685,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28657
28685
|
},
|
|
28658
28686
|
tooltip: 'Background'
|
|
28659
28687
|
};
|
|
28660
|
-
|
|
28688
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
28661
28689
|
isVisible: (editor) => {
|
|
28662
28690
|
return !editor.o.disablePlugins.includes('color');
|
|
28663
28691
|
},
|
|
@@ -28705,7 +28733,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28705
28733
|
}
|
|
28706
28734
|
}, editor.editor);
|
|
28707
28735
|
}
|
|
28708
|
-
const backgroundTag = (0,
|
|
28736
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28709
28737
|
if (!currentElement) {
|
|
28710
28738
|
editor.execCommand('background', false, value);
|
|
28711
28739
|
}
|
|
@@ -28716,7 +28744,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28716
28744
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
28717
28745
|
close();
|
|
28718
28746
|
}, bg_color);
|
|
28719
|
-
const colorTab = (0,
|
|
28747
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28720
28748
|
if (!currentElement) {
|
|
28721
28749
|
editor.execCommand('forecolor', false, value);
|
|
28722
28750
|
}
|
|
@@ -28740,7 +28768,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28740
28768
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
28741
28769
|
tabs = tabs.reverse();
|
|
28742
28770
|
}
|
|
28743
|
-
return (0,
|
|
28771
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
28744
28772
|
},
|
|
28745
28773
|
exec(jodit, current, { button }) {
|
|
28746
28774
|
const mode = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode'), color = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color');
|
|
@@ -28779,10 +28807,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28779
28807
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
28780
28808
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
28781
28809
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
28782
|
-
/* harmony import */ var
|
|
28783
|
-
/* harmony import */ var
|
|
28784
|
-
/* harmony import */ var
|
|
28785
|
-
/* harmony import */ var
|
|
28810
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
28811
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(72131);
|
|
28812
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28813
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18489);
|
|
28786
28814
|
/*!
|
|
28787
28815
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28788
28816
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28840,7 +28868,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28840
28868
|
}
|
|
28841
28869
|
return result;
|
|
28842
28870
|
};
|
|
28843
|
-
|
|
28871
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28844
28872
|
exec: (editor, current, { button }) => {
|
|
28845
28873
|
if (!current) {
|
|
28846
28874
|
return;
|
|
@@ -28890,10 +28918,10 @@ function copyFormat(editor) {
|
|
|
28890
28918
|
name: 'copyformat',
|
|
28891
28919
|
group: 'clipboard'
|
|
28892
28920
|
});
|
|
28893
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28921
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28894
28922
|
}
|
|
28895
28923
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28896
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28924
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28897
28925
|
|
|
28898
28926
|
|
|
28899
28927
|
/***/ }),
|
|
@@ -30703,8 +30731,8 @@ function wrapText(fake, jodit) {
|
|
|
30703
30731
|
/* unused harmony export file */
|
|
30704
30732
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
30705
30733
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
30706
|
-
/* harmony import */ var
|
|
30707
|
-
/* harmony import */ var
|
|
30734
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
30735
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21391);
|
|
30708
30736
|
/*!
|
|
30709
30737
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30710
30738
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30714,7 +30742,7 @@ function wrapText(fake, jodit) {
|
|
|
30714
30742
|
|
|
30715
30743
|
|
|
30716
30744
|
|
|
30717
|
-
|
|
30745
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
30718
30746
|
popup: (editor, current, close) => {
|
|
30719
30747
|
const insert = (url, title = '') => {
|
|
30720
30748
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -30727,7 +30755,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
30727
30755
|
? current
|
|
30728
30756
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
30729
30757
|
}
|
|
30730
|
-
return (0,
|
|
30758
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
30731
30759
|
filebrowser: (data) => {
|
|
30732
30760
|
data.files &&
|
|
30733
30761
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30850,11 +30878,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30850
30878
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22718);
|
|
30851
30879
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4401);
|
|
30852
30880
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
30853
|
-
/* harmony import */ var
|
|
30854
|
-
/* harmony import */ var
|
|
30855
|
-
/* harmony import */ var
|
|
30856
|
-
/* harmony import */ var
|
|
30857
|
-
/* harmony import */ var
|
|
30881
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
30882
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78602);
|
|
30883
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30884
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84413);
|
|
30885
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30858
30886
|
/*!
|
|
30859
30887
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30860
30888
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30870,9 +30898,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30870
30898
|
/**
|
|
30871
30899
|
* Default font-size points
|
|
30872
30900
|
*/
|
|
30873
|
-
|
|
30874
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30875
|
-
|
|
30901
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30902
|
+
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()));
|
|
30903
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30876
30904
|
command: 'fontsize',
|
|
30877
30905
|
data: {
|
|
30878
30906
|
cssRule: 'font-size',
|
|
@@ -30931,7 +30959,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30931
30959
|
return keySet.has(normalize(value.toString()));
|
|
30932
30960
|
}
|
|
30933
30961
|
};
|
|
30934
|
-
|
|
30962
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = Object.assign(Object.assign({}, jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize), { command: 'fontname', textTemplate: (j, value) => {
|
|
30935
30963
|
const [first] = value.split(',');
|
|
30936
30964
|
return (0,jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__/* .trimChars */ .Gd)(first, '"\'');
|
|
30937
30965
|
}, list: {
|
|
@@ -31034,11 +31062,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31034
31062
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
31035
31063
|
|
|
31036
31064
|
"use strict";
|
|
31037
|
-
/* harmony import */ var
|
|
31065
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
31066
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(47903);
|
|
31038
31067
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31039
|
-
/* harmony import */ var
|
|
31040
|
-
/* harmony import */ var
|
|
31041
|
-
/* harmony import */ var
|
|
31068
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31069
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(30820);
|
|
31070
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31042
31071
|
/*!
|
|
31043
31072
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31044
31073
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31048,13 +31077,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
31048
31077
|
|
|
31049
31078
|
|
|
31050
31079
|
|
|
31051
|
-
|
|
31052
|
-
|
|
31080
|
+
|
|
31081
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
31082
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
31053
31083
|
command: 'formatBlock',
|
|
31054
31084
|
value(editor, button) {
|
|
31055
31085
|
var _a, _b;
|
|
31056
31086
|
const control = button.control, current = editor.s.current();
|
|
31057
|
-
const currentBox =
|
|
31087
|
+
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
31058
31088
|
return (_a = currentBox === null || currentBox === void 0 ? void 0 : currentBox.nodeName.toLowerCase()) !== null && _a !== void 0 ? _a : (_b = control.data) === null || _b === void 0 ? void 0 : _b.currentValue;
|
|
31059
31089
|
},
|
|
31060
31090
|
update(editor, button) {
|
|
@@ -31063,7 +31093,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31063
31093
|
return false;
|
|
31064
31094
|
}
|
|
31065
31095
|
const currentValue = button.state.value, list = control.list;
|
|
31066
|
-
if (list && list[currentValue.toString()]) {
|
|
31096
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
31067
31097
|
if (editor.o.textIcons) {
|
|
31068
31098
|
button.state.text = list[currentValue.toString()].toString();
|
|
31069
31099
|
}
|
|
@@ -31087,9 +31117,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
31087
31117
|
return Boolean(button.state.value === ((_b = (_a = button.control) === null || _a === void 0 ? void 0 : _a.args) === null || _b === void 0 ? void 0 : _b[0]));
|
|
31088
31118
|
},
|
|
31089
31119
|
isActive: (editor, button) => {
|
|
31090
|
-
var _a;
|
|
31091
31120
|
return (button.state.value !== editor.o.enter &&
|
|
31092
|
-
|
|
31121
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
31122
|
+
Boolean(button.control.list[button.state.value]));
|
|
31093
31123
|
},
|
|
31094
31124
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
31095
31125
|
tooltip: 'Insert format block'
|
|
@@ -31139,11 +31169,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31139
31169
|
"use strict";
|
|
31140
31170
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
31141
31171
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
31142
|
-
/* harmony import */ var
|
|
31143
|
-
/* harmony import */ var
|
|
31144
|
-
/* harmony import */ var
|
|
31145
|
-
/* harmony import */ var
|
|
31146
|
-
/* harmony import */ var
|
|
31172
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
31173
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(88708);
|
|
31174
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
31175
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10099);
|
|
31176
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31147
31177
|
/*!
|
|
31148
31178
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31149
31179
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31155,10 +31185,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
31155
31185
|
|
|
31156
31186
|
|
|
31157
31187
|
|
|
31158
|
-
|
|
31159
|
-
|
|
31160
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
31161
|
-
|
|
31188
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
31189
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
31190
|
+
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()));
|
|
31191
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
31162
31192
|
exec: (editor) => {
|
|
31163
31193
|
editor.toggleFullSize();
|
|
31164
31194
|
},
|
|
@@ -31299,19 +31329,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
31299
31329
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31300
31330
|
*/
|
|
31301
31331
|
|
|
31302
|
-
/**
|
|
31303
|
-
* You can redefine hotkeys for some command
|
|
31304
|
-
*
|
|
31305
|
-
* @example
|
|
31306
|
-
* ```js
|
|
31307
|
-
* var jodit = Jodit.make('#editor', {
|
|
31308
|
-
* commandToHotkeys: {
|
|
31309
|
-
* bold: 'ctrl+shift+b',
|
|
31310
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
31311
|
-
* }
|
|
31312
|
-
* })
|
|
31313
|
-
* ```
|
|
31314
|
-
*/
|
|
31315
31332
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
31316
31333
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
31317
31334
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -31486,9 +31503,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31486
31503
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
31487
31504
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
31488
31505
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80004);
|
|
31489
|
-
/* harmony import */ var
|
|
31490
|
-
/* harmony import */ var
|
|
31491
|
-
/* harmony import */ var
|
|
31506
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91288);
|
|
31507
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(75241);
|
|
31508
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
31492
31509
|
/*!
|
|
31493
31510
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
31494
31511
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -31499,8 +31516,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
31499
31516
|
|
|
31500
31517
|
|
|
31501
31518
|
|
|
31502
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
31503
|
-
|
|
31519
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
31520
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
31504
31521
|
command: 'insertHorizontalRule',
|
|
31505
31522
|
tags: ['hr'],
|
|
31506
31523
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31981,6 +31998,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31981
31998
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31982
31999
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31983
32000
|
*/
|
|
32001
|
+
/**
|
|
32002
|
+
* @module plugins/image-properties
|
|
32003
|
+
*/
|
|
31984
32004
|
|
|
31985
32005
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31986
32006
|
dialogWidth: 600,
|
|
@@ -33497,10 +33517,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33497
33517
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
33498
33518
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
33499
33519
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
33500
|
-
/* harmony import */ var
|
|
33501
|
-
/* harmony import */ var
|
|
33502
|
-
/* harmony import */ var
|
|
33503
|
-
/* harmony import */ var
|
|
33520
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
33521
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
33522
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15807);
|
|
33523
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33504
33524
|
/*!
|
|
33505
33525
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33506
33526
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33514,8 +33534,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
33514
33534
|
|
|
33515
33535
|
|
|
33516
33536
|
|
|
33517
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
33518
|
-
|
|
33537
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33538
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
33519
33539
|
popup: (editor, current, close) => {
|
|
33520
33540
|
let sourceImage = null;
|
|
33521
33541
|
if (current &&
|
|
@@ -33527,7 +33547,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
33527
33547
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
33528
33548
|
}
|
|
33529
33549
|
editor.s.save();
|
|
33530
|
-
return (0,
|
|
33550
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
33531
33551
|
filebrowser: (data) => {
|
|
33532
33552
|
editor.s.restore();
|
|
33533
33553
|
data.files &&
|
|
@@ -33570,12 +33590,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33570
33590
|
"use strict";
|
|
33571
33591
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33465);
|
|
33572
33592
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
33573
|
-
/* harmony import */ var
|
|
33574
|
-
/* harmony import */ var
|
|
33575
|
-
/* harmony import */ var
|
|
33576
|
-
/* harmony import */ var
|
|
33577
|
-
/* harmony import */ var
|
|
33578
|
-
/* harmony import */ var
|
|
33593
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
33594
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96168);
|
|
33595
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
33596
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(45153);
|
|
33597
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33598
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(63163);
|
|
33579
33599
|
/*!
|
|
33580
33600
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33581
33601
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33587,17 +33607,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
33587
33607
|
|
|
33588
33608
|
|
|
33589
33609
|
|
|
33590
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
33591
|
-
|
|
33610
|
+
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()));
|
|
33611
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
33592
33612
|
tooltip: 'Increase Indent'
|
|
33593
33613
|
};
|
|
33594
|
-
|
|
33614
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
33595
33615
|
isDisabled: (editor) => {
|
|
33596
33616
|
const current = editor.s.current();
|
|
33597
33617
|
if (current) {
|
|
33598
33618
|
const currentBox = jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
33599
33619
|
if (currentBox) {
|
|
33600
|
-
const arrow = (0,
|
|
33620
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
33601
33621
|
return (!currentBox.style[arrow] ||
|
|
33602
33622
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
33603
33623
|
}
|
|
@@ -33606,7 +33626,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
33606
33626
|
},
|
|
33607
33627
|
tooltip: 'Decrease Indent'
|
|
33608
33628
|
};
|
|
33609
|
-
|
|
33629
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
33610
33630
|
|
|
33611
33631
|
|
|
33612
33632
|
/***/ }),
|
|
@@ -33867,12 +33887,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33867
33887
|
|
|
33868
33888
|
"use strict";
|
|
33869
33889
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
33870
|
-
/* harmony import */ var
|
|
33871
|
-
/* harmony import */ var
|
|
33872
|
-
/* harmony import */ var
|
|
33873
|
-
/* harmony import */ var
|
|
33890
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
33891
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73625);
|
|
33892
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69247);
|
|
33893
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84516);
|
|
33894
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(79073);
|
|
33874
33895
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(3301);
|
|
33875
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
33876
33896
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48537);
|
|
33877
33897
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33878
33898
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1629);
|
|
@@ -33906,10 +33926,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33906
33926
|
|
|
33907
33927
|
|
|
33908
33928
|
|
|
33909
|
-
|
|
33910
|
-
|
|
33911
|
-
|
|
33912
|
-
|
|
33929
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33930
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33931
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33932
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33913
33933
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33914
33934
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33915
33935
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33917,14 +33937,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33917
33937
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33918
33938
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33919
33939
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33920
|
-
|
|
33921
|
-
a:
|
|
33922
|
-
img:
|
|
33923
|
-
cells:
|
|
33940
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33941
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33942
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33943
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33924
33944
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33925
|
-
jodit:
|
|
33926
|
-
iframe:
|
|
33927
|
-
'jodit-media':
|
|
33945
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33946
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33947
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33928
33948
|
selection: [
|
|
33929
33949
|
'bold',
|
|
33930
33950
|
'underline',
|
|
@@ -34536,12 +34556,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34536
34556
|
/* unused harmony export justify */
|
|
34537
34557
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
34538
34558
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
34539
|
-
/* harmony import */ var
|
|
34540
|
-
/* harmony import */ var
|
|
34541
|
-
/* harmony import */ var
|
|
34542
|
-
/* harmony import */ var
|
|
34543
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34559
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
34560
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26071);
|
|
34561
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4401);
|
|
34562
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
34544
34563
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
34564
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77795);
|
|
34565
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
34545
34566
|
/*!
|
|
34546
34567
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34547
34568
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34554,7 +34575,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
34554
34575
|
|
|
34555
34576
|
|
|
34556
34577
|
|
|
34557
|
-
|
|
34578
|
+
|
|
34579
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
34558
34580
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
34559
34581
|
name: 'left',
|
|
34560
34582
|
tooltip: 'Align',
|
|
@@ -34563,22 +34585,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34563
34585
|
if (current) {
|
|
34564
34586
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
34565
34587
|
editor.editor;
|
|
34566
|
-
let currentValue = (0,
|
|
34588
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
34567
34589
|
if (control.defaultValue &&
|
|
34568
34590
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
34569
34591
|
currentValue = 'left';
|
|
34570
34592
|
}
|
|
34571
|
-
|
|
34572
|
-
|
|
34573
|
-
|
|
34574
|
-
|
|
34593
|
+
const { list, data } = control;
|
|
34594
|
+
if (data &&
|
|
34595
|
+
data.currentValue !== currentValue &&
|
|
34596
|
+
list &&
|
|
34597
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
34598
|
+
? list[currentValue]
|
|
34599
|
+
: list.includes(currentValue))) {
|
|
34575
34600
|
if (editor.o.textIcons || control.component === 'select') {
|
|
34576
34601
|
button.state.text = currentValue;
|
|
34577
34602
|
}
|
|
34578
34603
|
else {
|
|
34579
34604
|
button.state.icon.name = currentValue;
|
|
34580
34605
|
}
|
|
34581
|
-
|
|
34606
|
+
data.currentValue = currentValue;
|
|
34582
34607
|
}
|
|
34583
34608
|
}
|
|
34584
34609
|
},
|
|
@@ -34589,7 +34614,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
34589
34614
|
}
|
|
34590
34615
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
34591
34616
|
editor.editor;
|
|
34592
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
34617
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
34593
34618
|
},
|
|
34594
34619
|
defaultValue: ['left', 'start', 'inherit'],
|
|
34595
34620
|
data: {
|
|
@@ -34643,7 +34668,7 @@ function justify(editor) {
|
|
|
34643
34668
|
if (!currentBox) {
|
|
34644
34669
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
34645
34670
|
}
|
|
34646
|
-
(0,
|
|
34671
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
34647
34672
|
});
|
|
34648
34673
|
return false;
|
|
34649
34674
|
};
|
|
@@ -34855,9 +34880,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34855
34880
|
"use strict";
|
|
34856
34881
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9596);
|
|
34857
34882
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
34858
|
-
/* harmony import */ var
|
|
34859
|
-
/* harmony import */ var
|
|
34860
|
-
/* harmony import */ var
|
|
34883
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
34884
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19615);
|
|
34885
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34861
34886
|
/*!
|
|
34862
34887
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34863
34888
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34867,9 +34892,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34867
34892
|
|
|
34868
34893
|
|
|
34869
34894
|
|
|
34870
|
-
|
|
34871
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34872
|
-
|
|
34895
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34896
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34897
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34873
34898
|
command: 'applyLineHeight',
|
|
34874
34899
|
tags: ['ol'],
|
|
34875
34900
|
tooltip: 'Line height',
|
|
@@ -35434,12 +35459,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35434
35459
|
"use strict";
|
|
35435
35460
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23545);
|
|
35436
35461
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
35437
|
-
/* harmony import */ var
|
|
35438
|
-
/* harmony import */ var
|
|
35439
|
-
/* harmony import */ var
|
|
35440
|
-
/* harmony import */ var
|
|
35441
|
-
/* harmony import */ var
|
|
35442
|
-
/* harmony import */ var
|
|
35462
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
35463
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67576);
|
|
35464
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35465
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73501);
|
|
35466
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35467
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17660);
|
|
35443
35468
|
/*!
|
|
35444
35469
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35445
35470
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35451,8 +35476,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
35451
35476
|
|
|
35452
35477
|
|
|
35453
35478
|
|
|
35454
|
-
|
|
35455
|
-
formTemplate:
|
|
35479
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
35480
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
35456
35481
|
followOnDblClick: false,
|
|
35457
35482
|
processVideoLink: true,
|
|
35458
35483
|
processPastedLink: true,
|
|
@@ -35464,8 +35489,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
35464
35489
|
selectOptionsClassName: [],
|
|
35465
35490
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
35466
35491
|
};
|
|
35467
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
35468
|
-
|
|
35492
|
+
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()));
|
|
35493
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
35469
35494
|
exec: (editor, current) => {
|
|
35470
35495
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
35471
35496
|
if (anchor) {
|
|
@@ -35476,7 +35501,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
35476
35501
|
},
|
|
35477
35502
|
tooltip: 'Unlink'
|
|
35478
35503
|
};
|
|
35479
|
-
|
|
35504
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
35480
35505
|
isActive: (editor) => {
|
|
35481
35506
|
const current = editor.s.current();
|
|
35482
35507
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -36021,9 +36046,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
36021
36046
|
"use strict";
|
|
36022
36047
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
36023
36048
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
36024
|
-
/* harmony import */ var
|
|
36025
|
-
/* harmony import */ var
|
|
36026
|
-
/* harmony import */ var
|
|
36049
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36050
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78167);
|
|
36051
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(78072);
|
|
36027
36052
|
/*!
|
|
36028
36053
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36029
36054
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36034,9 +36059,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
36034
36059
|
|
|
36035
36060
|
|
|
36036
36061
|
|
|
36037
|
-
|
|
36038
|
-
|
|
36039
|
-
|
|
36062
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
36063
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
36064
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
36040
36065
|
{
|
|
36041
36066
|
group: 'font-style',
|
|
36042
36067
|
buttons: []
|
|
@@ -36083,7 +36108,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
36083
36108
|
'|',
|
|
36084
36109
|
'dots'
|
|
36085
36110
|
];
|
|
36086
|
-
|
|
36111
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
36087
36112
|
{
|
|
36088
36113
|
group: 'font-style',
|
|
36089
36114
|
buttons: []
|
|
@@ -36118,7 +36143,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
36118
36143
|
'|',
|
|
36119
36144
|
'dots'
|
|
36120
36145
|
];
|
|
36121
|
-
|
|
36146
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
36122
36147
|
{
|
|
36123
36148
|
group: 'font-style',
|
|
36124
36149
|
buttons: []
|
|
@@ -36139,17 +36164,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
36139
36164
|
'---',
|
|
36140
36165
|
'dots'
|
|
36141
36166
|
];
|
|
36142
|
-
|
|
36167
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
36143
36168
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
36144
36169
|
popup: (editor, current, close, button) => {
|
|
36145
36170
|
let store = button.control.data;
|
|
36146
36171
|
if (store === undefined) {
|
|
36147
36172
|
store = {
|
|
36148
|
-
toolbar: (0,
|
|
36173
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
36149
36174
|
rebuild: () => {
|
|
36150
36175
|
var _a, _b;
|
|
36151
36176
|
if (button) {
|
|
36152
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
36177
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
36153
36178
|
if (buttons && store) {
|
|
36154
36179
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
36155
36180
|
const w = ((_b = (_a = editor.toolbar) === null || _a === void 0 ? void 0 : _a.firstButton) === null || _b === void 0 ? void 0 : _b.container.offsetWidth) || 36;
|
|
@@ -36258,11 +36283,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
36258
36283
|
"use strict";
|
|
36259
36284
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49382);
|
|
36260
36285
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
36261
|
-
/* harmony import */ var
|
|
36262
|
-
/* harmony import */ var
|
|
36263
|
-
/* harmony import */ var
|
|
36264
|
-
/* harmony import */ var
|
|
36265
|
-
/* harmony import */ var
|
|
36286
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
36287
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48421);
|
|
36288
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
36289
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22791);
|
|
36290
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
36266
36291
|
/*!
|
|
36267
36292
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36268
36293
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36280,8 +36305,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
36280
36305
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
36281
36306
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
36282
36307
|
};
|
|
36283
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
36284
|
-
|
|
36308
|
+
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()));
|
|
36309
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
36285
36310
|
command: 'insertUnorderedList',
|
|
36286
36311
|
tags: ['ul'],
|
|
36287
36312
|
tooltip: 'Insert Unordered List',
|
|
@@ -36293,7 +36318,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
36293
36318
|
},
|
|
36294
36319
|
exec: memoExec
|
|
36295
36320
|
};
|
|
36296
|
-
|
|
36321
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
36297
36322
|
command: 'insertOrderedList',
|
|
36298
36323
|
tags: ['ol'],
|
|
36299
36324
|
tooltip: 'Insert Ordered List',
|
|
@@ -36671,8 +36696,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36671
36696
|
"use strict";
|
|
36672
36697
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31635);
|
|
36673
36698
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
36674
|
-
/* harmony import */ var
|
|
36675
|
-
/* harmony import */ var
|
|
36699
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
36700
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48954);
|
|
36676
36701
|
/*!
|
|
36677
36702
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36678
36703
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36682,19 +36707,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
36682
36707
|
|
|
36683
36708
|
|
|
36684
36709
|
|
|
36685
|
-
|
|
36686
|
-
|
|
36687
|
-
|
|
36688
|
-
|
|
36689
|
-
|
|
36710
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
36711
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
36712
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
36713
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
36714
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
36690
36715
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
36691
36716
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
36692
36717
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
36693
36718
|
];
|
|
36694
|
-
|
|
36695
|
-
|
|
36719
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
36720
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
36696
36721
|
const psKey = 'pasteStorage';
|
|
36697
|
-
|
|
36722
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
36698
36723
|
tooltip: 'Paste from clipboard',
|
|
36699
36724
|
exec(editor_1, _1, _a) {
|
|
36700
36725
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__awaiter */ .sH)(this, arguments, void 0, function* (editor, _, { control }) {
|
|
@@ -36743,7 +36768,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
36743
36768
|
!error && editor.e.fire('afterPaste');
|
|
36744
36769
|
}
|
|
36745
36770
|
else if (text.length) {
|
|
36746
|
-
(0,
|
|
36771
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
36747
36772
|
editor.e.fire('afterPaste');
|
|
36748
36773
|
}
|
|
36749
36774
|
else {
|
|
@@ -37472,10 +37497,10 @@ function generateCriticalCSS(jodit) {
|
|
|
37472
37497
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54614);
|
|
37473
37498
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(85769);
|
|
37474
37499
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80004);
|
|
37475
|
-
/* harmony import */ var
|
|
37476
|
-
/* harmony import */ var
|
|
37477
|
-
/* harmony import */ var
|
|
37478
|
-
/* harmony import */ var
|
|
37500
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91288);
|
|
37501
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(86134);
|
|
37502
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26899);
|
|
37503
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
37479
37504
|
/*!
|
|
37480
37505
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37481
37506
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37490,8 +37515,8 @@ function generateCriticalCSS(jodit) {
|
|
|
37490
37515
|
|
|
37491
37516
|
|
|
37492
37517
|
|
|
37493
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
37494
|
-
|
|
37518
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
37519
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
37495
37520
|
exec: (editor) => {
|
|
37496
37521
|
const iframe = editor.create.element('iframe');
|
|
37497
37522
|
Object.assign(iframe.style, {
|
|
@@ -37502,7 +37527,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37502
37527
|
height: 0,
|
|
37503
37528
|
border: 0
|
|
37504
37529
|
});
|
|
37505
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
37530
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
37506
37531
|
const afterFinishPrint = () => {
|
|
37507
37532
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
37508
37533
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -37520,7 +37545,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
37520
37545
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
37521
37546
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
37522
37547
|
'"><head><title></title></head><style>' +
|
|
37523
|
-
(0,
|
|
37548
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
37524
37549
|
'</style><body></body></html>');
|
|
37525
37550
|
myWindow.document.close();
|
|
37526
37551
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -37558,11 +37583,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37558
37583
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51431);
|
|
37559
37584
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(67141);
|
|
37560
37585
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
37561
|
-
/* harmony import */ var
|
|
37562
|
-
/* harmony import */ var
|
|
37563
|
-
/* harmony import */ var
|
|
37564
|
-
/* harmony import */ var
|
|
37565
|
-
/* harmony import */ var
|
|
37586
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
37587
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(37629);
|
|
37588
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
37589
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(42687);
|
|
37590
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
37566
37591
|
/*!
|
|
37567
37592
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37568
37593
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37575,13 +37600,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
37575
37600
|
|
|
37576
37601
|
|
|
37577
37602
|
|
|
37578
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
37579
|
-
|
|
37603
|
+
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()));
|
|
37604
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
37580
37605
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37581
37606
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
37582
37607
|
tooltip: 'Redo'
|
|
37583
37608
|
};
|
|
37584
|
-
|
|
37609
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
37585
37610
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
37586
37611
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
37587
37612
|
tooltip: 'Undo'
|
|
@@ -38600,9 +38625,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38600
38625
|
|
|
38601
38626
|
"use strict";
|
|
38602
38627
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
38603
|
-
/* harmony import */ var
|
|
38604
|
-
/* harmony import */ var
|
|
38605
|
-
/* harmony import */ var
|
|
38628
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
38629
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98973);
|
|
38630
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
38606
38631
|
/*!
|
|
38607
38632
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38608
38633
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38612,14 +38637,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
38612
38637
|
|
|
38613
38638
|
|
|
38614
38639
|
|
|
38615
|
-
|
|
38616
|
-
|
|
38640
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
38641
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
38617
38642
|
lazyIdleTimeout: 0,
|
|
38618
38643
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
38619
38644
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
38620
38645
|
};
|
|
38621
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
38622
|
-
|
|
38646
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
38647
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
38623
38648
|
tooltip: 'Find',
|
|
38624
38649
|
icon: 'search',
|
|
38625
38650
|
exec(jodit, _, { control }) {
|
|
@@ -40251,9 +40276,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40251
40276
|
"use strict";
|
|
40252
40277
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
40253
40278
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80004);
|
|
40254
|
-
/* harmony import */ var
|
|
40255
|
-
/* harmony import */ var
|
|
40256
|
-
/* harmony import */ var
|
|
40279
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91288);
|
|
40280
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58671);
|
|
40281
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
40257
40282
|
/*!
|
|
40258
40283
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40259
40284
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40263,9 +40288,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
40263
40288
|
|
|
40264
40289
|
|
|
40265
40290
|
|
|
40266
|
-
|
|
40267
|
-
|
|
40268
|
-
|
|
40291
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
40292
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
40293
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
40269
40294
|
/**
|
|
40270
40295
|
* Show gutter
|
|
40271
40296
|
*/
|
|
@@ -40287,15 +40312,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
40287
40312
|
*/
|
|
40288
40313
|
highlightActiveLine: true
|
|
40289
40314
|
};
|
|
40290
|
-
|
|
40315
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
40291
40316
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
40292
40317
|
];
|
|
40293
|
-
|
|
40318
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
40294
40319
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
40295
40320
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
40296
40321
|
];
|
|
40297
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
40298
|
-
|
|
40322
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
40323
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
40299
40324
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
40300
40325
|
exec: (editor) => {
|
|
40301
40326
|
editor.toggleMode();
|
|
@@ -41105,9 +41130,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41105
41130
|
|
|
41106
41131
|
"use strict";
|
|
41107
41132
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41108
|
-
/* harmony import */ var
|
|
41109
|
-
/* harmony import */ var
|
|
41110
|
-
/* harmony import */ var
|
|
41133
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41134
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80709);
|
|
41135
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41111
41136
|
/*!
|
|
41112
41137
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41113
41138
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41116,13 +41141,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
41116
41141
|
|
|
41117
41142
|
|
|
41118
41143
|
|
|
41119
|
-
|
|
41120
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
41121
|
-
|
|
41144
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
41145
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41146
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
41122
41147
|
isActive(e) {
|
|
41123
41148
|
return e.o.spellcheck;
|
|
41124
41149
|
},
|
|
41125
|
-
icon: (
|
|
41150
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
41126
41151
|
name: 'spellcheck',
|
|
41127
41152
|
command: 'toggleSpellcheck',
|
|
41128
41153
|
tooltip: 'Spellcheck'
|
|
@@ -41897,9 +41922,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41897
41922
|
|
|
41898
41923
|
"use strict";
|
|
41899
41924
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
41900
|
-
/* harmony import */ var
|
|
41901
|
-
/* harmony import */ var
|
|
41902
|
-
/* harmony import */ var
|
|
41925
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
41926
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3283);
|
|
41927
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41903
41928
|
/*!
|
|
41904
41929
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41905
41930
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41908,8 +41933,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41908
41933
|
|
|
41909
41934
|
|
|
41910
41935
|
|
|
41911
|
-
|
|
41912
|
-
|
|
41936
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41937
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41913
41938
|
'!',
|
|
41914
41939
|
'"',
|
|
41915
41940
|
'#',
|
|
@@ -42121,8 +42146,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
42121
42146
|
'♦',
|
|
42122
42147
|
'≈'
|
|
42123
42148
|
];
|
|
42124
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
42125
|
-
|
|
42149
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
42150
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
42126
42151
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
42127
42152
|
tooltip: 'Insert Special Character',
|
|
42128
42153
|
popup: (editor, current, close) => {
|
|
@@ -43111,9 +43136,9 @@ function findCell(editor, key) {
|
|
|
43111
43136
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9596);
|
|
43112
43137
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71122);
|
|
43113
43138
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43114
|
-
/* harmony import */ var
|
|
43115
|
-
/* harmony import */ var
|
|
43116
|
-
/* harmony import */ var
|
|
43139
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43140
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35863);
|
|
43141
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
43117
43142
|
/*!
|
|
43118
43143
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43119
43144
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43125,12 +43150,12 @@ function findCell(editor, key) {
|
|
|
43125
43150
|
|
|
43126
43151
|
|
|
43127
43152
|
|
|
43128
|
-
|
|
43153
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
43129
43154
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
43130
43155
|
useExtraClassesOptions: false
|
|
43131
43156
|
};
|
|
43132
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
43133
|
-
|
|
43157
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
43158
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
43134
43159
|
data: {
|
|
43135
43160
|
cols: 10,
|
|
43136
43161
|
rows: 10,
|
|
@@ -43297,10 +43322,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43297
43322
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64962);
|
|
43298
43323
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18716);
|
|
43299
43324
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80004);
|
|
43300
|
-
/* harmony import */ var
|
|
43301
|
-
/* harmony import */ var
|
|
43302
|
-
/* harmony import */ var
|
|
43303
|
-
/* harmony import */ var
|
|
43325
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91288);
|
|
43326
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21391);
|
|
43327
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(46035);
|
|
43328
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
43304
43329
|
/*!
|
|
43305
43330
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43306
43331
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43313,8 +43338,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43313
43338
|
|
|
43314
43339
|
|
|
43315
43340
|
|
|
43316
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
43317
|
-
|
|
43341
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
43342
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
43318
43343
|
popup: (editor, current, close) => {
|
|
43319
43344
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
43320
43345
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -43361,7 +43386,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
43361
43386
|
formCode.onSubmit(data => {
|
|
43362
43387
|
insertCode(data.code);
|
|
43363
43388
|
});
|
|
43364
|
-
return (0,
|
|
43389
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
43365
43390
|
},
|
|
43366
43391
|
tags: ['iframe'],
|
|
43367
43392
|
tooltip: 'Insert youtube/vimeo video'
|
|
@@ -43996,9 +44021,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43996
44021
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9596);
|
|
43997
44022
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65564);
|
|
43998
44023
|
/* harmony import */ var jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34138);
|
|
43999
|
-
/* harmony import */ var
|
|
44000
|
-
/* harmony import */ var
|
|
44001
|
-
/* harmony import */ var
|
|
44024
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91288);
|
|
44025
|
+
/* harmony import */ var _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(75700);
|
|
44026
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56418);
|
|
44002
44027
|
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25511);
|
|
44003
44028
|
/*!
|
|
44004
44029
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
@@ -44016,7 +44041,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44016
44041
|
|
|
44017
44042
|
|
|
44018
44043
|
|
|
44019
|
-
|
|
44044
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.autocomplete = {
|
|
44020
44045
|
sources: [],
|
|
44021
44046
|
maxItems: 50,
|
|
44022
44047
|
isMatchedQuery: (query, value) => value.toLowerCase().indexOf(query.toLowerCase()) === 0,
|
|
@@ -44034,7 +44059,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44034
44059
|
afterInit(jodit) {
|
|
44035
44060
|
this.popup = new jodit_core_ui_popup_popup__WEBPACK_IMPORTED_MODULE_5__/* .Popup */ .z(jodit);
|
|
44036
44061
|
this.popup.setMod('padding', false);
|
|
44037
|
-
this.list = new
|
|
44062
|
+
this.list = new _ui_autocomplete__WEBPACK_IMPORTED_MODULE_7__/* .Autocomplete */ .j(jodit);
|
|
44038
44063
|
this.popup.setContent(this.list.container);
|
|
44039
44064
|
jodit.e
|
|
44040
44065
|
.on('select.autocomplete', (item) => {
|
|
@@ -44045,7 +44070,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44045
44070
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isNode(insertValue)) {
|
|
44046
44071
|
insertValue = jodit.createInside.fromHTML(insertValue);
|
|
44047
44072
|
}
|
|
44048
|
-
(0,
|
|
44073
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .replaceTextLeftOfCursorAfterSpace */ .s)(jodit.s.range, insertValue);
|
|
44049
44074
|
this.j.s.setCursorAfter(insertValue);
|
|
44050
44075
|
this.j.synchronizeValues();
|
|
44051
44076
|
this.popup.close();
|
|
@@ -44083,7 +44108,7 @@ class autocomplete extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plu
|
|
|
44083
44108
|
const range = ((_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.rangeCount)
|
|
44084
44109
|
? (_b = this.j.s.sel) === null || _b === void 0 ? void 0 : _b.getRangeAt(0)
|
|
44085
44110
|
: null;
|
|
44086
|
-
const query = range && (0,
|
|
44111
|
+
const query = range && (0,_helpers__WEBPACK_IMPORTED_MODULE_8__/* .getTextLeftOfCursor */ .I)(range).split(' ').pop();
|
|
44087
44112
|
if (query && (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.trim)(query).length) {
|
|
44088
44113
|
const result = yield this.onAutoComplete(query);
|
|
44089
44114
|
if (result.length) {
|