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/es2021.en/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
|
*/
|
|
@@ -1723,7 +1723,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1723
1723
|
* ```
|
|
1724
1724
|
* @packageDocumentation
|
|
1725
1725
|
* @module constants
|
|
1726
|
-
*/ const APP_VERSION = "4.14.
|
|
1726
|
+
*/ const APP_VERSION = "4.14.9";
|
|
1727
1727
|
// prettier-ignore
|
|
1728
1728
|
const ES = "es2021";
|
|
1729
1729
|
const IS_ES_MODERN = true;
|
|
@@ -25638,7 +25638,7 @@ const CLASS_PREVIEW = 'jodit-file-browser-preview', preview_tpl_next = (next = '
|
|
|
25638
25638
|
}
|
|
25639
25639
|
} : false,
|
|
25640
25640
|
{
|
|
25641
|
-
icon: '
|
|
25641
|
+
icon: 'download',
|
|
25642
25642
|
title: 'Download',
|
|
25643
25643
|
exec: ()=>{
|
|
25644
25644
|
const url = ga('href');
|
|
@@ -38052,6 +38052,25 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.iframeSandbox = null;
|
|
|
38052
38052
|
}
|
|
38053
38053
|
return html;
|
|
38054
38054
|
};
|
|
38055
|
+
/**
|
|
38056
|
+
* Replace the whole iframe document with the given HTML.
|
|
38057
|
+
*
|
|
38058
|
+
* The markup is parsed in an inert document first (no browsing
|
|
38059
|
+
* context: scripts do not run, sub-resources are not fetched),
|
|
38060
|
+
* sanitized there via `safeHTML`, and only then moved into the
|
|
38061
|
+
* live document. `document.write` on the live document would
|
|
38062
|
+
* execute inline scripts and event handlers while parsing,
|
|
38063
|
+
* before the sanitizer had a chance to strip them, and the
|
|
38064
|
+
* iframe is same-origin with the host page by default.
|
|
38065
|
+
* A `<script>` the cleaner is configured to keep still never
|
|
38066
|
+
* executes: nodes coming from an inert parser are flagged
|
|
38067
|
+
* "already started", exactly like `innerHTML`.
|
|
38068
|
+
* See GHSA-w3xv-x3fm-59ph.
|
|
38069
|
+
*/ const replaceDocument = (html)=>{
|
|
38070
|
+
const inert = new DOMParser().parseFromString(html, 'text/html');
|
|
38071
|
+
editor.e.fire('safeHTML', inert.documentElement);
|
|
38072
|
+
doc.replaceChild(doc.adoptNode(inert.documentElement), doc.documentElement);
|
|
38073
|
+
};
|
|
38055
38074
|
if (docMode) {
|
|
38056
38075
|
const tag = editor.element.tagName;
|
|
38057
38076
|
if (tag !== 'TEXTAREA' && tag !== 'INPUT') {
|
|
@@ -38064,19 +38083,20 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.iframeSandbox = null;
|
|
|
38064
38083
|
if (/<(html|body)/i.test(value)) {
|
|
38065
38084
|
const old = doc.documentElement.outerHTML;
|
|
38066
38085
|
if (clearMarkers(old) !== clearMarkers(value)) {
|
|
38067
|
-
|
|
38068
|
-
doc.write(editor.o.iframeDoctype + clearMarkers(value));
|
|
38069
|
-
doc.close();
|
|
38086
|
+
replaceDocument(clearMarkers(value));
|
|
38070
38087
|
editor.editor = doc.body;
|
|
38071
|
-
editor.e.fire('safeHTML', editor.editor);
|
|
38072
38088
|
toggleEditable();
|
|
38073
38089
|
editor.e.fire('prepareWYSIWYGEditor');
|
|
38074
38090
|
editor.e.stopPropagation('beforeSetNativeEditorValue');
|
|
38075
38091
|
}
|
|
38076
|
-
|
|
38077
|
-
doc.body.innerHTML = value;
|
|
38092
|
+
return true;
|
|
38078
38093
|
}
|
|
38079
|
-
|
|
38094
|
+
// A partial value goes through the regular
|
|
38095
|
+
// path: `clean-html` sanitizes it and the
|
|
38096
|
+
// editor assigns it to `doc.body` via
|
|
38097
|
+
// `innerHTML`. Writing the raw value here
|
|
38098
|
+
// would fire its event handlers first.
|
|
38099
|
+
return false;
|
|
38080
38100
|
}, {
|
|
38081
38101
|
top: true
|
|
38082
38102
|
});
|
|
@@ -49790,6 +49810,14 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
|
49790
49810
|
/* 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> ");
|
|
49791
49811
|
|
|
49792
49812
|
|
|
49813
|
+
/***/ }),
|
|
49814
|
+
|
|
49815
|
+
/***/ 1647:
|
|
49816
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
49817
|
+
|
|
49818
|
+
/* 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> ");
|
|
49819
|
+
|
|
49820
|
+
|
|
49793
49821
|
/***/ }),
|
|
49794
49822
|
|
|
49795
49823
|
/***/ 43478:
|
|
@@ -49831,23 +49859,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
49831
49859
|
/* harmony export */ check: function() { return /* reexport safe */ _check_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]; },
|
|
49832
49860
|
/* harmony export */ chevron: function() { return /* reexport safe */ _chevron_svg_js__WEBPACK_IMPORTED_MODULE_8__["default"]; },
|
|
49833
49861
|
/* harmony export */ dots: function() { return /* reexport safe */ _dots_svg_js__WEBPACK_IMPORTED_MODULE_9__["default"]; },
|
|
49834
|
-
/* harmony export */
|
|
49835
|
-
/* harmony export */
|
|
49836
|
-
/* harmony export */
|
|
49837
|
-
/* harmony export */
|
|
49838
|
-
/* harmony export */
|
|
49839
|
-
/* harmony export */
|
|
49840
|
-
/* harmony export */
|
|
49841
|
-
/* harmony export */
|
|
49842
|
-
/* harmony export */
|
|
49843
|
-
/* harmony export */
|
|
49844
|
-
/* harmony export */
|
|
49845
|
-
/* harmony export */
|
|
49846
|
-
/* harmony export */
|
|
49847
|
-
/* harmony export */
|
|
49848
|
-
/* harmony export */
|
|
49849
|
-
/* harmony export */
|
|
49850
|
-
/* harmony export */
|
|
49862
|
+
/* harmony export */ download: function() { return /* reexport safe */ _download_svg_js__WEBPACK_IMPORTED_MODULE_10__["default"]; },
|
|
49863
|
+
/* harmony export */ eye: function() { return /* reexport safe */ _eye_svg_js__WEBPACK_IMPORTED_MODULE_11__["default"]; },
|
|
49864
|
+
/* harmony export */ file: function() { return /* reexport safe */ _file_svg_js__WEBPACK_IMPORTED_MODULE_12__["default"]; },
|
|
49865
|
+
/* harmony export */ folder: function() { return /* reexport safe */ _folder_svg_js__WEBPACK_IMPORTED_MODULE_13__["default"]; },
|
|
49866
|
+
/* harmony export */ info_circle: function() { return /* reexport safe */ _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_14__["default"]; },
|
|
49867
|
+
/* harmony export */ left: function() { return /* reexport safe */ _left_svg_js__WEBPACK_IMPORTED_MODULE_15__["default"]; },
|
|
49868
|
+
/* harmony export */ lock: function() { return /* reexport safe */ _lock_svg_js__WEBPACK_IMPORTED_MODULE_16__["default"]; },
|
|
49869
|
+
/* harmony export */ ok: function() { return /* reexport safe */ _ok_svg_js__WEBPACK_IMPORTED_MODULE_17__["default"]; },
|
|
49870
|
+
/* harmony export */ pencil: function() { return /* reexport safe */ _pencil_svg_js__WEBPACK_IMPORTED_MODULE_18__["default"]; },
|
|
49871
|
+
/* harmony export */ plus: function() { return /* reexport safe */ _plus_svg_js__WEBPACK_IMPORTED_MODULE_19__["default"]; },
|
|
49872
|
+
/* harmony export */ resize_handler: function() { return /* reexport safe */ _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_20__["default"]; },
|
|
49873
|
+
/* harmony export */ right: function() { return /* reexport safe */ _right_svg_js__WEBPACK_IMPORTED_MODULE_21__["default"]; },
|
|
49874
|
+
/* harmony export */ save: function() { return /* reexport safe */ _save_svg_js__WEBPACK_IMPORTED_MODULE_22__["default"]; },
|
|
49875
|
+
/* harmony export */ settings: function() { return /* reexport safe */ _settings_svg_js__WEBPACK_IMPORTED_MODULE_23__["default"]; },
|
|
49876
|
+
/* harmony export */ unlock: function() { return /* reexport safe */ _unlock_svg_js__WEBPACK_IMPORTED_MODULE_24__["default"]; },
|
|
49877
|
+
/* harmony export */ update: function() { return /* reexport safe */ _update_svg_js__WEBPACK_IMPORTED_MODULE_25__["default"]; },
|
|
49878
|
+
/* harmony export */ upload: function() { return /* reexport safe */ _upload_svg_js__WEBPACK_IMPORTED_MODULE_26__["default"]; },
|
|
49879
|
+
/* harmony export */ valign: function() { return /* reexport safe */ _valign_svg_js__WEBPACK_IMPORTED_MODULE_27__["default"]; }
|
|
49851
49880
|
/* harmony export */ });
|
|
49852
49881
|
/* harmony import */ var _angle_down_svg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78173);
|
|
49853
49882
|
/* harmony import */ var _angle_left_svg_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16260);
|
|
@@ -49859,23 +49888,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
49859
49888
|
/* harmony import */ var _check_svg_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7903);
|
|
49860
49889
|
/* harmony import */ var _chevron_svg_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(58032);
|
|
49861
49890
|
/* harmony import */ var _dots_svg_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(52507);
|
|
49862
|
-
/* harmony import */ var
|
|
49863
|
-
/* harmony import */ var
|
|
49864
|
-
/* harmony import */ var
|
|
49865
|
-
/* harmony import */ var
|
|
49866
|
-
/* harmony import */ var
|
|
49867
|
-
/* harmony import */ var
|
|
49868
|
-
/* harmony import */ var
|
|
49869
|
-
/* harmony import */ var
|
|
49870
|
-
/* harmony import */ var
|
|
49871
|
-
/* harmony import */ var
|
|
49872
|
-
/* harmony import */ var
|
|
49873
|
-
/* harmony import */ var
|
|
49874
|
-
/* harmony import */ var
|
|
49875
|
-
/* harmony import */ var
|
|
49876
|
-
/* harmony import */ var
|
|
49877
|
-
/* harmony import */ var
|
|
49878
|
-
/* harmony import */ var
|
|
49891
|
+
/* harmony import */ var _download_svg_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1647);
|
|
49892
|
+
/* harmony import */ var _eye_svg_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(43478);
|
|
49893
|
+
/* harmony import */ var _file_svg_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(60097);
|
|
49894
|
+
/* harmony import */ var _folder_svg_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(49155);
|
|
49895
|
+
/* harmony import */ var _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(17176);
|
|
49896
|
+
/* harmony import */ var _left_svg_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(57882);
|
|
49897
|
+
/* harmony import */ var _lock_svg_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(58908);
|
|
49898
|
+
/* harmony import */ var _ok_svg_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(24829);
|
|
49899
|
+
/* harmony import */ var _pencil_svg_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(4038);
|
|
49900
|
+
/* harmony import */ var _plus_svg_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(45575);
|
|
49901
|
+
/* harmony import */ var _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(84858);
|
|
49902
|
+
/* harmony import */ var _right_svg_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(445);
|
|
49903
|
+
/* harmony import */ var _save_svg_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(36886);
|
|
49904
|
+
/* harmony import */ var _settings_svg_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(10766);
|
|
49905
|
+
/* harmony import */ var _unlock_svg_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(33651);
|
|
49906
|
+
/* harmony import */ var _update_svg_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(20362);
|
|
49907
|
+
/* harmony import */ var _upload_svg_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(12202);
|
|
49908
|
+
/* harmony import */ var _valign_svg_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(80152);
|
|
49879
49909
|
/*!
|
|
49880
49910
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
49881
49911
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -49912,6 +49942,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
49912
49942
|
|
|
49913
49943
|
|
|
49914
49944
|
|
|
49945
|
+
|
|
49915
49946
|
|
|
49916
49947
|
|
|
49917
49948
|
/***/ }),
|