jodit-pro 4.2.35 → 4.2.40
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/889.fat.min.js +1 -1
- package/es2015/889.min.js +1 -1
- package/es2015/jodit.css +7 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +111 -57
- 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 +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- 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 +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- 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 +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- 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 +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- 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/889.fat.min.js +1 -1
- package/es2018/889.min.js +1 -1
- package/es2018/jodit.css +7 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +111 -57
- 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 +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- 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 +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- 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 +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- 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 +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- 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/889.fat.min.js +1 -1
- package/es2021/889.min.js +1 -1
- package/es2021/jodit.css +7 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +111 -56
- 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 +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- 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 +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- 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 +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- 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 +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- 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/889.fat.min.js +1 -1
- package/es2021.en/889.min.js +1 -1
- package/es2021.en/jodit.css +7 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +111 -56
- 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 +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- 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 +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- 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 +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- 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 +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- 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/292.fat.min.js +2 -2
- package/es5/292.js +6 -6
- package/es5/292.min.js +2 -2
- package/es5/889.fat.min.js +1 -1
- package/es5/889.min.js +1 -1
- package/es5/jodit.css +11 -2
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +118 -72
- 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 +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- 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 +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- 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 +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- 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 +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- 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/package.json +1 -1
package/es2021/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.40
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2450,7 +2450,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2450
2450
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2451
2451
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2452
2452
|
*/
|
|
2453
|
-
const APP_VERSION = "4.2.
|
|
2453
|
+
const APP_VERSION = "4.2.40";
|
|
2454
2454
|
// prettier-ignore
|
|
2455
2455
|
const ES = "es2021";
|
|
2456
2456
|
const IS_ES_MODERN = true;
|
|
@@ -8386,11 +8386,12 @@ function ConfigFlatten(obj) {
|
|
|
8386
8386
|
/**
|
|
8387
8387
|
* Javascript url pattern converter replace youtube/vimeo url in embed code.
|
|
8388
8388
|
*/
|
|
8389
|
-
const convertMediaUrlToVideoEmbed = (url, width = 400, height = 345) => {
|
|
8389
|
+
const convertMediaUrlToVideoEmbed = (url, { width = 400, height = 345 } = {}) => {
|
|
8390
8390
|
if (!(0,jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_1__/* .isURL */ .m)(url)) {
|
|
8391
8391
|
return url;
|
|
8392
8392
|
}
|
|
8393
|
-
const parser = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('a')
|
|
8393
|
+
const parser = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('a');
|
|
8394
|
+
const pattern1 = /(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;
|
|
8394
8395
|
parser.href = url;
|
|
8395
8396
|
if (!width) {
|
|
8396
8397
|
width = 400;
|
|
@@ -8417,7 +8418,10 @@ const convertMediaUrlToVideoEmbed = (url, width = 400, height = 345) => {
|
|
|
8417
8418
|
case 'www.youtu.be': {
|
|
8418
8419
|
const query = parser.search
|
|
8419
8420
|
? (0,_parse_query__WEBPACK_IMPORTED_MODULE_2__/* .parseQuery */ .m)(parser.search)
|
|
8420
|
-
: { v: parser.pathname.
|
|
8421
|
+
: { v: parser.pathname.substring(1) };
|
|
8422
|
+
if (/^embed\/.*/.test(query.v)) {
|
|
8423
|
+
query.v = query.v.substring(6);
|
|
8424
|
+
}
|
|
8421
8425
|
return query.v
|
|
8422
8426
|
? '<iframe width="' +
|
|
8423
8427
|
width +
|
|
@@ -14125,6 +14129,7 @@ const JODIT_EVENTS_ON_HIDE = [
|
|
|
14125
14129
|
'changePlace.tooltip',
|
|
14126
14130
|
'afterOpenPopup.tooltip',
|
|
14127
14131
|
'hidePopup.tooltip',
|
|
14132
|
+
'beforePopupClose.tooltip',
|
|
14128
14133
|
'closeAllPopups.tooltip'
|
|
14129
14134
|
];
|
|
14130
14135
|
let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_5__/* .UIElement */ .D {
|
|
@@ -14137,6 +14142,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14137
14142
|
constructor(view) {
|
|
14138
14143
|
super(view);
|
|
14139
14144
|
this.__isOpened = false;
|
|
14145
|
+
this.__attachedContainers = new Set();
|
|
14140
14146
|
this.__listenClose = false;
|
|
14141
14147
|
this.__currentTarget = null;
|
|
14142
14148
|
this.__delayShowTimeout = 0;
|
|
@@ -14155,7 +14161,16 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14155
14161
|
__onAttach(container) {
|
|
14156
14162
|
// TODO Move it inside __show method. Now it is here because testcase failed with capturing
|
|
14157
14163
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(this.j, UITooltip_1).appendChild(this.container);
|
|
14158
|
-
this.
|
|
14164
|
+
this.__attachedContainers.add(container);
|
|
14165
|
+
this.__attachedContainers.add(this.j.container);
|
|
14166
|
+
this.j.e
|
|
14167
|
+
.on(container, 'mouseenter.tooltip', this.__onMouseEnter, {
|
|
14168
|
+
capture: true
|
|
14169
|
+
})
|
|
14170
|
+
.on(container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14171
|
+
capture: true
|
|
14172
|
+
})
|
|
14173
|
+
.on(this.j.container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14159
14174
|
capture: true
|
|
14160
14175
|
});
|
|
14161
14176
|
}
|
|
@@ -14167,10 +14182,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14167
14182
|
const view = this.j;
|
|
14168
14183
|
view.e
|
|
14169
14184
|
.on(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14170
|
-
.on(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14171
|
-
.on(view.container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14172
|
-
capture: true
|
|
14173
|
-
});
|
|
14185
|
+
.on(JODIT_EVENTS_ON_HIDE, this.__hide);
|
|
14174
14186
|
}
|
|
14175
14187
|
__removeListenersOnLeave() {
|
|
14176
14188
|
if (!this.__listenClose) {
|
|
@@ -14180,8 +14192,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14180
14192
|
const view = this.j;
|
|
14181
14193
|
view.e
|
|
14182
14194
|
.off(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14183
|
-
.off(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14184
|
-
.off(view.container, 'mouseleave.tooltip', this.__onMouseLeave);
|
|
14195
|
+
.off(JODIT_EVENTS_ON_HIDE, this.__hide);
|
|
14185
14196
|
}
|
|
14186
14197
|
__onMouseLeave(e) {
|
|
14187
14198
|
if (this.__currentTarget === e.target) {
|
|
@@ -14258,7 +14269,11 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14258
14269
|
this.__hideTimeout = this.async.setTimeout(this.__hide, this.j.defaultTimeout);
|
|
14259
14270
|
}
|
|
14260
14271
|
destruct() {
|
|
14261
|
-
this.
|
|
14272
|
+
this.__attachedContainers.forEach(container => {
|
|
14273
|
+
this.j.e
|
|
14274
|
+
.off(container, 'mouseenter.tooltip', this.__onMouseEnter)
|
|
14275
|
+
.off(container, 'mouseleave.tooltip', this.__onMouseLeave);
|
|
14276
|
+
});
|
|
14262
14277
|
this.__hide();
|
|
14263
14278
|
super.destruct();
|
|
14264
14279
|
}
|
|
@@ -16477,17 +16492,18 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
|
|
|
16477
16492
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16478
16493
|
/* harmony export */ T: function() { return /* binding */ ViewWithToolbar; }
|
|
16479
16494
|
/* harmony export */ });
|
|
16480
|
-
/* harmony import */ var
|
|
16495
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31635);
|
|
16481
16496
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33894);
|
|
16482
|
-
/* harmony import */ var
|
|
16497
|
+
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(33442);
|
|
16483
16498
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(24014);
|
|
16484
16499
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23545);
|
|
16485
16500
|
/* harmony import */ var jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23462);
|
|
16486
|
-
/* harmony import */ var
|
|
16501
|
+
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(26986);
|
|
16487
16502
|
/* harmony import */ var jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(52989);
|
|
16488
|
-
/* harmony import */ var
|
|
16489
|
-
/* harmony import */ var
|
|
16490
|
-
/* harmony import */ var
|
|
16503
|
+
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(76185);
|
|
16504
|
+
/* harmony import */ var jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(73246);
|
|
16505
|
+
/* harmony import */ var jodit_core_view_view__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50313);
|
|
16506
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(78072);
|
|
16491
16507
|
/*!
|
|
16492
16508
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16493
16509
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16505,13 +16521,14 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
|
|
|
16505
16521
|
|
|
16506
16522
|
|
|
16507
16523
|
|
|
16508
|
-
|
|
16524
|
+
|
|
16525
|
+
class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_6__/* .View */ .S {
|
|
16509
16526
|
/**
|
|
16510
16527
|
* Container for toolbar
|
|
16511
16528
|
*/
|
|
16512
16529
|
get toolbarContainer() {
|
|
16513
16530
|
if (!this.o.fullsize &&
|
|
16514
|
-
((0,
|
|
16531
|
+
((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_8__/* .isString */ .K)(this.o.toolbar) || jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isHTMLElement(this.o.toolbar))) {
|
|
16515
16532
|
return (0,jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_4__/* .resolveElement */ .tI)(this.o.toolbar, this.o.shadowRoot || this.od);
|
|
16516
16533
|
}
|
|
16517
16534
|
this.o.toolbar &&
|
|
@@ -16583,7 +16600,7 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
|
|
|
16583
16600
|
beforeToolbarBuild(items) {
|
|
16584
16601
|
if (Object.keys(this.groupToButtons).length) {
|
|
16585
16602
|
return items.map(item => {
|
|
16586
|
-
if ((0,
|
|
16603
|
+
if ((0,jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_9__/* .isButtonGroup */ .i)(item) &&
|
|
16587
16604
|
item.group &&
|
|
16588
16605
|
this.groupToButtons[item.group]) {
|
|
16589
16606
|
return {
|
|
@@ -16601,11 +16618,12 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
|
|
|
16601
16618
|
/** @override **/
|
|
16602
16619
|
constructor(options, isJodit = false) {
|
|
16603
16620
|
super(options, isJodit);
|
|
16604
|
-
this.toolbar = (0,
|
|
16621
|
+
this.toolbar = (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_7__/* .makeCollection */ .$K)(this);
|
|
16605
16622
|
this.__defaultToolbarContainer = this.c.div('jodit-toolbar__box');
|
|
16606
16623
|
this.registeredButtons = new Set();
|
|
16607
16624
|
this.groupToButtons = {};
|
|
16608
16625
|
this.isJodit = false;
|
|
16626
|
+
this.__tooltip = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .UITooltip */ .SB(this);
|
|
16609
16627
|
this.isJodit = isJodit;
|
|
16610
16628
|
this.e.on('beforeToolbarBuild', this.beforeToolbarBuild);
|
|
16611
16629
|
}
|
|
@@ -16615,17 +16633,18 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
|
|
|
16615
16633
|
}
|
|
16616
16634
|
this.setStatus(jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
16617
16635
|
this.e.off('beforeToolbarBuild', this.beforeToolbarBuild);
|
|
16636
|
+
this.__tooltip.destruct();
|
|
16618
16637
|
this.toolbar.destruct();
|
|
16619
16638
|
// @ts-ignore After destruct, we are not responsible for anything
|
|
16620
16639
|
this.toolbar = undefined;
|
|
16621
16640
|
super.destruct();
|
|
16622
16641
|
}
|
|
16623
16642
|
}
|
|
16624
|
-
(0,
|
|
16643
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .Cg)([
|
|
16625
16644
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':rebuildToolbar')
|
|
16626
16645
|
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
16627
|
-
(0,
|
|
16628
|
-
|
|
16646
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .Cg)([
|
|
16647
|
+
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Ay
|
|
16629
16648
|
], ViewWithToolbar.prototype, "beforeToolbarBuild", null);
|
|
16630
16649
|
|
|
16631
16650
|
|
|
@@ -24401,7 +24420,6 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24401
24420
|
super(jodit);
|
|
24402
24421
|
this.__listenEvents = 'updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize ' +
|
|
24403
24422
|
'selectionchange changeSelection focus afterSetMode touchstart focus blur';
|
|
24404
|
-
this.__tooltip = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UITooltip */ .SB(this.jodit);
|
|
24405
24423
|
}
|
|
24406
24424
|
__initEvents() {
|
|
24407
24425
|
this.j.e
|
|
@@ -24431,8 +24449,6 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24431
24449
|
if (this.isDestructed) {
|
|
24432
24450
|
return;
|
|
24433
24451
|
}
|
|
24434
|
-
this.__tooltip?.destruct();
|
|
24435
|
-
this.__tooltip = null;
|
|
24436
24452
|
this.j.e
|
|
24437
24453
|
.off(this.__listenEvents, this.update)
|
|
24438
24454
|
.off('afterSetMode focus', this.__immediateUpdate);
|
|
@@ -30409,9 +30425,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('enter
|
|
|
30409
30425
|
*/
|
|
30410
30426
|
function checkBR(fake, jodit, shiftKeyPressed) {
|
|
30411
30427
|
const isMultiLineBlock = Boolean(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.closest(fake, ['pre', 'blockquote'], jodit.editor));
|
|
30428
|
+
const isCell = !isMultiLineBlock && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.closest(fake, ['td', 'th'], jodit.editor);
|
|
30412
30429
|
const isBRMode = jodit.o.enter.toLowerCase() === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.BR.toLowerCase();
|
|
30413
30430
|
// if you use <br> defaultTag for break line or when was entered SHIFt key or in <td> or <th> or <blockquote>
|
|
30414
30431
|
if (isBRMode ||
|
|
30432
|
+
isCell ||
|
|
30415
30433
|
(shiftKeyPressed && !isMultiLineBlock) ||
|
|
30416
30434
|
(!shiftKeyPressed && isMultiLineBlock)) {
|
|
30417
30435
|
// 2 BR before
|
|
@@ -33888,6 +33906,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33888
33906
|
|
|
33889
33907
|
|
|
33890
33908
|
|
|
33909
|
+
// import 'jodit/plugins/debug/debug';
|
|
33891
33910
|
|
|
33892
33911
|
|
|
33893
33912
|
|
|
@@ -34517,10 +34536,10 @@ class inlinePopup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plug
|
|
|
34517
34536
|
if (!this.j.o.toolbarInlineForSelection) {
|
|
34518
34537
|
return;
|
|
34519
34538
|
}
|
|
34520
|
-
const type = 'selection'
|
|
34521
|
-
|
|
34522
|
-
|
|
34523
|
-
|
|
34539
|
+
const type = 'selection';
|
|
34540
|
+
const sel = this.j.s.sel;
|
|
34541
|
+
const range = this.j.s.range;
|
|
34542
|
+
if (sel?.isCollapsed || this.isSelectedTarget(range)) {
|
|
34524
34543
|
if (this.type === type && this.popup.isOpened) {
|
|
34525
34544
|
this.hidePopup();
|
|
34526
34545
|
}
|
|
@@ -34545,9 +34564,9 @@ class inlinePopup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plug
|
|
|
34545
34564
|
/**
|
|
34546
34565
|
* Shortcut for Table module
|
|
34547
34566
|
*/
|
|
34548
|
-
get tableModule() {
|
|
34549
|
-
|
|
34550
|
-
}
|
|
34567
|
+
// private get tableModule(): Table {
|
|
34568
|
+
// return this.j.getInstance<Table>('Table', this.j.o);
|
|
34569
|
+
// }
|
|
34551
34570
|
/** @override **/
|
|
34552
34571
|
beforeDestruct(jodit) {
|
|
34553
34572
|
jodit.e
|
|
@@ -35688,7 +35707,11 @@ class link extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .
|
|
|
35688
35707
|
}
|
|
35689
35708
|
jodit.e.stopPropagation('processPaste');
|
|
35690
35709
|
if (jodit.o.link.processVideoLink) {
|
|
35691
|
-
const embed = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.
|
|
35710
|
+
const embed = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.call)(jodit.o.video?.parseUrlToVideoEmbed ??
|
|
35711
|
+
jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.convertMediaUrlToVideoEmbed, html, {
|
|
35712
|
+
width: jodit.o.video?.defaultWidth,
|
|
35713
|
+
height: jodit.o.video?.defaultHeight
|
|
35714
|
+
});
|
|
35692
35715
|
if (embed !== html) {
|
|
35693
35716
|
return jodit.createInside.fromHTML(embed);
|
|
35694
35717
|
}
|
|
@@ -43484,12 +43507,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
43484
43507
|
|
|
43485
43508
|
|
|
43486
43509
|
|
|
43510
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.video = {
|
|
43511
|
+
parseUrlToVideoEmbed: jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.convertMediaUrlToVideoEmbed,
|
|
43512
|
+
defaultWidth: 400,
|
|
43513
|
+
defaultHeight: 345
|
|
43514
|
+
};
|
|
43487
43515
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
43488
43516
|
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
43489
|
-
popup: (
|
|
43490
|
-
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(
|
|
43491
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(
|
|
43492
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(
|
|
43517
|
+
popup: (jodit, current, close) => {
|
|
43518
|
+
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(jodit, [
|
|
43519
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
43520
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
43493
43521
|
name: 'url',
|
|
43494
43522
|
required: true,
|
|
43495
43523
|
label: 'URL',
|
|
@@ -43497,26 +43525,26 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.vid
|
|
|
43497
43525
|
validators: ['url']
|
|
43498
43526
|
})
|
|
43499
43527
|
]),
|
|
43500
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(
|
|
43501
|
-
(0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(
|
|
43528
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
43529
|
+
(0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(jodit, '', 'Insert', 'primary').onAction(() => formLink.submit())
|
|
43502
43530
|
])
|
|
43503
|
-
]), formCode = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(
|
|
43504
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(
|
|
43505
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UITextArea */ .F0(
|
|
43531
|
+
]), formCode = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(jodit, [
|
|
43532
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
43533
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UITextArea */ .F0(jodit, {
|
|
43506
43534
|
name: 'code',
|
|
43507
43535
|
required: true,
|
|
43508
43536
|
label: 'Embed code'
|
|
43509
43537
|
})
|
|
43510
43538
|
]),
|
|
43511
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(
|
|
43512
|
-
(0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(
|
|
43539
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
43540
|
+
(0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(jodit, '', 'Insert', 'primary').onAction(() => formCode.submit())
|
|
43513
43541
|
])
|
|
43514
43542
|
]), tabs = [], insertCode = (code) => {
|
|
43515
|
-
|
|
43516
|
-
|
|
43543
|
+
jodit.s.restore();
|
|
43544
|
+
jodit.s.insertHTML(code);
|
|
43517
43545
|
close();
|
|
43518
43546
|
};
|
|
43519
|
-
|
|
43547
|
+
jodit.s.save();
|
|
43520
43548
|
tabs.push({
|
|
43521
43549
|
icon: 'link',
|
|
43522
43550
|
name: 'Link',
|
|
@@ -43527,12 +43555,16 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.vid
|
|
|
43527
43555
|
content: formCode.container
|
|
43528
43556
|
});
|
|
43529
43557
|
formLink.onSubmit(data => {
|
|
43530
|
-
insertCode((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.
|
|
43558
|
+
insertCode((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.call)(jodit.o.video?.parseUrlToVideoEmbed ??
|
|
43559
|
+
jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.convertMediaUrlToVideoEmbed, data.url, {
|
|
43560
|
+
width: jodit.o.video?.defaultWidth,
|
|
43561
|
+
height: jodit.o.video?.defaultHeight
|
|
43562
|
+
}));
|
|
43531
43563
|
});
|
|
43532
43564
|
formCode.onSubmit(data => {
|
|
43533
43565
|
insertCode(data.code);
|
|
43534
43566
|
});
|
|
43535
|
-
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(
|
|
43567
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(jodit, tabs);
|
|
43536
43568
|
},
|
|
43537
43569
|
tags: ['iframe'],
|
|
43538
43570
|
tooltip: 'Insert youtube/vimeo video'
|
|
@@ -46307,7 +46339,7 @@ module.exports = {assert(){}};;
|
|
|
46307
46339
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
46308
46340
|
/* harmony export */ Cg: function() { return /* binding */ __decorate; }
|
|
46309
46341
|
/* harmony export */ });
|
|
46310
|
-
/* unused harmony exports __extends, __assign, __rest, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources */
|
|
46342
|
+
/* unused harmony exports __extends, __assign, __rest, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources, __rewriteRelativeImportExtension */
|
|
46311
46343
|
/******************************************************************************
|
|
46312
46344
|
Copyright (c) Microsoft Corporation.
|
|
46313
46345
|
|
|
@@ -46573,10 +46605,19 @@ var __setModuleDefault = Object.create ? (function(o, v) {
|
|
|
46573
46605
|
o["default"] = v;
|
|
46574
46606
|
};
|
|
46575
46607
|
|
|
46608
|
+
var ownKeys = function(o) {
|
|
46609
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
46610
|
+
var ar = [];
|
|
46611
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
46612
|
+
return ar;
|
|
46613
|
+
};
|
|
46614
|
+
return ownKeys(o);
|
|
46615
|
+
};
|
|
46616
|
+
|
|
46576
46617
|
function __importStar(mod) {
|
|
46577
46618
|
if (mod && mod.__esModule) return mod;
|
|
46578
46619
|
var result = {};
|
|
46579
|
-
if (mod != null) for (var k
|
|
46620
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
46580
46621
|
__setModuleDefault(result, mod);
|
|
46581
46622
|
return result;
|
|
46582
46623
|
}
|
|
@@ -46657,12 +46698,25 @@ function __disposeResources(env) {
|
|
|
46657
46698
|
return next();
|
|
46658
46699
|
}
|
|
46659
46700
|
|
|
46701
|
+
function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
46702
|
+
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
46703
|
+
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
|
46704
|
+
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
|
46705
|
+
});
|
|
46706
|
+
}
|
|
46707
|
+
return path;
|
|
46708
|
+
}
|
|
46709
|
+
|
|
46660
46710
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
46661
46711
|
__extends,
|
|
46662
46712
|
__assign,
|
|
46663
46713
|
__rest,
|
|
46664
46714
|
__decorate,
|
|
46665
46715
|
__param,
|
|
46716
|
+
__esDecorate,
|
|
46717
|
+
__runInitializers,
|
|
46718
|
+
__propKey,
|
|
46719
|
+
__setFunctionName,
|
|
46666
46720
|
__metadata,
|
|
46667
46721
|
__awaiter,
|
|
46668
46722
|
__generator,
|
|
@@ -46685,6 +46739,7 @@ function __disposeResources(env) {
|
|
|
46685
46739
|
__classPrivateFieldIn,
|
|
46686
46740
|
__addDisposableResource,
|
|
46687
46741
|
__disposeResources,
|
|
46742
|
+
__rewriteRelativeImportExtension,
|
|
46688
46743
|
});
|
|
46689
46744
|
|
|
46690
46745
|
|
|
@@ -46970,7 +47025,7 @@ function __disposeResources(env) {
|
|
|
46970
47025
|
/******/
|
|
46971
47026
|
/************************************************************************/
|
|
46972
47027
|
var __webpack_exports__ = {};
|
|
46973
|
-
// This entry
|
|
47028
|
+
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
46974
47029
|
!function() {
|
|
46975
47030
|
"use strict";
|
|
46976
47031
|
__webpack_require__.r(__webpack_exports__);
|