jodit-pro 4.19.13 → 4.20.1
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 +2 -2
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +9 -9
- package/es2015/jodit.js +1569 -553
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +37 -37
- 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/chart/chart.css +1 -1
- package/es2015/plugins/chart/chart.js +1 -1
- package/es2015/plugins/chart/chart.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/math/math.css +1 -1
- package/es2015/plugins/math/math.js +1 -1
- package/es2015/plugins/math/math.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.css +1 -1
- package/es2018/jodit.fat.min.js +9 -9
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +43 -43
- 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/chart/chart.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/math/math.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 +2 -2
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +14 -14
- package/es2021/jodit.js +1523 -553
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +58 -58
- 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/chart/chart.css +1 -1
- package/es2021/plugins/chart/chart.js +1 -1
- package/es2021/plugins/chart/chart.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/math/math.css +1 -1
- package/es2021/plugins/math/math.js +1 -1
- package/es2021/plugins/math/math.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 +2 -2
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +14 -14
- package/es2021.en/jodit.js +1523 -553
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +58 -58
- 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/chart/chart.css +1 -1
- package/es2021.en/plugins/chart/chart.js +1 -1
- package/es2021.en/plugins/chart/chart.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/math/math.css +1 -1
- package/es2021.en/plugins/math/math.js +1 -1
- package/es2021.en/plugins/math/math.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 +3 -3
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +1922 -618
- package/es5/jodit.min.css +3 -3
- 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/chart/chart.css +1 -1
- package/es5/plugins/chart/chart.js +1 -1
- package/es5/plugins/chart/chart.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/math/math.css +1 -1
- package/es5/plugins/math/math.js +1 -1
- package/es5/plugins/math/math.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.
|
|
4
|
+
* Version: v4.20.1
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -1816,7 +1816,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1816
1816
|
* ```
|
|
1817
1817
|
* @packageDocumentation
|
|
1818
1818
|
* @module constants
|
|
1819
|
-
*/ const APP_VERSION = "4.
|
|
1819
|
+
*/ const APP_VERSION = "4.20.1";
|
|
1820
1820
|
// prettier-ignore
|
|
1821
1821
|
const ES = "es2015";
|
|
1822
1822
|
const IS_ES_MODERN = true;
|
|
@@ -7118,6 +7118,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7118
7118
|
/* harmony export */ fuzzySearchIndex: function() { return /* reexport safe */ _string_index_js__WEBPACK_IMPORTED_MODULE_7__.fuzzySearchIndex; },
|
|
7119
7119
|
/* harmony export */ get: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.get; },
|
|
7120
7120
|
/* harmony export */ getAlignClasses: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getAlignClasses; },
|
|
7121
|
+
/* harmony export */ getAnchorName: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getAnchorName; },
|
|
7122
|
+
/* harmony export */ getAnchors: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getAnchors; },
|
|
7121
7123
|
/* harmony export */ getCaptionWrapper: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getCaptionWrapper; },
|
|
7122
7124
|
/* harmony export */ getCaptionedImage: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getCaptionedImage; },
|
|
7123
7125
|
/* harmony export */ getClassName: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getClassName; },
|
|
@@ -7142,6 +7144,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7142
7144
|
/* harmony export */ indexOfOpenTag: function() { return /* reexport safe */ _html_index_js__WEBPACK_IMPORTED_MODULE_4__.indexOfOpenTag; },
|
|
7143
7145
|
/* harmony export */ innerWidth: function() { return /* reexport safe */ _size_index_js__WEBPACK_IMPORTED_MODULE_6__.innerWidth; },
|
|
7144
7146
|
/* harmony export */ isAbortError: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isAbortError; },
|
|
7147
|
+
/* harmony export */ isAnchor: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isAnchor; },
|
|
7145
7148
|
/* harmony export */ isArray: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isArray; },
|
|
7146
7149
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isAtom; },
|
|
7147
7150
|
/* harmony export */ isBoolean: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isBoolean; },
|
|
@@ -8422,6 +8425,42 @@ function alignElement(command, box) {
|
|
|
8422
8425
|
}
|
|
8423
8426
|
|
|
8424
8427
|
|
|
8428
|
+
/***/ }),
|
|
8429
|
+
|
|
8430
|
+
/***/ 70442:
|
|
8431
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8432
|
+
|
|
8433
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8434
|
+
/* harmony export */ getAnchorName: function() { return /* binding */ getAnchorName; },
|
|
8435
|
+
/* harmony export */ getAnchors: function() { return /* binding */ getAnchors; },
|
|
8436
|
+
/* harmony export */ isAnchor: function() { return /* binding */ isAnchor; }
|
|
8437
|
+
/* harmony export */ });
|
|
8438
|
+
/* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
|
|
8439
|
+
/* harmony import */ var _array_to_array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4510);
|
|
8440
|
+
/*!
|
|
8441
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8442
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8443
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
8444
|
+
*/
|
|
8445
|
+
|
|
8446
|
+
/**
|
|
8447
|
+
* The name a link reaches an anchor by: its `id`, or in older content its
|
|
8448
|
+
* `name`
|
|
8449
|
+
*/ function getAnchorName(anchor) {
|
|
8450
|
+
return anchor.id || anchor.getAttribute('name') || '';
|
|
8451
|
+
}
|
|
8452
|
+
/**
|
|
8453
|
+
* An anchor: an `<a>` with a name, no `href` and nothing in it
|
|
8454
|
+
*/ function isAnchor(node) {
|
|
8455
|
+
return _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(node, 'a') && !node.hasAttribute('href') && !node.hasChildNodes() && getAnchorName(node) !== '';
|
|
8456
|
+
}
|
|
8457
|
+
/**
|
|
8458
|
+
* The anchors in `root`, in the order they come
|
|
8459
|
+
*/ function getAnchors(root) {
|
|
8460
|
+
return (0,_array_to_array_js__WEBPACK_IMPORTED_MODULE_1__.toArray)(root.querySelectorAll('a')).filter(isAnchor);
|
|
8461
|
+
}
|
|
8462
|
+
|
|
8463
|
+
|
|
8425
8464
|
/***/ }),
|
|
8426
8465
|
|
|
8427
8466
|
/***/ 63799:
|
|
@@ -9573,115 +9612,119 @@ const isPart = (node, part)=>_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTML
|
|
|
9573
9612
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9574
9613
|
|
|
9575
9614
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9576
|
-
/* harmony export */ $$: function() { return /* reexport safe */
|
|
9577
|
-
/* harmony export */ AnswerError: function() { return /* reexport safe */
|
|
9578
|
-
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */
|
|
9579
|
-
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */
|
|
9580
|
-
/* harmony export */ ConfigMerge: function() { return /* reexport safe */
|
|
9581
|
-
/* harmony export */ ConfigProto: function() { return /* reexport safe */
|
|
9582
|
-
/* harmony export */ ConnectionError: function() { return /* reexport safe */
|
|
9583
|
-
/* harmony export */ LimitedStack: function() { return /* reexport safe */
|
|
9584
|
-
/* harmony export */ OptionsError: function() { return /* reexport safe */
|
|
9585
|
-
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* reexport safe */
|
|
9586
|
-
/* harmony export */ abort: function() { return /* reexport safe */
|
|
9615
|
+
/* harmony export */ $$: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.$$; },
|
|
9616
|
+
/* harmony export */ AnswerError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.AnswerError; },
|
|
9617
|
+
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigDeepFlatten; },
|
|
9618
|
+
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigFlatten; },
|
|
9619
|
+
/* harmony export */ ConfigMerge: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigMerge; },
|
|
9620
|
+
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigProto; },
|
|
9621
|
+
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.ConnectionError; },
|
|
9622
|
+
/* harmony export */ LimitedStack: function() { return /* reexport safe */ _stack_js__WEBPACK_IMPORTED_MODULE_30__.LimitedStack; },
|
|
9623
|
+
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.OptionsError; },
|
|
9624
|
+
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* reexport safe */ _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_20__.UNSAFE_PROTO_KEYS; },
|
|
9625
|
+
/* harmony export */ abort: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.abort; },
|
|
9587
9626
|
/* harmony export */ alignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.alignElement; },
|
|
9588
|
-
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */
|
|
9589
|
-
/* harmony export */ answer: function() { return /* reexport safe */
|
|
9590
|
-
/* harmony export */ appendScriptAsync: function() { return /* reexport safe */
|
|
9591
|
-
/* harmony export */ appendStyleAsync: function() { return /* reexport safe */
|
|
9592
|
-
/* harmony export */ assert: function() { return /* reexport safe */
|
|
9593
|
-
/* harmony export */ attr: function() { return /* reexport safe */
|
|
9594
|
-
/* harmony export */ attrRaw: function() { return /* reexport safe */
|
|
9595
|
-
/* harmony export */ browser: function() { return /* reexport safe */
|
|
9596
|
-
/* harmony export */ buildQuery: function() { return /* reexport safe */
|
|
9597
|
-
/* harmony export */ call: function() { return /* reexport safe */
|
|
9598
|
-
/* harmony export */ callPromise: function() { return /* reexport safe */
|
|
9599
|
-
/* harmony export */ callThis: function() { return /* reexport safe */
|
|
9627
|
+
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.alreadyLoadedList; },
|
|
9628
|
+
/* harmony export */ answer: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.answer; },
|
|
9629
|
+
/* harmony export */ appendScriptAsync: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.appendScriptAsync; },
|
|
9630
|
+
/* harmony export */ appendStyleAsync: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.appendStyleAsync; },
|
|
9631
|
+
/* harmony export */ assert: function() { return /* reexport safe */ _assert_js__WEBPACK_IMPORTED_MODULE_3__.assert; },
|
|
9632
|
+
/* harmony export */ attr: function() { return /* reexport safe */ _attr_js__WEBPACK_IMPORTED_MODULE_4__.attr; },
|
|
9633
|
+
/* harmony export */ attrRaw: function() { return /* reexport safe */ _attr_js__WEBPACK_IMPORTED_MODULE_4__.attrRaw; },
|
|
9634
|
+
/* harmony export */ browser: function() { return /* reexport safe */ _browser_js__WEBPACK_IMPORTED_MODULE_5__.browser; },
|
|
9635
|
+
/* harmony export */ buildQuery: function() { return /* reexport safe */ _build_query_js__WEBPACK_IMPORTED_MODULE_6__.buildQuery; },
|
|
9636
|
+
/* harmony export */ call: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.call; },
|
|
9637
|
+
/* harmony export */ callPromise: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.callPromise; },
|
|
9638
|
+
/* harmony export */ callThis: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.callThis; },
|
|
9600
9639
|
/* harmony export */ clearAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.clearAlign; },
|
|
9601
|
-
/* harmony export */ clearCenterAlign: function() { return /* reexport safe */
|
|
9640
|
+
/* harmony export */ clearCenterAlign: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_10__.clearCenterAlign; },
|
|
9602
9641
|
/* harmony export */ clearHAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.clearHAlign; },
|
|
9603
|
-
/* harmony export */ cns: function() { return /* reexport safe */
|
|
9604
|
-
/* harmony export */ completeUrl: function() { return /* reexport safe */
|
|
9605
|
-
/* harmony export */ connection: function() { return /* reexport safe */
|
|
9606
|
-
/* harmony export */ convertMediaUrlToVideoEmbed: function() { return /* reexport safe */
|
|
9607
|
-
/* harmony export */ createMediaWrapper: function() { return /* reexport safe */
|
|
9608
|
-
/* harmony export */ css: function() { return /* reexport safe */
|
|
9609
|
-
/* harmony export */ cssInline: function() { return /* reexport safe */
|
|
9610
|
-
/* harmony export */ cssPath: function() { return /* reexport safe */
|
|
9611
|
-
/* harmony export */ ctrlKey: function() { return /* reexport safe */
|
|
9612
|
-
/* harmony export */ dataBind: function() { return /* reexport safe */
|
|
9613
|
-
/* harmony export */ defaultLanguage: function() { return /* reexport safe */
|
|
9614
|
-
/* harmony export */ error: function() { return /* reexport safe */
|
|
9615
|
-
/* harmony export */ fastClone: function() { return /* reexport safe */
|
|
9616
|
-
/* harmony export */ get: function() { return /* reexport safe */
|
|
9642
|
+
/* harmony export */ cns: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_21__.cns; },
|
|
9643
|
+
/* harmony export */ completeUrl: function() { return /* reexport safe */ _complete_url_js__WEBPACK_IMPORTED_MODULE_7__.completeUrl; },
|
|
9644
|
+
/* harmony export */ connection: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.connection; },
|
|
9645
|
+
/* harmony export */ convertMediaUrlToVideoEmbed: function() { return /* reexport safe */ _convert_media_url_to_video_embed_js__WEBPACK_IMPORTED_MODULE_9__.convertMediaUrlToVideoEmbed; },
|
|
9646
|
+
/* harmony export */ createMediaWrapper: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.createMediaWrapper; },
|
|
9647
|
+
/* harmony export */ css: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_10__.css; },
|
|
9648
|
+
/* harmony export */ cssInline: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_10__.cssInline; },
|
|
9649
|
+
/* harmony export */ cssPath: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.cssPath; },
|
|
9650
|
+
/* harmony export */ ctrlKey: function() { return /* reexport safe */ _ctrl_key_js__WEBPACK_IMPORTED_MODULE_11__.ctrlKey; },
|
|
9651
|
+
/* harmony export */ dataBind: function() { return /* reexport safe */ _data_bind_js__WEBPACK_IMPORTED_MODULE_12__.dataBind; },
|
|
9652
|
+
/* harmony export */ defaultLanguage: function() { return /* reexport safe */ _default_language_js__WEBPACK_IMPORTED_MODULE_13__.defaultLanguage; },
|
|
9653
|
+
/* harmony export */ error: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.error; },
|
|
9654
|
+
/* harmony export */ fastClone: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_15__.fastClone; },
|
|
9655
|
+
/* harmony export */ get: function() { return /* reexport safe */ _get_js__WEBPACK_IMPORTED_MODULE_16__.get; },
|
|
9617
9656
|
/* harmony export */ getAlignClasses: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.getAlignClasses; },
|
|
9618
|
-
/* harmony export */
|
|
9619
|
-
/* harmony export */
|
|
9620
|
-
/* harmony export */
|
|
9621
|
-
/* harmony export */
|
|
9657
|
+
/* harmony export */ getAnchorName: function() { return /* reexport safe */ _anchor_js__WEBPACK_IMPORTED_MODULE_1__.getAnchorName; },
|
|
9658
|
+
/* harmony export */ getAnchors: function() { return /* reexport safe */ _anchor_js__WEBPACK_IMPORTED_MODULE_1__.getAnchors; },
|
|
9659
|
+
/* harmony export */ getCaptionWrapper: function() { return /* reexport safe */ _image_caption_js__WEBPACK_IMPORTED_MODULE_19__.getCaptionWrapper; },
|
|
9660
|
+
/* harmony export */ getCaptionedImage: function() { return /* reexport safe */ _image_caption_js__WEBPACK_IMPORTED_MODULE_19__.getCaptionedImage; },
|
|
9661
|
+
/* harmony export */ getClassName: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_17__.getClassName; },
|
|
9662
|
+
/* harmony export */ getDataTransfer: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.getDataTransfer; },
|
|
9622
9663
|
/* harmony export */ getHAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.getHAlign; },
|
|
9623
|
-
/* harmony export */ getImageCaption: function() { return /* reexport safe */
|
|
9624
|
-
/* harmony export */ getMediaWrapper: function() { return /* reexport safe */
|
|
9625
|
-
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */
|
|
9626
|
-
/* harmony export */ getWrappedMedia: function() { return /* reexport safe */
|
|
9627
|
-
/* harmony export */ getXPathByElement: function() { return /* reexport safe */
|
|
9664
|
+
/* harmony export */ getImageCaption: function() { return /* reexport safe */ _image_caption_js__WEBPACK_IMPORTED_MODULE_19__.getImageCaption; },
|
|
9665
|
+
/* harmony export */ getMediaWrapper: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.getMediaWrapper; },
|
|
9666
|
+
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.getPropertyDescriptor; },
|
|
9667
|
+
/* harmony export */ getWrappedMedia: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.getWrappedMedia; },
|
|
9668
|
+
/* harmony export */ getXPathByElement: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.getXPathByElement; },
|
|
9628
9669
|
/* harmony export */ hAlignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.hAlignElement; },
|
|
9629
|
-
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */
|
|
9630
|
-
/* harmony export */ inView: function() { return /* reexport safe */
|
|
9631
|
-
/* harmony export */
|
|
9632
|
-
/* harmony export */
|
|
9633
|
-
/* harmony export */
|
|
9634
|
-
/* harmony export */
|
|
9635
|
-
/* harmony export */
|
|
9636
|
-
/* harmony export */
|
|
9637
|
-
/* harmony export */
|
|
9638
|
-
/* harmony export */
|
|
9639
|
-
/* harmony export */
|
|
9640
|
-
/* harmony export */
|
|
9641
|
-
/* harmony export */
|
|
9642
|
-
/* harmony export */
|
|
9643
|
-
/* harmony export */
|
|
9644
|
-
/* harmony export */
|
|
9645
|
-
/* harmony export */
|
|
9646
|
-
/* harmony export */
|
|
9647
|
-
/* harmony export */
|
|
9648
|
-
/* harmony export */
|
|
9649
|
-
/* harmony export */
|
|
9650
|
-
/* harmony export */
|
|
9651
|
-
/* harmony export */
|
|
9652
|
-
/* harmony export */
|
|
9670
|
+
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes_js__WEBPACK_IMPORTED_MODULE_18__.humanSizeToBytes; },
|
|
9671
|
+
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_27__.inView; },
|
|
9672
|
+
/* harmony export */ isAnchor: function() { return /* reexport safe */ _anchor_js__WEBPACK_IMPORTED_MODULE_1__.isAnchor; },
|
|
9673
|
+
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_15__.isAtom; },
|
|
9674
|
+
/* harmony export */ isUnsafeProtoKey: function() { return /* reexport safe */ _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_20__.isUnsafeProtoKey; },
|
|
9675
|
+
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_17__.keepNames; },
|
|
9676
|
+
/* harmony export */ keys: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.keys; },
|
|
9677
|
+
/* harmony export */ loadImage: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.loadImage; },
|
|
9678
|
+
/* harmony export */ loadNext: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.loadNext; },
|
|
9679
|
+
/* harmony export */ loadNextStyle: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.loadNextStyle; },
|
|
9680
|
+
/* harmony export */ markAsAtomic: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_15__.markAsAtomic; },
|
|
9681
|
+
/* harmony export */ markDeprecated: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_21__.markDeprecated; },
|
|
9682
|
+
/* harmony export */ markOwner: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.markOwner; },
|
|
9683
|
+
/* harmony export */ memorizeExec: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.memorizeExec; },
|
|
9684
|
+
/* harmony export */ options: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.options; },
|
|
9685
|
+
/* harmony export */ parseQuery: function() { return /* reexport safe */ _parse_query_js__WEBPACK_IMPORTED_MODULE_23__.parseQuery; },
|
|
9686
|
+
/* harmony export */ prepareEmbedCode: function() { return /* reexport safe */ _prepare_media_js__WEBPACK_IMPORTED_MODULE_24__.prepareEmbedCode; },
|
|
9687
|
+
/* harmony export */ prepareMedia: function() { return /* reexport safe */ _prepare_media_js__WEBPACK_IMPORTED_MODULE_24__.prepareMedia; },
|
|
9688
|
+
/* harmony export */ previewBox: function() { return /* reexport safe */ _print_js__WEBPACK_IMPORTED_MODULE_25__.previewBox; },
|
|
9689
|
+
/* harmony export */ refs: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.refs; },
|
|
9690
|
+
/* harmony export */ reset: function() { return /* reexport safe */ _reset_js__WEBPACK_IMPORTED_MODULE_26__.reset; },
|
|
9691
|
+
/* harmony export */ resolveElement: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.resolveElement; },
|
|
9692
|
+
/* harmony export */ scrollIntoViewIfNeeded: function() { return /* reexport safe */ _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_27__.scrollIntoViewIfNeeded; },
|
|
9693
|
+
/* harmony export */ set: function() { return /* reexport safe */ _set_js__WEBPACK_IMPORTED_MODULE_29__.set; },
|
|
9694
|
+
/* harmony export */ wrapMedia: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.wrapMedia; }
|
|
9653
9695
|
/* harmony export */ });
|
|
9654
9696
|
/* harmony import */ var _align_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25726);
|
|
9655
|
-
/* harmony import */ var
|
|
9656
|
-
/* harmony import */ var
|
|
9657
|
-
/* harmony import */ var
|
|
9658
|
-
/* harmony import */ var
|
|
9659
|
-
/* harmony import */ var
|
|
9660
|
-
/* harmony import */ var
|
|
9661
|
-
/* harmony import */ var
|
|
9662
|
-
/* harmony import */ var
|
|
9663
|
-
/* harmony import */ var
|
|
9664
|
-
/* harmony import */ var
|
|
9665
|
-
/* harmony import */ var
|
|
9666
|
-
/* harmony import */ var
|
|
9667
|
-
/* harmony import */ var
|
|
9668
|
-
/* harmony import */ var
|
|
9669
|
-
/* harmony import */ var
|
|
9670
|
-
/* harmony import */ var
|
|
9671
|
-
/* harmony import */ var
|
|
9672
|
-
/* harmony import */ var
|
|
9673
|
-
/* harmony import */ var
|
|
9674
|
-
/* harmony import */ var
|
|
9675
|
-
/* harmony import */ var
|
|
9676
|
-
/* harmony import */ var
|
|
9677
|
-
/* harmony import */ var
|
|
9678
|
-
/* harmony import */ var
|
|
9679
|
-
/* harmony import */ var
|
|
9680
|
-
/* harmony import */ var
|
|
9681
|
-
/* harmony import */ var
|
|
9682
|
-
/* harmony import */ var
|
|
9683
|
-
/* harmony import */ var
|
|
9684
|
-
/* harmony import */ var
|
|
9697
|
+
/* harmony import */ var _anchor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70442);
|
|
9698
|
+
/* harmony import */ var _append_script_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(63799);
|
|
9699
|
+
/* harmony import */ var _assert_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38837);
|
|
9700
|
+
/* harmony import */ var _attr_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29960);
|
|
9701
|
+
/* harmony import */ var _browser_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97639);
|
|
9702
|
+
/* harmony import */ var _build_query_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(44710);
|
|
9703
|
+
/* harmony import */ var _complete_url_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(66292);
|
|
9704
|
+
/* harmony import */ var _config_proto_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68934);
|
|
9705
|
+
/* harmony import */ var _convert_media_url_to_video_embed_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(55877);
|
|
9706
|
+
/* harmony import */ var _css_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(41180);
|
|
9707
|
+
/* harmony import */ var _ctrl_key_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(15456);
|
|
9708
|
+
/* harmony import */ var _data_bind_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(86583);
|
|
9709
|
+
/* harmony import */ var _default_language_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(96325);
|
|
9710
|
+
/* harmony import */ var _error_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(89890);
|
|
9711
|
+
/* harmony import */ var _extend_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(97735);
|
|
9712
|
+
/* harmony import */ var _get_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(94643);
|
|
9713
|
+
/* harmony import */ var _get_class_name_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(80568);
|
|
9714
|
+
/* harmony import */ var _human_size_to_bytes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(38420);
|
|
9715
|
+
/* harmony import */ var _image_caption_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(68645);
|
|
9716
|
+
/* harmony import */ var _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(69175);
|
|
9717
|
+
/* harmony import */ var _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(95942);
|
|
9718
|
+
/* harmony import */ var _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(61477);
|
|
9719
|
+
/* harmony import */ var _parse_query_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(82501);
|
|
9720
|
+
/* harmony import */ var _prepare_media_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(96437);
|
|
9721
|
+
/* harmony import */ var _print_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(11628);
|
|
9722
|
+
/* harmony import */ var _reset_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(58844);
|
|
9723
|
+
/* harmony import */ var _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(26395);
|
|
9724
|
+
/* harmony import */ var _selector_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(76078);
|
|
9725
|
+
/* harmony import */ var _set_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(3703);
|
|
9726
|
+
/* harmony import */ var _stack_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(50535);
|
|
9727
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(37790);
|
|
9685
9728
|
/*!
|
|
9686
9729
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9687
9730
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9719,6 +9762,7 @@ const isPart = (node, part)=>_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTML
|
|
|
9719
9762
|
|
|
9720
9763
|
|
|
9721
9764
|
|
|
9765
|
+
|
|
9722
9766
|
|
|
9723
9767
|
|
|
9724
9768
|
/***/ }),
|
|
@@ -18709,6 +18753,10 @@ let Popup = Popup_1 = class Popup extends _group_group_js__WEBPACK_IMPORTED_MODU
|
|
|
18709
18753
|
this.smart = smart;
|
|
18710
18754
|
this.isOpened = false;
|
|
18711
18755
|
this.strategy = 'leftBottom';
|
|
18756
|
+
/**
|
|
18757
|
+
* The popup stays open after one of its buttons runs: the button closes
|
|
18758
|
+
* only the lists it opened. See #1741
|
|
18759
|
+
*/ this.keepOpen = false;
|
|
18712
18760
|
this.viewBound = ()=>({
|
|
18713
18761
|
left: 0,
|
|
18714
18762
|
top: 0,
|
|
@@ -19429,6 +19477,7 @@ class CommitMode {
|
|
|
19429
19477
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(70231);
|
|
19430
19478
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6441);
|
|
19431
19479
|
/* harmony import */ var _modules_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(41409);
|
|
19480
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(2073);
|
|
19432
19481
|
function _define_property(obj, key, value) {
|
|
19433
19482
|
if (key in obj) {
|
|
19434
19483
|
Object.defineProperty(obj, key, {
|
|
@@ -19477,6 +19526,7 @@ var Jodit_1;
|
|
|
19477
19526
|
|
|
19478
19527
|
|
|
19479
19528
|
|
|
19529
|
+
|
|
19480
19530
|
const FOCUS_EVENTS = new Set([
|
|
19481
19531
|
'focus',
|
|
19482
19532
|
'blur',
|
|
@@ -19742,17 +19792,15 @@ let Jodit = Jodit_1 = class Jodit extends _modules_index_js__WEBPACK_IMPORTED_MO
|
|
|
19742
19792
|
theme: jodit.o.theme,
|
|
19743
19793
|
shadowRoot: jodit.o.shadowRoot,
|
|
19744
19794
|
defaultCallback (data) {
|
|
19745
|
-
|
|
19746
|
-
|
|
19747
|
-
|
|
19748
|
-
|
|
19749
|
-
|
|
19750
|
-
|
|
19751
|
-
}
|
|
19752
|
-
|
|
19753
|
-
|
|
19754
|
-
});
|
|
19755
|
-
}
|
|
19795
|
+
const { baseurl } = data;
|
|
19796
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_10__.getItems)(data).forEach(({ file, isImage })=>{
|
|
19797
|
+
const url = baseurl + file;
|
|
19798
|
+
if (isImage) {
|
|
19799
|
+
jodit.s.insertImage(url, null, jodit.o.imageDefaultWidth);
|
|
19800
|
+
} else {
|
|
19801
|
+
jodit.s.insertNode(jodit.createInside.fromHTML(`<a href='${url}' title='${url}'>${url}</a>`));
|
|
19802
|
+
}
|
|
19803
|
+
});
|
|
19756
19804
|
}
|
|
19757
19805
|
}, this.o.filebrowser);
|
|
19758
19806
|
return jodit.getInstance('FileBrowser', options);
|
|
@@ -20834,6 +20882,11 @@ function addClassNames(className, elm) {
|
|
|
20834
20882
|
'Insert file': 'ادخال الملف',
|
|
20835
20883
|
'Insert youtube/vimeo video': 'إدراج فيديو يوتيوب/فيميو ',
|
|
20836
20884
|
'Insert link': 'إدراج رابط',
|
|
20885
|
+
'Insert anchor': 'إدراج مرساة',
|
|
20886
|
+
'Link to an anchor': 'ربط بمرساة',
|
|
20887
|
+
'On this page': 'في هذه الصفحة',
|
|
20888
|
+
'The name cannot contain spaces': 'لا يمكن أن يحتوي الاسم على مسافات',
|
|
20889
|
+
'This name is already in use': 'هذا الاسم مستخدم بالفعل',
|
|
20837
20890
|
'Font size': 'حجم الخط',
|
|
20838
20891
|
'Font family': 'نوع الخط',
|
|
20839
20892
|
'Insert format block': 'إدراج كتلة تنسيق',
|
|
@@ -21076,6 +21129,11 @@ function addClassNames(className, elm) {
|
|
|
21076
21129
|
'Insert file': 'Fayl əlavə et',
|
|
21077
21130
|
'Insert youtube/vimeo video': 'Youtube/vimeo video əlavə et',
|
|
21078
21131
|
'Insert link': 'Keçid əlavə et',
|
|
21132
|
+
'Insert anchor': 'Lövbər əlavə et',
|
|
21133
|
+
'Link to an anchor': 'Lövbərə keçid',
|
|
21134
|
+
'On this page': 'Bu səhifədə',
|
|
21135
|
+
'The name cannot contain spaces': 'Adda boşluq ola bilməz',
|
|
21136
|
+
'This name is already in use': 'Bu ad artıq istifadə olunur',
|
|
21079
21137
|
'Font size': 'Şrift ölçüsü',
|
|
21080
21138
|
'Font family': 'Şrift ailəsi',
|
|
21081
21139
|
'Line height': 'Sətir hündürlüyü',
|
|
@@ -21303,7 +21361,7 @@ function addClassNames(className, elm) {
|
|
|
21303
21361
|
'For information about the license, please go to our website:': 'Pro informace o licenci, prosím, přejděte na naši stránku:',
|
|
21304
21362
|
'Buy full version': 'Koupit plnou verzi',
|
|
21305
21363
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.',
|
|
21306
|
-
Anchor: '
|
|
21364
|
+
Anchor: 'Kotva',
|
|
21307
21365
|
'Open in new tab': 'Otevřít v nové záložce',
|
|
21308
21366
|
'Open in fullsize': 'Otevřít v celoobrazovkovém režimu',
|
|
21309
21367
|
'Clear Formatting': 'Vyčistit formátování',
|
|
@@ -21323,6 +21381,11 @@ function addClassNames(className, elm) {
|
|
|
21323
21381
|
'Insert file': 'Vložit soubor',
|
|
21324
21382
|
'Insert youtube/vimeo video': 'Vložit video (YT/Vimeo)',
|
|
21325
21383
|
'Insert link': 'Vložit odkaz',
|
|
21384
|
+
'Insert anchor': 'Vložit kotvu',
|
|
21385
|
+
'Link to an anchor': 'Odkaz na kotvu',
|
|
21386
|
+
'On this page': 'Na této stránce',
|
|
21387
|
+
'The name cannot contain spaces': 'Název nesmí obsahovat mezery',
|
|
21388
|
+
'This name is already in use': 'Tento název se již používá',
|
|
21326
21389
|
'Font size': 'Velikost písma',
|
|
21327
21390
|
'Font family': 'Typ písma',
|
|
21328
21391
|
'Insert format block': 'Formátovat blok',
|
|
@@ -21562,6 +21625,11 @@ function addClassNames(className, elm) {
|
|
|
21562
21625
|
'Insert file': 'Datei einfügen',
|
|
21563
21626
|
'Insert youtube/vimeo video': 'Youtube/vimeo Video einfügen',
|
|
21564
21627
|
'Insert link': 'Link einfügen',
|
|
21628
|
+
'Insert anchor': 'Anker einfügen',
|
|
21629
|
+
'Link to an anchor': 'Mit einem Anker verlinken',
|
|
21630
|
+
'On this page': 'Auf dieser Seite',
|
|
21631
|
+
'The name cannot contain spaces': 'Der Name darf keine Leerzeichen enthalten',
|
|
21632
|
+
'This name is already in use': 'Dieser Name wird bereits verwendet',
|
|
21565
21633
|
'Font size': 'Schriftgröße',
|
|
21566
21634
|
'Font family': 'Schriftfamilie',
|
|
21567
21635
|
'Insert format block': 'Formatblock einfügen',
|
|
@@ -21802,7 +21870,7 @@ function addClassNames(className, elm) {
|
|
|
21802
21870
|
'For information about the license, please go to our website:': 'Para información sobre la licencia, por favor visite nuestro sitio:',
|
|
21803
21871
|
'Buy full version': 'Compre la versión completa',
|
|
21804
21872
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.',
|
|
21805
|
-
Anchor: '
|
|
21873
|
+
Anchor: 'Ancla',
|
|
21806
21874
|
'Open in new tab': 'Abrir en nueva pestaña',
|
|
21807
21875
|
'Open in fullsize': 'Abrir editor en pantalla completa',
|
|
21808
21876
|
'Clear Formatting': 'Limpiar formato',
|
|
@@ -21822,6 +21890,11 @@ function addClassNames(className, elm) {
|
|
|
21822
21890
|
'Insert file': 'Insertar archivo',
|
|
21823
21891
|
'Insert youtube/vimeo video': 'Insertar video de Youtube/vimeo',
|
|
21824
21892
|
'Insert link': 'Insertar vínculo',
|
|
21893
|
+
'Insert anchor': 'Insertar ancla',
|
|
21894
|
+
'Link to an anchor': 'Enlazar a un ancla',
|
|
21895
|
+
'On this page': 'En esta página',
|
|
21896
|
+
'The name cannot contain spaces': 'El nombre no puede contener espacios',
|
|
21897
|
+
'This name is already in use': 'Este nombre ya está en uso',
|
|
21825
21898
|
'Font size': 'Tamaño de letra',
|
|
21826
21899
|
'Font family': 'Familia de letra',
|
|
21827
21900
|
'Insert format block': 'Insertar bloque',
|
|
@@ -22045,7 +22118,7 @@ function addClassNames(className, elm) {
|
|
|
22045
22118
|
'For information about the license, please go to our website:': 'برای کسب اطلاعات در رابطه با لایسنس لطفا به وب سایت مراجعه کنید:',
|
|
22046
22119
|
'Buy full version': 'خرید نسخه کامل',
|
|
22047
22120
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.',
|
|
22048
|
-
Anchor: '
|
|
22121
|
+
Anchor: 'لنگر',
|
|
22049
22122
|
'Open in new tab': 'بازکردن در تب جدید',
|
|
22050
22123
|
'Open in fullsize': 'تمام صفحه کردن ویرایشگر',
|
|
22051
22124
|
'Clear Formatting': 'پاک کردن قالب ها',
|
|
@@ -22065,6 +22138,11 @@ function addClassNames(className, elm) {
|
|
|
22065
22138
|
'Insert file': 'افزودن فایل',
|
|
22066
22139
|
'Insert youtube/vimeo video': 'افزودن ویدیو از یوتیوب و وایمو',
|
|
22067
22140
|
'Insert link': 'افزودن لینک',
|
|
22141
|
+
'Insert anchor': 'افزودن لنگر',
|
|
22142
|
+
'Link to an anchor': 'پیوند به لنگر',
|
|
22143
|
+
'On this page': 'در این صفحه',
|
|
22144
|
+
'The name cannot contain spaces': 'نام نمیتواند فاصله داشته باشد',
|
|
22145
|
+
'This name is already in use': 'این نام قبلاً استفاده شده است',
|
|
22068
22146
|
'Font size': 'اندازه فونت',
|
|
22069
22147
|
'Font family': 'فونت',
|
|
22070
22148
|
'Insert format block': 'افزودن بلاک',
|
|
@@ -22303,6 +22381,11 @@ function addClassNames(className, elm) {
|
|
|
22303
22381
|
'Insert file': 'Lisää tiedosto',
|
|
22304
22382
|
'Insert youtube/vimeo video': 'Lisää Youtube-/vimeo- video',
|
|
22305
22383
|
'Insert link': 'Lisää linkki',
|
|
22384
|
+
'Insert anchor': 'Lisää ankkuri',
|
|
22385
|
+
'Link to an anchor': 'Linkitä ankkuriin',
|
|
22386
|
+
'On this page': 'Tällä sivulla',
|
|
22387
|
+
'The name cannot contain spaces': 'Nimessä ei voi olla välilyöntejä',
|
|
22388
|
+
'This name is already in use': 'Tämä nimi on jo käytössä',
|
|
22306
22389
|
'Font size': 'Kirjasimen koko',
|
|
22307
22390
|
'Font family': 'Kirjasimen nimi',
|
|
22308
22391
|
'Insert format block': 'Lisää muotoilualue',
|
|
@@ -22546,6 +22629,11 @@ function addClassNames(className, elm) {
|
|
|
22546
22629
|
'Insert file': 'Insérer un fichier',
|
|
22547
22630
|
'Insert youtube/vimeo video': 'Insérer une vidéo',
|
|
22548
22631
|
'Insert link': 'Insérer un lien',
|
|
22632
|
+
'Insert anchor': 'Insérer une ancre',
|
|
22633
|
+
'Link to an anchor': 'Lier à une ancre',
|
|
22634
|
+
'On this page': 'Sur cette page',
|
|
22635
|
+
'The name cannot contain spaces': "Le nom ne peut pas contenir d'espaces",
|
|
22636
|
+
'This name is already in use': 'Ce nom est déjà utilisé',
|
|
22549
22637
|
'Font size': 'Taille des caractères',
|
|
22550
22638
|
'Font family': 'Famille des caractères',
|
|
22551
22639
|
'Insert format block': 'Bloc formatté',
|
|
@@ -22765,7 +22853,7 @@ function addClassNames(className, elm) {
|
|
|
22765
22853
|
'For information about the license, please go to our website:': 'For information about the license, please go to our website:',
|
|
22766
22854
|
'Buy full version': 'Buy full version',
|
|
22767
22855
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.',
|
|
22768
|
-
Anchor: '
|
|
22856
|
+
Anchor: 'עוגן',
|
|
22769
22857
|
'Open in new tab': 'פתח בכרטיסיה חדשה',
|
|
22770
22858
|
'Open in fullsize': 'פתח את העורך בחלון חדש',
|
|
22771
22859
|
'Clear Formatting': 'נקה עיצוב',
|
|
@@ -22785,6 +22873,11 @@ function addClassNames(className, elm) {
|
|
|
22785
22873
|
'Insert file': 'הכנס קובץ',
|
|
22786
22874
|
'Insert youtube/vimeo video': 'הכנס סרטון וידאו מYouTube/Vimeo',
|
|
22787
22875
|
'Insert link': 'הכנס קישור',
|
|
22876
|
+
'Insert anchor': 'הכנס עוגן',
|
|
22877
|
+
'Link to an anchor': 'קישור לעוגן',
|
|
22878
|
+
'On this page': 'בדף זה',
|
|
22879
|
+
'The name cannot contain spaces': 'השם לא יכול להכיל רווחים',
|
|
22880
|
+
'This name is already in use': 'השם הזה כבר בשימוש',
|
|
22788
22881
|
'Font size': 'גודל גופן',
|
|
22789
22882
|
'Font family': 'גופן',
|
|
22790
22883
|
'Insert format block': 'מעוצב מראש',
|
|
@@ -23024,6 +23117,11 @@ function addClassNames(className, elm) {
|
|
|
23024
23117
|
'Insert file': 'Fájl beszúrás',
|
|
23025
23118
|
'Insert youtube/vimeo video': 'Youtube videó beszúrása',
|
|
23026
23119
|
'Insert link': 'Link beszúrás',
|
|
23120
|
+
'Insert anchor': 'Horgony beszúrás',
|
|
23121
|
+
'Link to an anchor': 'Hivatkozás horgonyra',
|
|
23122
|
+
'On this page': 'Ezen az oldalon',
|
|
23123
|
+
'The name cannot contain spaces': 'A név nem tartalmazhat szóközt',
|
|
23124
|
+
'This name is already in use': 'Ez a név már foglalt',
|
|
23027
23125
|
'Font size': 'Betűméret',
|
|
23028
23126
|
'Font family': 'Betűtípus',
|
|
23029
23127
|
'Insert format block': 'Formázott blokk beszúrása',
|
|
@@ -23243,7 +23341,7 @@ function addClassNames(className, elm) {
|
|
|
23243
23341
|
'For information about the license, please go to our website:': 'Untuk informasi tentang lisensi, silakan kunjungi website:',
|
|
23244
23342
|
'Buy full version': 'Beli versi lengkap',
|
|
23245
23343
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.',
|
|
23246
|
-
Anchor: '
|
|
23344
|
+
Anchor: 'Jangkar',
|
|
23247
23345
|
'Open in new tab': 'Buka di tab baru',
|
|
23248
23346
|
'Open in fullsize': 'Buka editor dalam ukuran penuh',
|
|
23249
23347
|
'Clear Formatting': 'Hapus Pemformatan',
|
|
@@ -23263,6 +23361,11 @@ function addClassNames(className, elm) {
|
|
|
23263
23361
|
'Insert file': 'Sisipkan Berkas',
|
|
23264
23362
|
'Insert youtube/vimeo video': 'Sisipkan video youtube/vimeo',
|
|
23265
23363
|
'Insert link': 'Sisipkan tautan',
|
|
23364
|
+
'Insert anchor': 'Sisipkan jangkar',
|
|
23365
|
+
'Link to an anchor': 'Tautkan ke jangkar',
|
|
23366
|
+
'On this page': 'Di halaman ini',
|
|
23367
|
+
'The name cannot contain spaces': 'Nama tidak boleh mengandung spasi',
|
|
23368
|
+
'This name is already in use': 'Nama ini sudah digunakan',
|
|
23266
23369
|
'Font size': 'Ukuran font',
|
|
23267
23370
|
'Font family': 'Keluarga font',
|
|
23268
23371
|
'Insert format block': 'Sisipkan blok format',
|
|
@@ -23482,7 +23585,7 @@ function addClassNames(className, elm) {
|
|
|
23482
23585
|
'For information about the license, please go to our website:': 'Per informazioni sulla licenza, si prega di visitare il nostro sito web:',
|
|
23483
23586
|
'Buy full version': 'Acquista la versione completa',
|
|
23484
23587
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.',
|
|
23485
|
-
Anchor: '
|
|
23588
|
+
Anchor: 'Ancora',
|
|
23486
23589
|
'Open in new tab': 'Apri in una nuova scheda',
|
|
23487
23590
|
'Open in fullsize': "Apri l'editor a schermo intero",
|
|
23488
23591
|
'Clear Formatting': 'Pulisci Formattazione',
|
|
@@ -23502,6 +23605,11 @@ function addClassNames(className, elm) {
|
|
|
23502
23605
|
'Insert file': 'Inserisci un file',
|
|
23503
23606
|
'Insert youtube/vimeo video': 'Inserisci video Youtube/Vimeo',
|
|
23504
23607
|
'Insert link': 'Inserisci link',
|
|
23608
|
+
'Insert anchor': 'Inserisci ancora',
|
|
23609
|
+
'Link to an anchor': "Collega a un'ancora",
|
|
23610
|
+
'On this page': 'In questa pagina',
|
|
23611
|
+
'The name cannot contain spaces': 'Il nome non può contenere spazi',
|
|
23612
|
+
'This name is already in use': 'Questo nome è già in uso',
|
|
23505
23613
|
'Font size': 'Dimensione carattere',
|
|
23506
23614
|
'Font family': 'Tipo di font',
|
|
23507
23615
|
'Insert format block': 'Inserisci blocco',
|
|
@@ -23725,7 +23833,7 @@ function addClassNames(className, elm) {
|
|
|
23725
23833
|
'For information about the license, please go to our website:': 'ライセンス詳細についてはJodit Webサイトを確認ください:',
|
|
23726
23834
|
'Buy full version': 'フルバージョンを購入',
|
|
23727
23835
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.',
|
|
23728
|
-
Anchor: '
|
|
23836
|
+
Anchor: 'アンカー',
|
|
23729
23837
|
'Open in new tab': '新しいタブで開く',
|
|
23730
23838
|
'Open in fullsize': 'エディターのサイズ(フル/ノーマル)',
|
|
23731
23839
|
'Clear Formatting': '書式をクリア',
|
|
@@ -23745,6 +23853,11 @@ function addClassNames(className, elm) {
|
|
|
23745
23853
|
'Insert file': 'ファイルを挿入',
|
|
23746
23854
|
'Insert youtube/vimeo video': 'Youtube/Vimeo 動画',
|
|
23747
23855
|
'Insert link': 'リンクを挿入',
|
|
23856
|
+
'Insert anchor': 'アンカーを挿入',
|
|
23857
|
+
'Link to an anchor': 'アンカーにリンク',
|
|
23858
|
+
'On this page': 'このページ内',
|
|
23859
|
+
'The name cannot contain spaces': '名前にスペースは使えません',
|
|
23860
|
+
'This name is already in use': 'この名前はすでに使われています',
|
|
23748
23861
|
'Font size': 'フォントサイズ',
|
|
23749
23862
|
'Font family': 'フォント',
|
|
23750
23863
|
'Insert format block': 'テキストのスタイル',
|
|
@@ -23979,7 +24092,7 @@ function addClassNames(className, elm) {
|
|
|
23979
24092
|
'For information about the license, please go to our website:': '라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:',
|
|
23980
24093
|
'Buy full version': '풀 버전 구입하기',
|
|
23981
24094
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': '© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.',
|
|
23982
|
-
Anchor: '
|
|
24095
|
+
Anchor: '앵커',
|
|
23983
24096
|
'Open in new tab': '새 탭에서 열기',
|
|
23984
24097
|
'Open in fullsize': '전체 크기로 보기',
|
|
23985
24098
|
'Clear Formatting': '서식 지우기',
|
|
@@ -23999,6 +24112,11 @@ function addClassNames(className, elm) {
|
|
|
23999
24112
|
'Insert file': '파일 넣기',
|
|
24000
24113
|
'Insert youtube/vimeo video': 'Youtube/Vimeo 동영상',
|
|
24001
24114
|
'Insert link': '링크 넣기',
|
|
24115
|
+
'Insert anchor': '앵커 넣기',
|
|
24116
|
+
'Link to an anchor': '앵커에 연결',
|
|
24117
|
+
'On this page': '이 페이지에서',
|
|
24118
|
+
'The name cannot contain spaces': '이름에 공백을 넣을 수 없습니다',
|
|
24119
|
+
'This name is already in use': '이미 사용 중인 이름입니다',
|
|
24002
24120
|
'Font size': '글꼴 크기',
|
|
24003
24121
|
'Font family': '글꼴',
|
|
24004
24122
|
'Insert format block': '블록 요소 넣기',
|
|
@@ -24217,7 +24335,7 @@ function addClassNames(className, elm) {
|
|
|
24217
24335
|
'For information about the license, please go to our website:': 'Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:',
|
|
24218
24336
|
'Buy full version': 'Бүрэн хувилбар худалдан авах',
|
|
24219
24337
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.',
|
|
24220
|
-
Anchor: '
|
|
24338
|
+
Anchor: 'Зангуу',
|
|
24221
24339
|
'Open in new tab': 'Шинэ табаар нээх',
|
|
24222
24340
|
'Open in fullsize': 'Бүтэн дэлгэцээр нээх',
|
|
24223
24341
|
'Clear Formatting': 'Форматыг арилгах',
|
|
@@ -24237,6 +24355,11 @@ function addClassNames(className, elm) {
|
|
|
24237
24355
|
'Insert file': 'Файл нэмэх',
|
|
24238
24356
|
'Insert youtube/vimeo video': 'Youtube/Vimeo видео нэмэх',
|
|
24239
24357
|
'Insert link': 'Холбоос нэмэх',
|
|
24358
|
+
'Insert anchor': 'Зангуу нэмэх',
|
|
24359
|
+
'Link to an anchor': 'Зангуу руу холбох',
|
|
24360
|
+
'On this page': 'Энэ хуудсанд',
|
|
24361
|
+
'The name cannot contain spaces': 'Нэрэнд хоосон зай байж болохгүй',
|
|
24362
|
+
'This name is already in use': 'Энэ нэр аль хэдийн ашиглагдаж байна',
|
|
24240
24363
|
'Font size': 'Фонтын хэмжээ',
|
|
24241
24364
|
'Font family': 'Фонтын бүл',
|
|
24242
24365
|
'Insert format block': 'Блок нэмэх',
|
|
@@ -24476,6 +24599,11 @@ function addClassNames(className, elm) {
|
|
|
24476
24599
|
'Insert file': 'Bestand invoegen',
|
|
24477
24600
|
'Insert youtube/vimeo video': 'Youtube/Vimeo video invoegen',
|
|
24478
24601
|
'Insert link': 'Link toevoegen',
|
|
24602
|
+
'Insert anchor': 'Anker toevoegen',
|
|
24603
|
+
'Link to an anchor': 'Naar een anker linken',
|
|
24604
|
+
'On this page': 'Op deze pagina',
|
|
24605
|
+
'The name cannot contain spaces': 'De naam mag geen spaties bevatten',
|
|
24606
|
+
'This name is already in use': 'Deze naam is al in gebruik',
|
|
24479
24607
|
'Font size': 'Tekstgrootte',
|
|
24480
24608
|
'Font family': 'Lettertype',
|
|
24481
24609
|
'Insert format block': 'Format blok invoegen',
|
|
@@ -24713,6 +24841,11 @@ function addClassNames(className, elm) {
|
|
|
24713
24841
|
'Insert file': 'Sett inn fil',
|
|
24714
24842
|
'Insert youtube/vimeo video': 'Sett inn YouTube/Vimeo-video',
|
|
24715
24843
|
'Insert link': 'Sett inn lenke',
|
|
24844
|
+
'Insert anchor': 'Sett inn anker',
|
|
24845
|
+
'Link to an anchor': 'Lenke til et anker',
|
|
24846
|
+
'On this page': 'På denne siden',
|
|
24847
|
+
'The name cannot contain spaces': 'Navnet kan ikke inneholde mellomrom',
|
|
24848
|
+
'This name is already in use': 'Dette navnet er allerede i bruk',
|
|
24716
24849
|
'Font size': 'Skriftstørrelse',
|
|
24717
24850
|
'Font family': 'Skriftfamilie',
|
|
24718
24851
|
'Insert format block': 'Sett inn formateringsblokk',
|
|
@@ -24961,6 +25094,11 @@ function addClassNames(className, elm) {
|
|
|
24961
25094
|
'Insert file': 'Wstaw plik',
|
|
24962
25095
|
'Insert youtube/vimeo video': 'Wstaw film Youtube/vimeo',
|
|
24963
25096
|
'Insert link': 'Wstaw link',
|
|
25097
|
+
'Insert anchor': 'Wstaw kotwicę',
|
|
25098
|
+
'Link to an anchor': 'Link do kotwicy',
|
|
25099
|
+
'On this page': 'Na tej stronie',
|
|
25100
|
+
'The name cannot contain spaces': 'Nazwa nie może zawierać spacji',
|
|
25101
|
+
'This name is already in use': 'Ta nazwa jest już używana',
|
|
24964
25102
|
'Font size': 'Rozmiar tekstu',
|
|
24965
25103
|
'Font family': 'Krój czcionki',
|
|
24966
25104
|
'Insert format block': 'Wstaw formatowanie',
|
|
@@ -25179,7 +25317,7 @@ function addClassNames(className, elm) {
|
|
|
25179
25317
|
'For information about the license, please go to our website:': 'Para informação sobre a licença, por favor visite nosso site:',
|
|
25180
25318
|
'Buy full version': 'Compre a versão completa',
|
|
25181
25319
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.',
|
|
25182
|
-
Anchor: '
|
|
25320
|
+
Anchor: 'Âncora',
|
|
25183
25321
|
'Open in new tab': 'Abrir em nova aba',
|
|
25184
25322
|
'Open in fullsize': 'Abrir editor em tela cheia',
|
|
25185
25323
|
'Clear Formatting': 'Limpar formatação',
|
|
@@ -25199,6 +25337,11 @@ function addClassNames(className, elm) {
|
|
|
25199
25337
|
'Insert file': 'Inserir arquivo',
|
|
25200
25338
|
'Insert youtube/vimeo video': 'Inserir vídeo do Youtube/vimeo',
|
|
25201
25339
|
'Insert link': 'Inserir link',
|
|
25340
|
+
'Insert anchor': 'Inserir âncora',
|
|
25341
|
+
'Link to an anchor': 'Vincular a uma âncora',
|
|
25342
|
+
'On this page': 'Nesta página',
|
|
25343
|
+
'The name cannot contain spaces': 'O nome não pode conter espaços',
|
|
25344
|
+
'This name is already in use': 'Este nome já está em uso',
|
|
25202
25345
|
'Font size': 'Tamanho da letra',
|
|
25203
25346
|
'Font family': 'Fonte',
|
|
25204
25347
|
'Insert format block': 'Inserir bloco',
|
|
@@ -25421,7 +25564,7 @@ function addClassNames(className, elm) {
|
|
|
25421
25564
|
'For information about the license, please go to our website:': 'Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:',
|
|
25422
25565
|
'Buy full version': 'Купить полную версию',
|
|
25423
25566
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.',
|
|
25424
|
-
Anchor: '
|
|
25567
|
+
Anchor: 'Якорь',
|
|
25425
25568
|
'Open in new tab': 'Открывать ссылку в новой вкладке',
|
|
25426
25569
|
'Open in fullsize': 'Открыть редактор в полном размере',
|
|
25427
25570
|
'Clear Formatting': 'Очистить форматирование',
|
|
@@ -25441,6 +25584,11 @@ function addClassNames(className, elm) {
|
|
|
25441
25584
|
'Insert file': 'Вставить файл',
|
|
25442
25585
|
'Insert youtube/vimeo video': 'Вставьте видео',
|
|
25443
25586
|
'Insert link': 'Вставить ссылку',
|
|
25587
|
+
'Insert anchor': 'Вставить якорь',
|
|
25588
|
+
'Link to an anchor': 'Ссылка на якорь',
|
|
25589
|
+
'On this page': 'На этой странице',
|
|
25590
|
+
'The name cannot contain spaces': 'Имя не может содержать пробелы',
|
|
25591
|
+
'This name is already in use': 'Это имя уже используется',
|
|
25444
25592
|
'Font size': 'Размер шрифта',
|
|
25445
25593
|
'Font family': 'Шрифт',
|
|
25446
25594
|
'Insert format block': 'Вставить блочный элемент',
|
|
@@ -25679,6 +25827,11 @@ function addClassNames(className, elm) {
|
|
|
25679
25827
|
'Insert file': 'Vložiť súbor',
|
|
25680
25828
|
'Insert youtube/vimeo video': 'Vložiť video YouTube/Vimeo',
|
|
25681
25829
|
'Insert link': 'Vložiť odkaz',
|
|
25830
|
+
'Insert anchor': 'Vložiť kotvu',
|
|
25831
|
+
'Link to an anchor': 'Odkaz na kotvu',
|
|
25832
|
+
'On this page': 'Na tejto stránke',
|
|
25833
|
+
'The name cannot contain spaces': 'Názov nesmie obsahovať medzery',
|
|
25834
|
+
'This name is already in use': 'Tento názov sa už používa',
|
|
25682
25835
|
'Font size': 'Veľkosť písma',
|
|
25683
25836
|
'Font family': 'Typ písma',
|
|
25684
25837
|
'Insert format block': 'Vložiť formátovaný blok',
|
|
@@ -25923,6 +26076,11 @@ function addClassNames(className, elm) {
|
|
|
25923
26076
|
'Insert file': 'Infoga fil',
|
|
25924
26077
|
'Insert youtube/vimeo video': 'Infoga YouTube/Vimeo-video',
|
|
25925
26078
|
'Insert link': 'Infoga länk',
|
|
26079
|
+
'Insert anchor': 'Infoga ankare',
|
|
26080
|
+
'Link to an anchor': 'Länka till ett ankare',
|
|
26081
|
+
'On this page': 'På den här sidan',
|
|
26082
|
+
'The name cannot contain spaces': 'Namnet får inte innehålla mellanslag',
|
|
26083
|
+
'This name is already in use': 'Det här namnet används redan',
|
|
25926
26084
|
'Font size': 'Teckenstorlek',
|
|
25927
26085
|
'Font family': 'Teckensnitt',
|
|
25928
26086
|
'Insert format block': 'Infoga formateringsblock',
|
|
@@ -26150,7 +26308,7 @@ function addClassNames(className, elm) {
|
|
|
26150
26308
|
'For information about the license, please go to our website:': 'Lisans hakkında bilgi için lütfen web sitemize gidin:',
|
|
26151
26309
|
'Buy full version': 'Tam versiyonunu satın al',
|
|
26152
26310
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.',
|
|
26153
|
-
Anchor: '
|
|
26311
|
+
Anchor: 'Çapa',
|
|
26154
26312
|
'Open in new tab': 'Yeni sekmede aç',
|
|
26155
26313
|
'Open in fullsize': 'Editörü tam ekranda aç',
|
|
26156
26314
|
'Clear Formatting': 'Stili temizle',
|
|
@@ -26170,6 +26328,11 @@ function addClassNames(className, elm) {
|
|
|
26170
26328
|
'Insert file': 'Dosya Ekle',
|
|
26171
26329
|
'Insert youtube/vimeo video': 'Youtube/Vimeo Videosu Ekle',
|
|
26172
26330
|
'Insert link': 'Bağlantı Ekle',
|
|
26331
|
+
'Insert anchor': 'Çapa Ekle',
|
|
26332
|
+
'Link to an anchor': 'Çapaya bağlantı',
|
|
26333
|
+
'On this page': 'Bu sayfada',
|
|
26334
|
+
'The name cannot contain spaces': 'Ad boşluk içeremez',
|
|
26335
|
+
'This name is already in use': 'Bu ad zaten kullanılıyor',
|
|
26173
26336
|
'Font size': 'Font Boyutu',
|
|
26174
26337
|
'Font family': 'Font Ailesi',
|
|
26175
26338
|
'Insert format block': 'Blok Ekle',
|
|
@@ -26387,7 +26550,7 @@ function addClassNames(className, elm) {
|
|
|
26387
26550
|
'For information about the license, please go to our website:': 'Щоб дізнатись більше про ліцензію , будь ласка, перейдіть на наш сайт:',
|
|
26388
26551
|
'Buy full version': 'Купити повну версію',
|
|
26389
26552
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Авторські права © XDSoft.net - Чупурнов Валерій. Всі права захищені.',
|
|
26390
|
-
Anchor: '
|
|
26553
|
+
Anchor: 'Якір',
|
|
26391
26554
|
'Open in new tab': 'Відкрити у новій вкладці',
|
|
26392
26555
|
'Open in fullsize': 'Відкрити редактор в повному розмірі',
|
|
26393
26556
|
'Clear Formatting': 'Очистити форматування',
|
|
@@ -26407,6 +26570,11 @@ function addClassNames(className, elm) {
|
|
|
26407
26570
|
'Insert file': 'Вставити файл',
|
|
26408
26571
|
'Insert youtube/vimeo video': 'Вставити відео',
|
|
26409
26572
|
'Insert link': 'Вставити посилання',
|
|
26573
|
+
'Insert anchor': 'Вставити якір',
|
|
26574
|
+
'Link to an anchor': 'Посилання на якір',
|
|
26575
|
+
'On this page': 'На цій сторінці',
|
|
26576
|
+
'The name cannot contain spaces': "Ім'я не може містити пробілів",
|
|
26577
|
+
'This name is already in use': "Це ім'я вже використовується",
|
|
26410
26578
|
'Font size': 'Розмір шрифту',
|
|
26411
26579
|
'Font family': 'Шрифт',
|
|
26412
26580
|
'Insert format block': 'Вставити блочний елемент',
|
|
@@ -26626,7 +26794,7 @@ function addClassNames(className, elm) {
|
|
|
26626
26794
|
'For information about the license, please go to our website:': '有关许可证的信息,请访问我们的网站:',
|
|
26627
26795
|
'Buy full version': '购买完整版本',
|
|
26628
26796
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有',
|
|
26629
|
-
Anchor: '
|
|
26797
|
+
Anchor: '锚点',
|
|
26630
26798
|
'Open in new tab': '在新窗口打开',
|
|
26631
26799
|
'Open in fullsize': '全屏编辑',
|
|
26632
26800
|
'Clear Formatting': '清除样式',
|
|
@@ -26646,6 +26814,11 @@ function addClassNames(className, elm) {
|
|
|
26646
26814
|
'Insert file': '文件',
|
|
26647
26815
|
'Insert youtube/vimeo video': '视频',
|
|
26648
26816
|
'Insert link': '链接',
|
|
26817
|
+
'Insert anchor': '插入锚点',
|
|
26818
|
+
'Link to an anchor': '链接到锚点',
|
|
26819
|
+
'On this page': '在本页',
|
|
26820
|
+
'The name cannot contain spaces': '名称不能包含空格',
|
|
26821
|
+
'This name is already in use': '此名称已被使用',
|
|
26649
26822
|
'Font size': '字号',
|
|
26650
26823
|
'Font family': '字体',
|
|
26651
26824
|
'Insert format block': '格式块',
|
|
@@ -26884,6 +27057,11 @@ function addClassNames(className, elm) {
|
|
|
26884
27057
|
'Insert file': '檔案',
|
|
26885
27058
|
'Insert youtube/vimeo video': '插入 youtube/vimeo 影片',
|
|
26886
27059
|
'Insert link': '插入連結',
|
|
27060
|
+
'Insert anchor': '插入錨點',
|
|
27061
|
+
'Link to an anchor': '連結到錨點',
|
|
27062
|
+
'On this page': '在本頁',
|
|
27063
|
+
'The name cannot contain spaces': '名稱不能包含空格',
|
|
27064
|
+
'This name is already in use': '此名稱已被使用',
|
|
26887
27065
|
'Font size': '文字大小',
|
|
26888
27066
|
'Font family': '字型',
|
|
26889
27067
|
'Insert format block': '格式化區塊',
|
|
@@ -29704,15 +29882,16 @@ function _async_to_generator(fn) {
|
|
|
29704
29882
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(70231);
|
|
29705
29883
|
/* harmony import */ var _core_view_view_with_toolbar_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84075);
|
|
29706
29884
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(6441);
|
|
29707
|
-
/* harmony import */ var
|
|
29708
|
-
/* harmony import */ var
|
|
29709
|
-
/* harmony import */ var
|
|
29710
|
-
/* harmony import */ var
|
|
29711
|
-
/* harmony import */ var
|
|
29712
|
-
/* harmony import */ var
|
|
29713
|
-
/* harmony import */ var
|
|
29714
|
-
/* harmony import */ var
|
|
29715
|
-
/* harmony import */ var
|
|
29885
|
+
/* harmony import */ var _uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(2073);
|
|
29886
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(61251);
|
|
29887
|
+
/* harmony import */ var _fetch_load_items_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(30465);
|
|
29888
|
+
/* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(20201);
|
|
29889
|
+
/* harmony import */ var _listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(73948);
|
|
29890
|
+
/* harmony import */ var _listeners_self_listeners_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(33281);
|
|
29891
|
+
/* harmony import */ var _listeners_state_listeners_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(94538);
|
|
29892
|
+
/* harmony import */ var _data_provider_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(11787);
|
|
29893
|
+
/* harmony import */ var _factories_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(63399);
|
|
29894
|
+
/* harmony import */ var _ui_index_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(8172);
|
|
29716
29895
|
/*!
|
|
29717
29896
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29718
29897
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29743,6 +29922,7 @@ function _async_to_generator(fn) {
|
|
|
29743
29922
|
|
|
29744
29923
|
|
|
29745
29924
|
|
|
29925
|
+
|
|
29746
29926
|
|
|
29747
29927
|
|
|
29748
29928
|
let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEBPACK_IMPORTED_MODULE_10__.ViewWithToolbar {
|
|
@@ -29750,26 +29930,26 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
29750
29930
|
return 'FileBrowser';
|
|
29751
29931
|
}
|
|
29752
29932
|
get dataProvider() {
|
|
29753
|
-
return (0,
|
|
29933
|
+
return (0,_factories_js__WEBPACK_IMPORTED_MODULE_20__.makeDataProvider)(this, this.options);
|
|
29754
29934
|
}
|
|
29755
29935
|
onSelect(callback) {
|
|
29756
29936
|
return ()=>{
|
|
29757
29937
|
if (this.state.activeElements.length) {
|
|
29758
|
-
const
|
|
29759
|
-
const isImages = [];
|
|
29938
|
+
const items = [];
|
|
29760
29939
|
this.state.activeElements.forEach((elm)=>{
|
|
29761
29940
|
const url = elm.fileURL;
|
|
29762
29941
|
if (url) {
|
|
29763
|
-
|
|
29764
|
-
|
|
29942
|
+
items.push({
|
|
29943
|
+
file: url,
|
|
29944
|
+
isImage: elm.isImage || false
|
|
29945
|
+
});
|
|
29765
29946
|
}
|
|
29766
29947
|
});
|
|
29767
29948
|
this.close();
|
|
29768
|
-
const data = {
|
|
29949
|
+
const data = (0,_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_12__.normalizeUploaderData)({
|
|
29769
29950
|
baseurl: '',
|
|
29770
|
-
|
|
29771
|
-
|
|
29772
|
-
};
|
|
29951
|
+
items
|
|
29952
|
+
});
|
|
29773
29953
|
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.isFunction)(callback)) {
|
|
29774
29954
|
callback(data);
|
|
29775
29955
|
}
|
|
@@ -29835,10 +30015,9 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
29835
30015
|
* ```javascript
|
|
29836
30016
|
* var fb = new Jodit.modules.FileBrowser(parent);
|
|
29837
30017
|
* fb.open(function (data) {
|
|
29838
|
-
*
|
|
29839
|
-
*
|
|
29840
|
-
*
|
|
29841
|
-
* }
|
|
30018
|
+
* data.items.forEach(function (item) {
|
|
30019
|
+
* parent.s.insertImage(data.baseurl + item.file);
|
|
30020
|
+
* });
|
|
29842
30021
|
* });
|
|
29843
30022
|
* ```
|
|
29844
30023
|
*/ open(callback = this.o.defaultCallback, onlyImages = false) {
|
|
@@ -29861,7 +30040,7 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
29861
30040
|
this.__updateToolbarButtons();
|
|
29862
30041
|
this._dialog.open(this.browser, header);
|
|
29863
30042
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
29864
|
-
(0,
|
|
30043
|
+
(0,_fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_15__.loadTree)(this).then(resolve, reject).finally(()=>{
|
|
29865
30044
|
var _a;
|
|
29866
30045
|
if (this.isInDestruct) {
|
|
29867
30046
|
return;
|
|
@@ -29895,7 +30074,7 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
29895
30074
|
initUploader(editor) {
|
|
29896
30075
|
var _a;
|
|
29897
30076
|
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.ConfigProto)(options || {}, _config_js__WEBPACK_IMPORTED_MODULE_11__.Config.defaultOptions.uploader);
|
|
29898
|
-
const uploadHandler = ()=>(0,
|
|
30077
|
+
const uploadHandler = ()=>(0,_fetch_load_items_js__WEBPACK_IMPORTED_MODULE_14__.loadItems)(this);
|
|
29899
30078
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
29900
30079
|
self.uploader.setPath(self.state.currentPath).setSource(self.state.currentSource).bind(self.browser, uploadHandler, self.errorHandler);
|
|
29901
30080
|
this.state.on([
|
|
@@ -29931,11 +30110,11 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
29931
30110
|
super(options);
|
|
29932
30111
|
this.browser = this.c.div(this.componentName);
|
|
29933
30112
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
29934
|
-
this.tree = new
|
|
29935
|
-
this.files = new
|
|
30113
|
+
this.tree = new _ui_index_js__WEBPACK_IMPORTED_MODULE_21__.FileBrowserTree(this);
|
|
30114
|
+
this.files = new _ui_index_js__WEBPACK_IMPORTED_MODULE_21__.FileBrowserFiles(this);
|
|
29936
30115
|
this.state = (0,_core_event_emitter_index_js__WEBPACK_IMPORTED_MODULE_5__.observable)({
|
|
29937
30116
|
currentPath: '',
|
|
29938
|
-
currentSource:
|
|
30117
|
+
currentSource: _data_provider_js__WEBPACK_IMPORTED_MODULE_19__.DEFAULT_SOURCE_NAME,
|
|
29939
30118
|
currentBaseUrl: '',
|
|
29940
30119
|
activeElements: [],
|
|
29941
30120
|
elements: [],
|
|
@@ -29971,9 +30150,9 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
29971
30150
|
}
|
|
29972
30151
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.append(self.browser, self.files.container);
|
|
29973
30152
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.append(self.browser, self.status_line);
|
|
29974
|
-
|
|
29975
|
-
|
|
29976
|
-
|
|
30153
|
+
_listeners_self_listeners_js__WEBPACK_IMPORTED_MODULE_17__.selfListeners.call(self);
|
|
30154
|
+
_listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_16__.nativeListeners.call(self);
|
|
30155
|
+
_listeners_state_listeners_js__WEBPACK_IMPORTED_MODULE_18__.stateListeners.call(self);
|
|
29977
30156
|
const keys = [
|
|
29978
30157
|
'getLocalFileByUrl',
|
|
29979
30158
|
'crop',
|
|
@@ -32974,29 +33153,30 @@ const instance = (j)=>j.getInstance('Table', j.o);
|
|
|
32974
33153
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
32975
33154
|
/* harmony export */ ToolbarButton: function() { return /* binding */ ToolbarButton; }
|
|
32976
33155
|
/* harmony export */ });
|
|
32977
|
-
/* harmony import */ var
|
|
32978
|
-
/* harmony import */ var
|
|
32979
|
-
/* harmony import */ var
|
|
32980
|
-
/* harmony import */ var
|
|
32981
|
-
/* harmony import */ var
|
|
32982
|
-
/* harmony import */ var
|
|
32983
|
-
/* harmony import */ var
|
|
32984
|
-
/* harmony import */ var
|
|
32985
|
-
/* harmony import */ var
|
|
32986
|
-
/* harmony import */ var
|
|
32987
|
-
/* harmony import */ var
|
|
32988
|
-
/* harmony import */ var
|
|
32989
|
-
/* harmony import */ var
|
|
32990
|
-
/* harmony import */ var
|
|
32991
|
-
/* harmony import */ var
|
|
32992
|
-
/* harmony import */ var
|
|
32993
|
-
/* harmony import */ var
|
|
32994
|
-
/* harmony import */ var
|
|
32995
|
-
/* harmony import */ var
|
|
32996
|
-
/* harmony import */ var
|
|
32997
|
-
/* harmony import */ var
|
|
32998
|
-
/* harmony import */ var
|
|
32999
|
-
/* harmony import */ var
|
|
33156
|
+
/* harmony import */ var _core_component_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4012);
|
|
33157
|
+
/* harmony import */ var _core_component_statuses_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78213);
|
|
33158
|
+
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(82758);
|
|
33159
|
+
/* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(45219);
|
|
33160
|
+
/* harmony import */ var _core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(33433);
|
|
33161
|
+
/* harmony import */ var _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(87325);
|
|
33162
|
+
/* harmony import */ var _core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(37133);
|
|
33163
|
+
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2748);
|
|
33164
|
+
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68345);
|
|
33165
|
+
/* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23282);
|
|
33166
|
+
/* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(19306);
|
|
33167
|
+
/* harmony import */ var _core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(72430);
|
|
33168
|
+
/* harmony import */ var _core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(70799);
|
|
33169
|
+
/* harmony import */ var _core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(56175);
|
|
33170
|
+
/* harmony import */ var _core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(87058);
|
|
33171
|
+
/* harmony import */ var _core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(38837);
|
|
33172
|
+
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(29960);
|
|
33173
|
+
/* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(37790);
|
|
33174
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(62843);
|
|
33175
|
+
/* harmony import */ var _core_ui_helpers_focus_form_field_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(20014);
|
|
33176
|
+
/* harmony import */ var _core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(72157);
|
|
33177
|
+
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(12153);
|
|
33178
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(56917);
|
|
33179
|
+
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(21491);
|
|
33000
33180
|
function _define_property(obj, key, value) {
|
|
33001
33181
|
if (key in obj) {
|
|
33002
33182
|
Object.defineProperty(obj, key, {
|
|
@@ -33056,6 +33236,8 @@ function _object_spread_props(target, source) {
|
|
|
33056
33236
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
33057
33237
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
33058
33238
|
};
|
|
33239
|
+
var ToolbarButton_1;
|
|
33240
|
+
|
|
33059
33241
|
|
|
33060
33242
|
|
|
33061
33243
|
|
|
@@ -33093,7 +33275,7 @@ const FOCUSABLE_SELECTOR = [
|
|
|
33093
33275
|
'textarea:not([disabled])',
|
|
33094
33276
|
'[tabindex]:not([tabindex="-1"])'
|
|
33095
33277
|
].join(',');
|
|
33096
|
-
let ToolbarButton = class ToolbarButton extends
|
|
33278
|
+
let ToolbarButton = ToolbarButton_1 = class ToolbarButton extends _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButton {
|
|
33097
33279
|
className() {
|
|
33098
33280
|
return 'ToolbarButton';
|
|
33099
33281
|
}
|
|
@@ -33104,13 +33286,13 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33104
33286
|
super.updateAriaLabel();
|
|
33105
33287
|
if (this.trigger) {
|
|
33106
33288
|
const i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
|
|
33107
|
-
(0,
|
|
33289
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-label', i8nTooltip);
|
|
33108
33290
|
}
|
|
33109
33291
|
}
|
|
33110
33292
|
/**
|
|
33111
33293
|
* Get parent toolbar
|
|
33112
33294
|
*/ get toolbar() {
|
|
33113
|
-
const ToolbarCollection = (0,
|
|
33295
|
+
const ToolbarCollection = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__.getComponentClass)('ToolbarCollection');
|
|
33114
33296
|
return this.closest(ToolbarCollection);
|
|
33115
33297
|
}
|
|
33116
33298
|
update() {
|
|
@@ -33132,7 +33314,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33132
33314
|
* Calculates whether the button is active
|
|
33133
33315
|
*/ __calculateActivatedStatus(tc) {
|
|
33134
33316
|
var _a, _b;
|
|
33135
|
-
if ((0,
|
|
33317
|
+
if ((0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__.isJoditObject)(this.j) && !this.j.editorIsActive) {
|
|
33136
33318
|
return false;
|
|
33137
33319
|
}
|
|
33138
33320
|
if ((_b = (_a = this.control).isActive) === null || _b === void 0 ? void 0 : _b.call(_a, this.j, this)) {
|
|
@@ -33156,11 +33338,11 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33156
33338
|
return Boolean(tc && tc.shouldBeDisabled(this));
|
|
33157
33339
|
}
|
|
33158
33340
|
onChangeActivated() {
|
|
33159
|
-
;(0,
|
|
33341
|
+
;(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'aria-pressed', this.state.activated);
|
|
33160
33342
|
super.onChangeActivated();
|
|
33161
33343
|
}
|
|
33162
33344
|
onChangeText() {
|
|
33163
|
-
if ((0,
|
|
33345
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(this.control.template)) {
|
|
33164
33346
|
this.text.innerHTML = this.control.template(this.j, this.control.name, this.j.i18n(this.state.text));
|
|
33165
33347
|
} else {
|
|
33166
33348
|
super.onChangeText();
|
|
@@ -33168,8 +33350,8 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33168
33350
|
this.setMod('text-icons', Boolean(this.text.innerText.trim().length));
|
|
33169
33351
|
}
|
|
33170
33352
|
onChangeTabIndex() {
|
|
33171
|
-
;(0,
|
|
33172
|
-
(0,
|
|
33353
|
+
;(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'tabindex', this.state.tabIndex);
|
|
33354
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'tabindex', this.state.tabIndex);
|
|
33173
33355
|
}
|
|
33174
33356
|
createContainer() {
|
|
33175
33357
|
const cn = this.componentName;
|
|
@@ -33181,29 +33363,29 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33181
33363
|
value: this,
|
|
33182
33364
|
configurable: true
|
|
33183
33365
|
});
|
|
33184
|
-
|
|
33185
|
-
const trigger = this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${cn}__trigger">${
|
|
33366
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(container, button);
|
|
33367
|
+
const trigger = this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${cn}__trigger">${_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_21__.Icon.get('chevron')}</span>`);
|
|
33186
33368
|
// For caching
|
|
33187
|
-
|
|
33369
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(button, trigger);
|
|
33188
33370
|
return container;
|
|
33189
33371
|
}
|
|
33190
33372
|
/** @override */ focus() {
|
|
33191
33373
|
var _a;
|
|
33192
|
-
(_a =
|
|
33374
|
+
(_a = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.first(this.container, (node)=>_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isTag(node, 'button'))) === null || _a === void 0 ? void 0 : _a.focus();
|
|
33193
33375
|
}
|
|
33194
33376
|
onChangeHasTrigger() {
|
|
33195
33377
|
if (this.state.hasTrigger) {
|
|
33196
|
-
|
|
33378
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(this.container, this.trigger);
|
|
33197
33379
|
} else {
|
|
33198
|
-
|
|
33380
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(this.trigger);
|
|
33199
33381
|
}
|
|
33200
33382
|
this.setMod('with-trigger', this.state.hasTrigger || null);
|
|
33201
33383
|
}
|
|
33202
33384
|
/** @override */ onChangeDisabled() {
|
|
33203
33385
|
const disabled = this.state.disabled ? 'disabled' : null;
|
|
33204
|
-
(0,
|
|
33205
|
-
(0,
|
|
33206
|
-
(0,
|
|
33386
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'disabled', disabled);
|
|
33387
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'disabled', disabled);
|
|
33388
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.container, 'disabled', disabled);
|
|
33207
33389
|
}
|
|
33208
33390
|
/**
|
|
33209
33391
|
* Init constant data from control
|
|
@@ -33213,7 +33395,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33213
33395
|
state.name = ctr.name;
|
|
33214
33396
|
this.__initIconFromControl();
|
|
33215
33397
|
if (ctr.tooltip) {
|
|
33216
|
-
state.tooltip = (0,
|
|
33398
|
+
state.tooltip = (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.tooltip) ? ctr.tooltip(this.j, ctr, this) : ctr.tooltip;
|
|
33217
33399
|
}
|
|
33218
33400
|
state.hasTrigger = Boolean(ctr.list || ctr.popup && ctr.exec);
|
|
33219
33401
|
}
|
|
@@ -33221,12 +33403,12 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33221
33403
|
var _a;
|
|
33222
33404
|
const { control: ctr, state } = this;
|
|
33223
33405
|
const { textIcons } = this.j.o;
|
|
33224
|
-
if (textIcons === true || (0,
|
|
33225
|
-
state.icon = (0,
|
|
33406
|
+
if (textIcons === true || (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(textIcons) && textIcons(ctr.name) || ctr.template) {
|
|
33407
|
+
state.icon = (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButtonState)().icon;
|
|
33226
33408
|
state.text = ctr.text || ctr.name;
|
|
33227
33409
|
return;
|
|
33228
33410
|
}
|
|
33229
|
-
if (!(0,
|
|
33411
|
+
if (!(0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(ctr.icon) && ctr.icon != null) {
|
|
33230
33412
|
state.icon = {
|
|
33231
33413
|
name: ctr.icon.name || ctr.name,
|
|
33232
33414
|
iconURL: ctr.icon.iconURL || '',
|
|
@@ -33239,7 +33421,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33239
33421
|
state.icon.iconURL = ctr.iconURL;
|
|
33240
33422
|
} else {
|
|
33241
33423
|
const name = ctr.icon || ctr.name;
|
|
33242
|
-
state.icon.name =
|
|
33424
|
+
state.icon.name = _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_21__.Icon.exists(name) || ((_a = this.j.o.extraIcons) === null || _a === void 0 ? void 0 : _a[name]) ? name : '';
|
|
33243
33425
|
}
|
|
33244
33426
|
if (!ctr.iconURL && !state.icon.name) {
|
|
33245
33427
|
state.text = ctr.text || ctr.name;
|
|
@@ -33254,25 +33436,25 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33254
33436
|
return;
|
|
33255
33437
|
}
|
|
33256
33438
|
const { control: ctr } = this;
|
|
33257
|
-
(0,
|
|
33439
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-expanded', true);
|
|
33258
33440
|
e.buffer = {
|
|
33259
33441
|
actionTrigger: this
|
|
33260
33442
|
};
|
|
33261
33443
|
if (ctr.list) {
|
|
33262
33444
|
return this.__openControlList(ctr);
|
|
33263
33445
|
}
|
|
33264
|
-
if ((0,
|
|
33446
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.popup)) {
|
|
33265
33447
|
const popup = this.openPopup();
|
|
33266
33448
|
popup.parentElement = this;
|
|
33267
33449
|
try {
|
|
33268
|
-
if (this.j.e.fire((0,
|
|
33450
|
+
if (this.j.e.fire((0,_core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_14__.camelCase)(`before-${ctr.name}-open-popup`), this.target, ctr, popup) !== false) {
|
|
33269
33451
|
const target = (_c = (_b = (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.getTarget(this)) !== null && _b !== void 0 ? _b : this.target) !== null && _c !== void 0 ? _c : null;
|
|
33270
33452
|
const elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
33271
33453
|
if (elm) {
|
|
33272
|
-
popup.setContent((0,
|
|
33454
|
+
popup.setContent((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(elm) ? this.j.c.fromHTML(elm) : elm).open(()=>(0,_core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_13__.position)(this.container), false, this.j.o.allowTabNavigation ? this.container : undefined);
|
|
33273
33455
|
// The focus stays in the content for a list, which
|
|
33274
33456
|
// typing searches, but goes to a form, as in a dialog
|
|
33275
|
-
(0,
|
|
33457
|
+
(0,_core_ui_helpers_focus_form_field_js__WEBPACK_IMPORTED_MODULE_19__.focusFormField)(popup.container);
|
|
33276
33458
|
} else {
|
|
33277
33459
|
this.__closePopup();
|
|
33278
33460
|
}
|
|
@@ -33285,20 +33467,20 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33285
33467
|
* Fired after the popup was opened for some control button
|
|
33286
33468
|
*/ /**
|
|
33287
33469
|
* Close all opened popups
|
|
33288
|
-
*/ this.j.e.fire((0,
|
|
33470
|
+
*/ this.j.e.fire((0,_core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_14__.camelCase)(`after-${ctr.name}-open-popup`), popup.container);
|
|
33289
33471
|
}
|
|
33290
33472
|
}
|
|
33291
33473
|
onTriggerKeyDown(e) {
|
|
33292
33474
|
if (this.state.disabled) {
|
|
33293
33475
|
return;
|
|
33294
33476
|
}
|
|
33295
|
-
if (e.key ===
|
|
33477
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN) {
|
|
33296
33478
|
this.onButtonKeyDown(e);
|
|
33297
33479
|
return;
|
|
33298
33480
|
}
|
|
33299
33481
|
if (![
|
|
33300
|
-
|
|
33301
|
-
|
|
33482
|
+
_core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_ENTER,
|
|
33483
|
+
_core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_SPACE,
|
|
33302
33484
|
' '
|
|
33303
33485
|
].includes(e.key)) {
|
|
33304
33486
|
return;
|
|
@@ -33311,7 +33493,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33311
33493
|
* focus into it, like the WAI-ARIA menu button pattern
|
|
33312
33494
|
*/ onButtonKeyDown(e) {
|
|
33313
33495
|
var _a;
|
|
33314
|
-
if (e.key !==
|
|
33496
|
+
if (e.key !== _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN || this.state.disabled || !this.state.hasTrigger || e.altKey || e.ctrlKey || e.metaKey) {
|
|
33315
33497
|
return;
|
|
33316
33498
|
}
|
|
33317
33499
|
e.preventDefault();
|
|
@@ -33330,22 +33512,22 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33330
33512
|
}
|
|
33331
33513
|
const target = e.target;
|
|
33332
33514
|
// A text field keeps the arrow keys for itself
|
|
33333
|
-
if (
|
|
33515
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isTag(target, INPUT_TAGS) && e.key !== _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_ESC) {
|
|
33334
33516
|
return;
|
|
33335
33517
|
}
|
|
33336
33518
|
const items = this.__popupFocusables(), index = items.indexOf(target);
|
|
33337
33519
|
switch(e.key){
|
|
33338
|
-
case
|
|
33520
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_ESC:
|
|
33339
33521
|
this.__closePopup();
|
|
33340
33522
|
break;
|
|
33341
|
-
case
|
|
33523
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_UP:
|
|
33342
33524
|
if (index <= 0) {
|
|
33343
33525
|
this.__closePopup();
|
|
33344
33526
|
} else {
|
|
33345
33527
|
items[index - 1].focus();
|
|
33346
33528
|
}
|
|
33347
33529
|
break;
|
|
33348
|
-
case
|
|
33530
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN:
|
|
33349
33531
|
if (!items.length) {
|
|
33350
33532
|
return;
|
|
33351
33533
|
}
|
|
@@ -33415,7 +33597,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33415
33597
|
* Create an open popup list
|
|
33416
33598
|
*/ __openControlList(control) {
|
|
33417
33599
|
var _a, _b, _c, _d, _e;
|
|
33418
|
-
const controls = (_a = this.jodit.options.controls) !== null && _a !== void 0 ? _a : {}, getControl = (key)=>(0,
|
|
33600
|
+
const controls = (_a = this.jodit.options.controls) !== null && _a !== void 0 ? _a : {}, getControl = (key)=>(0,_core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_20__.findControlType)(key, controls);
|
|
33419
33601
|
const list = control.list;
|
|
33420
33602
|
const menu = this.openPopup();
|
|
33421
33603
|
menu.parentElement = this;
|
|
@@ -33423,17 +33605,17 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33423
33605
|
if (content) {
|
|
33424
33606
|
return this.__openMenu(menu, content);
|
|
33425
33607
|
}
|
|
33426
|
-
const toolbar = (0,
|
|
33608
|
+
const toolbar = (0,_factory_js__WEBPACK_IMPORTED_MODULE_23__.makeCollection)(this.j);
|
|
33427
33609
|
toolbar.parentElement = menu;
|
|
33428
33610
|
toolbar.mode = 'vertical';
|
|
33429
|
-
const isListItem = (key)=>(0,
|
|
33611
|
+
const isListItem = (key)=>(0,_core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_11__.isPlainObject)(key) && 'title' in key && 'value' in key;
|
|
33430
33612
|
const getButton = (key, value)=>{
|
|
33431
|
-
if ((0,
|
|
33613
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(value) && getControl(value)) {
|
|
33432
33614
|
return _object_spread({
|
|
33433
33615
|
name: value.toString()
|
|
33434
33616
|
}, getControl(value));
|
|
33435
33617
|
}
|
|
33436
|
-
if ((0,
|
|
33618
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(key) && getControl(key)) {
|
|
33437
33619
|
return _object_spread({
|
|
33438
33620
|
name: key.toString()
|
|
33439
33621
|
}, getControl(key), typeof value === 'object' ? value : {});
|
|
@@ -33464,29 +33646,29 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33464
33646
|
value
|
|
33465
33647
|
]
|
|
33466
33648
|
};
|
|
33467
|
-
if ((0,
|
|
33649
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(value)) {
|
|
33468
33650
|
childControl.text = value;
|
|
33469
33651
|
}
|
|
33470
33652
|
return childControl;
|
|
33471
33653
|
};
|
|
33472
|
-
toolbar.build((0,
|
|
33654
|
+
toolbar.build((0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_8__.isArray)(list) ? list.map(getButton) : (0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_17__.keys)(list, false).map((key)=>getButton(key, list[key])), this.target);
|
|
33473
33655
|
this.__openMenu(menu, toolbar);
|
|
33474
33656
|
}
|
|
33475
33657
|
__openMenu(menu, content) {
|
|
33476
|
-
menu.setContent(content).open(()=>(0,
|
|
33658
|
+
menu.setContent(content).open(()=>(0,_core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_13__.position)(this.container), false, this.j.o.allowTabNavigation ? this.container : undefined);
|
|
33477
33659
|
this.state.activated = true;
|
|
33478
33660
|
}
|
|
33479
33661
|
onOutsideClick(e) {
|
|
33480
33662
|
if (!this.openedPopup) {
|
|
33481
33663
|
return;
|
|
33482
33664
|
}
|
|
33483
|
-
if (!e || !
|
|
33665
|
+
if (!e || !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isNode(e.target) || !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.container, e.target) && !this.openedPopup.isOwnClick(e)) {
|
|
33484
33666
|
this.__closePopup();
|
|
33485
33667
|
}
|
|
33486
33668
|
}
|
|
33487
33669
|
openPopup() {
|
|
33488
33670
|
this.__closePopup();
|
|
33489
|
-
this.openedPopup = new
|
|
33671
|
+
this.openedPopup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_22__.Popup(this.j, false);
|
|
33490
33672
|
this.j.e.on(this.ow, 'mousedown touchstart', this.onOutsideClick).on('escape closeAllPopups', this.onOutsideClick).on('keydown', this.__onEditorKeyDown).on(this.openedPopup.container, 'keydown', this.__onPopupKeyDown);
|
|
33491
33673
|
return this.openedPopup;
|
|
33492
33674
|
}
|
|
@@ -33506,14 +33688,14 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33506
33688
|
// The keyboard brought the focus into the dropdown: give it back to
|
|
33507
33689
|
// the button, otherwise it would fall out to the document. A form
|
|
33508
33690
|
// gives it back to the content, with the selection it was opened for
|
|
33509
|
-
const { activeElement } = this.od, hadFocus = activeElement &&
|
|
33691
|
+
const { activeElement } = this.od, hadFocus = activeElement && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(popup.container, activeElement), inForm = hadFocus && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.closest(activeElement, 'form', popup.container);
|
|
33510
33692
|
this.state.activated = false;
|
|
33511
33693
|
popup.close();
|
|
33512
33694
|
popup.destruct();
|
|
33513
33695
|
if (this.trigger) {
|
|
33514
|
-
(0,
|
|
33696
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-expanded', false);
|
|
33515
33697
|
}
|
|
33516
|
-
if (inForm && (0,
|
|
33698
|
+
if (inForm && (0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__.isJoditObject)(this.j)) {
|
|
33517
33699
|
this.j.s.focus();
|
|
33518
33700
|
} else if (hadFocus) {
|
|
33519
33701
|
this.focus();
|
|
@@ -33524,7 +33706,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33524
33706
|
*/ onClick(originalEvent) {
|
|
33525
33707
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
33526
33708
|
const { control: ctr } = this;
|
|
33527
|
-
if ((0,
|
|
33709
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.exec)) {
|
|
33528
33710
|
const target = (_c = (_b = (_a = this.toolbar) === null || _a === void 0 ? void 0 : _a.getTarget(this)) !== null && _b !== void 0 ? _b : this.target) !== null && _c !== void 0 ? _c : null;
|
|
33529
33711
|
const result = ctr.exec(this.j, target, {
|
|
33530
33712
|
control: ctr,
|
|
@@ -33537,9 +33719,10 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33537
33719
|
if (this.parentElement) {
|
|
33538
33720
|
this.parentElement.update();
|
|
33539
33721
|
}
|
|
33722
|
+
this.__closePopups();
|
|
33540
33723
|
/**
|
|
33541
33724
|
* Fired after calling `button.exec` function
|
|
33542
|
-
*/ (_g = (_f = this.j) === null || _f === void 0 ? void 0 : _f.e) === null || _g === void 0 ? void 0 : _g.fire('
|
|
33725
|
+
*/ (_g = (_f = this.j) === null || _f === void 0 ? void 0 : _f.e) === null || _g === void 0 ? void 0 : _g.fire('afterExec');
|
|
33543
33726
|
}
|
|
33544
33727
|
if (result !== false) {
|
|
33545
33728
|
return;
|
|
@@ -33548,14 +33731,36 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33548
33731
|
if (ctr.list) {
|
|
33549
33732
|
return this.__openControlList(ctr);
|
|
33550
33733
|
}
|
|
33551
|
-
if ((0,
|
|
33734
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.popup)) {
|
|
33552
33735
|
return this.onTriggerClick(originalEvent);
|
|
33553
33736
|
}
|
|
33554
33737
|
if (ctr.command || ctr.name) {
|
|
33555
|
-
(0,
|
|
33556
|
-
this.
|
|
33738
|
+
(0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_17__.call)((0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__.isJoditObject)(this.j) ? this.j.execCommand.bind(this.j) : this.j.od.execCommand.bind(this.j.od), ctr.command || ctr.name, false, ctr.args && ctr.args[0]);
|
|
33739
|
+
this.__closePopups();
|
|
33557
33740
|
}
|
|
33558
33741
|
}
|
|
33742
|
+
/**
|
|
33743
|
+
* After the button's action, a popup that stays open (an element's)
|
|
33744
|
+
* keeps its place beside the element, and only the lists the button is
|
|
33745
|
+
* in close. Otherwise, as when the action removed the element, every
|
|
33746
|
+
* popup closes
|
|
33747
|
+
*/ __closePopups() {
|
|
33748
|
+
var _a, _b;
|
|
33749
|
+
const openers = [
|
|
33750
|
+
this
|
|
33751
|
+
];
|
|
33752
|
+
for(let pe = this.parentElement; pe; pe = pe.parentElement){
|
|
33753
|
+
if (_core_component_component_js__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(pe, _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_22__.Popup) && pe.keepOpen && (!this.target || this.target.isConnected)) {
|
|
33754
|
+
openers.forEach((button)=>button.__closePopup());
|
|
33755
|
+
pe.updatePosition();
|
|
33756
|
+
return;
|
|
33757
|
+
}
|
|
33758
|
+
if (_core_component_component_js__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(pe, ToolbarButton_1)) {
|
|
33759
|
+
openers.push(pe);
|
|
33760
|
+
}
|
|
33761
|
+
}
|
|
33762
|
+
(_b = (_a = this.j) === null || _a === void 0 ? void 0 : _a.e) === null || _b === void 0 ? void 0 : _b.fire('closeAllPopups');
|
|
33763
|
+
}
|
|
33559
33764
|
destruct() {
|
|
33560
33765
|
this.__closePopup();
|
|
33561
33766
|
return super.destruct();
|
|
@@ -33564,7 +33769,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33564
33769
|
super(jodit);
|
|
33565
33770
|
this.control = control;
|
|
33566
33771
|
this.target = target;
|
|
33567
|
-
this.state = _object_spread_props(_object_spread({}, (0,
|
|
33772
|
+
this.state = _object_spread_props(_object_spread({}, (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButtonState)()), {
|
|
33568
33773
|
theme: 'toolbar',
|
|
33569
33774
|
currentValue: '',
|
|
33570
33775
|
hasTrigger: false
|
|
@@ -33574,14 +33779,14 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33574
33779
|
this.__typedTo = null;
|
|
33575
33780
|
this.openedPopup = null;
|
|
33576
33781
|
const button = this.getElm('button');
|
|
33577
|
-
(0,
|
|
33782
|
+
(0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__.assert)(button, 'Element button should exists');
|
|
33578
33783
|
this.button = button;
|
|
33579
33784
|
Object.defineProperty(button, 'component', {
|
|
33580
33785
|
value: this,
|
|
33581
33786
|
configurable: true
|
|
33582
33787
|
});
|
|
33583
33788
|
const trigger = this.getElm('trigger');
|
|
33584
|
-
(0,
|
|
33789
|
+
(0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__.assert)(trigger, 'Element trigger should exists');
|
|
33585
33790
|
this.trigger = trigger;
|
|
33586
33791
|
trigger.remove();
|
|
33587
33792
|
// Prevent lost focus
|
|
@@ -33590,7 +33795,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33590
33795
|
this.trigger
|
|
33591
33796
|
], 'mousedown', (e)=>e.preventDefault());
|
|
33592
33797
|
this.onAction(this.onClick);
|
|
33593
|
-
this.hookStatus(
|
|
33798
|
+
this.hookStatus(_core_component_statuses_js__WEBPACK_IMPORTED_MODULE_1__.STATUSES.ready, ()=>{
|
|
33594
33799
|
this.__initFromControl();
|
|
33595
33800
|
this.update();
|
|
33596
33801
|
});
|
|
@@ -33602,36 +33807,36 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
33602
33807
|
}
|
|
33603
33808
|
};
|
|
33604
33809
|
__decorate([
|
|
33605
|
-
|
|
33810
|
+
_core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_4__.cacheHTML
|
|
33606
33811
|
], ToolbarButton.prototype, "createContainer", null);
|
|
33607
33812
|
__decorate([
|
|
33608
|
-
(0,
|
|
33813
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('state.hasTrigger', {
|
|
33609
33814
|
immediately: false
|
|
33610
33815
|
})
|
|
33611
33816
|
], ToolbarButton.prototype, "onChangeHasTrigger", null);
|
|
33612
33817
|
__decorate([
|
|
33613
|
-
(0,
|
|
33818
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('trigger:click')
|
|
33614
33819
|
], ToolbarButton.prototype, "onTriggerClick", null);
|
|
33615
33820
|
__decorate([
|
|
33616
|
-
(0,
|
|
33821
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('trigger:keydown')
|
|
33617
33822
|
], ToolbarButton.prototype, "onTriggerKeyDown", null);
|
|
33618
33823
|
__decorate([
|
|
33619
|
-
(0,
|
|
33824
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('button:keydown')
|
|
33620
33825
|
], ToolbarButton.prototype, "onButtonKeyDown", null);
|
|
33621
33826
|
__decorate([
|
|
33622
|
-
|
|
33827
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
33623
33828
|
], ToolbarButton.prototype, "__onPopupKeyDown", null);
|
|
33624
33829
|
__decorate([
|
|
33625
|
-
|
|
33830
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
33626
33831
|
], ToolbarButton.prototype, "__onEditorKeyDown", null);
|
|
33627
33832
|
__decorate([
|
|
33628
|
-
|
|
33833
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
33629
33834
|
], ToolbarButton.prototype, "onOutsideClick", null);
|
|
33630
33835
|
__decorate([
|
|
33631
|
-
|
|
33836
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
33632
33837
|
], ToolbarButton.prototype, "__closePopup", null);
|
|
33633
|
-
ToolbarButton = __decorate([
|
|
33634
|
-
|
|
33838
|
+
ToolbarButton = ToolbarButton_1 = __decorate([
|
|
33839
|
+
_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__.component
|
|
33635
33840
|
], ToolbarButton);
|
|
33636
33841
|
|
|
33637
33842
|
|
|
@@ -34141,6 +34346,7 @@ function makeSelect(view, control, target = null) {
|
|
|
34141
34346
|
/* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19306);
|
|
34142
34347
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29960);
|
|
34143
34348
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6441);
|
|
34349
|
+
/* harmony import */ var _helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
34144
34350
|
/*!
|
|
34145
34351
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34146
34352
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34149,6 +34355,7 @@ function makeSelect(view, control, target = null) {
|
|
|
34149
34355
|
|
|
34150
34356
|
|
|
34151
34357
|
|
|
34358
|
+
|
|
34152
34359
|
/**
|
|
34153
34360
|
* Module for processing download documents and images by Drag and Drop
|
|
34154
34361
|
* Drag and Drop files
|
|
@@ -34209,27 +34416,26 @@ _config_js__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.uploader = {
|
|
|
34209
34416
|
if (!(0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__.isJoditObject)(j)) {
|
|
34210
34417
|
return;
|
|
34211
34418
|
}
|
|
34212
|
-
|
|
34213
|
-
|
|
34214
|
-
|
|
34215
|
-
|
|
34216
|
-
|
|
34217
|
-
|
|
34218
|
-
|
|
34219
|
-
|
|
34220
|
-
|
|
34221
|
-
|
|
34222
|
-
|
|
34223
|
-
|
|
34224
|
-
|
|
34225
|
-
|
|
34226
|
-
|
|
34227
|
-
|
|
34228
|
-
|
|
34229
|
-
|
|
34230
|
-
|
|
34231
|
-
|
|
34232
|
-
}
|
|
34419
|
+
const { baseurl } = resp;
|
|
34420
|
+
(0,_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(resp).forEach(({ file, isImage })=>{
|
|
34421
|
+
const [tagName, attrName] = isImage ? [
|
|
34422
|
+
'img',
|
|
34423
|
+
'src'
|
|
34424
|
+
] : [
|
|
34425
|
+
'a',
|
|
34426
|
+
'href'
|
|
34427
|
+
];
|
|
34428
|
+
const elm = j.createInside.element(tagName);
|
|
34429
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, attrName, baseurl + file);
|
|
34430
|
+
if (tagName === 'a') {
|
|
34431
|
+
elm.textContent = j.o.uploader.getDisplayName.call(this, baseurl, file);
|
|
34432
|
+
}
|
|
34433
|
+
if (tagName === 'img') {
|
|
34434
|
+
j.s.insertImage(elm, null, j.o.imageDefaultWidth);
|
|
34435
|
+
} else {
|
|
34436
|
+
j.s.insertNode(elm);
|
|
34437
|
+
}
|
|
34438
|
+
});
|
|
34233
34439
|
},
|
|
34234
34440
|
defaultHandlerError (e) {
|
|
34235
34441
|
this.j.message.error(e.message);
|
|
@@ -34319,17 +34525,19 @@ function buildData(uploader, data) {
|
|
|
34319
34525
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
34320
34526
|
|
|
34321
34527
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
34322
|
-
/* harmony export */ ajaxInstances: function() { return /* reexport safe */
|
|
34528
|
+
/* harmony export */ ajaxInstances: function() { return /* reexport safe */ _send_js__WEBPACK_IMPORTED_MODULE_3__.ajaxInstances; },
|
|
34323
34529
|
/* harmony export */ hasFiles: function() { return /* binding */ hasFiles; },
|
|
34324
34530
|
/* harmony export */ hasItems: function() { return /* binding */ hasItems; },
|
|
34325
|
-
/* harmony export */
|
|
34326
|
-
/* harmony export */
|
|
34327
|
-
/* harmony export */
|
|
34531
|
+
/* harmony export */ normalizeUploaderData: function() { return /* reexport safe */ _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_1__.normalizeUploaderData; },
|
|
34532
|
+
/* harmony export */ processOldBrowserDrag: function() { return /* reexport safe */ _process_old_browser_drag_js__WEBPACK_IMPORTED_MODULE_2__.processOldBrowserDrag; },
|
|
34533
|
+
/* harmony export */ send: function() { return /* reexport safe */ _send_js__WEBPACK_IMPORTED_MODULE_3__.send; },
|
|
34534
|
+
/* harmony export */ sendFiles: function() { return /* reexport safe */ _send_files_js__WEBPACK_IMPORTED_MODULE_4__.sendFiles; }
|
|
34328
34535
|
/* harmony export */ });
|
|
34329
34536
|
/* harmony import */ var _build_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(83987);
|
|
34330
|
-
/* harmony import */ var
|
|
34331
|
-
/* harmony import */ var
|
|
34332
|
-
/* harmony import */ var
|
|
34537
|
+
/* harmony import */ var _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2073);
|
|
34538
|
+
/* harmony import */ var _process_old_browser_drag_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50373);
|
|
34539
|
+
/* harmony import */ var _send_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71686);
|
|
34540
|
+
/* harmony import */ var _send_files_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80020);
|
|
34333
34541
|
/*!
|
|
34334
34542
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34335
34543
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34339,6 +34547,7 @@ function buildData(uploader, data) {
|
|
|
34339
34547
|
|
|
34340
34548
|
|
|
34341
34549
|
|
|
34550
|
+
|
|
34342
34551
|
function hasFiles(data) {
|
|
34343
34552
|
return Boolean(data && data.files && data.files.length > 0);
|
|
34344
34553
|
}
|
|
@@ -34347,6 +34556,123 @@ function hasItems(data) {
|
|
|
34347
34556
|
}
|
|
34348
34557
|
|
|
34349
34558
|
|
|
34559
|
+
/***/ }),
|
|
34560
|
+
|
|
34561
|
+
/***/ 2073:
|
|
34562
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
34563
|
+
|
|
34564
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
34565
|
+
/* harmony export */ getItems: function() { return /* binding */ getItems; },
|
|
34566
|
+
/* harmony export */ normalizeUploaderData: function() { return /* binding */ normalizeUploaderData; }
|
|
34567
|
+
/* harmony export */ });
|
|
34568
|
+
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68345);
|
|
34569
|
+
/* harmony import */ var _core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70799);
|
|
34570
|
+
function _define_property(obj, key, value) {
|
|
34571
|
+
if (key in obj) {
|
|
34572
|
+
Object.defineProperty(obj, key, {
|
|
34573
|
+
value: value,
|
|
34574
|
+
enumerable: true,
|
|
34575
|
+
configurable: true,
|
|
34576
|
+
writable: true
|
|
34577
|
+
});
|
|
34578
|
+
} else obj[key] = value;
|
|
34579
|
+
return obj;
|
|
34580
|
+
}
|
|
34581
|
+
function _object_spread(target) {
|
|
34582
|
+
for(var i = 1; i < arguments.length; i++){
|
|
34583
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
34584
|
+
var ownKeys = Object.keys(source);
|
|
34585
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
34586
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
34587
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
34588
|
+
}));
|
|
34589
|
+
}
|
|
34590
|
+
ownKeys.forEach(function(key) {
|
|
34591
|
+
_define_property(target, key, source[key]);
|
|
34592
|
+
});
|
|
34593
|
+
}
|
|
34594
|
+
return target;
|
|
34595
|
+
}
|
|
34596
|
+
function ownKeys(object, enumerableOnly) {
|
|
34597
|
+
var keys = Object.keys(object);
|
|
34598
|
+
if (Object.getOwnPropertySymbols) {
|
|
34599
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
34600
|
+
if (enumerableOnly) {
|
|
34601
|
+
symbols = symbols.filter(function(sym) {
|
|
34602
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
34603
|
+
});
|
|
34604
|
+
}
|
|
34605
|
+
keys.push.apply(keys, symbols);
|
|
34606
|
+
}
|
|
34607
|
+
return keys;
|
|
34608
|
+
}
|
|
34609
|
+
function _object_spread_props(target, source) {
|
|
34610
|
+
source = source != null ? source : {};
|
|
34611
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
34612
|
+
else {
|
|
34613
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
34614
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
34615
|
+
});
|
|
34616
|
+
}
|
|
34617
|
+
return target;
|
|
34618
|
+
}
|
|
34619
|
+
/*!
|
|
34620
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34621
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
34622
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
34623
|
+
*/ ;
|
|
34624
|
+
|
|
34625
|
+
/**
|
|
34626
|
+
* The files in upload or file browser data, one object each. While the
|
|
34627
|
+
* deprecated `files` array is set, it and `isImages` and `fileNames` win
|
|
34628
|
+
* over `items`, so a handler that edits them and passes the data on to a
|
|
34629
|
+
* default handler still gets its edits inserted. A file browser that
|
|
34630
|
+
* passes only the arrays works too.
|
|
34631
|
+
*/ function getItems(data) {
|
|
34632
|
+
const { files, isImages, fileNames, items } = data;
|
|
34633
|
+
if (!(0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(files)) {
|
|
34634
|
+
return items !== null && items !== void 0 ? items : [];
|
|
34635
|
+
}
|
|
34636
|
+
return files.map((file, i)=>{
|
|
34637
|
+
const name = fileNames === null || fileNames === void 0 ? void 0 : fileNames[i];
|
|
34638
|
+
return _object_spread({
|
|
34639
|
+
file,
|
|
34640
|
+
isImage: Boolean(isImages === null || isImages === void 0 ? void 0 : isImages[i])
|
|
34641
|
+
}, name !== undefined ? {
|
|
34642
|
+
name
|
|
34643
|
+
} : {});
|
|
34644
|
+
});
|
|
34645
|
+
}
|
|
34646
|
+
/**
|
|
34647
|
+
* Gives the data both `items` and the deprecated `files`, `isImages` and
|
|
34648
|
+
* `fileNames` arrays, building whichever is missing, so a handler can read
|
|
34649
|
+
* either. When both are given, `items` is rebuilt from the arrays, as in
|
|
34650
|
+
* [[getItems]], unless `files` is empty and `items` isn't, as from a
|
|
34651
|
+
* `process` that spreads the server's answer and adds `items`. Anything but
|
|
34652
|
+
* an object, such as the `null` a custom `process` may return, is passed on
|
|
34653
|
+
* as it is.
|
|
34654
|
+
*/ function normalizeUploaderData(data) {
|
|
34655
|
+
if (!data || typeof data !== 'object') {
|
|
34656
|
+
return data;
|
|
34657
|
+
}
|
|
34658
|
+
const { files, items } = data;
|
|
34659
|
+
if (!items || (0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(files) && (files.length || !items.length)) {
|
|
34660
|
+
return _object_spread_props(_object_spread({}, data), {
|
|
34661
|
+
items: getItems(data)
|
|
34662
|
+
});
|
|
34663
|
+
}
|
|
34664
|
+
const names = items.map(({ name })=>name);
|
|
34665
|
+
return _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, data), {
|
|
34666
|
+
files: items.map(({ file })=>file),
|
|
34667
|
+
isImages: items.map(({ isImage })=>isImage)
|
|
34668
|
+
}), names.every(_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_1__.isString) ? {
|
|
34669
|
+
fileNames: names
|
|
34670
|
+
} : {}), {
|
|
34671
|
+
items
|
|
34672
|
+
});
|
|
34673
|
+
}
|
|
34674
|
+
|
|
34675
|
+
|
|
34350
34676
|
/***/ }),
|
|
34351
34677
|
|
|
34352
34678
|
/***/ 50373:
|
|
@@ -34408,8 +34734,9 @@ function processOldBrowserDrag(self, cData, handlerSuccess, handlerError, onFina
|
|
|
34408
34734
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21537);
|
|
34409
34735
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70231);
|
|
34410
34736
|
/* harmony import */ var _dialog_prompt_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36806);
|
|
34411
|
-
/* harmony import */ var
|
|
34412
|
-
/* harmony import */ var
|
|
34737
|
+
/* harmony import */ var _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
34738
|
+
/* harmony import */ var _send_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71686);
|
|
34739
|
+
/* harmony import */ var _upload_error_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(76198);
|
|
34413
34740
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
34414
34741
|
try {
|
|
34415
34742
|
var info = gen[key](arg);
|
|
@@ -34472,6 +34799,7 @@ function _object_spread(target) {
|
|
|
34472
34799
|
|
|
34473
34800
|
|
|
34474
34801
|
|
|
34802
|
+
|
|
34475
34803
|
/**
|
|
34476
34804
|
* Send files to server
|
|
34477
34805
|
*/ function sendFiles(uploader, files, handlerSuccess, handlerError, process, // Set when a refused upload is sent again: `beforeUpload` already had its say
|
|
@@ -34559,13 +34887,13 @@ retryOf) {
|
|
|
34559
34887
|
});
|
|
34560
34888
|
}
|
|
34561
34889
|
o.prepareData.call(uploader, form);
|
|
34562
|
-
promises.push((0,
|
|
34890
|
+
promises.push((0,_send_js__WEBPACK_IMPORTED_MODULE_5__.send)(uploader, form).then((resp)=>{
|
|
34563
34891
|
if (o.isSuccess.call(uploader, resp)) {
|
|
34564
34892
|
const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handlerSuccess) ? handlerSuccess : o.defaultHandlerSuccess;
|
|
34565
|
-
handler.call(uploader, o.process.call(uploader, resp));
|
|
34893
|
+
handler.call(uploader, (0,_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.normalizeUploaderData)(o.process.call(uploader, resp)));
|
|
34566
34894
|
return resp;
|
|
34567
34895
|
}
|
|
34568
|
-
const err = new
|
|
34896
|
+
const err = new _upload_error_js__WEBPACK_IMPORTED_MODULE_6__.UploadError(o.getMessage.call(uploader, resp), resp, fileList, (plan)=>{
|
|
34569
34897
|
var _a;
|
|
34570
34898
|
return sendFiles(uploader, (_a = plan === null || plan === void 0 ? void 0 : plan.files) !== null && _a !== void 0 ? _a : fileList, handlerSuccess, handlerError, process, {
|
|
34571
34899
|
data: _object_spread({}, extraData, plan === null || plan === void 0 ? void 0 : plan.data)
|
|
@@ -34640,18 +34968,16 @@ function readImagesWithReader(fileList, imagesExtensions, promises, uploader, ha
|
|
|
34640
34968
|
const readerPromise = uploader.j.async.promise((resolve, reject)=>{
|
|
34641
34969
|
reader.onerror = reject;
|
|
34642
34970
|
reader.onloadend = ()=>{
|
|
34643
|
-
const resp = {
|
|
34971
|
+
const resp = (0,_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.normalizeUploaderData)({
|
|
34644
34972
|
baseurl: '',
|
|
34645
|
-
|
|
34646
|
-
|
|
34647
|
-
|
|
34648
|
-
|
|
34649
|
-
|
|
34650
|
-
|
|
34651
|
-
fileNames: [
|
|
34652
|
-
name
|
|
34973
|
+
items: [
|
|
34974
|
+
{
|
|
34975
|
+
file: reader.result,
|
|
34976
|
+
isImage: true,
|
|
34977
|
+
name
|
|
34978
|
+
}
|
|
34653
34979
|
]
|
|
34654
|
-
};
|
|
34980
|
+
});
|
|
34655
34981
|
const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handlerSuccess) ? handlerSuccess : defaultHandlerSuccess;
|
|
34656
34982
|
handler.call(uploader, resp);
|
|
34657
34983
|
resolve(resp);
|
|
@@ -34853,11 +35179,10 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
|
|
|
34853
35179
|
* ```javascript
|
|
34854
35180
|
* var $form = jQuery('<form><input type="text" typpe="file"></form>');
|
|
34855
35181
|
* jQuery('body').append($form);
|
|
34856
|
-
* Jodit.editors.someidfoeditor.uploader.bind($form[0], function (
|
|
34857
|
-
*
|
|
34858
|
-
*
|
|
34859
|
-
*
|
|
34860
|
-
* }
|
|
35182
|
+
* Jodit.editors.someidfoeditor.uploader.bind($form[0], function (data) {
|
|
35183
|
+
* data.items.forEach(function (item) {
|
|
35184
|
+
* parent.s.insertImage(data.baseurl + item.file);
|
|
35185
|
+
* });
|
|
34861
35186
|
* });
|
|
34862
35187
|
* ```
|
|
34863
35188
|
*/ bind(form, handlerSuccess, handlerError) {
|
|
@@ -34956,7 +35281,7 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
|
|
|
34956
35281
|
var _a;
|
|
34957
35282
|
if (o.isSuccess.call(uploader, resp)) {
|
|
34958
35283
|
const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(handlerSuccess) ? handlerSuccess : o.defaultHandlerSuccess;
|
|
34959
|
-
handler.call(uploader, o.process.call(uploader, resp));
|
|
35284
|
+
handler.call(uploader, (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.normalizeUploaderData)(o.process.call(uploader, resp)));
|
|
34960
35285
|
return;
|
|
34961
35286
|
}
|
|
34962
35287
|
handlerE.call(uploader, (0,_core_helpers_utils_error_index_js__WEBPACK_IMPORTED_MODULE_4__.answer)(o.getMessage.call(uploader, resp), resp, (_a = resp.data) === null || _a === void 0 ? void 0 : _a.code));
|
|
@@ -34974,6 +35299,7 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
|
|
|
34974
35299
|
if (!settled) {
|
|
34975
35300
|
resolve({
|
|
34976
35301
|
baseurl: '',
|
|
35302
|
+
items: [],
|
|
34977
35303
|
files: [],
|
|
34978
35304
|
isImages: []
|
|
34979
35305
|
});
|
|
@@ -36404,40 +36730,41 @@ UiAiAssistant = __decorate([
|
|
|
36404
36730
|
/* harmony import */ var _limit_limit_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(91071);
|
|
36405
36731
|
/* harmony import */ var _line_height_line_height_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(61019);
|
|
36406
36732
|
/* harmony import */ var _link_link_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(65517);
|
|
36407
|
-
/* harmony import */ var
|
|
36408
|
-
/* harmony import */ var
|
|
36409
|
-
/* harmony import */ var
|
|
36410
|
-
/* harmony import */ var
|
|
36411
|
-
/* harmony import */ var
|
|
36412
|
-
/* harmony import */ var
|
|
36413
|
-
/* harmony import */ var
|
|
36414
|
-
/* harmony import */ var
|
|
36415
|
-
/* harmony import */ var
|
|
36416
|
-
/* harmony import */ var
|
|
36417
|
-
/* harmony import */ var
|
|
36418
|
-
/* harmony import */ var
|
|
36419
|
-
/* harmony import */ var
|
|
36420
|
-
/* harmony import */ var
|
|
36421
|
-
/* harmony import */ var
|
|
36422
|
-
/* harmony import */ var
|
|
36423
|
-
/* harmony import */ var
|
|
36424
|
-
/* harmony import */ var
|
|
36425
|
-
/* harmony import */ var
|
|
36426
|
-
/* harmony import */ var
|
|
36427
|
-
/* harmony import */ var
|
|
36428
|
-
/* harmony import */ var
|
|
36429
|
-
/* harmony import */ var
|
|
36430
|
-
/* harmony import */ var
|
|
36431
|
-
/* harmony import */ var
|
|
36432
|
-
/* harmony import */ var
|
|
36433
|
-
/* harmony import */ var
|
|
36434
|
-
/* harmony import */ var
|
|
36435
|
-
/* harmony import */ var
|
|
36436
|
-
/* harmony import */ var
|
|
36437
|
-
/* harmony import */ var
|
|
36438
|
-
/* harmony import */ var
|
|
36439
|
-
/* harmony import */ var
|
|
36440
|
-
/* harmony import */ var
|
|
36733
|
+
/* harmony import */ var _anchor_anchor_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(36911);
|
|
36734
|
+
/* harmony import */ var _media_media_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(20071);
|
|
36735
|
+
/* harmony import */ var _mobile_mobile_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(32309);
|
|
36736
|
+
/* harmony import */ var _ordered_list_ordered_list_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(64837);
|
|
36737
|
+
/* harmony import */ var _paste_paste_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(79799);
|
|
36738
|
+
/* harmony import */ var _paste_from_word_paste_from_word_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(31571);
|
|
36739
|
+
/* harmony import */ var _paste_storage_paste_storage_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(85407);
|
|
36740
|
+
/* harmony import */ var _placeholder_placeholder_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(59451);
|
|
36741
|
+
/* harmony import */ var _powered_by_jodit_powered_by_jodit_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(18363);
|
|
36742
|
+
/* harmony import */ var _preview_preview_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(8355);
|
|
36743
|
+
/* harmony import */ var _print_print_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(58519);
|
|
36744
|
+
/* harmony import */ var _redo_undo_redo_undo_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(6687);
|
|
36745
|
+
/* harmony import */ var _resize_cells_resize_cells_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(56113);
|
|
36746
|
+
/* harmony import */ var _resize_handler_resize_handler_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(9159);
|
|
36747
|
+
/* harmony import */ var _resizer_resizer_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(12019);
|
|
36748
|
+
/* harmony import */ var _search_search_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(36125);
|
|
36749
|
+
/* harmony import */ var _select_select_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(9881);
|
|
36750
|
+
/* harmony import */ var _select_cells_select_cells_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(28545);
|
|
36751
|
+
/* harmony import */ var _size_size_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(45927);
|
|
36752
|
+
/* harmony import */ var _source_source_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(52951);
|
|
36753
|
+
/* harmony import */ var _spellcheck_spellcheck_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(43809);
|
|
36754
|
+
/* harmony import */ var _stat_stat_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(7309);
|
|
36755
|
+
/* harmony import */ var _sticky_sticky_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(68687);
|
|
36756
|
+
/* harmony import */ var _symbols_symbols_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(59495);
|
|
36757
|
+
/* harmony import */ var _ai_assistant_ai_assistant_js__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(39627);
|
|
36758
|
+
/* harmony import */ var _tab_tab_js__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(767);
|
|
36759
|
+
/* harmony import */ var _table_table_js__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(43003);
|
|
36760
|
+
/* harmony import */ var _table_keyboard_navigation_table_keyboard_navigation_js__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(72439);
|
|
36761
|
+
/* harmony import */ var _toolbar_navigation_toolbar_navigation_js__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(94529);
|
|
36762
|
+
/* harmony import */ var _video_video_js__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(26551);
|
|
36763
|
+
/* harmony import */ var _video_properties_video_properties_js__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(96139);
|
|
36764
|
+
/* harmony import */ var _wrap_nodes_wrap_nodes_js__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(72253);
|
|
36765
|
+
/* harmony import */ var _dtd_dtd_js__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(65735);
|
|
36766
|
+
/* harmony import */ var _xpath_xpath_js__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(83671);
|
|
36767
|
+
/* harmony import */ var _speech_recognize_speech_recognize_js__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(3115);
|
|
36441
36768
|
/*!
|
|
36442
36769
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36443
36770
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36510,12 +36837,333 @@ UiAiAssistant = __decorate([
|
|
|
36510
36837
|
|
|
36511
36838
|
|
|
36512
36839
|
|
|
36840
|
+
|
|
36513
36841
|
|
|
36514
36842
|
|
|
36515
36843
|
// JODIT-START:FAT
|
|
36516
36844
|
// JODIT-END:FAT
|
|
36517
36845
|
|
|
36518
36846
|
|
|
36847
|
+
/***/ }),
|
|
36848
|
+
|
|
36849
|
+
/***/ 36911:
|
|
36850
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
36851
|
+
|
|
36852
|
+
/* unused harmony export anchor */
|
|
36853
|
+
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
|
|
36854
|
+
/* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
36855
|
+
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2748);
|
|
36856
|
+
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
36857
|
+
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
36858
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
36859
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62843);
|
|
36860
|
+
/* harmony import */ var _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2525);
|
|
36861
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50712);
|
|
36862
|
+
/*!
|
|
36863
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36864
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
36865
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
36866
|
+
*/ var __decorate = undefined && undefined.__decorate || function(decorators, target, key, desc) {
|
|
36867
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
36868
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
36869
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
36870
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
36871
|
+
};
|
|
36872
|
+
|
|
36873
|
+
|
|
36874
|
+
|
|
36875
|
+
|
|
36876
|
+
|
|
36877
|
+
|
|
36878
|
+
|
|
36879
|
+
|
|
36880
|
+
|
|
36881
|
+
const ICON = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e88e5' stroke-width='2.5' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-6-4-6 4z'/%3E%3C/svg%3E\")";
|
|
36882
|
+
const MARKER = [
|
|
36883
|
+
'id',
|
|
36884
|
+
'name'
|
|
36885
|
+
].map((key)=>`.jodit-wysiwyg a[${key}]:not([href]):empty::before`).join(',');
|
|
36886
|
+
/**
|
|
36887
|
+
* Each anchor's marker, in the editing area only
|
|
36888
|
+
*/ const MARKER_STYLE = `${MARKER}{display:inline-block;width:.75em;height:1em;margin:0 .1em;vertical-align:-.15em;background:${ICON} center/contain no-repeat;cursor:pointer;content:''}`;
|
|
36889
|
+
/**
|
|
36890
|
+
* The attribute `markAnchor` gives an anchor: an empty `<a>` with no `href`
|
|
36891
|
+
*/ const MARK = ' contenteditable="false"';
|
|
36892
|
+
/**
|
|
36893
|
+
* Inserts anchors, empty `<a id>` that links in the document reach as
|
|
36894
|
+
* `#name`, and renames and removes them
|
|
36895
|
+
*/ class anchor extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
36896
|
+
/** @override */ afterInit(jodit) {
|
|
36897
|
+
// It goes in the editing document, so iframe mode has it whatever `iframeStyle` holds
|
|
36898
|
+
(0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.getContainer)(jodit, 'anchor', 'style', true).textContent = MARKER_STYLE;
|
|
36899
|
+
jodit.e.on('generateAnchorForm.anchor', this.__generateForm).on('clickA touchstartA', this.__onClickA, {
|
|
36900
|
+
top: true
|
|
36901
|
+
});
|
|
36902
|
+
}
|
|
36903
|
+
/**
|
|
36904
|
+
* An anchor gets its own popup, in place of the link's
|
|
36905
|
+
*/ __onClickA(target, e) {
|
|
36906
|
+
var _a;
|
|
36907
|
+
const { j } = this;
|
|
36908
|
+
if (j.o.readonly || !(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.isAnchor)(target)) {
|
|
36909
|
+
return;
|
|
36910
|
+
}
|
|
36911
|
+
j.e.stopPropagation((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.camelCase)(((_a = e === null || e === void 0 ? void 0 : e.type) !== null && _a !== void 0 ? _a : 'click') + '_a'));
|
|
36912
|
+
// Afresh, so a form left with a change unsaved shows the name it has
|
|
36913
|
+
j.e.fire('showPopup', target, ()=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(target, j), 'anchor', true);
|
|
36914
|
+
return false;
|
|
36915
|
+
}
|
|
36916
|
+
/**
|
|
36917
|
+
* Anchors are uneditable in the editor, so typing beside one never goes
|
|
36918
|
+
* into it and it's deleted as a whole
|
|
36919
|
+
*/ onChange() {
|
|
36920
|
+
const { j } = this;
|
|
36921
|
+
if (j.isInDestruct || j.getMode() === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE) {
|
|
36922
|
+
return;
|
|
36923
|
+
}
|
|
36924
|
+
;(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchors)(j.editor).forEach(markAnchor);
|
|
36925
|
+
}
|
|
36926
|
+
/**
|
|
36927
|
+
* The editor's own attribute stays out of the value
|
|
36928
|
+
*/ onAfterGetValueFromEditor(data) {
|
|
36929
|
+
data.value = unmarkAnchors(data.value);
|
|
36930
|
+
}
|
|
36931
|
+
/**
|
|
36932
|
+
* The form that names a new anchor, or renames or removes `target`
|
|
36933
|
+
*/ __generateForm(target, close) {
|
|
36934
|
+
const { j } = this;
|
|
36935
|
+
const current = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.isAnchor)(target) ? target : null;
|
|
36936
|
+
const input = new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIInput(j, {
|
|
36937
|
+
name: 'name',
|
|
36938
|
+
ref: 'name_input',
|
|
36939
|
+
label: 'Anchor',
|
|
36940
|
+
required: true
|
|
36941
|
+
});
|
|
36942
|
+
const buttons = [
|
|
36943
|
+
new _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.UIButton(j, {
|
|
36944
|
+
name: 'insert',
|
|
36945
|
+
type: 'submit',
|
|
36946
|
+
variant: 'primary',
|
|
36947
|
+
text: current ? 'Update' : 'Insert'
|
|
36948
|
+
})
|
|
36949
|
+
];
|
|
36950
|
+
if (current) {
|
|
36951
|
+
input.value = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(current);
|
|
36952
|
+
buttons.unshift(new _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.UIButton(j, {
|
|
36953
|
+
name: 'remove',
|
|
36954
|
+
variant: 'default',
|
|
36955
|
+
text: 'Remove'
|
|
36956
|
+
}).onAction(()=>{
|
|
36957
|
+
if (!j.o.readonly) {
|
|
36958
|
+
j.s.restore();
|
|
36959
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove(current);
|
|
36960
|
+
j.synchronizeValues();
|
|
36961
|
+
}
|
|
36962
|
+
close();
|
|
36963
|
+
}));
|
|
36964
|
+
}
|
|
36965
|
+
const form = new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIForm(j, [
|
|
36966
|
+
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIBlock(j, [
|
|
36967
|
+
input
|
|
36968
|
+
]),
|
|
36969
|
+
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIBlock(j, buttons, {
|
|
36970
|
+
align: 'full'
|
|
36971
|
+
})
|
|
36972
|
+
]);
|
|
36973
|
+
if (current) {
|
|
36974
|
+
this.__dropForm();
|
|
36975
|
+
this.__form = form;
|
|
36976
|
+
// The toolbar's popup closes on Escape by itself; the anchor's own doesn't
|
|
36977
|
+
j.e.on(form.container, 'keydown', (e)=>{
|
|
36978
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC) {
|
|
36979
|
+
close();
|
|
36980
|
+
j.s.restore();
|
|
36981
|
+
}
|
|
36982
|
+
});
|
|
36983
|
+
}
|
|
36984
|
+
form.onSubmit(()=>{
|
|
36985
|
+
// The editor can turn readonly while the form is open
|
|
36986
|
+
if (j.o.readonly) {
|
|
36987
|
+
close();
|
|
36988
|
+
return false;
|
|
36989
|
+
}
|
|
36990
|
+
const name = input.value.trim().replace(/^#/, '');
|
|
36991
|
+
const error = !name ? 'Please fill out this field' : /\s/.test(name) ? 'The name cannot contain spaces' : this.__isTaken(name, current) ? 'This name is already in use' : '';
|
|
36992
|
+
if (error) {
|
|
36993
|
+
input.error = error;
|
|
36994
|
+
input.focus();
|
|
36995
|
+
return false;
|
|
36996
|
+
}
|
|
36997
|
+
j.s.restore();
|
|
36998
|
+
if (current) {
|
|
36999
|
+
this.__rename(current, name);
|
|
37000
|
+
} else {
|
|
37001
|
+
this.__insert(name);
|
|
37002
|
+
}
|
|
37003
|
+
j.synchronizeValues();
|
|
37004
|
+
close();
|
|
37005
|
+
return false;
|
|
37006
|
+
});
|
|
37007
|
+
j.async.requestIdleCallback(()=>input.focus());
|
|
37008
|
+
return form;
|
|
37009
|
+
}
|
|
37010
|
+
__dropForm() {
|
|
37011
|
+
const form = this.__form;
|
|
37012
|
+
this.__form = null;
|
|
37013
|
+
if (form && !form.isInDestruct) {
|
|
37014
|
+
this.j.e.off(form.container, 'keydown');
|
|
37015
|
+
form.destruct();
|
|
37016
|
+
}
|
|
37017
|
+
}
|
|
37018
|
+
/**
|
|
37019
|
+
* Another element in the document has the name as its `id`, or another
|
|
37020
|
+
* anchor as its `name`
|
|
37021
|
+
*/ __isTaken(name, current) {
|
|
37022
|
+
return (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(this.j.editor.querySelectorAll('[id], a[name]')).some((elm)=>elm !== current && (elm.id === name || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.isAnchor)(elm) && (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(elm, 'name') === name));
|
|
37023
|
+
}
|
|
37024
|
+
/**
|
|
37025
|
+
* At the caret, or at the start of the selection. An anchor can't go in
|
|
37026
|
+
* a link, so in one it goes just before it
|
|
37027
|
+
*/ __insert(name) {
|
|
37028
|
+
const { j } = this;
|
|
37029
|
+
const anchor = j.createInside.element('a', {
|
|
37030
|
+
id: name
|
|
37031
|
+
});
|
|
37032
|
+
const range = j.s.range;
|
|
37033
|
+
markAnchor(anchor);
|
|
37034
|
+
if (!range.collapsed) {
|
|
37035
|
+
range.collapse(true);
|
|
37036
|
+
j.s.selectRange(range);
|
|
37037
|
+
}
|
|
37038
|
+
const link = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(range.startContainer, 'a', j.editor);
|
|
37039
|
+
if (link) {
|
|
37040
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.before(link, anchor);
|
|
37041
|
+
j.s.setCursorAfter(anchor);
|
|
37042
|
+
} else {
|
|
37043
|
+
j.s.insertNode(anchor, true, false);
|
|
37044
|
+
}
|
|
37045
|
+
}
|
|
37046
|
+
/**
|
|
37047
|
+
* Gives the anchor the new name in whichever of `id` and `name` it has,
|
|
37048
|
+
* and the links to it the new `#name`, unless they still reach
|
|
37049
|
+
* something else by the old one, as they do after a copy is pasted
|
|
37050
|
+
*/ __rename(current, name) {
|
|
37051
|
+
const old = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(current);
|
|
37052
|
+
const shared = this.__isTaken(old, current);
|
|
37053
|
+
[
|
|
37054
|
+
'id',
|
|
37055
|
+
'name'
|
|
37056
|
+
].forEach((key)=>{
|
|
37057
|
+
if (current.hasAttribute(key)) {
|
|
37058
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(current, key, name);
|
|
37059
|
+
}
|
|
37060
|
+
});
|
|
37061
|
+
if (shared) {
|
|
37062
|
+
return;
|
|
37063
|
+
}
|
|
37064
|
+
;(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(this.j.editor.querySelectorAll('a[href]')).forEach((link)=>{
|
|
37065
|
+
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(link, 'href') === '#' + old) {
|
|
37066
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(link, 'href', '#' + name);
|
|
37067
|
+
}
|
|
37068
|
+
});
|
|
37069
|
+
}
|
|
37070
|
+
/** @override */ beforeDestruct(jodit) {
|
|
37071
|
+
this.__dropForm();
|
|
37072
|
+
jodit.e.off('generateAnchorForm.anchor', this.__generateForm).off('clickA touchstartA', this.__onClickA);
|
|
37073
|
+
}
|
|
37074
|
+
constructor(){
|
|
37075
|
+
super(...arguments);
|
|
37076
|
+
/** @override */ this.buttons = [
|
|
37077
|
+
{
|
|
37078
|
+
name: 'anchor',
|
|
37079
|
+
group: 'insert'
|
|
37080
|
+
}
|
|
37081
|
+
];
|
|
37082
|
+
/**
|
|
37083
|
+
* The form in the anchor's own popup. The popup takes it out without
|
|
37084
|
+
* destructing it when it shows something else, so it goes when the next
|
|
37085
|
+
* one is made
|
|
37086
|
+
*/ this.__form = null;
|
|
37087
|
+
}
|
|
37088
|
+
}
|
|
37089
|
+
__decorate([
|
|
37090
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
37091
|
+
], anchor.prototype, "__onClickA", null);
|
|
37092
|
+
__decorate([
|
|
37093
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
37094
|
+
':change',
|
|
37095
|
+
':afterInit',
|
|
37096
|
+
':afterSetMode'
|
|
37097
|
+
]),
|
|
37098
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.debounce)()
|
|
37099
|
+
], anchor.prototype, "onChange", null);
|
|
37100
|
+
__decorate([
|
|
37101
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':afterGetValueFromEditor')
|
|
37102
|
+
], anchor.prototype, "onAfterGetValueFromEditor", null);
|
|
37103
|
+
__decorate([
|
|
37104
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
37105
|
+
], anchor.prototype, "__generateForm", null);
|
|
37106
|
+
function markAnchor(anchor) {
|
|
37107
|
+
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(anchor, 'contenteditable') !== 'false') {
|
|
37108
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(anchor, 'contenteditable', false);
|
|
37109
|
+
}
|
|
37110
|
+
}
|
|
37111
|
+
/**
|
|
37112
|
+
* Takes `MARK` off each anchor in one pass over the tags, as a regex with
|
|
37113
|
+
* `[^>]*` backtracks quadratically on a long run of `<a` (CWE-1333)
|
|
37114
|
+
*/ function unmarkAnchors(html) {
|
|
37115
|
+
if (!html.includes(MARK)) {
|
|
37116
|
+
return html;
|
|
37117
|
+
}
|
|
37118
|
+
let result = '';
|
|
37119
|
+
let copied = 0;
|
|
37120
|
+
let cursor = 0;
|
|
37121
|
+
for(;;){
|
|
37122
|
+
const start = html.indexOf('<', cursor);
|
|
37123
|
+
if (start === -1) {
|
|
37124
|
+
break;
|
|
37125
|
+
}
|
|
37126
|
+
const end = html.indexOf('>', start);
|
|
37127
|
+
if (end === -1) {
|
|
37128
|
+
break;
|
|
37129
|
+
}
|
|
37130
|
+
if (html.startsWith('<a', start) && /\s/.test(html.charAt(start + 2)) && html.startsWith('</a>', end + 1)) {
|
|
37131
|
+
const tag = html.slice(start, end);
|
|
37132
|
+
const at = tag.indexOf(MARK);
|
|
37133
|
+
if (at !== -1 && !/\shref=/.test(tag)) {
|
|
37134
|
+
result += html.slice(copied, start + at);
|
|
37135
|
+
copied = start + at + MARK.length;
|
|
37136
|
+
}
|
|
37137
|
+
}
|
|
37138
|
+
// Past the whole tag, so an `<a` inside one of its attributes is never read as a tag
|
|
37139
|
+
cursor = end + 1;
|
|
37140
|
+
}
|
|
37141
|
+
return copied === 0 ? html : result + html.slice(copied);
|
|
37142
|
+
}
|
|
37143
|
+
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('anchor', anchor);
|
|
37144
|
+
|
|
37145
|
+
|
|
37146
|
+
/***/ }),
|
|
37147
|
+
|
|
37148
|
+
/***/ 50712:
|
|
37149
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
37150
|
+
|
|
37151
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6441);
|
|
37152
|
+
/* harmony import */ var _inline_popup_config_config_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(24526);
|
|
37153
|
+
/*!
|
|
37154
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37155
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
37156
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
37157
|
+
*/
|
|
37158
|
+
// The anchor's popup goes in its list
|
|
37159
|
+
|
|
37160
|
+
_config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.anchor = {
|
|
37161
|
+
popup: (editor, current, close)=>editor.e.fire('generateAnchorForm.anchor', null, close),
|
|
37162
|
+
tooltip: 'Insert anchor'
|
|
37163
|
+
};
|
|
37164
|
+
_config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.popup.anchor = (editor, target, close)=>editor.e.fire('generateAnchorForm.anchor', target, close);
|
|
37165
|
+
|
|
37166
|
+
|
|
36519
37167
|
/***/ }),
|
|
36520
37168
|
|
|
36521
37169
|
/***/ 93183:
|
|
@@ -42203,7 +42851,8 @@ function brBefore(start) {
|
|
|
42203
42851
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(580);
|
|
42204
42852
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29960);
|
|
42205
42853
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6441);
|
|
42206
|
-
/* harmony import */ var
|
|
42854
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
42855
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(92762);
|
|
42207
42856
|
/*!
|
|
42208
42857
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42209
42858
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42213,6 +42862,7 @@ function brBefore(start) {
|
|
|
42213
42862
|
|
|
42214
42863
|
|
|
42215
42864
|
|
|
42865
|
+
|
|
42216
42866
|
/**
|
|
42217
42867
|
* Selected text becomes the link's text, as the Link button does, instead
|
|
42218
42868
|
* of being replaced by the file's name. Returns false with nothing selected
|
|
@@ -42234,16 +42884,16 @@ function brBefore(start) {
|
|
|
42234
42884
|
return true;
|
|
42235
42885
|
}
|
|
42236
42886
|
function insertLinks(data) {
|
|
42237
|
-
|
|
42238
|
-
(
|
|
42239
|
-
const href =
|
|
42887
|
+
const { baseurl } = data;
|
|
42888
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(data).forEach(({ file })=>{
|
|
42889
|
+
const href = baseurl + file;
|
|
42240
42890
|
if (wrapSelectionInLink(this, href)) {
|
|
42241
42891
|
return;
|
|
42242
42892
|
}
|
|
42243
42893
|
const link = this.createInside.element('a', {
|
|
42244
42894
|
href
|
|
42245
42895
|
});
|
|
42246
|
-
link.textContent = this.o.uploader.getDisplayName.call(this.uploader,
|
|
42896
|
+
link.textContent = this.o.uploader.getDisplayName.call(this.uploader, baseurl, file);
|
|
42247
42897
|
this.s.insertNode(link);
|
|
42248
42898
|
});
|
|
42249
42899
|
}
|
|
@@ -42271,9 +42921,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.controls.file = {
|
|
|
42271
42921
|
if (current && (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(current, 'a') || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(current, 'a', editor.editor))) {
|
|
42272
42922
|
sourceAnchor = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(current, 'a') ? current : _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(current, 'a', editor.editor);
|
|
42273
42923
|
}
|
|
42274
|
-
return (0,
|
|
42924
|
+
return (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_5__.FileSelectorWidget)(editor, {
|
|
42275
42925
|
filebrowser: (data)=>{
|
|
42276
|
-
|
|
42926
|
+
;(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(data).forEach(({ file })=>insert(data.baseurl + file));
|
|
42277
42927
|
close();
|
|
42278
42928
|
},
|
|
42279
42929
|
upload: (data)=>{
|
|
@@ -44618,10 +45268,9 @@ const PLACEHOLDER = 'data-jodit-placeholder';
|
|
|
44618
45268
|
const fresh = this.__freshCaption(wrapper);
|
|
44619
45269
|
this.__unrecorded(()=>fresh ? this.__restore(fresh) : this.__uncaption(wrapper, image));
|
|
44620
45270
|
// The click opened the image's popup below the caption, so it
|
|
44621
|
-
//
|
|
45271
|
+
// moves below the image, as after the popup's Caption button
|
|
44622
45272
|
if (clicked) {
|
|
44623
45273
|
j.e.fire('recalcPositionPopup');
|
|
44624
|
-
j.e.fire('closeAllPopups');
|
|
44625
45274
|
}
|
|
44626
45275
|
}, 1);
|
|
44627
45276
|
}
|
|
@@ -46644,9 +47293,9 @@ UIImagePositionTab = __decorate([
|
|
|
46644
47293
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
46645
47294
|
/* harmony export */ openImagePopup: function() { return /* binding */ openImagePopup; }
|
|
46646
47295
|
/* harmony export */ });
|
|
46647
|
-
/* harmony import */ var
|
|
46648
|
-
/* harmony import */ var
|
|
46649
|
-
/* harmony import */ var
|
|
47296
|
+
/* harmony import */ var _core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5700);
|
|
47297
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56917);
|
|
47298
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2073);
|
|
46650
47299
|
/* harmony import */ var _modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34793);
|
|
46651
47300
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
46652
47301
|
try {
|
|
@@ -46683,25 +47332,27 @@ function _async_to_generator(fn) {
|
|
|
46683
47332
|
|
|
46684
47333
|
|
|
46685
47334
|
/** @private */ function openImagePopup(j, dialog, state, button) {
|
|
46686
|
-
const popup = new
|
|
47335
|
+
const popup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_1__.Popup(dialog);
|
|
46687
47336
|
const closePopup = ()=>{
|
|
46688
47337
|
popup.close();
|
|
46689
47338
|
popup.destruct();
|
|
46690
47339
|
};
|
|
46691
47340
|
popup.setContent((0,_modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_3__.FileSelectorWidget)(j, {
|
|
46692
47341
|
upload: (data)=>{
|
|
46693
|
-
|
|
46694
|
-
|
|
47342
|
+
const [item] = (0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__.getItems)(data);
|
|
47343
|
+
if (item) {
|
|
47344
|
+
state.values.imageSrc = data.baseurl + item.file;
|
|
46695
47345
|
}
|
|
46696
47346
|
closePopup();
|
|
46697
47347
|
},
|
|
46698
47348
|
filebrowser: (data)=>_async_to_generator(function*() {
|
|
46699
|
-
|
|
46700
|
-
|
|
47349
|
+
const [item] = data ? (0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__.getItems)(data) : [];
|
|
47350
|
+
if (item) {
|
|
47351
|
+
state.values.imageSrc = item.file;
|
|
46701
47352
|
closePopup();
|
|
46702
47353
|
}
|
|
46703
47354
|
})()
|
|
46704
|
-
}, state.image, closePopup)).open(()=>(0,
|
|
47355
|
+
}, state.image, closePopup)).open(()=>(0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_0__.position)(button));
|
|
46705
47356
|
}
|
|
46706
47357
|
|
|
46707
47358
|
|
|
@@ -46992,8 +47643,9 @@ function _async_to_generator(fn) {
|
|
|
46992
47643
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29960);
|
|
46993
47644
|
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12153);
|
|
46994
47645
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6441);
|
|
46995
|
-
/* harmony import */ var
|
|
46996
|
-
/* harmony import */ var
|
|
47646
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2073);
|
|
47647
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(92762);
|
|
47648
|
+
/* harmony import */ var _image_svg_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(25179);
|
|
46997
47649
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
46998
47650
|
try {
|
|
46999
47651
|
var info = gen[key](arg);
|
|
@@ -47032,7 +47684,8 @@ function _async_to_generator(fn) {
|
|
|
47032
47684
|
|
|
47033
47685
|
|
|
47034
47686
|
|
|
47035
|
-
|
|
47687
|
+
|
|
47688
|
+
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_4__.Icon.set('image', _image_svg_js__WEBPACK_IMPORTED_MODULE_8__["default"]);
|
|
47036
47689
|
_config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.image = {
|
|
47037
47690
|
popup: (editor, current, close)=>{
|
|
47038
47691
|
let sourceImage = null;
|
|
@@ -47040,10 +47693,10 @@ _config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.image = {
|
|
|
47040
47693
|
sourceImage = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(current, 'img') ? current : (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
47041
47694
|
}
|
|
47042
47695
|
editor.s.save();
|
|
47043
|
-
return (0,
|
|
47696
|
+
return (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_7__.FileSelectorWidget)(editor, {
|
|
47044
47697
|
filebrowser: (data)=>{
|
|
47045
47698
|
editor.s.restore();
|
|
47046
|
-
|
|
47699
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_6__.getItems)(data).forEach(({ file })=>editor.s.insertImage(data.baseurl + file, null, editor.o.imageDefaultWidth));
|
|
47047
47700
|
close();
|
|
47048
47701
|
},
|
|
47049
47702
|
upload: true,
|
|
@@ -47393,6 +48046,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('indent', indent);
|
|
|
47393
48046
|
|
|
47394
48047
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInline = true;
|
|
47395
48048
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineForSelection = false;
|
|
48049
|
+
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineKeepOpen = true;
|
|
47396
48050
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineDisableFor = [];
|
|
47397
48051
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineDisabledButtons = [
|
|
47398
48052
|
'source'
|
|
@@ -47476,8 +48130,7 @@ const isSafeHref = (href)=>/^(https?:|mailto:|tel:)/i.test(href.trim()) && !/^(j
|
|
|
47476
48130
|
|
|
47477
48131
|
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
|
|
47478
48132
|
/* harmony import */ var _core_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27613);
|
|
47479
|
-
/* harmony import */ var
|
|
47480
|
-
/* harmony import */ var _core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41180);
|
|
48133
|
+
/* harmony import */ var _core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41180);
|
|
47481
48134
|
/*!
|
|
47482
48135
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
47483
48136
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -47485,7 +48138,6 @@ const isSafeHref = (href)=>/^(https?:|mailto:|tel:)/i.test(href.trim()) && !/^(j
|
|
|
47485
48138
|
*/
|
|
47486
48139
|
|
|
47487
48140
|
|
|
47488
|
-
|
|
47489
48141
|
const cmd = (control)=>control.args && (0,_core_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_1__.isString)(control.args[0]) ? control.args[0].toLowerCase() : '';
|
|
47490
48142
|
/* harmony default export */ __webpack_exports__["default"] = ([
|
|
47491
48143
|
'brushCell',
|
|
@@ -47501,7 +48153,7 @@ const cmd = (control)=>control.args && (0,_core_helpers_checker_index_js__WEBPAC
|
|
|
47501
48153
|
exec: (editor, table, { control })=>{
|
|
47502
48154
|
const command = cmd(control);
|
|
47503
48155
|
editor.getInstance('Table', editor.o).getAllSelectedCells().forEach((cell)=>{
|
|
47504
|
-
(0,
|
|
48156
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__.css)(cell, 'vertical-align', command === 'normal' ? '' : command);
|
|
47505
48157
|
});
|
|
47506
48158
|
},
|
|
47507
48159
|
tooltip: 'Vertical align'
|
|
@@ -47567,13 +48219,6 @@ const cmd = (control)=>control.args && (0,_core_helpers_checker_index_js__WEBPAC
|
|
|
47567
48219
|
return;
|
|
47568
48220
|
}
|
|
47569
48221
|
editor.execCommand('tableheaderrow', false, table);
|
|
47570
|
-
const [cell] = editor.getInstance('Table', editor.o).getAllSelectedCells();
|
|
47571
|
-
// Beside the cell that replaced the one it opened for
|
|
47572
|
-
if (cell) {
|
|
47573
|
-
editor.e.fire('showPopup', table, ()=>(0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_2__.position)(cell, editor), 'cells');
|
|
47574
|
-
}
|
|
47575
|
-
// The popup stays open, so the button shows the new state
|
|
47576
|
-
return true;
|
|
47577
48222
|
},
|
|
47578
48223
|
isActive: (editor, button)=>_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(button.target, 'table') && editor.getInstance('Table', editor.o).hasHeaderRow(button.target),
|
|
47579
48224
|
isDisabled: (editor, button)=>!_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(button.target, 'table') || !editor.getInstance('Table', editor.o).canToggleHeaderRow(button.target),
|
|
@@ -47765,7 +48410,7 @@ const align = {
|
|
|
47765
48410
|
const caption = editor.e.fire('toggleImageCaption', image);
|
|
47766
48411
|
editor.synchronizeValues();
|
|
47767
48412
|
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTMLElement(caption)) {
|
|
47768
|
-
editor.e.fire('hideResizer');
|
|
48413
|
+
editor.e.fire('hidePopup hideResizer');
|
|
47769
48414
|
editor.s.setCursorIn(caption);
|
|
47770
48415
|
} else {
|
|
47771
48416
|
editor.e.fire('recalcPositionPopup');
|
|
@@ -48013,7 +48658,9 @@ function _object_spread_props(target, source) {
|
|
|
48013
48658
|
* Plugin for show inline popup dialog
|
|
48014
48659
|
*/ class inlinePopup extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_4__.Plugin {
|
|
48015
48660
|
get popup() {
|
|
48016
|
-
|
|
48661
|
+
const popup = new _core_ui_popup_index_js__WEBPACK_IMPORTED_MODULE_7__.Popup(this.jodit, false);
|
|
48662
|
+
popup.keepOpen = this.j.o.toolbarInlineKeepOpen;
|
|
48663
|
+
return popup;
|
|
48017
48664
|
}
|
|
48018
48665
|
get toolbar() {
|
|
48019
48666
|
return (0,_modules_toolbar_factory_js__WEBPACK_IMPORTED_MODULE_8__.makeCollection)(this.jodit, this.popup);
|
|
@@ -48026,8 +48673,8 @@ function _object_spread_props(target, source) {
|
|
|
48026
48673
|
const isMedia = type === 'jodit-media';
|
|
48027
48674
|
// Beside the media in a wrapper kept in the content, which can fill
|
|
48028
48675
|
// the line, and below a captioned image's caption, so it stays in view
|
|
48029
|
-
const bound = mediaWrapper && (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.getWrappedMedia)(this.j, mediaWrapper) || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.getCaptionWrapper)(this.j, target) || target;
|
|
48030
|
-
this.showPopup(()=>this.__bound(bound, isMedia), type, target);
|
|
48676
|
+
const bound = ()=>mediaWrapper && (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.getWrappedMedia)(this.j, mediaWrapper) || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.getCaptionWrapper)(this.j, target) || target;
|
|
48677
|
+
this.showPopup(()=>this.__bound(bound(), isMedia), type, target);
|
|
48031
48678
|
return false;
|
|
48032
48679
|
}
|
|
48033
48680
|
}
|
|
@@ -48050,13 +48697,18 @@ function _object_spread_props(target, source) {
|
|
|
48050
48697
|
* Show inline popup with some toolbar
|
|
48051
48698
|
*
|
|
48052
48699
|
* @param type - selection, img, a etc.
|
|
48053
|
-
|
|
48700
|
+
* @param force - make the popup again for the same target
|
|
48701
|
+
*/ showPopup(rect, type, target, force = false) {
|
|
48054
48702
|
type = type.toLowerCase();
|
|
48055
48703
|
if (!this.canShowPopupForType(type)) {
|
|
48056
48704
|
return false;
|
|
48057
48705
|
}
|
|
48058
|
-
if (this.type !== type || target !== this.previousTarget) {
|
|
48706
|
+
if (force || this.type !== type || target !== this.previousTarget) {
|
|
48059
48707
|
this.previousTarget = target;
|
|
48708
|
+
// What it showed is taken out, not destructed: an element a
|
|
48709
|
+
// function returns is its own, and may be shown again
|
|
48710
|
+
this.popup.elements.slice().forEach((elm)=>this.popup.remove(elm));
|
|
48711
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.detach(this.popup.getElm('content'));
|
|
48060
48712
|
const data = this.j.o.popup[type];
|
|
48061
48713
|
let content;
|
|
48062
48714
|
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(data)) {
|
|
@@ -48139,59 +48791,28 @@ function _object_spread_props(target, source) {
|
|
|
48139
48791
|
return name && name !== '|' && name !== '\n' && !names.includes(name);
|
|
48140
48792
|
});
|
|
48141
48793
|
}
|
|
48142
|
-
}).on('hidePopup', this.hidePopup).on('showInlineToolbar', this.showInlineToolbar).on('showPopup', (elm, rect, type)=>{
|
|
48143
|
-
this.showPopup(rect, type || ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? elm : elm.nodeName), (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? undefined : elm);
|
|
48794
|
+
}).on('hidePopup', this.hidePopup).on('showInlineToolbar', this.showInlineToolbar).on('showPopup', (elm, rect, type, force)=>{
|
|
48795
|
+
this.showPopup(rect, type || ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? elm : elm.nodeName), (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isString)(elm) ? undefined : elm, force);
|
|
48144
48796
|
}).on('mousedown keydown', this.onSelectionStart).on('change', ()=>{
|
|
48145
|
-
if (this.popup.isOpened
|
|
48797
|
+
if (!this.popup.isOpened) {
|
|
48798
|
+
return;
|
|
48799
|
+
}
|
|
48800
|
+
if (this.previousTarget && !this.previousTarget.parentNode) {
|
|
48146
48801
|
this.hidePopup();
|
|
48147
48802
|
this.previousTarget = undefined;
|
|
48803
|
+
} else if (this.type === 'selection' && !this.__hasSelectedContent()) {
|
|
48804
|
+
this.hidePopup();
|
|
48148
48805
|
}
|
|
48149
48806
|
}).on([
|
|
48150
48807
|
this.j.ew,
|
|
48151
48808
|
this.j.ow
|
|
48152
|
-
], 'mouseup keyup', this.onSelectionEnd)
|
|
48153
|
-
this.j.ew,
|
|
48154
|
-
this.j.ow
|
|
48155
|
-
], 'mousedown touchstart', this.__onDocumentMouseDown).on('closeAllPopups', this.__onCloseAllPopups);
|
|
48809
|
+
], 'mouseup keyup', this.onSelectionEnd);
|
|
48156
48810
|
this.addListenersForElements();
|
|
48157
48811
|
}
|
|
48158
|
-
|
|
48159
|
-
|
|
48160
|
-
|
|
48161
|
-
|
|
48162
|
-
}
|
|
48163
|
-
__onDocumentMouseDown(e) {
|
|
48164
|
-
this.__reopenFor = null;
|
|
48165
|
-
if (this.popup.isOpened && this.type === 'selection' && e.target && _core_ui_index_js__WEBPACK_IMPORTED_MODULE_6__.UIElement.closestElement(e.target, _core_ui_popup_index_js__WEBPACK_IMPORTED_MODULE_7__.Popup)) {
|
|
48166
|
-
this.__reopenSelectionPopup = true;
|
|
48167
|
-
}
|
|
48168
|
-
}
|
|
48169
|
-
__onCloseAllPopups() {
|
|
48170
|
-
const target = this.__reopenFor;
|
|
48171
|
-
if (target) {
|
|
48172
|
-
this.__reopenFor = null;
|
|
48173
|
-
// After the popup's own `closeAllPopups` handler, as below
|
|
48174
|
-
this.j.async.setTimeout(()=>{
|
|
48175
|
-
if (this.j.editor.contains(target)) {
|
|
48176
|
-
this.onClick(target);
|
|
48177
|
-
}
|
|
48178
|
-
}, 1);
|
|
48179
|
-
}
|
|
48180
|
-
if (!this.__reopenSelectionPopup) {
|
|
48181
|
-
return;
|
|
48182
|
-
}
|
|
48183
|
-
this.__reopenSelectionPopup = false;
|
|
48184
|
-
if (!this.j.o.toolbarInlineForSelection) {
|
|
48185
|
-
return;
|
|
48186
|
-
}
|
|
48187
|
-
// a zero timeout would run synchronously — before the popup's own
|
|
48188
|
-
// `closeAllPopups` handler closes it; defer to the next macrotask
|
|
48189
|
-
this.j.async.setTimeout(()=>{
|
|
48190
|
-
const sel = this.j.s.sel;
|
|
48191
|
-
if (sel && !sel.isCollapsed) {
|
|
48192
|
-
this.showPopup(()=>this.__selectionBound(), 'selection');
|
|
48193
|
-
}
|
|
48194
|
-
}, 1);
|
|
48812
|
+
/**
|
|
48813
|
+
* Follow the element once a control has moved it, as the alignments do
|
|
48814
|
+
*/ onRecalcPositionPopup() {
|
|
48815
|
+
this.popup.updatePosition();
|
|
48195
48816
|
}
|
|
48196
48817
|
/**
|
|
48197
48818
|
* The selection rect comes from the editor document — in iframe mode its
|
|
@@ -48237,9 +48858,8 @@ function _object_spread_props(target, source) {
|
|
|
48237
48858
|
return;
|
|
48238
48859
|
}
|
|
48239
48860
|
const type = 'selection';
|
|
48240
|
-
const sel = this.j.s.sel;
|
|
48241
48861
|
const range = this.j.s.range;
|
|
48242
|
-
if ((
|
|
48862
|
+
if (!this.__hasSelectedContent() || this.isSelectedTarget(range)) {
|
|
48243
48863
|
if (this.type === type && this.popup.isOpened) {
|
|
48244
48864
|
this.hidePopup();
|
|
48245
48865
|
}
|
|
@@ -48251,6 +48871,28 @@ function _object_spread_props(target, source) {
|
|
|
48251
48871
|
}
|
|
48252
48872
|
this.showPopup(()=>this.__selectionBound(), type);
|
|
48253
48873
|
}
|
|
48874
|
+
/**
|
|
48875
|
+
* The selection holds more than a line break. A double click past the end
|
|
48876
|
+
* of a line, or a drag from there into the next, selects only the break,
|
|
48877
|
+
* with any rule, video or empty line it crosses: it starts at the end of a
|
|
48878
|
+
* line, after everything in it, and holds no text that shows
|
|
48879
|
+
*/ __hasSelectedContent() {
|
|
48880
|
+
const { sel, range } = this.j.s;
|
|
48881
|
+
if (!sel || sel.isCollapsed) {
|
|
48882
|
+
return false;
|
|
48883
|
+
}
|
|
48884
|
+
// HTML collapses ASCII white space, but not
|
|
48885
|
+
const showsText = (r)=>/[^\t\n\f\r \uFEFF\u200B]/.test(r.toString());
|
|
48886
|
+
const line = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.closest(range.startContainer, _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isBlock, this.j.editor);
|
|
48887
|
+
if (!line || line === this.j.editor || showsText(range)) {
|
|
48888
|
+
return true;
|
|
48889
|
+
}
|
|
48890
|
+
// The rest of the line after the selection's start
|
|
48891
|
+
const rest = this.j.s.createRange();
|
|
48892
|
+
rest.setStart(range.startContainer, range.startOffset);
|
|
48893
|
+
rest.setEnd(line, line.childNodes.length);
|
|
48894
|
+
return showsText(rest) || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.toArray)(line.querySelectorAll(':not(br):empty')).some((elm)=>rest.intersectsNode(elm));
|
|
48895
|
+
}
|
|
48254
48896
|
/**
|
|
48255
48897
|
* In not collapsed selection - only one image
|
|
48256
48898
|
*/ isSelectedTarget(r) {
|
|
@@ -48266,10 +48908,7 @@ function _object_spread_props(target, source) {
|
|
|
48266
48908
|
jodit.e.off('showPopup').off([
|
|
48267
48909
|
this.j.ew,
|
|
48268
48910
|
this.j.ow
|
|
48269
|
-
], 'mouseup keyup', this.onSelectionEnd)
|
|
48270
|
-
this.j.ew,
|
|
48271
|
-
this.j.ow
|
|
48272
|
-
], 'mousedown touchstart', this.__onDocumentMouseDown).off('closeAllPopups', this.__onCloseAllPopups);
|
|
48911
|
+
], 'mouseup keyup', this.onSelectionEnd);
|
|
48273
48912
|
this.removeListenersForElements();
|
|
48274
48913
|
}
|
|
48275
48914
|
_eventsList() {
|
|
@@ -48301,16 +48940,6 @@ function _object_spread_props(target, source) {
|
|
|
48301
48940
|
constructor(){
|
|
48302
48941
|
super(...arguments);
|
|
48303
48942
|
this.type = null;
|
|
48304
|
-
/**
|
|
48305
|
-
* The user pressed a button inside the selection toolbar — after the
|
|
48306
|
-
* command fires `closeAllPopups`, the toolbar should be shown again
|
|
48307
|
-
* while the selection is still there. See #1238
|
|
48308
|
-
*/ this.__reopenSelectionPopup = false;
|
|
48309
|
-
/**
|
|
48310
|
-
* The alignment controls fire `recalcPositionPopup` once they have moved
|
|
48311
|
-
* the element, and their button then fires `closeAllPopups`. The popup
|
|
48312
|
-
* opens again beside the element, as the selection toolbar does
|
|
48313
|
-
*/ this.__reopenFor = null;
|
|
48314
48943
|
this.snapRange = null;
|
|
48315
48944
|
this.__keyDownElement = null;
|
|
48316
48945
|
this.elmsList = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.keys)(this.j.o.popup, false).filter((s)=>!this.isExcludedTarget(s));
|
|
@@ -48348,12 +48977,6 @@ __decorate([
|
|
|
48348
48977
|
__decorate([
|
|
48349
48978
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.watch)(':recalcPositionPopup')
|
|
48350
48979
|
], inlinePopup.prototype, "onRecalcPositionPopup", null);
|
|
48351
|
-
__decorate([
|
|
48352
|
-
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
48353
|
-
], inlinePopup.prototype, "__onDocumentMouseDown", null);
|
|
48354
|
-
__decorate([
|
|
48355
|
-
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
48356
|
-
], inlinePopup.prototype, "__onCloseAllPopups", null);
|
|
48357
48980
|
__decorate([
|
|
48358
48981
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
48359
48982
|
], inlinePopup.prototype, "onSelectionStart", null);
|
|
@@ -49380,8 +50003,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
49380
50003
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
49381
50004
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
49382
50005
|
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
49383
|
-
/* harmony import */ var
|
|
49384
|
-
/* harmony import */ var
|
|
50006
|
+
/* harmony import */ var _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48538);
|
|
50007
|
+
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(12153);
|
|
50008
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56917);
|
|
50009
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(5827);
|
|
50010
|
+
/* harmony import */ var _typed_link_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(58970);
|
|
49385
50011
|
/*!
|
|
49386
50012
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
49387
50013
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -49400,6 +50026,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
49400
50026
|
|
|
49401
50027
|
|
|
49402
50028
|
|
|
50029
|
+
|
|
50030
|
+
|
|
50031
|
+
|
|
49403
50032
|
/**
|
|
49404
50033
|
* Process link. Insert, dblclick or remove format
|
|
49405
50034
|
*/ class link extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
@@ -49544,6 +50173,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
49544
50173
|
target_checkbox.checked = openInNewTabCheckboxDefaultChecked;
|
|
49545
50174
|
}
|
|
49546
50175
|
}
|
|
50176
|
+
addAnchorList(jodit, url_input, content_input, isImageContent);
|
|
49547
50177
|
jodit.editor.normalize();
|
|
49548
50178
|
const snapshot = jodit.history.snapshot.make();
|
|
49549
50179
|
if (unlink) {
|
|
@@ -49706,7 +50336,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
49706
50336
|
if (!_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(node) || !node.isConnected || end < 0 || end > node.length || _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(node, NO_TYPED_LINKS, jodit.editor)) {
|
|
49707
50337
|
return;
|
|
49708
50338
|
}
|
|
49709
|
-
const found = (0,
|
|
50339
|
+
const found = (0,_typed_link_js__WEBPACK_IMPORTED_MODULE_10__.findTypedLink)(node.data, end, jodit.o.link.typedLinkTlds, jodit.o.link.typedLinkFileEndings);
|
|
49710
50340
|
if (!found) {
|
|
49711
50341
|
return;
|
|
49712
50342
|
}
|
|
@@ -49801,6 +50431,142 @@ const MODIFIER_KEYS = new Set([
|
|
|
49801
50431
|
'CapsLock'
|
|
49802
50432
|
]);
|
|
49803
50433
|
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('link', link);
|
|
50434
|
+
/**
|
|
50435
|
+
* A dropdown arrow in the URL field that lists the document's anchors by the
|
|
50436
|
+
* words after them, and fills in the one picked. The list opens in a popup of
|
|
50437
|
+
* its own, from the arrow or the down arrow key, and closes once an address is
|
|
50438
|
+
* typed
|
|
50439
|
+
*/ function addAnchorList(jodit, url, content, isImage) {
|
|
50440
|
+
const anchors = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchors)(jodit.editor);
|
|
50441
|
+
const field = url === null || url === void 0 ? void 0 : url.closest('.jodit-ui-input__wrapper');
|
|
50442
|
+
const input = field && _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__.UIElement.closestElement(field, _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__.UIElement);
|
|
50443
|
+
if (!field || !input || !anchors.length) {
|
|
50444
|
+
return;
|
|
50445
|
+
}
|
|
50446
|
+
const { c } = jodit;
|
|
50447
|
+
const label = jodit.i18n('Link to an anchor');
|
|
50448
|
+
const toggle = c.element('button', {
|
|
50449
|
+
type: 'button',
|
|
50450
|
+
class: 'jodit-link-anchors__toggle',
|
|
50451
|
+
title: label,
|
|
50452
|
+
'aria-label': label
|
|
50453
|
+
});
|
|
50454
|
+
const heading = c.div('jodit-link-anchors__heading', {
|
|
50455
|
+
id: 'jodit-link-anchors-' + (0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.uniqueUid)()
|
|
50456
|
+
});
|
|
50457
|
+
const list = c.div('jodit-link-anchors', {
|
|
50458
|
+
role: 'group',
|
|
50459
|
+
'aria-labelledby': heading.id
|
|
50460
|
+
});
|
|
50461
|
+
const icon = (name)=>{
|
|
50462
|
+
var _a;
|
|
50463
|
+
return (_a = _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_7__.Icon.makeIcon(jodit, {
|
|
50464
|
+
name,
|
|
50465
|
+
iconURL: '',
|
|
50466
|
+
fill: '',
|
|
50467
|
+
scale: undefined
|
|
50468
|
+
})) !== null && _a !== void 0 ? _a : c.span();
|
|
50469
|
+
};
|
|
50470
|
+
const dropdown = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_8__.Popup(jodit).setMod('padding', false);
|
|
50471
|
+
const items = [];
|
|
50472
|
+
let filled = '';
|
|
50473
|
+
const open = ()=>{
|
|
50474
|
+
var _a;
|
|
50475
|
+
if (dropdown.isOpened) {
|
|
50476
|
+
return;
|
|
50477
|
+
}
|
|
50478
|
+
// Clicks in the list then count as the form's, which stays open
|
|
50479
|
+
dropdown.parentElement || (dropdown.parentElement = input);
|
|
50480
|
+
list.style.minWidth = field.offsetWidth + 'px';
|
|
50481
|
+
dropdown.open(()=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(field));
|
|
50482
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', true);
|
|
50483
|
+
items.forEach((item, index)=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(item, 'aria-current', url.value === '#' + (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(anchors[index])));
|
|
50484
|
+
(_a = list.querySelector('[aria-current=true]')) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
|
|
50485
|
+
block: 'nearest'
|
|
50486
|
+
});
|
|
50487
|
+
};
|
|
50488
|
+
toggle.append(icon('chevron'));
|
|
50489
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', false);
|
|
50490
|
+
heading.textContent = jodit.i18n('On this page');
|
|
50491
|
+
list.appendChild(heading);
|
|
50492
|
+
dropdown.setContent(list);
|
|
50493
|
+
anchors.forEach((anchor)=>{
|
|
50494
|
+
const name = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(anchor);
|
|
50495
|
+
const text = textAfter(jodit, anchor) || name;
|
|
50496
|
+
const item = c.element('button', {
|
|
50497
|
+
type: 'button',
|
|
50498
|
+
tabindex: -1,
|
|
50499
|
+
class: 'jodit-link-anchors__item'
|
|
50500
|
+
});
|
|
50501
|
+
items.push(item);
|
|
50502
|
+
const textBox = c.span('jodit-link-anchors__text');
|
|
50503
|
+
textBox.textContent = text;
|
|
50504
|
+
const nameBox = c.span('jodit-link-anchors__name');
|
|
50505
|
+
nameBox.textContent = '#' + name;
|
|
50506
|
+
item.append(icon('anchor'), textBox, nameBox);
|
|
50507
|
+
list.appendChild(item);
|
|
50508
|
+
jodit.e.on(item, 'click', ()=>{
|
|
50509
|
+
dropdown.close();
|
|
50510
|
+
url.value = '#' + name;
|
|
50511
|
+
if (!isImage && (!content.value.trim() || content.value === filled)) {
|
|
50512
|
+
content.value = filled = text;
|
|
50513
|
+
}
|
|
50514
|
+
url.focus();
|
|
50515
|
+
});
|
|
50516
|
+
});
|
|
50517
|
+
// A press on the arrow closes the open list before the click
|
|
50518
|
+
let wasOpen = false;
|
|
50519
|
+
jodit.e.on(dropdown, 'beforeClose', ()=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', false)).on(toggle, 'mousedown', ()=>wasOpen = dropdown.isOpened).on(toggle, 'click', ()=>{
|
|
50520
|
+
wasOpen || dropdown.isOpened ? dropdown.close() : open();
|
|
50521
|
+
wasOpen = false;
|
|
50522
|
+
}).on(url, 'input.anchors', ()=>{
|
|
50523
|
+
if (url.value && !url.value.startsWith('#')) {
|
|
50524
|
+
dropdown.close();
|
|
50525
|
+
}
|
|
50526
|
+
}).on(url, 'keydown.anchors', (e)=>{
|
|
50527
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN) {
|
|
50528
|
+
e.preventDefault();
|
|
50529
|
+
open();
|
|
50530
|
+
items[0].focus();
|
|
50531
|
+
}
|
|
50532
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC && dropdown.isOpened) {
|
|
50533
|
+
e.stopPropagation();
|
|
50534
|
+
dropdown.close();
|
|
50535
|
+
}
|
|
50536
|
+
}).on(list, 'keydown', (e)=>{
|
|
50537
|
+
var _a;
|
|
50538
|
+
const index = items.indexOf(e.target);
|
|
50539
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN || e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) {
|
|
50540
|
+
e.preventDefault();
|
|
50541
|
+
(_a = items[index + (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN ? 1 : -1)]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
50542
|
+
}
|
|
50543
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC) {
|
|
50544
|
+
e.stopPropagation();
|
|
50545
|
+
dropdown.close();
|
|
50546
|
+
url.focus();
|
|
50547
|
+
}
|
|
50548
|
+
});
|
|
50549
|
+
// The URL input is destructed when the form closes
|
|
50550
|
+
input.hookStatus('destructed', ()=>{
|
|
50551
|
+
dropdown.destruct();
|
|
50552
|
+
jodit.e.off([
|
|
50553
|
+
toggle,
|
|
50554
|
+
list,
|
|
50555
|
+
...items
|
|
50556
|
+
]).off(url, '.anchors');
|
|
50557
|
+
});
|
|
50558
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.after(url, toggle);
|
|
50559
|
+
}
|
|
50560
|
+
/**
|
|
50561
|
+
* The words after an anchor in its block, which say where it is
|
|
50562
|
+
*/ function textAfter(jodit, anchor) {
|
|
50563
|
+
var _a;
|
|
50564
|
+
const range = jodit.ed.createRange();
|
|
50565
|
+
range.selectNodeContents((_a = _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.up(anchor, _core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock, jodit.editor)) !== null && _a !== void 0 ? _a : jodit.editor);
|
|
50566
|
+
range.setStartAfter(anchor);
|
|
50567
|
+
const text = range.toString().replace(/\s+/g, ' ').trim();
|
|
50568
|
+
return text.length > 50 ? text.slice(0, 50).replace(/\s+\S*$/, '') + '…' : text;
|
|
50569
|
+
}
|
|
49804
50570
|
/**
|
|
49805
50571
|
* Guess a usable `href` from the selected text for the link dialog.
|
|
49806
50572
|
* Returns an empty string when the text is not a plausible URL/email,
|
|
@@ -49815,7 +50581,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('link', link);
|
|
|
49815
50581
|
return value;
|
|
49816
50582
|
}
|
|
49817
50583
|
// email address -> mailto:
|
|
49818
|
-
if (
|
|
50584
|
+
if (_typed_link_js__WEBPACK_IMPORTED_MODULE_10__.EMAIL.test(value)) {
|
|
49819
50585
|
return `mailto:${value}`;
|
|
49820
50586
|
}
|
|
49821
50587
|
// bare domain like example.com or www.example.com/path -> https://
|
|
@@ -54452,8 +55218,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellSelection
|
|
|
54452
55218
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
54453
55219
|
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
54454
55220
|
/* harmony import */ var _core_selection_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(45124);
|
|
54455
|
-
/* harmony import */ var
|
|
54456
|
-
/* harmony import */ var
|
|
55221
|
+
/* harmony import */ var _core_ui_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(67510);
|
|
55222
|
+
/* harmony import */ var _modules_table_table_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(76014);
|
|
55223
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(55311);
|
|
54457
55224
|
/*!
|
|
54458
55225
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
54459
55226
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -54473,12 +55240,13 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellSelection
|
|
|
54473
55240
|
|
|
54474
55241
|
|
|
54475
55242
|
|
|
55243
|
+
|
|
54476
55244
|
const key = 'table_processor_observer';
|
|
54477
55245
|
class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
54478
55246
|
/**
|
|
54479
55247
|
* Shortcut for Jodit.modules.Table
|
|
54480
55248
|
*/ get __tableModule() {
|
|
54481
|
-
return this.j.getInstance(
|
|
55249
|
+
return this.j.getInstance(_modules_table_table_js__WEBPACK_IMPORTED_MODULE_8__.Table, this.j.o);
|
|
54482
55250
|
}
|
|
54483
55251
|
afterInit(jodit) {
|
|
54484
55252
|
if (!jodit.o.tableAllowCellSelection) {
|
|
@@ -54566,7 +55334,28 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54566
55334
|
// As after a click, the first change to the cell keeps the mark
|
|
54567
55335
|
this.__selectedCell = cell;
|
|
54568
55336
|
this.__tableModule.addSelection(cell);
|
|
54569
|
-
this.j.e.fire('showPopup', table,
|
|
55337
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
55338
|
+
}
|
|
55339
|
+
/**
|
|
55340
|
+
* The box round the marked cells, which their popup opens beside and
|
|
55341
|
+
* follows when its commands add, merge or replace cells
|
|
55342
|
+
*/ __markedBound() {
|
|
55343
|
+
const bounds = this.__tableModule.getAllSelectedCells().filter((cell)=>cell.isConnected).map((cell)=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(cell, this.j));
|
|
55344
|
+
if (!bounds.length) {
|
|
55345
|
+
return {
|
|
55346
|
+
left: 0,
|
|
55347
|
+
top: 0,
|
|
55348
|
+
width: 0,
|
|
55349
|
+
height: 0
|
|
55350
|
+
};
|
|
55351
|
+
}
|
|
55352
|
+
const left = Math.min(...bounds.map((b)=>b.left)), top = Math.min(...bounds.map((b)=>b.top)), right = Math.max(...bounds.map((b)=>b.left + b.width)), bottom = Math.max(...bounds.map((b)=>b.top + b.height));
|
|
55353
|
+
return {
|
|
55354
|
+
left,
|
|
55355
|
+
top,
|
|
55356
|
+
width: right - left,
|
|
55357
|
+
height: bottom - top
|
|
55358
|
+
};
|
|
54570
55359
|
}
|
|
54571
55360
|
/**
|
|
54572
55361
|
* Mouse click inside the table
|
|
@@ -54591,7 +55380,7 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54591
55380
|
this.__selectedCell = cell;
|
|
54592
55381
|
(_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.removeAllRanges();
|
|
54593
55382
|
if (this.__tableModule.getAllSelectedCells().length) {
|
|
54594
|
-
this.j.e.fire('showPopup', table,
|
|
55383
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
54595
55384
|
} else {
|
|
54596
55385
|
this.j.e.fire('hidePopup', 'cells');
|
|
54597
55386
|
}
|
|
@@ -54639,8 +55428,11 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54639
55428
|
return false;
|
|
54640
55429
|
}
|
|
54641
55430
|
}
|
|
55431
|
+
onPress(e) {
|
|
55432
|
+
this.__inPopup = Boolean(e && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isNode(e.target) && _core_ui_index_js__WEBPACK_IMPORTED_MODULE_7__.UIElement.closestElement(e.target, _core_ui_index_js__WEBPACK_IMPORTED_MODULE_7__.Popup));
|
|
55433
|
+
}
|
|
54642
55434
|
onChange() {
|
|
54643
|
-
if (!this.j.isLocked && !this.__isSelectionMode) {
|
|
55435
|
+
if (!this.j.isLocked && !this.__isSelectionMode && !this.__inPopup) {
|
|
54644
55436
|
this.__onRemoveSelection();
|
|
54645
55437
|
}
|
|
54646
55438
|
}
|
|
@@ -54755,15 +55547,7 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54755
55547
|
if (!min || !max) {
|
|
54756
55548
|
return;
|
|
54757
55549
|
}
|
|
54758
|
-
this.j.e.fire('showPopup', table,
|
|
54759
|
-
const minOffset = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(min, this.j), maxOffset = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(max, this.j);
|
|
54760
|
-
return {
|
|
54761
|
-
left: minOffset.left,
|
|
54762
|
-
top: minOffset.top,
|
|
54763
|
-
width: maxOffset.left - minOffset.left + maxOffset.width,
|
|
54764
|
-
height: maxOffset.top - minOffset.top + maxOffset.height
|
|
54765
|
-
};
|
|
54766
|
-
}, 'cells');
|
|
55550
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
54767
55551
|
}
|
|
54768
55552
|
__stopListening() {
|
|
54769
55553
|
;(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.$$)('table', this.j.editor).forEach((table)=>{
|
|
@@ -54876,6 +55660,11 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54876
55660
|
this.__toggleHeaderRow(table, cells);
|
|
54877
55661
|
break;
|
|
54878
55662
|
}
|
|
55663
|
+
// A split unmarks the cells. They stay marked, as after the
|
|
55664
|
+
// other commands, so their popup stays beside them
|
|
55665
|
+
if (/^split/.test(command)) {
|
|
55666
|
+
cells.forEach((cell)=>this.__tableModule.addSelection(cell));
|
|
55667
|
+
}
|
|
54879
55668
|
if (/^bin(row|column)$/.test(command) && !this.__tableModule.getColumnsCount(table)) {
|
|
54880
55669
|
this.__removeTable(table);
|
|
54881
55670
|
}
|
|
@@ -54887,7 +55676,6 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54887
55676
|
* Turns the table's header row on or off. The caret and the marked cells
|
|
54888
55677
|
* move to the cells that replace them
|
|
54889
55678
|
*/ __toggleHeaderRow(table, cells) {
|
|
54890
|
-
var _a, _b;
|
|
54891
55679
|
const module = this.__tableModule;
|
|
54892
55680
|
this.j.s.save();
|
|
54893
55681
|
const replaced = module.toggleHeaderRow(table);
|
|
@@ -54899,10 +55687,6 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54899
55687
|
module.addSelection(next);
|
|
54900
55688
|
}
|
|
54901
55689
|
});
|
|
54902
|
-
// As after the click that marked it, the command's own change keeps
|
|
54903
|
-
// the marks, so the popup can stay open for another toggle
|
|
54904
|
-
const anchor = (_a = this.__selectedCell) !== null && _a !== void 0 ? _a : cells[0];
|
|
54905
|
-
this.__selectedCell = (_b = replaced.get(anchor)) !== null && _b !== void 0 ? _b : anchor;
|
|
54906
55690
|
}
|
|
54907
55691
|
/**
|
|
54908
55692
|
* The cell that takes the caret when rows or columns are deleted: the next
|
|
@@ -54969,6 +55753,10 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
54969
55753
|
* A drag let go outside the table ends in a click on the editor, which
|
|
54970
55754
|
* would unmark its cells
|
|
54971
55755
|
*/ this.__keepMarks = false;
|
|
55756
|
+
/**
|
|
55757
|
+
* The last press or key went to a popup, as to the cell popup's own
|
|
55758
|
+
* controls, whose changes keep the cells marked
|
|
55759
|
+
*/ this.__inPopup = false;
|
|
54972
55760
|
}
|
|
54973
55761
|
}
|
|
54974
55762
|
selectCells.requires = [
|
|
@@ -54980,6 +55768,9 @@ __decorate([
|
|
|
54980
55768
|
__decorate([
|
|
54981
55769
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':keyup')
|
|
54982
55770
|
], selectCells.prototype, "onKeyUp", null);
|
|
55771
|
+
__decorate([
|
|
55772
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
55773
|
+
], selectCells.prototype, "__markedBound", null);
|
|
54983
55774
|
__decorate([
|
|
54984
55775
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
54985
55776
|
], selectCells.prototype, "onStartSelection", null);
|
|
@@ -54995,6 +55786,16 @@ __decorate([
|
|
|
54995
55786
|
__decorate([
|
|
54996
55787
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
54997
55788
|
], selectCells.prototype, "__onClickAfterDrag", null);
|
|
55789
|
+
__decorate([
|
|
55790
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
55791
|
+
'ow:mousedown',
|
|
55792
|
+
'ow:touchstart',
|
|
55793
|
+
'ow:keydown',
|
|
55794
|
+
':mousedown',
|
|
55795
|
+
':touchstart',
|
|
55796
|
+
':keydown'
|
|
55797
|
+
])
|
|
55798
|
+
], selectCells.prototype, "onPress", null);
|
|
54998
55799
|
__decorate([
|
|
54999
55800
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':change')
|
|
55000
55801
|
], selectCells.prototype, "onChange", null);
|
|
@@ -55044,9 +55845,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
55044
55845
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
55045
55846
|
/* harmony import */ var _core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4510);
|
|
55046
55847
|
/* harmony import */ var _core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(87058);
|
|
55047
|
-
/* harmony import */ var
|
|
55048
|
-
/* harmony import */ var
|
|
55049
|
-
/* harmony import */ var
|
|
55848
|
+
/* harmony import */ var _core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49055);
|
|
55849
|
+
/* harmony import */ var _core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(76078);
|
|
55850
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50911);
|
|
55851
|
+
/* harmony import */ var _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(67510);
|
|
55852
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(67215);
|
|
55050
55853
|
/*!
|
|
55051
55854
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
55052
55855
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -55066,6 +55869,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
55066
55869
|
|
|
55067
55870
|
|
|
55068
55871
|
|
|
55872
|
+
|
|
55873
|
+
|
|
55874
|
+
const MEDIA = 'video, iframe, audio, object, embed';
|
|
55875
|
+
// The shade the browsers lay over a selected image: #b5d6fd on white
|
|
55876
|
+
const SHADE = `url("data:image/svg+xml,${encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg'>" + "<filter id='s' x='0' y='0' width='1' height='1' color-interpolation-filters='sRGB'>" + "<feFlood flood-color='#84bbfc' flood-opacity='.6'/><feComposite in2='SourceGraphic'/>" + '</filter></svg>')}#s")`;
|
|
55069
55877
|
/**
|
|
55070
55878
|
* A utility plugin that allows you to subscribe to a click/mousedown/touchstart/mouseup on an element in DOM order
|
|
55071
55879
|
*
|
|
@@ -55076,7 +55884,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
55076
55884
|
* console.log(img.src);
|
|
55077
55885
|
* })
|
|
55078
55886
|
* ```
|
|
55079
|
-
*/ class select extends
|
|
55887
|
+
*/ class select extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_8__.Plugin {
|
|
55080
55888
|
afterInit(jodit) {
|
|
55081
55889
|
this.proxyEventsList.forEach((eventName)=>{
|
|
55082
55890
|
jodit.e.on(eventName + '.select', this.onStartSelection);
|
|
@@ -55084,6 +55892,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
55084
55892
|
jodit.e.on('dblclick', this.__onDblClickBesideRow, {
|
|
55085
55893
|
top: true
|
|
55086
55894
|
});
|
|
55895
|
+
jodit.e.on(jodit.ed, 'selectionchange', this.__markSelectedMedia);
|
|
55087
55896
|
}
|
|
55088
55897
|
beforeDestruct(jodit) {
|
|
55089
55898
|
this.proxyEventsList.forEach((eventName)=>{
|
|
@@ -55091,6 +55900,39 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
55091
55900
|
});
|
|
55092
55901
|
this.__endPressBesideRow();
|
|
55093
55902
|
jodit.e.off('dblclick', this.__onDblClickBesideRow);
|
|
55903
|
+
jodit.e.off(jodit.ed, 'selectionchange', this.__markSelectedMedia);
|
|
55904
|
+
}
|
|
55905
|
+
/**
|
|
55906
|
+
* The browsers shade an image in the selection, but Chrome doesn't shade
|
|
55907
|
+
* a video with controls, or one in a `jodit-media` wrapper, so a selection
|
|
55908
|
+
* that took one in didn't show it, and typing deleted it unseen (#1768).
|
|
55909
|
+
* The media gets the same shade from a filter, in place of the tint Safari
|
|
55910
|
+
* gives a block wrapper's whole line. It's a style in the editing
|
|
55911
|
+
* document, as selected cells get their border, so the content, and with
|
|
55912
|
+
* it the value, the history and a copy, doesn't change. Media a click
|
|
55913
|
+
* selected whole is left alone, as its resize frame shows it (#1528). A
|
|
55914
|
+
* change, read-only and the source mode redo or drop the style, as the
|
|
55915
|
+
* selection may not change with them, and the style's paths could then
|
|
55916
|
+
* fit other elements
|
|
55917
|
+
*/ __markSelectedMedia() {
|
|
55918
|
+
var _a;
|
|
55919
|
+
const { s, editor, o } = this.j;
|
|
55920
|
+
const range = ((_a = s.sel) === null || _a === void 0 ? void 0 : _a.rangeCount) ? s.sel.getRangeAt(0) : null;
|
|
55921
|
+
const rules = [];
|
|
55922
|
+
if (range && !range.collapsed && !o.readonly && this.j.getMode() !== _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE && !isElementSelection(range) && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(editor, range.commonAncestorContainer)) {
|
|
55923
|
+
uneditableIn(range, editor).forEach((elm)=>{
|
|
55924
|
+
const media = elm.querySelector(MEDIA);
|
|
55925
|
+
const wrapper = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.cssPath)(elm);
|
|
55926
|
+
if (media && wrapper) {
|
|
55927
|
+
rules.push(`${wrapper}::selection,${wrapper} ::selection{background:transparent}`, `${(0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.cssPath)(media)}{filter:${SHADE}}`);
|
|
55928
|
+
}
|
|
55929
|
+
});
|
|
55930
|
+
}
|
|
55931
|
+
const style = rules.join('');
|
|
55932
|
+
if (style !== this.__selectedMediaStyle) {
|
|
55933
|
+
this.__selectedMediaStyle = style;
|
|
55934
|
+
(0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.getContainer)(this.j, select, 'style', true).textContent = style;
|
|
55935
|
+
}
|
|
55094
55936
|
}
|
|
55095
55937
|
onStartSelection(e) {
|
|
55096
55938
|
const { j } = this;
|
|
@@ -55116,10 +55958,14 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
55116
55958
|
}
|
|
55117
55959
|
// Selecting the text of a popup input with the mouse and releasing
|
|
55118
55960
|
// the button past the popup's edge is not a click outside of it.
|
|
55119
|
-
if (pressed &&
|
|
55961
|
+
if (pressed && _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.UIElement.closestElement(pressed, _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.Popup)) {
|
|
55962
|
+
return;
|
|
55963
|
+
}
|
|
55964
|
+
// An item of a list that closed once it was chosen was in a popup
|
|
55965
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isNode(node) && !node.isConnected) {
|
|
55120
55966
|
return;
|
|
55121
55967
|
}
|
|
55122
|
-
const box =
|
|
55968
|
+
const box = _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.UIElement.closestElement(node, _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.Popup);
|
|
55123
55969
|
if (!box) {
|
|
55124
55970
|
this.j.e.fire('outsideClick', e);
|
|
55125
55971
|
}
|
|
@@ -55327,6 +56173,79 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
55327
56173
|
s.select(_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(startContainer, _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock, this.j.editor) || startContainer, true);
|
|
55328
56174
|
}
|
|
55329
56175
|
}
|
|
56176
|
+
/**
|
|
56177
|
+
* A double click past the end of a line selects only its line break, up
|
|
56178
|
+
* to the start of the next line a caret can go on. The browsers show no
|
|
56179
|
+
* caret for it, and typing replaces the break, joining the lines and
|
|
56180
|
+
* taking any video in between with it (#1768). Put the caret at the end
|
|
56181
|
+
* of the line instead
|
|
56182
|
+
*/ onDblClickPastLineEnd() {
|
|
56183
|
+
const { s, editor, o } = this.j;
|
|
56184
|
+
const range = s.range;
|
|
56185
|
+
if (o.readonly || !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(editor, range.commonAncestorContainer) || !isLineBreak(range, editor)) {
|
|
56186
|
+
return;
|
|
56187
|
+
}
|
|
56188
|
+
range.collapse(true);
|
|
56189
|
+
s.selectRange(range);
|
|
56190
|
+
}
|
|
56191
|
+
/**
|
|
56192
|
+
* The browsers have no caret position beside an uneditable block alone
|
|
56193
|
+
* on its line, such as a video, so a drag that ends on its line runs on
|
|
56194
|
+
* past it, and typing deletes it (#1768). Until the pointer has passed
|
|
56195
|
+
* the block, the selection stops at the last caret place in the block
|
|
56196
|
+
* before its line, or for a drag upwards at the first in the block after
|
|
56197
|
+
*/ onMouseUpOnUneditableLine(e) {
|
|
56198
|
+
var _a, _b;
|
|
56199
|
+
const { s, editor, o } = this.j;
|
|
56200
|
+
const { sel } = s;
|
|
56201
|
+
if (o.readonly || !(sel === null || sel === void 0 ? void 0 : sel.rangeCount) || sel.isCollapsed) {
|
|
56202
|
+
return;
|
|
56203
|
+
}
|
|
56204
|
+
const range = sel.getRangeAt(0).cloneRange();
|
|
56205
|
+
// A video or image Jodit selected itself on the press
|
|
56206
|
+
if (isElementSelection(range)) {
|
|
56207
|
+
return;
|
|
56208
|
+
}
|
|
56209
|
+
const forward = sel.anchorNode === range.startContainer && sel.anchorOffset === range.startOffset;
|
|
56210
|
+
const lines = uneditableIn(range, editor).map((elm)=>{
|
|
56211
|
+
var _a;
|
|
56212
|
+
return (_a = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(elm, _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock, editor)) !== null && _a !== void 0 ? _a : elm;
|
|
56213
|
+
}).filter((line)=>!(0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__.trim)(ownText(line)));
|
|
56214
|
+
const isAhead = (line)=>{
|
|
56215
|
+
const box = line.getBoundingClientRect();
|
|
56216
|
+
return forward ? e.clientY < box.bottom : e.clientY > box.top;
|
|
56217
|
+
};
|
|
56218
|
+
const line = forward ? lines.find(isAhead) : lines.reverse().find(isAhead);
|
|
56219
|
+
if (!line) {
|
|
56220
|
+
return;
|
|
56221
|
+
}
|
|
56222
|
+
// Where a caret can go: in text, or before a <br>
|
|
56223
|
+
const isCaretPlace = (node)=>_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(node) && !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isEmptyTextNode(node) || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isTag(node, 'br');
|
|
56224
|
+
// Only the block beside the line, not one further on
|
|
56225
|
+
const beside = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.findNotEmptySibling(line, forward);
|
|
56226
|
+
const place = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock(beside) ? forward ? _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.last(beside, isCaretPlace) : _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.first(beside, isCaretPlace) : null;
|
|
56227
|
+
if (!place) {
|
|
56228
|
+
return;
|
|
56229
|
+
}
|
|
56230
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(place)) {
|
|
56231
|
+
if (forward) {
|
|
56232
|
+
range.setEnd(place, (_b = (_a = place.nodeValue) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);
|
|
56233
|
+
} else {
|
|
56234
|
+
range.setStart(place, 0);
|
|
56235
|
+
}
|
|
56236
|
+
} else if (forward) {
|
|
56237
|
+
range.setEndBefore(place);
|
|
56238
|
+
} else {
|
|
56239
|
+
range.setStartBefore(place);
|
|
56240
|
+
}
|
|
56241
|
+
// The drag's start stays the anchor
|
|
56242
|
+
const { startContainer, startOffset, endContainer, endOffset } = range;
|
|
56243
|
+
if (forward) {
|
|
56244
|
+
sel.setBaseAndExtent(startContainer, startOffset, endContainer, endOffset);
|
|
56245
|
+
} else {
|
|
56246
|
+
sel.setBaseAndExtent(endContainer, endOffset, startContainer, startOffset);
|
|
56247
|
+
}
|
|
56248
|
+
}
|
|
55330
56249
|
onCopyNormalizeSelectionBound(e) {
|
|
55331
56250
|
const { s, editor, o } = this.j;
|
|
55332
56251
|
if (!o.select.normalizeSelectionBeforeCutAndCopy || s.isCollapsed()) {
|
|
@@ -55346,6 +56265,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
55346
56265
|
'mouseup',
|
|
55347
56266
|
'touchend'
|
|
55348
56267
|
];
|
|
56268
|
+
this.__selectedMediaStyle = '';
|
|
55349
56269
|
/**
|
|
55350
56270
|
* Where the last press started. Chrome reports a drag that begins in one
|
|
55351
56271
|
* element and ends in another as a `click` on their common ancestor, so a
|
|
@@ -55357,6 +56277,14 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
55357
56277
|
*/ this.__pressBesideRow = null;
|
|
55358
56278
|
}
|
|
55359
56279
|
}
|
|
56280
|
+
__decorate([
|
|
56281
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
56282
|
+
':change',
|
|
56283
|
+
':readonly',
|
|
56284
|
+
':afterSetMode'
|
|
56285
|
+
]),
|
|
56286
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
56287
|
+
], select.prototype, "__markSelectedMedia", null);
|
|
55360
56288
|
__decorate([
|
|
55361
56289
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
55362
56290
|
], select.prototype, "onStartSelection", null);
|
|
@@ -55406,12 +56334,85 @@ __decorate([
|
|
|
55406
56334
|
':click'
|
|
55407
56335
|
])
|
|
55408
56336
|
], select.prototype, "onTripleClickNormalizeSelection", null);
|
|
56337
|
+
__decorate([
|
|
56338
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
56339
|
+
':dblclick'
|
|
56340
|
+
])
|
|
56341
|
+
], select.prototype, "onDblClickPastLineEnd", null);
|
|
56342
|
+
__decorate([
|
|
56343
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
56344
|
+
':mouseup'
|
|
56345
|
+
])
|
|
56346
|
+
], select.prototype, "onMouseUpOnUneditableLine", null);
|
|
55409
56347
|
__decorate([
|
|
55410
56348
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
55411
56349
|
':copy',
|
|
55412
56350
|
':cut'
|
|
55413
56351
|
])
|
|
55414
56352
|
], select.prototype, "onCopyNormalizeSelectionBound", null);
|
|
56353
|
+
const isUneditable = (node)=>_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(node) && node.getAttribute('contenteditable') === 'false';
|
|
56354
|
+
/**
|
|
56355
|
+
* The text a node shows outside its uneditable elements, whose own text, as
|
|
56356
|
+
* a video's fallback text, isn't on the line
|
|
56357
|
+
*/ const ownText = (node)=>{
|
|
56358
|
+
var _a;
|
|
56359
|
+
return isUneditable(node) ? '' : _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(node) ? (_a = node.nodeValue) !== null && _a !== void 0 ? _a : '' : (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(node.childNodes).map(ownText).join('');
|
|
56360
|
+
};
|
|
56361
|
+
/**
|
|
56362
|
+
* The uneditable elements the range holds whole, without those inside
|
|
56363
|
+
* another. Only those under the range's common ancestor can be, and none
|
|
56364
|
+
* when that's a text node, as along one line of a drag
|
|
56365
|
+
*/ function uneditableIn(range, root) {
|
|
56366
|
+
const box = range.commonAncestorContainer;
|
|
56367
|
+
if (!_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(box)) {
|
|
56368
|
+
return [];
|
|
56369
|
+
}
|
|
56370
|
+
return (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(box.querySelectorAll('[contenteditable="false"]')).filter((elm)=>{
|
|
56371
|
+
if (!range.intersectsNode(elm)) {
|
|
56372
|
+
return false;
|
|
56373
|
+
}
|
|
56374
|
+
const own = elm.ownerDocument.createRange();
|
|
56375
|
+
own.selectNode(elm);
|
|
56376
|
+
return range.compareBoundaryPoints(Range.START_TO_START, own) <= 0 && range.compareBoundaryPoints(Range.END_TO_END, own) >= 0 && !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(elm.parentNode, isUneditable, root);
|
|
56377
|
+
});
|
|
56378
|
+
}
|
|
56379
|
+
/**
|
|
56380
|
+
* The range holds one element and nothing else, as a selected image does
|
|
56381
|
+
*/ function isElementSelection(range) {
|
|
56382
|
+
const { startContainer, startOffset, endContainer, endOffset } = range;
|
|
56383
|
+
return startContainer === endContainer && endOffset - startOffset === 1 && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(startContainer.childNodes[startOffset]);
|
|
56384
|
+
}
|
|
56385
|
+
/**
|
|
56386
|
+
* The range holds a line end and nothing else: no characters but
|
|
56387
|
+
* whitespace, and no element whole but a `<br>` or a line a caret can't go
|
|
56388
|
+
* on, as a video's. It ends in another block, or holds the `<br>`
|
|
56389
|
+
*/ function isLineBreak(range, root) {
|
|
56390
|
+
const { startContainer, endContainer } = range;
|
|
56391
|
+
if (range.collapsed || (0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__.trim)(range.toString()) && (0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__.trim)(ownText(range.cloneContents()))) {
|
|
56392
|
+
return false;
|
|
56393
|
+
}
|
|
56394
|
+
let crossesLineEnd = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(startContainer, _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock, root) !== _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(endContainer, _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock, root);
|
|
56395
|
+
const holdsBreaksOnly = (node)=>{
|
|
56396
|
+
if (!range.intersectsNode(node)) {
|
|
56397
|
+
return true;
|
|
56398
|
+
}
|
|
56399
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(node, startContainer) || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(node, endContainer)) {
|
|
56400
|
+
return (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(node.childNodes).every(holdsBreaksOnly);
|
|
56401
|
+
}
|
|
56402
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isTag(node, 'br')) {
|
|
56403
|
+
crossesLineEnd = true;
|
|
56404
|
+
return true;
|
|
56405
|
+
}
|
|
56406
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(node) || isCaretless(node);
|
|
56407
|
+
};
|
|
56408
|
+
return holdsBreaksOnly(range.commonAncestorContainer) && crossesLineEnd;
|
|
56409
|
+
}
|
|
56410
|
+
/**
|
|
56411
|
+
* An uneditable element, or a block holding one and nothing else
|
|
56412
|
+
*/ function isCaretless(node) {
|
|
56413
|
+
const children = (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(node.childNodes);
|
|
56414
|
+
return isUneditable(node) || _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isBlock(node) && children.some(isCaretless) && children.every((child)=>_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isEmptyTextNode(child) || isCaretless(child));
|
|
56415
|
+
}
|
|
55415
56416
|
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('select', select);
|
|
55416
56417
|
|
|
55417
56418
|
|
|
@@ -60847,12 +61848,12 @@ UIVideoPropertiesForm = __decorate([
|
|
|
60847
61848
|
/* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65478);
|
|
60848
61849
|
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
|
|
60849
61850
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(580);
|
|
60850
|
-
/* harmony import */ var
|
|
60851
|
-
/* harmony import */ var
|
|
60852
|
-
/* harmony import */ var
|
|
60853
|
-
/* harmony import */ var
|
|
60854
|
-
/* harmony import */ var
|
|
60855
|
-
/* harmony import */ var
|
|
61851
|
+
/* harmony import */ var _core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5700);
|
|
61852
|
+
/* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(37790);
|
|
61853
|
+
/* harmony import */ var _core_plugin_plugin_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20356);
|
|
61854
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62843);
|
|
61855
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(56917);
|
|
61856
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2073);
|
|
60856
61857
|
/* harmony import */ var _modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(34793);
|
|
60857
61858
|
/* harmony import */ var _ui_ui_video_form_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(27828);
|
|
60858
61859
|
/* harmony import */ var _readers_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(54426);
|
|
@@ -60891,7 +61892,7 @@ UIVideoPropertiesForm = __decorate([
|
|
|
60891
61892
|
* ```javascript
|
|
60892
61893
|
* editor.events.fire('openVideoProperties', video);
|
|
60893
61894
|
* ```
|
|
60894
|
-
*/ class videoProperties extends
|
|
61895
|
+
*/ class videoProperties extends _core_plugin_plugin_js__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
60895
61896
|
get __size() {
|
|
60896
61897
|
const { width, height } = this.state.values;
|
|
60897
61898
|
return `${width}x${height}`;
|
|
@@ -60930,15 +61931,15 @@ UIVideoPropertiesForm = __decorate([
|
|
|
60930
61931
|
],
|
|
60931
61932
|
buttons.check
|
|
60932
61933
|
]);
|
|
60933
|
-
(0,
|
|
61934
|
+
(0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_4__.markOwner)(j, dialog.container);
|
|
60934
61935
|
return dialog;
|
|
60935
61936
|
}
|
|
60936
61937
|
get __buttons() {
|
|
60937
61938
|
const { j } = this;
|
|
60938
61939
|
return {
|
|
60939
|
-
check: (0,
|
|
60940
|
-
remove: (0,
|
|
60941
|
-
cancel: (0,
|
|
61940
|
+
check: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'ok', 'Apply', 'primary'),
|
|
61941
|
+
remove: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'bin', 'Delete'),
|
|
61942
|
+
cancel: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'cancel', 'Cancel')
|
|
60942
61943
|
};
|
|
60943
61944
|
}
|
|
60944
61945
|
/**
|
|
@@ -60963,25 +61964,27 @@ UIVideoPropertiesForm = __decorate([
|
|
|
60963
61964
|
}
|
|
60964
61965
|
__openPosterPopup(button) {
|
|
60965
61966
|
const { j, state } = this;
|
|
60966
|
-
const popup = new
|
|
61967
|
+
const popup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__.Popup(this.dialog);
|
|
60967
61968
|
const close = ()=>{
|
|
60968
61969
|
popup.close();
|
|
60969
61970
|
popup.destruct();
|
|
60970
61971
|
};
|
|
60971
61972
|
popup.setContent((0,_modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_9__.FileSelectorWidget)(j, {
|
|
60972
61973
|
upload: (data)=>{
|
|
60973
|
-
|
|
60974
|
-
|
|
61974
|
+
const [item] = (0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__.getItems)(data);
|
|
61975
|
+
if (item) {
|
|
61976
|
+
state.values.poster = data.baseurl + item.file;
|
|
60975
61977
|
}
|
|
60976
61978
|
close();
|
|
60977
61979
|
},
|
|
60978
61980
|
filebrowser: (data)=>{
|
|
60979
|
-
|
|
60980
|
-
|
|
61981
|
+
const [item] = (0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__.getItems)(data);
|
|
61982
|
+
if (item) {
|
|
61983
|
+
state.values.poster = item.file;
|
|
60981
61984
|
close();
|
|
60982
61985
|
}
|
|
60983
61986
|
}
|
|
60984
|
-
}, null, close)).open(()=>(0,
|
|
61987
|
+
}, null, close)).open(()=>(0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_3__.position)(button));
|
|
60985
61988
|
}
|
|
60986
61989
|
/** @override */ afterInit() {}
|
|
60987
61990
|
/** @override */ beforeDestruct() {
|
|
@@ -61131,8 +62134,9 @@ function setFlag(media, name, on) {
|
|
|
61131
62134
|
/* harmony import */ var _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2525);
|
|
61132
62135
|
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12153);
|
|
61133
62136
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6441);
|
|
61134
|
-
/* harmony import */ var
|
|
61135
|
-
/* harmony import */ var
|
|
62137
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2073);
|
|
62138
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(92762);
|
|
62139
|
+
/* harmony import */ var _video_svg_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37775);
|
|
61136
62140
|
/*!
|
|
61137
62141
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
61138
62142
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -61144,12 +62148,13 @@ function setFlag(media, name, on) {
|
|
|
61144
62148
|
|
|
61145
62149
|
|
|
61146
62150
|
|
|
62151
|
+
|
|
61147
62152
|
function insertVideos(data) {
|
|
61148
|
-
|
|
61149
|
-
(
|
|
62153
|
+
const { baseurl } = data;
|
|
62154
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_5__.getItems)(data).forEach(({ file })=>{
|
|
61150
62155
|
this.s.insertNode((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.prepareMedia)(this, this.createInside.element('video', {
|
|
61151
62156
|
controls: '',
|
|
61152
|
-
src:
|
|
62157
|
+
src: baseurl + file
|
|
61153
62158
|
})));
|
|
61154
62159
|
});
|
|
61155
62160
|
}
|
|
@@ -61159,7 +62164,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.video = {
|
|
|
61159
62164
|
defaultHeight: 345,
|
|
61160
62165
|
defaultHandlerSuccess: insertVideos
|
|
61161
62166
|
};
|
|
61162
|
-
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video',
|
|
62167
|
+
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]);
|
|
61163
62168
|
/**
|
|
61164
62169
|
* The video popup's tabs: Upload, when the uploader is configured, then Link
|
|
61165
62170
|
* and Code. `insert` runs what a tab inserts, which by default goes in at the
|
|
@@ -61205,7 +62210,7 @@ _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__W
|
|
|
61205
62210
|
const { uploader } = jodit.o;
|
|
61206
62211
|
// Base64 alone would put whole video files into the content
|
|
61207
62212
|
if (uploader.showTabInFileSelector !== false && (uploader.url || uploader.customUploadFunction)) {
|
|
61208
|
-
tabs.push((0,
|
|
62213
|
+
tabs.push((0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__.UploadTab)(jodit, (data)=>{
|
|
61209
62214
|
run(()=>{
|
|
61210
62215
|
var _a, _b;
|
|
61211
62216
|
return ((_b = (_a = jodit.o.video) === null || _a === void 0 ? void 0 : _a.defaultHandlerSuccess) !== null && _b !== void 0 ? _b : insertVideos).call(jodit, data);
|
|
@@ -61234,7 +62239,7 @@ _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__W
|
|
|
61234
62239
|
formCode.onSubmit((data)=>{
|
|
61235
62240
|
insertCode(data.code);
|
|
61236
62241
|
});
|
|
61237
|
-
const box = (0,
|
|
62242
|
+
const box = (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__.TabsWidget)(jodit, tabs);
|
|
61238
62243
|
// Its tabs are sized to their labels, as the file selector's are, since
|
|
61239
62244
|
// "Upload" doesn't fit a third of the popup
|
|
61240
62245
|
box.classList.add('jodit-file-selector');
|
|
@@ -61649,6 +62654,14 @@ function _object_spread(target) {
|
|
|
61649
62654
|
_core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
61650
62655
|
|
|
61651
62656
|
|
|
62657
|
+
/***/ }),
|
|
62658
|
+
|
|
62659
|
+
/***/ 25850:
|
|
62660
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
62661
|
+
|
|
62662
|
+
/* harmony default export */ __webpack_exports__["default"] = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"M6 3h12v18l-6-4-6 4z\"/> </g> </svg> ");
|
|
62663
|
+
|
|
62664
|
+
|
|
61652
62665
|
/***/ }),
|
|
61653
62666
|
|
|
61654
62667
|
/***/ 78173:
|
|
@@ -61776,65 +62789,67 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
|
61776
62789
|
|
|
61777
62790
|
__webpack_require__.r(__webpack_exports__);
|
|
61778
62791
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
61779
|
-
/* harmony export */
|
|
61780
|
-
/* harmony export */
|
|
61781
|
-
/* harmony export */
|
|
61782
|
-
/* harmony export */
|
|
61783
|
-
/* harmony export */
|
|
61784
|
-
/* harmony export */
|
|
61785
|
-
/* harmony export */
|
|
61786
|
-
/* harmony export */
|
|
61787
|
-
/* harmony export */
|
|
61788
|
-
/* harmony export */
|
|
61789
|
-
/* harmony export */
|
|
61790
|
-
/* harmony export */
|
|
61791
|
-
/* harmony export */
|
|
61792
|
-
/* harmony export */
|
|
61793
|
-
/* harmony export */
|
|
61794
|
-
/* harmony export */
|
|
61795
|
-
/* harmony export */
|
|
61796
|
-
/* harmony export */
|
|
61797
|
-
/* harmony export */
|
|
61798
|
-
/* harmony export */
|
|
61799
|
-
/* harmony export */
|
|
61800
|
-
/* harmony export */
|
|
61801
|
-
/* harmony export */
|
|
61802
|
-
/* harmony export */
|
|
61803
|
-
/* harmony export */
|
|
61804
|
-
/* harmony export */
|
|
61805
|
-
/* harmony export */
|
|
61806
|
-
/* harmony export */
|
|
61807
|
-
/* harmony export */
|
|
61808
|
-
/* harmony export */
|
|
61809
|
-
/* harmony
|
|
61810
|
-
/* harmony import */ var
|
|
61811
|
-
/* harmony import */ var
|
|
61812
|
-
/* harmony import */ var
|
|
61813
|
-
/* harmony import */ var
|
|
61814
|
-
/* harmony import */ var
|
|
61815
|
-
/* harmony import */ var
|
|
61816
|
-
/* harmony import */ var
|
|
61817
|
-
/* harmony import */ var
|
|
61818
|
-
/* harmony import */ var
|
|
61819
|
-
/* harmony import */ var
|
|
61820
|
-
/* harmony import */ var
|
|
61821
|
-
/* harmony import */ var
|
|
61822
|
-
/* harmony import */ var
|
|
61823
|
-
/* harmony import */ var
|
|
61824
|
-
/* harmony import */ var
|
|
61825
|
-
/* harmony import */ var
|
|
61826
|
-
/* harmony import */ var
|
|
61827
|
-
/* harmony import */ var
|
|
61828
|
-
/* harmony import */ var
|
|
61829
|
-
/* harmony import */ var
|
|
61830
|
-
/* harmony import */ var
|
|
61831
|
-
/* harmony import */ var
|
|
61832
|
-
/* harmony import */ var
|
|
61833
|
-
/* harmony import */ var
|
|
61834
|
-
/* harmony import */ var
|
|
61835
|
-
/* harmony import */ var
|
|
61836
|
-
/* harmony import */ var
|
|
61837
|
-
/* harmony import */ var
|
|
62792
|
+
/* harmony export */ anchor: function() { return /* reexport safe */ _anchor_svg_js__WEBPACK_IMPORTED_MODULE_0__["default"]; },
|
|
62793
|
+
/* harmony export */ angle_down: function() { return /* reexport safe */ _angle_down_svg_js__WEBPACK_IMPORTED_MODULE_1__["default"]; },
|
|
62794
|
+
/* harmony export */ angle_left: function() { return /* reexport safe */ _angle_left_svg_js__WEBPACK_IMPORTED_MODULE_2__["default"]; },
|
|
62795
|
+
/* harmony export */ angle_right: function() { return /* reexport safe */ _angle_right_svg_js__WEBPACK_IMPORTED_MODULE_3__["default"]; },
|
|
62796
|
+
/* harmony export */ angle_up: function() { return /* reexport safe */ _angle_up_svg_js__WEBPACK_IMPORTED_MODULE_4__["default"]; },
|
|
62797
|
+
/* harmony export */ bin: function() { return /* reexport safe */ _bin_svg_js__WEBPACK_IMPORTED_MODULE_5__["default"]; },
|
|
62798
|
+
/* harmony export */ cancel: function() { return /* reexport safe */ _cancel_svg_js__WEBPACK_IMPORTED_MODULE_6__["default"]; },
|
|
62799
|
+
/* harmony export */ center: function() { return /* reexport safe */ _center_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]; },
|
|
62800
|
+
/* harmony export */ check: function() { return /* reexport safe */ _check_svg_js__WEBPACK_IMPORTED_MODULE_8__["default"]; },
|
|
62801
|
+
/* harmony export */ chevron: function() { return /* reexport safe */ _chevron_svg_js__WEBPACK_IMPORTED_MODULE_9__["default"]; },
|
|
62802
|
+
/* harmony export */ dots: function() { return /* reexport safe */ _dots_svg_js__WEBPACK_IMPORTED_MODULE_10__["default"]; },
|
|
62803
|
+
/* harmony export */ download: function() { return /* reexport safe */ _download_svg_js__WEBPACK_IMPORTED_MODULE_11__["default"]; },
|
|
62804
|
+
/* harmony export */ eraser: function() { return /* reexport safe */ _eraser_svg_js__WEBPACK_IMPORTED_MODULE_12__["default"]; },
|
|
62805
|
+
/* harmony export */ eye: function() { return /* reexport safe */ _eye_svg_js__WEBPACK_IMPORTED_MODULE_13__["default"]; },
|
|
62806
|
+
/* harmony export */ file: function() { return /* reexport safe */ _file_svg_js__WEBPACK_IMPORTED_MODULE_14__["default"]; },
|
|
62807
|
+
/* harmony export */ folder: function() { return /* reexport safe */ _folder_svg_js__WEBPACK_IMPORTED_MODULE_15__["default"]; },
|
|
62808
|
+
/* harmony export */ info_circle: function() { return /* reexport safe */ _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_16__["default"]; },
|
|
62809
|
+
/* harmony export */ left: function() { return /* reexport safe */ _left_svg_js__WEBPACK_IMPORTED_MODULE_17__["default"]; },
|
|
62810
|
+
/* harmony export */ lock: function() { return /* reexport safe */ _lock_svg_js__WEBPACK_IMPORTED_MODULE_18__["default"]; },
|
|
62811
|
+
/* harmony export */ ok: function() { return /* reexport safe */ _ok_svg_js__WEBPACK_IMPORTED_MODULE_19__["default"]; },
|
|
62812
|
+
/* harmony export */ pencil: function() { return /* reexport safe */ _pencil_svg_js__WEBPACK_IMPORTED_MODULE_20__["default"]; },
|
|
62813
|
+
/* harmony export */ plus: function() { return /* reexport safe */ _plus_svg_js__WEBPACK_IMPORTED_MODULE_21__["default"]; },
|
|
62814
|
+
/* harmony export */ resize_handler: function() { return /* reexport safe */ _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_22__["default"]; },
|
|
62815
|
+
/* harmony export */ right: function() { return /* reexport safe */ _right_svg_js__WEBPACK_IMPORTED_MODULE_23__["default"]; },
|
|
62816
|
+
/* harmony export */ save: function() { return /* reexport safe */ _save_svg_js__WEBPACK_IMPORTED_MODULE_24__["default"]; },
|
|
62817
|
+
/* harmony export */ settings: function() { return /* reexport safe */ _settings_svg_js__WEBPACK_IMPORTED_MODULE_25__["default"]; },
|
|
62818
|
+
/* harmony export */ unlock: function() { return /* reexport safe */ _unlock_svg_js__WEBPACK_IMPORTED_MODULE_26__["default"]; },
|
|
62819
|
+
/* harmony export */ update: function() { return /* reexport safe */ _update_svg_js__WEBPACK_IMPORTED_MODULE_27__["default"]; },
|
|
62820
|
+
/* harmony export */ upload: function() { return /* reexport safe */ _upload_svg_js__WEBPACK_IMPORTED_MODULE_28__["default"]; },
|
|
62821
|
+
/* harmony export */ valign: function() { return /* reexport safe */ _valign_svg_js__WEBPACK_IMPORTED_MODULE_29__["default"]; }
|
|
62822
|
+
/* harmony export */ });
|
|
62823
|
+
/* harmony import */ var _anchor_svg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25850);
|
|
62824
|
+
/* harmony import */ var _angle_down_svg_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78173);
|
|
62825
|
+
/* harmony import */ var _angle_left_svg_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16260);
|
|
62826
|
+
/* harmony import */ var _angle_right_svg_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37663);
|
|
62827
|
+
/* harmony import */ var _angle_up_svg_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(51036);
|
|
62828
|
+
/* harmony import */ var _bin_svg_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31554);
|
|
62829
|
+
/* harmony import */ var _cancel_svg_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(18309);
|
|
62830
|
+
/* harmony import */ var _center_svg_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(99762);
|
|
62831
|
+
/* harmony import */ var _check_svg_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7903);
|
|
62832
|
+
/* harmony import */ var _chevron_svg_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(58032);
|
|
62833
|
+
/* harmony import */ var _dots_svg_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(52507);
|
|
62834
|
+
/* harmony import */ var _download_svg_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1647);
|
|
62835
|
+
/* harmony import */ var _eraser_svg_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(98535);
|
|
62836
|
+
/* harmony import */ var _eye_svg_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(43478);
|
|
62837
|
+
/* harmony import */ var _file_svg_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(60097);
|
|
62838
|
+
/* harmony import */ var _folder_svg_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(49155);
|
|
62839
|
+
/* harmony import */ var _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(17176);
|
|
62840
|
+
/* harmony import */ var _left_svg_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(57882);
|
|
62841
|
+
/* harmony import */ var _lock_svg_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(58908);
|
|
62842
|
+
/* harmony import */ var _ok_svg_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(24829);
|
|
62843
|
+
/* harmony import */ var _pencil_svg_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(4038);
|
|
62844
|
+
/* harmony import */ var _plus_svg_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(45575);
|
|
62845
|
+
/* harmony import */ var _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(84858);
|
|
62846
|
+
/* harmony import */ var _right_svg_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(445);
|
|
62847
|
+
/* harmony import */ var _save_svg_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(36886);
|
|
62848
|
+
/* harmony import */ var _settings_svg_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(10766);
|
|
62849
|
+
/* harmony import */ var _unlock_svg_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(33651);
|
|
62850
|
+
/* harmony import */ var _update_svg_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(20362);
|
|
62851
|
+
/* harmony import */ var _upload_svg_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(12202);
|
|
62852
|
+
/* harmony import */ var _valign_svg_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(80152);
|
|
61838
62853
|
/*!
|
|
61839
62854
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
61840
62855
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -61873,6 +62888,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61873
62888
|
|
|
61874
62889
|
|
|
61875
62890
|
|
|
62891
|
+
|
|
61876
62892
|
|
|
61877
62893
|
|
|
61878
62894
|
/***/ }),
|