jodit-pro 4.14.7 → 4.14.9
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 +1 -1
- package/es2015/jodit.fat.min.js +5 -5
- package/es2015/jodit.js +75 -44
- package/es2015/jodit.min.js +5 -5
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.css +1 -1
- 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/image-editor-pro/image-editor-pro.css +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2015/plugins/image-editor-pro/image-editor-pro.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/style/style.css +1 -1
- package/es2015/plugins/style/style.js +1 -1
- package/es2015/plugins/style/style.min.js +1 -1
- package/es2015/plugins/templates/templates.css +1 -1
- package/es2015/plugins/templates/templates.js +1 -1
- package/es2015/plugins/templates/templates.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/jodit.fat.min.js +9 -9
- package/es2018/jodit.min.js +5 -5
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/style/style.min.js +1 -1
- package/es2018/plugins/templates/templates.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +10 -10
- package/es2021/jodit.js +75 -44
- package/es2021/jodit.min.js +5 -5
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.css +1 -1
- 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/image-editor-pro/image-editor-pro.css +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2021/plugins/image-editor-pro/image-editor-pro.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/style/style.css +1 -1
- package/es2021/plugins/style/style.js +1 -1
- package/es2021/plugins/style/style.min.js +1 -1
- package/es2021/plugins/templates/templates.css +1 -1
- package/es2021/plugins/templates/templates.js +1 -1
- package/es2021/plugins/templates/templates.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/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +5 -5
- package/es2021.en/jodit.js +75 -44
- package/es2021.en/jodit.min.js +5 -5
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.css +1 -1
- 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/image-editor-pro/image-editor-pro.css +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es2021.en/plugins/image-editor-pro/image-editor-pro.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/style/style.css +1 -1
- package/es2021.en/plugins/style/style.js +1 -1
- package/es2021.en/plugins/style/style.min.js +1 -1
- package/es2021.en/plugins/templates/templates.css +1 -1
- package/es2021.en/plugins/templates/templates.js +1 -1
- package/es2021.en/plugins/templates/templates.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/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +75 -44
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.css +1 -1
- 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/image-editor-pro/image-editor-pro.css +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.js +1 -1
- package/es5/plugins/image-editor-pro/image-editor-pro.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/style/style.css +1 -1
- package/es5/plugins/style/style.js +1 -1
- package/es5/plugins/style/style.min.js +1 -1
- package/es5/plugins/templates/templates.css +1 -1
- package/es5/plugins/templates/templates.js +1 -1
- package/es5/plugins/templates/templates.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/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/package.json +1 -1
package/es2015/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.14.
|
|
4
|
+
* Version: v4.14.9
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -1771,7 +1771,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1771
1771
|
* ```
|
|
1772
1772
|
* @packageDocumentation
|
|
1773
1773
|
* @module constants
|
|
1774
|
-
*/ const APP_VERSION = "4.14.
|
|
1774
|
+
*/ const APP_VERSION = "4.14.9";
|
|
1775
1775
|
// prettier-ignore
|
|
1776
1776
|
const ES = "es2015";
|
|
1777
1777
|
const IS_ES_MODERN = true;
|
|
@@ -26395,7 +26395,7 @@ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = '
|
|
|
26395
26395
|
}
|
|
26396
26396
|
} : false,
|
|
26397
26397
|
{
|
|
26398
|
-
icon: '
|
|
26398
|
+
icon: 'download',
|
|
26399
26399
|
title: 'Download',
|
|
26400
26400
|
exec: ()=>{
|
|
26401
26401
|
const url = ga('href');
|
|
@@ -39490,6 +39490,25 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.iframeSandbox = null;
|
|
|
39490
39490
|
}
|
|
39491
39491
|
return html;
|
|
39492
39492
|
};
|
|
39493
|
+
/**
|
|
39494
|
+
* Replace the whole iframe document with the given HTML.
|
|
39495
|
+
*
|
|
39496
|
+
* The markup is parsed in an inert document first (no browsing
|
|
39497
|
+
* context: scripts do not run, sub-resources are not fetched),
|
|
39498
|
+
* sanitized there via `safeHTML`, and only then moved into the
|
|
39499
|
+
* live document. `document.write` on the live document would
|
|
39500
|
+
* execute inline scripts and event handlers while parsing,
|
|
39501
|
+
* before the sanitizer had a chance to strip them, and the
|
|
39502
|
+
* iframe is same-origin with the host page by default.
|
|
39503
|
+
* A `<script>` the cleaner is configured to keep still never
|
|
39504
|
+
* executes: nodes coming from an inert parser are flagged
|
|
39505
|
+
* "already started", exactly like `innerHTML`.
|
|
39506
|
+
* See GHSA-w3xv-x3fm-59ph.
|
|
39507
|
+
*/ const replaceDocument = (html)=>{
|
|
39508
|
+
const inert = new DOMParser().parseFromString(html, 'text/html');
|
|
39509
|
+
editor.e.fire('safeHTML', inert.documentElement);
|
|
39510
|
+
doc.replaceChild(doc.adoptNode(inert.documentElement), doc.documentElement);
|
|
39511
|
+
};
|
|
39493
39512
|
if (docMode) {
|
|
39494
39513
|
const tag = editor.element.tagName;
|
|
39495
39514
|
if (tag !== 'TEXTAREA' && tag !== 'INPUT') {
|
|
@@ -39502,19 +39521,20 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.iframeSandbox = null;
|
|
|
39502
39521
|
if (/<(html|body)/i.test(value)) {
|
|
39503
39522
|
const old = doc.documentElement.outerHTML;
|
|
39504
39523
|
if (clearMarkers(old) !== clearMarkers(value)) {
|
|
39505
|
-
|
|
39506
|
-
doc.write(editor.o.iframeDoctype + clearMarkers(value));
|
|
39507
|
-
doc.close();
|
|
39524
|
+
replaceDocument(clearMarkers(value));
|
|
39508
39525
|
editor.editor = doc.body;
|
|
39509
|
-
editor.e.fire('safeHTML', editor.editor);
|
|
39510
39526
|
toggleEditable();
|
|
39511
39527
|
editor.e.fire('prepareWYSIWYGEditor');
|
|
39512
39528
|
editor.e.stopPropagation('beforeSetNativeEditorValue');
|
|
39513
39529
|
}
|
|
39514
|
-
|
|
39515
|
-
doc.body.innerHTML = value;
|
|
39530
|
+
return true;
|
|
39516
39531
|
}
|
|
39517
|
-
|
|
39532
|
+
// A partial value goes through the regular
|
|
39533
|
+
// path: `clean-html` sanitizes it and the
|
|
39534
|
+
// editor assigns it to `doc.body` via
|
|
39535
|
+
// `innerHTML`. Writing the raw value here
|
|
39536
|
+
// would fire its event handlers first.
|
|
39537
|
+
return false;
|
|
39518
39538
|
}, {
|
|
39519
39539
|
top: true
|
|
39520
39540
|
});
|
|
@@ -53233,6 +53253,14 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
|
53233
53253
|
/* harmony default export */ __webpack_exports__["default"] = ("<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 24 24\" > <circle cx=\"12\" cy=\"12\" r=\"2.2\"/> <circle cx=\"12\" cy=\"5\" r=\"2.2\"/> <circle cx=\"12\" cy=\"19\" r=\"2.2\"/> </svg> ");
|
|
53234
53254
|
|
|
53235
53255
|
|
|
53256
|
+
/***/ }),
|
|
53257
|
+
|
|
53258
|
+
/***/ 1647:
|
|
53259
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
53260
|
+
|
|
53261
|
+
/* harmony default export */ __webpack_exports__["default"] = ("<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 1792 1792\"> <path d=\"M1344 1344q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h465l135 136q58 56 136 56t136-56l136-136h464q40 0 68 28t28 68zm-325-569q17 41-14 70l-448 448q-18 19-45 19t-45-19l-448-448q-31-29-14-70 17-39 59-39h256v-448q0-26 19-45t45-19h256q26 0 45 19t19 45v448h256q42 0 59 39z\"/> </svg> ");
|
|
53262
|
+
|
|
53263
|
+
|
|
53236
53264
|
/***/ }),
|
|
53237
53265
|
|
|
53238
53266
|
/***/ 43478:
|
|
@@ -53274,23 +53302,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
53274
53302
|
/* harmony export */ check: function() { return /* reexport safe */ _check_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]; },
|
|
53275
53303
|
/* harmony export */ chevron: function() { return /* reexport safe */ _chevron_svg_js__WEBPACK_IMPORTED_MODULE_8__["default"]; },
|
|
53276
53304
|
/* harmony export */ dots: function() { return /* reexport safe */ _dots_svg_js__WEBPACK_IMPORTED_MODULE_9__["default"]; },
|
|
53277
|
-
/* harmony export */
|
|
53278
|
-
/* harmony export */
|
|
53279
|
-
/* harmony export */
|
|
53280
|
-
/* harmony export */
|
|
53281
|
-
/* harmony export */
|
|
53282
|
-
/* harmony export */
|
|
53283
|
-
/* harmony export */
|
|
53284
|
-
/* harmony export */
|
|
53285
|
-
/* harmony export */
|
|
53286
|
-
/* harmony export */
|
|
53287
|
-
/* harmony export */
|
|
53288
|
-
/* harmony export */
|
|
53289
|
-
/* harmony export */
|
|
53290
|
-
/* harmony export */
|
|
53291
|
-
/* harmony export */
|
|
53292
|
-
/* harmony export */
|
|
53293
|
-
/* harmony export */
|
|
53305
|
+
/* harmony export */ download: function() { return /* reexport safe */ _download_svg_js__WEBPACK_IMPORTED_MODULE_10__["default"]; },
|
|
53306
|
+
/* harmony export */ eye: function() { return /* reexport safe */ _eye_svg_js__WEBPACK_IMPORTED_MODULE_11__["default"]; },
|
|
53307
|
+
/* harmony export */ file: function() { return /* reexport safe */ _file_svg_js__WEBPACK_IMPORTED_MODULE_12__["default"]; },
|
|
53308
|
+
/* harmony export */ folder: function() { return /* reexport safe */ _folder_svg_js__WEBPACK_IMPORTED_MODULE_13__["default"]; },
|
|
53309
|
+
/* harmony export */ info_circle: function() { return /* reexport safe */ _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_14__["default"]; },
|
|
53310
|
+
/* harmony export */ left: function() { return /* reexport safe */ _left_svg_js__WEBPACK_IMPORTED_MODULE_15__["default"]; },
|
|
53311
|
+
/* harmony export */ lock: function() { return /* reexport safe */ _lock_svg_js__WEBPACK_IMPORTED_MODULE_16__["default"]; },
|
|
53312
|
+
/* harmony export */ ok: function() { return /* reexport safe */ _ok_svg_js__WEBPACK_IMPORTED_MODULE_17__["default"]; },
|
|
53313
|
+
/* harmony export */ pencil: function() { return /* reexport safe */ _pencil_svg_js__WEBPACK_IMPORTED_MODULE_18__["default"]; },
|
|
53314
|
+
/* harmony export */ plus: function() { return /* reexport safe */ _plus_svg_js__WEBPACK_IMPORTED_MODULE_19__["default"]; },
|
|
53315
|
+
/* harmony export */ resize_handler: function() { return /* reexport safe */ _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_20__["default"]; },
|
|
53316
|
+
/* harmony export */ right: function() { return /* reexport safe */ _right_svg_js__WEBPACK_IMPORTED_MODULE_21__["default"]; },
|
|
53317
|
+
/* harmony export */ save: function() { return /* reexport safe */ _save_svg_js__WEBPACK_IMPORTED_MODULE_22__["default"]; },
|
|
53318
|
+
/* harmony export */ settings: function() { return /* reexport safe */ _settings_svg_js__WEBPACK_IMPORTED_MODULE_23__["default"]; },
|
|
53319
|
+
/* harmony export */ unlock: function() { return /* reexport safe */ _unlock_svg_js__WEBPACK_IMPORTED_MODULE_24__["default"]; },
|
|
53320
|
+
/* harmony export */ update: function() { return /* reexport safe */ _update_svg_js__WEBPACK_IMPORTED_MODULE_25__["default"]; },
|
|
53321
|
+
/* harmony export */ upload: function() { return /* reexport safe */ _upload_svg_js__WEBPACK_IMPORTED_MODULE_26__["default"]; },
|
|
53322
|
+
/* harmony export */ valign: function() { return /* reexport safe */ _valign_svg_js__WEBPACK_IMPORTED_MODULE_27__["default"]; }
|
|
53294
53323
|
/* harmony export */ });
|
|
53295
53324
|
/* harmony import */ var _angle_down_svg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78173);
|
|
53296
53325
|
/* harmony import */ var _angle_left_svg_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16260);
|
|
@@ -53302,23 +53331,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
53302
53331
|
/* harmony import */ var _check_svg_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7903);
|
|
53303
53332
|
/* harmony import */ var _chevron_svg_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(58032);
|
|
53304
53333
|
/* harmony import */ var _dots_svg_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(52507);
|
|
53305
|
-
/* harmony import */ var
|
|
53306
|
-
/* harmony import */ var
|
|
53307
|
-
/* harmony import */ var
|
|
53308
|
-
/* harmony import */ var
|
|
53309
|
-
/* harmony import */ var
|
|
53310
|
-
/* harmony import */ var
|
|
53311
|
-
/* harmony import */ var
|
|
53312
|
-
/* harmony import */ var
|
|
53313
|
-
/* harmony import */ var
|
|
53314
|
-
/* harmony import */ var
|
|
53315
|
-
/* harmony import */ var
|
|
53316
|
-
/* harmony import */ var
|
|
53317
|
-
/* harmony import */ var
|
|
53318
|
-
/* harmony import */ var
|
|
53319
|
-
/* harmony import */ var
|
|
53320
|
-
/* harmony import */ var
|
|
53321
|
-
/* harmony import */ var
|
|
53334
|
+
/* harmony import */ var _download_svg_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1647);
|
|
53335
|
+
/* harmony import */ var _eye_svg_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(43478);
|
|
53336
|
+
/* harmony import */ var _file_svg_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(60097);
|
|
53337
|
+
/* harmony import */ var _folder_svg_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(49155);
|
|
53338
|
+
/* harmony import */ var _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(17176);
|
|
53339
|
+
/* harmony import */ var _left_svg_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(57882);
|
|
53340
|
+
/* harmony import */ var _lock_svg_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(58908);
|
|
53341
|
+
/* harmony import */ var _ok_svg_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(24829);
|
|
53342
|
+
/* harmony import */ var _pencil_svg_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(4038);
|
|
53343
|
+
/* harmony import */ var _plus_svg_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(45575);
|
|
53344
|
+
/* harmony import */ var _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(84858);
|
|
53345
|
+
/* harmony import */ var _right_svg_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(445);
|
|
53346
|
+
/* harmony import */ var _save_svg_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(36886);
|
|
53347
|
+
/* harmony import */ var _settings_svg_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(10766);
|
|
53348
|
+
/* harmony import */ var _unlock_svg_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(33651);
|
|
53349
|
+
/* harmony import */ var _update_svg_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(20362);
|
|
53350
|
+
/* harmony import */ var _upload_svg_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(12202);
|
|
53351
|
+
/* harmony import */ var _valign_svg_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(80152);
|
|
53322
53352
|
/*!
|
|
53323
53353
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
53324
53354
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -53355,6 +53385,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
53355
53385
|
|
|
53356
53386
|
|
|
53357
53387
|
|
|
53388
|
+
|
|
53358
53389
|
|
|
53359
53390
|
|
|
53360
53391
|
/***/ }),
|