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.en/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.40
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2303,7 +2303,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2303
2303
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2304
2304
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2305
2305
|
*/
|
|
2306
|
-
const APP_VERSION = "4.2.
|
|
2306
|
+
const APP_VERSION = "4.2.40";
|
|
2307
2307
|
// prettier-ignore
|
|
2308
2308
|
const ES = "es2021";
|
|
2309
2309
|
const IS_ES_MODERN = true;
|
|
@@ -8239,11 +8239,12 @@ function ConfigFlatten(obj) {
|
|
|
8239
8239
|
/**
|
|
8240
8240
|
* Javascript url pattern converter replace youtube/vimeo url in embed code.
|
|
8241
8241
|
*/
|
|
8242
|
-
const convertMediaUrlToVideoEmbed = (url, width = 400, height = 345) => {
|
|
8242
|
+
const convertMediaUrlToVideoEmbed = (url, { width = 400, height = 345 } = {}) => {
|
|
8243
8243
|
if (!(0,jodit_core_helpers_checker_is_url__WEBPACK_IMPORTED_MODULE_1__/* .isURL */ .m)(url)) {
|
|
8244
8244
|
return url;
|
|
8245
8245
|
}
|
|
8246
|
-
const parser = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('a')
|
|
8246
|
+
const parser = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.globalDocument.createElement('a');
|
|
8247
|
+
const pattern1 = /(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;
|
|
8247
8248
|
parser.href = url;
|
|
8248
8249
|
if (!width) {
|
|
8249
8250
|
width = 400;
|
|
@@ -8270,7 +8271,10 @@ const convertMediaUrlToVideoEmbed = (url, width = 400, height = 345) => {
|
|
|
8270
8271
|
case 'www.youtu.be': {
|
|
8271
8272
|
const query = parser.search
|
|
8272
8273
|
? (0,_parse_query__WEBPACK_IMPORTED_MODULE_2__/* .parseQuery */ .m)(parser.search)
|
|
8273
|
-
: { v: parser.pathname.
|
|
8274
|
+
: { v: parser.pathname.substring(1) };
|
|
8275
|
+
if (/^embed\/.*/.test(query.v)) {
|
|
8276
|
+
query.v = query.v.substring(6);
|
|
8277
|
+
}
|
|
8274
8278
|
return query.v
|
|
8275
8279
|
? '<iframe width="' +
|
|
8276
8280
|
width +
|
|
@@ -13978,6 +13982,7 @@ const JODIT_EVENTS_ON_HIDE = [
|
|
|
13978
13982
|
'changePlace.tooltip',
|
|
13979
13983
|
'afterOpenPopup.tooltip',
|
|
13980
13984
|
'hidePopup.tooltip',
|
|
13985
|
+
'beforePopupClose.tooltip',
|
|
13981
13986
|
'closeAllPopups.tooltip'
|
|
13982
13987
|
];
|
|
13983
13988
|
let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_5__/* .UIElement */ .D {
|
|
@@ -13990,6 +13995,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
13990
13995
|
constructor(view) {
|
|
13991
13996
|
super(view);
|
|
13992
13997
|
this.__isOpened = false;
|
|
13998
|
+
this.__attachedContainers = new Set();
|
|
13993
13999
|
this.__listenClose = false;
|
|
13994
14000
|
this.__currentTarget = null;
|
|
13995
14001
|
this.__delayShowTimeout = 0;
|
|
@@ -14008,7 +14014,16 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14008
14014
|
__onAttach(container) {
|
|
14009
14015
|
// TODO Move it inside __show method. Now it is here because testcase failed with capturing
|
|
14010
14016
|
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(this.j, UITooltip_1).appendChild(this.container);
|
|
14011
|
-
this.
|
|
14017
|
+
this.__attachedContainers.add(container);
|
|
14018
|
+
this.__attachedContainers.add(this.j.container);
|
|
14019
|
+
this.j.e
|
|
14020
|
+
.on(container, 'mouseenter.tooltip', this.__onMouseEnter, {
|
|
14021
|
+
capture: true
|
|
14022
|
+
})
|
|
14023
|
+
.on(container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14024
|
+
capture: true
|
|
14025
|
+
})
|
|
14026
|
+
.on(this.j.container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14012
14027
|
capture: true
|
|
14013
14028
|
});
|
|
14014
14029
|
}
|
|
@@ -14020,10 +14035,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14020
14035
|
const view = this.j;
|
|
14021
14036
|
view.e
|
|
14022
14037
|
.on(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14023
|
-
.on(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14024
|
-
.on(view.container, 'mouseleave.tooltip', this.__onMouseLeave, {
|
|
14025
|
-
capture: true
|
|
14026
|
-
});
|
|
14038
|
+
.on(JODIT_EVENTS_ON_HIDE, this.__hide);
|
|
14027
14039
|
}
|
|
14028
14040
|
__removeListenersOnLeave() {
|
|
14029
14041
|
if (!this.__listenClose) {
|
|
@@ -14033,8 +14045,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14033
14045
|
const view = this.j;
|
|
14034
14046
|
view.e
|
|
14035
14047
|
.off(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
|
|
14036
|
-
.off(JODIT_EVENTS_ON_HIDE, this.__hide)
|
|
14037
|
-
.off(view.container, 'mouseleave.tooltip', this.__onMouseLeave);
|
|
14048
|
+
.off(JODIT_EVENTS_ON_HIDE, this.__hide);
|
|
14038
14049
|
}
|
|
14039
14050
|
__onMouseLeave(e) {
|
|
14040
14051
|
if (this.__currentTarget === e.target) {
|
|
@@ -14111,7 +14122,11 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
|
|
|
14111
14122
|
this.__hideTimeout = this.async.setTimeout(this.__hide, this.j.defaultTimeout);
|
|
14112
14123
|
}
|
|
14113
14124
|
destruct() {
|
|
14114
|
-
this.
|
|
14125
|
+
this.__attachedContainers.forEach(container => {
|
|
14126
|
+
this.j.e
|
|
14127
|
+
.off(container, 'mouseenter.tooltip', this.__onMouseEnter)
|
|
14128
|
+
.off(container, 'mouseleave.tooltip', this.__onMouseLeave);
|
|
14129
|
+
});
|
|
14115
14130
|
this.__hide();
|
|
14116
14131
|
super.destruct();
|
|
14117
14132
|
}
|
|
@@ -16330,17 +16345,18 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
|
|
|
16330
16345
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16331
16346
|
/* harmony export */ T: function() { return /* binding */ ViewWithToolbar; }
|
|
16332
16347
|
/* harmony export */ });
|
|
16333
|
-
/* harmony import */ var
|
|
16348
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31635);
|
|
16334
16349
|
/* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33894);
|
|
16335
|
-
/* harmony import */ var
|
|
16350
|
+
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(33442);
|
|
16336
16351
|
/* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(24014);
|
|
16337
16352
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23545);
|
|
16338
16353
|
/* harmony import */ var jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23462);
|
|
16339
|
-
/* harmony import */ var
|
|
16354
|
+
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(26986);
|
|
16340
16355
|
/* harmony import */ var jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(52989);
|
|
16341
|
-
/* harmony import */ var
|
|
16342
|
-
/* harmony import */ var
|
|
16343
|
-
/* harmony import */ var
|
|
16356
|
+
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(76185);
|
|
16357
|
+
/* harmony import */ var jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(73246);
|
|
16358
|
+
/* harmony import */ var jodit_core_view_view__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50313);
|
|
16359
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(78072);
|
|
16344
16360
|
/*!
|
|
16345
16361
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16346
16362
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16358,13 +16374,14 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
|
|
|
16358
16374
|
|
|
16359
16375
|
|
|
16360
16376
|
|
|
16361
|
-
|
|
16377
|
+
|
|
16378
|
+
class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_6__/* .View */ .S {
|
|
16362
16379
|
/**
|
|
16363
16380
|
* Container for toolbar
|
|
16364
16381
|
*/
|
|
16365
16382
|
get toolbarContainer() {
|
|
16366
16383
|
if (!this.o.fullsize &&
|
|
16367
|
-
((0,
|
|
16384
|
+
((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))) {
|
|
16368
16385
|
return (0,jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_4__/* .resolveElement */ .tI)(this.o.toolbar, this.o.shadowRoot || this.od);
|
|
16369
16386
|
}
|
|
16370
16387
|
this.o.toolbar &&
|
|
@@ -16436,7 +16453,7 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
|
|
|
16436
16453
|
beforeToolbarBuild(items) {
|
|
16437
16454
|
if (Object.keys(this.groupToButtons).length) {
|
|
16438
16455
|
return items.map(item => {
|
|
16439
|
-
if ((0,
|
|
16456
|
+
if ((0,jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_9__/* .isButtonGroup */ .i)(item) &&
|
|
16440
16457
|
item.group &&
|
|
16441
16458
|
this.groupToButtons[item.group]) {
|
|
16442
16459
|
return {
|
|
@@ -16454,11 +16471,12 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
|
|
|
16454
16471
|
/** @override **/
|
|
16455
16472
|
constructor(options, isJodit = false) {
|
|
16456
16473
|
super(options, isJodit);
|
|
16457
|
-
this.toolbar = (0,
|
|
16474
|
+
this.toolbar = (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_7__/* .makeCollection */ .$K)(this);
|
|
16458
16475
|
this.__defaultToolbarContainer = this.c.div('jodit-toolbar__box');
|
|
16459
16476
|
this.registeredButtons = new Set();
|
|
16460
16477
|
this.groupToButtons = {};
|
|
16461
16478
|
this.isJodit = false;
|
|
16479
|
+
this.__tooltip = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .UITooltip */ .SB(this);
|
|
16462
16480
|
this.isJodit = isJodit;
|
|
16463
16481
|
this.e.on('beforeToolbarBuild', this.beforeToolbarBuild);
|
|
16464
16482
|
}
|
|
@@ -16468,17 +16486,18 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
|
|
|
16468
16486
|
}
|
|
16469
16487
|
this.setStatus(jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
16470
16488
|
this.e.off('beforeToolbarBuild', this.beforeToolbarBuild);
|
|
16489
|
+
this.__tooltip.destruct();
|
|
16471
16490
|
this.toolbar.destruct();
|
|
16472
16491
|
// @ts-ignore After destruct, we are not responsible for anything
|
|
16473
16492
|
this.toolbar = undefined;
|
|
16474
16493
|
super.destruct();
|
|
16475
16494
|
}
|
|
16476
16495
|
}
|
|
16477
|
-
(0,
|
|
16496
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .Cg)([
|
|
16478
16497
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':rebuildToolbar')
|
|
16479
16498
|
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
16480
|
-
(0,
|
|
16481
|
-
|
|
16499
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .Cg)([
|
|
16500
|
+
jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Ay
|
|
16482
16501
|
], ViewWithToolbar.prototype, "beforeToolbarBuild", null);
|
|
16483
16502
|
|
|
16484
16503
|
|
|
@@ -24235,7 +24254,6 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24235
24254
|
super(jodit);
|
|
24236
24255
|
this.__listenEvents = 'updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize ' +
|
|
24237
24256
|
'selectionchange changeSelection focus afterSetMode touchstart focus blur';
|
|
24238
|
-
this.__tooltip = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UITooltip */ .SB(this.jodit);
|
|
24239
24257
|
}
|
|
24240
24258
|
__initEvents() {
|
|
24241
24259
|
this.j.e
|
|
@@ -24265,8 +24283,6 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
|
|
|
24265
24283
|
if (this.isDestructed) {
|
|
24266
24284
|
return;
|
|
24267
24285
|
}
|
|
24268
|
-
this.__tooltip?.destruct();
|
|
24269
|
-
this.__tooltip = null;
|
|
24270
24286
|
this.j.e
|
|
24271
24287
|
.off(this.__listenEvents, this.update)
|
|
24272
24288
|
.off('afterSetMode focus', this.__immediateUpdate);
|
|
@@ -29793,9 +29809,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('enter
|
|
|
29793
29809
|
*/
|
|
29794
29810
|
function checkBR(fake, jodit, shiftKeyPressed) {
|
|
29795
29811
|
const isMultiLineBlock = Boolean(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.closest(fake, ['pre', 'blockquote'], jodit.editor));
|
|
29812
|
+
const isCell = !isMultiLineBlock && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.closest(fake, ['td', 'th'], jodit.editor);
|
|
29796
29813
|
const isBRMode = jodit.o.enter.toLowerCase() === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.BR.toLowerCase();
|
|
29797
29814
|
// if you use <br> defaultTag for break line or when was entered SHIFt key or in <td> or <th> or <blockquote>
|
|
29798
29815
|
if (isBRMode ||
|
|
29816
|
+
isCell ||
|
|
29799
29817
|
(shiftKeyPressed && !isMultiLineBlock) ||
|
|
29800
29818
|
(!shiftKeyPressed && isMultiLineBlock)) {
|
|
29801
29819
|
// 2 BR before
|
|
@@ -33272,6 +33290,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33272
33290
|
|
|
33273
33291
|
|
|
33274
33292
|
|
|
33293
|
+
// import 'jodit/plugins/debug/debug';
|
|
33275
33294
|
|
|
33276
33295
|
|
|
33277
33296
|
|
|
@@ -33901,10 +33920,10 @@ class inlinePopup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plug
|
|
|
33901
33920
|
if (!this.j.o.toolbarInlineForSelection) {
|
|
33902
33921
|
return;
|
|
33903
33922
|
}
|
|
33904
|
-
const type = 'selection'
|
|
33905
|
-
|
|
33906
|
-
|
|
33907
|
-
|
|
33923
|
+
const type = 'selection';
|
|
33924
|
+
const sel = this.j.s.sel;
|
|
33925
|
+
const range = this.j.s.range;
|
|
33926
|
+
if (sel?.isCollapsed || this.isSelectedTarget(range)) {
|
|
33908
33927
|
if (this.type === type && this.popup.isOpened) {
|
|
33909
33928
|
this.hidePopup();
|
|
33910
33929
|
}
|
|
@@ -33929,9 +33948,9 @@ class inlinePopup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plug
|
|
|
33929
33948
|
/**
|
|
33930
33949
|
* Shortcut for Table module
|
|
33931
33950
|
*/
|
|
33932
|
-
get tableModule() {
|
|
33933
|
-
|
|
33934
|
-
}
|
|
33951
|
+
// private get tableModule(): Table {
|
|
33952
|
+
// return this.j.getInstance<Table>('Table', this.j.o);
|
|
33953
|
+
// }
|
|
33935
33954
|
/** @override **/
|
|
33936
33955
|
beforeDestruct(jodit) {
|
|
33937
33956
|
jodit.e
|
|
@@ -34656,7 +34675,11 @@ class link extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .
|
|
|
34656
34675
|
}
|
|
34657
34676
|
jodit.e.stopPropagation('processPaste');
|
|
34658
34677
|
if (jodit.o.link.processVideoLink) {
|
|
34659
|
-
const embed = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.
|
|
34678
|
+
const embed = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.call)(jodit.o.video?.parseUrlToVideoEmbed ??
|
|
34679
|
+
jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.convertMediaUrlToVideoEmbed, html, {
|
|
34680
|
+
width: jodit.o.video?.defaultWidth,
|
|
34681
|
+
height: jodit.o.video?.defaultHeight
|
|
34682
|
+
});
|
|
34660
34683
|
if (embed !== html) {
|
|
34661
34684
|
return jodit.createInside.fromHTML(embed);
|
|
34662
34685
|
}
|
|
@@ -41620,12 +41643,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
41620
41643
|
|
|
41621
41644
|
|
|
41622
41645
|
|
|
41646
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.video = {
|
|
41647
|
+
parseUrlToVideoEmbed: jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.convertMediaUrlToVideoEmbed,
|
|
41648
|
+
defaultWidth: 400,
|
|
41649
|
+
defaultHeight: 345
|
|
41650
|
+
};
|
|
41623
41651
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
41624
41652
|
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
41625
|
-
popup: (
|
|
41626
|
-
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(
|
|
41627
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(
|
|
41628
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(
|
|
41653
|
+
popup: (jodit, current, close) => {
|
|
41654
|
+
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(jodit, [
|
|
41655
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
41656
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIInput */ .tS(jodit, {
|
|
41629
41657
|
name: 'url',
|
|
41630
41658
|
required: true,
|
|
41631
41659
|
label: 'URL',
|
|
@@ -41633,26 +41661,26 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.vid
|
|
|
41633
41661
|
validators: ['url']
|
|
41634
41662
|
})
|
|
41635
41663
|
]),
|
|
41636
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(
|
|
41637
|
-
(0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(
|
|
41664
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
41665
|
+
(0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(jodit, '', 'Insert', 'primary').onAction(() => formLink.submit())
|
|
41638
41666
|
])
|
|
41639
|
-
]), formCode = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(
|
|
41640
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(
|
|
41641
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UITextArea */ .F0(
|
|
41667
|
+
]), formCode = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(jodit, [
|
|
41668
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
41669
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UITextArea */ .F0(jodit, {
|
|
41642
41670
|
name: 'code',
|
|
41643
41671
|
required: true,
|
|
41644
41672
|
label: 'Embed code'
|
|
41645
41673
|
})
|
|
41646
41674
|
]),
|
|
41647
|
-
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(
|
|
41648
|
-
(0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(
|
|
41675
|
+
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(jodit, [
|
|
41676
|
+
(0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__/* .Button */ .$n)(jodit, '', 'Insert', 'primary').onAction(() => formCode.submit())
|
|
41649
41677
|
])
|
|
41650
41678
|
]), tabs = [], insertCode = (code) => {
|
|
41651
|
-
|
|
41652
|
-
|
|
41679
|
+
jodit.s.restore();
|
|
41680
|
+
jodit.s.insertHTML(code);
|
|
41653
41681
|
close();
|
|
41654
41682
|
};
|
|
41655
|
-
|
|
41683
|
+
jodit.s.save();
|
|
41656
41684
|
tabs.push({
|
|
41657
41685
|
icon: 'link',
|
|
41658
41686
|
name: 'Link',
|
|
@@ -41663,12 +41691,16 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.vid
|
|
|
41663
41691
|
content: formCode.container
|
|
41664
41692
|
});
|
|
41665
41693
|
formLink.onSubmit(data => {
|
|
41666
|
-
insertCode((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.
|
|
41694
|
+
insertCode((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.call)(jodit.o.video?.parseUrlToVideoEmbed ??
|
|
41695
|
+
jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.convertMediaUrlToVideoEmbed, data.url, {
|
|
41696
|
+
width: jodit.o.video?.defaultWidth,
|
|
41697
|
+
height: jodit.o.video?.defaultHeight
|
|
41698
|
+
}));
|
|
41667
41699
|
});
|
|
41668
41700
|
formCode.onSubmit(data => {
|
|
41669
41701
|
insertCode(data.code);
|
|
41670
41702
|
});
|
|
41671
|
-
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(
|
|
41703
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(jodit, tabs);
|
|
41672
41704
|
},
|
|
41673
41705
|
tags: ['iframe'],
|
|
41674
41706
|
tooltip: 'Insert youtube/vimeo video'
|
|
@@ -44451,7 +44483,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__41324__;
|
|
|
44451
44483
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44452
44484
|
/* harmony export */ Cg: function() { return /* binding */ __decorate; }
|
|
44453
44485
|
/* harmony export */ });
|
|
44454
|
-
/* 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 */
|
|
44486
|
+
/* 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 */
|
|
44455
44487
|
/******************************************************************************
|
|
44456
44488
|
Copyright (c) Microsoft Corporation.
|
|
44457
44489
|
|
|
@@ -44717,10 +44749,19 @@ var __setModuleDefault = Object.create ? (function(o, v) {
|
|
|
44717
44749
|
o["default"] = v;
|
|
44718
44750
|
};
|
|
44719
44751
|
|
|
44752
|
+
var ownKeys = function(o) {
|
|
44753
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
44754
|
+
var ar = [];
|
|
44755
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
44756
|
+
return ar;
|
|
44757
|
+
};
|
|
44758
|
+
return ownKeys(o);
|
|
44759
|
+
};
|
|
44760
|
+
|
|
44720
44761
|
function __importStar(mod) {
|
|
44721
44762
|
if (mod && mod.__esModule) return mod;
|
|
44722
44763
|
var result = {};
|
|
44723
|
-
if (mod != null) for (var k
|
|
44764
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44724
44765
|
__setModuleDefault(result, mod);
|
|
44725
44766
|
return result;
|
|
44726
44767
|
}
|
|
@@ -44801,12 +44842,25 @@ function __disposeResources(env) {
|
|
|
44801
44842
|
return next();
|
|
44802
44843
|
}
|
|
44803
44844
|
|
|
44845
|
+
function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
44846
|
+
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
44847
|
+
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
|
44848
|
+
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
|
44849
|
+
});
|
|
44850
|
+
}
|
|
44851
|
+
return path;
|
|
44852
|
+
}
|
|
44853
|
+
|
|
44804
44854
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
44805
44855
|
__extends,
|
|
44806
44856
|
__assign,
|
|
44807
44857
|
__rest,
|
|
44808
44858
|
__decorate,
|
|
44809
44859
|
__param,
|
|
44860
|
+
__esDecorate,
|
|
44861
|
+
__runInitializers,
|
|
44862
|
+
__propKey,
|
|
44863
|
+
__setFunctionName,
|
|
44810
44864
|
__metadata,
|
|
44811
44865
|
__awaiter,
|
|
44812
44866
|
__generator,
|
|
@@ -44829,6 +44883,7 @@ function __disposeResources(env) {
|
|
|
44829
44883
|
__classPrivateFieldIn,
|
|
44830
44884
|
__addDisposableResource,
|
|
44831
44885
|
__disposeResources,
|
|
44886
|
+
__rewriteRelativeImportExtension,
|
|
44832
44887
|
});
|
|
44833
44888
|
|
|
44834
44889
|
|
|
@@ -45114,7 +45169,7 @@ function __disposeResources(env) {
|
|
|
45114
45169
|
/******/
|
|
45115
45170
|
/************************************************************************/
|
|
45116
45171
|
var __webpack_exports__ = {};
|
|
45117
|
-
// This entry
|
|
45172
|
+
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
45118
45173
|
!function() {
|
|
45119
45174
|
"use strict";
|
|
45120
45175
|
__webpack_require__.r(__webpack_exports__);
|