jodit-pro 4.19.13 → 4.20.2
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 +12 -12
- package/es2015/jodit.js +1586 -554
- 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 +12 -12
- 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 +17 -17
- package/es2021/jodit.js +1540 -554
- 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 +17 -17
- package/es2021.en/jodit.js +1540 -554
- 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 +1945 -619
- 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/es2021.en/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.20.2
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -1768,7 +1768,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1768
1768
|
* ```
|
|
1769
1769
|
* @packageDocumentation
|
|
1770
1770
|
* @module constants
|
|
1771
|
-
*/ const APP_VERSION = "4.
|
|
1771
|
+
*/ const APP_VERSION = "4.20.2";
|
|
1772
1772
|
// prettier-ignore
|
|
1773
1773
|
const ES = "es2021";
|
|
1774
1774
|
const IS_ES_MODERN = true;
|
|
@@ -7045,6 +7045,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7045
7045
|
/* harmony export */ fuzzySearchIndex: function() { return /* reexport safe */ _string_index_js__WEBPACK_IMPORTED_MODULE_7__.fuzzySearchIndex; },
|
|
7046
7046
|
/* harmony export */ get: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.get; },
|
|
7047
7047
|
/* harmony export */ getAlignClasses: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getAlignClasses; },
|
|
7048
|
+
/* harmony export */ getAnchorName: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getAnchorName; },
|
|
7049
|
+
/* harmony export */ getAnchors: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getAnchors; },
|
|
7048
7050
|
/* harmony export */ getCaptionWrapper: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getCaptionWrapper; },
|
|
7049
7051
|
/* harmony export */ getCaptionedImage: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getCaptionedImage; },
|
|
7050
7052
|
/* harmony export */ getClassName: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.getClassName; },
|
|
@@ -7069,6 +7071,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7069
7071
|
/* harmony export */ indexOfOpenTag: function() { return /* reexport safe */ _html_index_js__WEBPACK_IMPORTED_MODULE_4__.indexOfOpenTag; },
|
|
7070
7072
|
/* harmony export */ innerWidth: function() { return /* reexport safe */ _size_index_js__WEBPACK_IMPORTED_MODULE_6__.innerWidth; },
|
|
7071
7073
|
/* harmony export */ isAbortError: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isAbortError; },
|
|
7074
|
+
/* harmony export */ isAnchor: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isAnchor; },
|
|
7072
7075
|
/* harmony export */ isArray: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isArray; },
|
|
7073
7076
|
/* harmony export */ isAtom: function() { return /* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_8__.isAtom; },
|
|
7074
7077
|
/* harmony export */ isBoolean: function() { return /* reexport safe */ _checker_index_js__WEBPACK_IMPORTED_MODULE_2__.isBoolean; },
|
|
@@ -8349,6 +8352,42 @@ function alignElement(command, box) {
|
|
|
8349
8352
|
}
|
|
8350
8353
|
|
|
8351
8354
|
|
|
8355
|
+
/***/ }),
|
|
8356
|
+
|
|
8357
|
+
/***/ 70442:
|
|
8358
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8359
|
+
|
|
8360
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8361
|
+
/* harmony export */ getAnchorName: function() { return /* binding */ getAnchorName; },
|
|
8362
|
+
/* harmony export */ getAnchors: function() { return /* binding */ getAnchors; },
|
|
8363
|
+
/* harmony export */ isAnchor: function() { return /* binding */ isAnchor; }
|
|
8364
|
+
/* harmony export */ });
|
|
8365
|
+
/* harmony import */ var _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
|
|
8366
|
+
/* harmony import */ var _array_to_array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4510);
|
|
8367
|
+
/*!
|
|
8368
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
8369
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
8370
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
8371
|
+
*/
|
|
8372
|
+
|
|
8373
|
+
/**
|
|
8374
|
+
* The name a link reaches an anchor by: its `id`, or in older content its
|
|
8375
|
+
* `name`
|
|
8376
|
+
*/ function getAnchorName(anchor) {
|
|
8377
|
+
return anchor.id || anchor.getAttribute('name') || '';
|
|
8378
|
+
}
|
|
8379
|
+
/**
|
|
8380
|
+
* An anchor: an `<a>` with a name, no `href` and nothing in it
|
|
8381
|
+
*/ function isAnchor(node) {
|
|
8382
|
+
return _dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(node, 'a') && !node.hasAttribute('href') && !node.hasChildNodes() && getAnchorName(node) !== '';
|
|
8383
|
+
}
|
|
8384
|
+
/**
|
|
8385
|
+
* The anchors in `root`, in the order they come
|
|
8386
|
+
*/ function getAnchors(root) {
|
|
8387
|
+
return (0,_array_to_array_js__WEBPACK_IMPORTED_MODULE_1__.toArray)(root.querySelectorAll('a')).filter(isAnchor);
|
|
8388
|
+
}
|
|
8389
|
+
|
|
8390
|
+
|
|
8352
8391
|
/***/ }),
|
|
8353
8392
|
|
|
8354
8393
|
/***/ 63799:
|
|
@@ -9500,115 +9539,119 @@ const isPart = (node, part)=>_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTML
|
|
|
9500
9539
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9501
9540
|
|
|
9502
9541
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9503
|
-
/* harmony export */ $$: function() { return /* reexport safe */
|
|
9504
|
-
/* harmony export */ AnswerError: function() { return /* reexport safe */
|
|
9505
|
-
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */
|
|
9506
|
-
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */
|
|
9507
|
-
/* harmony export */ ConfigMerge: function() { return /* reexport safe */
|
|
9508
|
-
/* harmony export */ ConfigProto: function() { return /* reexport safe */
|
|
9509
|
-
/* harmony export */ ConnectionError: function() { return /* reexport safe */
|
|
9510
|
-
/* harmony export */ LimitedStack: function() { return /* reexport safe */
|
|
9511
|
-
/* harmony export */ OptionsError: function() { return /* reexport safe */
|
|
9512
|
-
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* reexport safe */
|
|
9513
|
-
/* harmony export */ abort: function() { return /* reexport safe */
|
|
9542
|
+
/* harmony export */ $$: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.$$; },
|
|
9543
|
+
/* harmony export */ AnswerError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.AnswerError; },
|
|
9544
|
+
/* harmony export */ ConfigDeepFlatten: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigDeepFlatten; },
|
|
9545
|
+
/* harmony export */ ConfigFlatten: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigFlatten; },
|
|
9546
|
+
/* harmony export */ ConfigMerge: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigMerge; },
|
|
9547
|
+
/* harmony export */ ConfigProto: function() { return /* reexport safe */ _config_proto_js__WEBPACK_IMPORTED_MODULE_8__.ConfigProto; },
|
|
9548
|
+
/* harmony export */ ConnectionError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.ConnectionError; },
|
|
9549
|
+
/* harmony export */ LimitedStack: function() { return /* reexport safe */ _stack_js__WEBPACK_IMPORTED_MODULE_30__.LimitedStack; },
|
|
9550
|
+
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.OptionsError; },
|
|
9551
|
+
/* harmony export */ UNSAFE_PROTO_KEYS: function() { return /* reexport safe */ _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_20__.UNSAFE_PROTO_KEYS; },
|
|
9552
|
+
/* harmony export */ abort: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.abort; },
|
|
9514
9553
|
/* harmony export */ alignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.alignElement; },
|
|
9515
|
-
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */
|
|
9516
|
-
/* harmony export */ answer: function() { return /* reexport safe */
|
|
9517
|
-
/* harmony export */ appendScriptAsync: function() { return /* reexport safe */
|
|
9518
|
-
/* harmony export */ appendStyleAsync: function() { return /* reexport safe */
|
|
9519
|
-
/* harmony export */ assert: function() { return /* reexport safe */
|
|
9520
|
-
/* harmony export */ attr: function() { return /* reexport safe */
|
|
9521
|
-
/* harmony export */ attrRaw: function() { return /* reexport safe */
|
|
9522
|
-
/* harmony export */ browser: function() { return /* reexport safe */
|
|
9523
|
-
/* harmony export */ buildQuery: function() { return /* reexport safe */
|
|
9524
|
-
/* harmony export */ call: function() { return /* reexport safe */
|
|
9525
|
-
/* harmony export */ callPromise: function() { return /* reexport safe */
|
|
9526
|
-
/* harmony export */ callThis: function() { return /* reexport safe */
|
|
9554
|
+
/* harmony export */ alreadyLoadedList: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.alreadyLoadedList; },
|
|
9555
|
+
/* harmony export */ answer: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.answer; },
|
|
9556
|
+
/* harmony export */ appendScriptAsync: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.appendScriptAsync; },
|
|
9557
|
+
/* harmony export */ appendStyleAsync: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.appendStyleAsync; },
|
|
9558
|
+
/* harmony export */ assert: function() { return /* reexport safe */ _assert_js__WEBPACK_IMPORTED_MODULE_3__.assert; },
|
|
9559
|
+
/* harmony export */ attr: function() { return /* reexport safe */ _attr_js__WEBPACK_IMPORTED_MODULE_4__.attr; },
|
|
9560
|
+
/* harmony export */ attrRaw: function() { return /* reexport safe */ _attr_js__WEBPACK_IMPORTED_MODULE_4__.attrRaw; },
|
|
9561
|
+
/* harmony export */ browser: function() { return /* reexport safe */ _browser_js__WEBPACK_IMPORTED_MODULE_5__.browser; },
|
|
9562
|
+
/* harmony export */ buildQuery: function() { return /* reexport safe */ _build_query_js__WEBPACK_IMPORTED_MODULE_6__.buildQuery; },
|
|
9563
|
+
/* harmony export */ call: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.call; },
|
|
9564
|
+
/* harmony export */ callPromise: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.callPromise; },
|
|
9565
|
+
/* harmony export */ callThis: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.callThis; },
|
|
9527
9566
|
/* harmony export */ clearAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.clearAlign; },
|
|
9528
|
-
/* harmony export */ clearCenterAlign: function() { return /* reexport safe */
|
|
9567
|
+
/* harmony export */ clearCenterAlign: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_10__.clearCenterAlign; },
|
|
9529
9568
|
/* harmony export */ clearHAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.clearHAlign; },
|
|
9530
|
-
/* harmony export */ cns: function() { return /* reexport safe */
|
|
9531
|
-
/* harmony export */ completeUrl: function() { return /* reexport safe */
|
|
9532
|
-
/* harmony export */ connection: function() { return /* reexport safe */
|
|
9533
|
-
/* harmony export */ convertMediaUrlToVideoEmbed: function() { return /* reexport safe */
|
|
9534
|
-
/* harmony export */ createMediaWrapper: function() { return /* reexport safe */
|
|
9535
|
-
/* harmony export */ css: function() { return /* reexport safe */
|
|
9536
|
-
/* harmony export */ cssInline: function() { return /* reexport safe */
|
|
9537
|
-
/* harmony export */ cssPath: function() { return /* reexport safe */
|
|
9538
|
-
/* harmony export */ ctrlKey: function() { return /* reexport safe */
|
|
9539
|
-
/* harmony export */ dataBind: function() { return /* reexport safe */
|
|
9540
|
-
/* harmony export */ defaultLanguage: function() { return /* reexport safe */
|
|
9541
|
-
/* harmony export */ error: function() { return /* reexport safe */
|
|
9542
|
-
/* harmony export */ fastClone: function() { return /* reexport safe */
|
|
9543
|
-
/* harmony export */ get: function() { return /* reexport safe */
|
|
9569
|
+
/* harmony export */ cns: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_21__.cns; },
|
|
9570
|
+
/* harmony export */ completeUrl: function() { return /* reexport safe */ _complete_url_js__WEBPACK_IMPORTED_MODULE_7__.completeUrl; },
|
|
9571
|
+
/* harmony export */ connection: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.connection; },
|
|
9572
|
+
/* harmony export */ convertMediaUrlToVideoEmbed: function() { return /* reexport safe */ _convert_media_url_to_video_embed_js__WEBPACK_IMPORTED_MODULE_9__.convertMediaUrlToVideoEmbed; },
|
|
9573
|
+
/* harmony export */ createMediaWrapper: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.createMediaWrapper; },
|
|
9574
|
+
/* harmony export */ css: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_10__.css; },
|
|
9575
|
+
/* harmony export */ cssInline: function() { return /* reexport safe */ _css_js__WEBPACK_IMPORTED_MODULE_10__.cssInline; },
|
|
9576
|
+
/* harmony export */ cssPath: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.cssPath; },
|
|
9577
|
+
/* harmony export */ ctrlKey: function() { return /* reexport safe */ _ctrl_key_js__WEBPACK_IMPORTED_MODULE_11__.ctrlKey; },
|
|
9578
|
+
/* harmony export */ dataBind: function() { return /* reexport safe */ _data_bind_js__WEBPACK_IMPORTED_MODULE_12__.dataBind; },
|
|
9579
|
+
/* harmony export */ defaultLanguage: function() { return /* reexport safe */ _default_language_js__WEBPACK_IMPORTED_MODULE_13__.defaultLanguage; },
|
|
9580
|
+
/* harmony export */ error: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.error; },
|
|
9581
|
+
/* harmony export */ fastClone: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_15__.fastClone; },
|
|
9582
|
+
/* harmony export */ get: function() { return /* reexport safe */ _get_js__WEBPACK_IMPORTED_MODULE_16__.get; },
|
|
9544
9583
|
/* harmony export */ getAlignClasses: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.getAlignClasses; },
|
|
9545
|
-
/* harmony export */
|
|
9546
|
-
/* harmony export */
|
|
9547
|
-
/* harmony export */
|
|
9548
|
-
/* harmony export */
|
|
9584
|
+
/* harmony export */ getAnchorName: function() { return /* reexport safe */ _anchor_js__WEBPACK_IMPORTED_MODULE_1__.getAnchorName; },
|
|
9585
|
+
/* harmony export */ getAnchors: function() { return /* reexport safe */ _anchor_js__WEBPACK_IMPORTED_MODULE_1__.getAnchors; },
|
|
9586
|
+
/* harmony export */ getCaptionWrapper: function() { return /* reexport safe */ _image_caption_js__WEBPACK_IMPORTED_MODULE_19__.getCaptionWrapper; },
|
|
9587
|
+
/* harmony export */ getCaptionedImage: function() { return /* reexport safe */ _image_caption_js__WEBPACK_IMPORTED_MODULE_19__.getCaptionedImage; },
|
|
9588
|
+
/* harmony export */ getClassName: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_17__.getClassName; },
|
|
9589
|
+
/* harmony export */ getDataTransfer: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.getDataTransfer; },
|
|
9549
9590
|
/* harmony export */ getHAlign: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.getHAlign; },
|
|
9550
|
-
/* harmony export */ getImageCaption: function() { return /* reexport safe */
|
|
9551
|
-
/* harmony export */ getMediaWrapper: function() { return /* reexport safe */
|
|
9552
|
-
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */
|
|
9553
|
-
/* harmony export */ getWrappedMedia: function() { return /* reexport safe */
|
|
9554
|
-
/* harmony export */ getXPathByElement: function() { return /* reexport safe */
|
|
9591
|
+
/* harmony export */ getImageCaption: function() { return /* reexport safe */ _image_caption_js__WEBPACK_IMPORTED_MODULE_19__.getImageCaption; },
|
|
9592
|
+
/* harmony export */ getMediaWrapper: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.getMediaWrapper; },
|
|
9593
|
+
/* harmony export */ getPropertyDescriptor: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.getPropertyDescriptor; },
|
|
9594
|
+
/* harmony export */ getWrappedMedia: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.getWrappedMedia; },
|
|
9595
|
+
/* harmony export */ getXPathByElement: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.getXPathByElement; },
|
|
9555
9596
|
/* harmony export */ hAlignElement: function() { return /* reexport safe */ _align_js__WEBPACK_IMPORTED_MODULE_0__.hAlignElement; },
|
|
9556
|
-
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */
|
|
9557
|
-
/* harmony export */ inView: function() { return /* reexport safe */
|
|
9558
|
-
/* harmony export */
|
|
9559
|
-
/* harmony export */
|
|
9560
|
-
/* harmony export */
|
|
9561
|
-
/* harmony export */
|
|
9562
|
-
/* harmony export */
|
|
9563
|
-
/* harmony export */
|
|
9564
|
-
/* harmony export */
|
|
9565
|
-
/* harmony export */
|
|
9566
|
-
/* harmony export */
|
|
9567
|
-
/* harmony export */
|
|
9568
|
-
/* harmony export */
|
|
9569
|
-
/* harmony export */
|
|
9570
|
-
/* harmony export */
|
|
9571
|
-
/* harmony export */
|
|
9572
|
-
/* harmony export */
|
|
9573
|
-
/* harmony export */
|
|
9574
|
-
/* harmony export */
|
|
9575
|
-
/* harmony export */
|
|
9576
|
-
/* harmony export */
|
|
9577
|
-
/* harmony export */
|
|
9578
|
-
/* harmony export */
|
|
9579
|
-
/* harmony export */
|
|
9597
|
+
/* harmony export */ humanSizeToBytes: function() { return /* reexport safe */ _human_size_to_bytes_js__WEBPACK_IMPORTED_MODULE_18__.humanSizeToBytes; },
|
|
9598
|
+
/* harmony export */ inView: function() { return /* reexport safe */ _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_27__.inView; },
|
|
9599
|
+
/* harmony export */ isAnchor: function() { return /* reexport safe */ _anchor_js__WEBPACK_IMPORTED_MODULE_1__.isAnchor; },
|
|
9600
|
+
/* harmony export */ isAtom: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_15__.isAtom; },
|
|
9601
|
+
/* harmony export */ isUnsafeProtoKey: function() { return /* reexport safe */ _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_20__.isUnsafeProtoKey; },
|
|
9602
|
+
/* harmony export */ keepNames: function() { return /* reexport safe */ _get_class_name_js__WEBPACK_IMPORTED_MODULE_17__.keepNames; },
|
|
9603
|
+
/* harmony export */ keys: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.keys; },
|
|
9604
|
+
/* harmony export */ loadImage: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.loadImage; },
|
|
9605
|
+
/* harmony export */ loadNext: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.loadNext; },
|
|
9606
|
+
/* harmony export */ loadNextStyle: function() { return /* reexport safe */ _append_script_js__WEBPACK_IMPORTED_MODULE_2__.loadNextStyle; },
|
|
9607
|
+
/* harmony export */ markAsAtomic: function() { return /* reexport safe */ _extend_js__WEBPACK_IMPORTED_MODULE_15__.markAsAtomic; },
|
|
9608
|
+
/* harmony export */ markDeprecated: function() { return /* reexport safe */ _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_21__.markDeprecated; },
|
|
9609
|
+
/* harmony export */ markOwner: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.markOwner; },
|
|
9610
|
+
/* harmony export */ memorizeExec: function() { return /* reexport safe */ _utils_js__WEBPACK_IMPORTED_MODULE_31__.memorizeExec; },
|
|
9611
|
+
/* harmony export */ options: function() { return /* reexport safe */ _error_index_js__WEBPACK_IMPORTED_MODULE_14__.options; },
|
|
9612
|
+
/* harmony export */ parseQuery: function() { return /* reexport safe */ _parse_query_js__WEBPACK_IMPORTED_MODULE_23__.parseQuery; },
|
|
9613
|
+
/* harmony export */ prepareEmbedCode: function() { return /* reexport safe */ _prepare_media_js__WEBPACK_IMPORTED_MODULE_24__.prepareEmbedCode; },
|
|
9614
|
+
/* harmony export */ prepareMedia: function() { return /* reexport safe */ _prepare_media_js__WEBPACK_IMPORTED_MODULE_24__.prepareMedia; },
|
|
9615
|
+
/* harmony export */ previewBox: function() { return /* reexport safe */ _print_js__WEBPACK_IMPORTED_MODULE_25__.previewBox; },
|
|
9616
|
+
/* harmony export */ refs: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.refs; },
|
|
9617
|
+
/* harmony export */ reset: function() { return /* reexport safe */ _reset_js__WEBPACK_IMPORTED_MODULE_26__.reset; },
|
|
9618
|
+
/* harmony export */ resolveElement: function() { return /* reexport safe */ _selector_js__WEBPACK_IMPORTED_MODULE_28__.resolveElement; },
|
|
9619
|
+
/* harmony export */ scrollIntoViewIfNeeded: function() { return /* reexport safe */ _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_27__.scrollIntoViewIfNeeded; },
|
|
9620
|
+
/* harmony export */ set: function() { return /* reexport safe */ _set_js__WEBPACK_IMPORTED_MODULE_29__.set; },
|
|
9621
|
+
/* harmony export */ wrapMedia: function() { return /* reexport safe */ _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__.wrapMedia; }
|
|
9580
9622
|
/* harmony export */ });
|
|
9581
9623
|
/* harmony import */ var _align_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25726);
|
|
9582
|
-
/* harmony import */ var
|
|
9583
|
-
/* harmony import */ var
|
|
9584
|
-
/* harmony import */ var
|
|
9585
|
-
/* harmony import */ var
|
|
9586
|
-
/* harmony import */ var
|
|
9587
|
-
/* harmony import */ var
|
|
9588
|
-
/* harmony import */ var
|
|
9589
|
-
/* harmony import */ var
|
|
9590
|
-
/* harmony import */ var
|
|
9591
|
-
/* harmony import */ var
|
|
9592
|
-
/* harmony import */ var
|
|
9593
|
-
/* harmony import */ var
|
|
9594
|
-
/* harmony import */ var
|
|
9595
|
-
/* harmony import */ var
|
|
9596
|
-
/* harmony import */ var
|
|
9597
|
-
/* harmony import */ var
|
|
9598
|
-
/* harmony import */ var
|
|
9599
|
-
/* harmony import */ var
|
|
9600
|
-
/* harmony import */ var
|
|
9601
|
-
/* harmony import */ var
|
|
9602
|
-
/* harmony import */ var
|
|
9603
|
-
/* harmony import */ var
|
|
9604
|
-
/* harmony import */ var
|
|
9605
|
-
/* harmony import */ var
|
|
9606
|
-
/* harmony import */ var
|
|
9607
|
-
/* harmony import */ var
|
|
9608
|
-
/* harmony import */ var
|
|
9609
|
-
/* harmony import */ var
|
|
9610
|
-
/* harmony import */ var
|
|
9611
|
-
/* harmony import */ var
|
|
9624
|
+
/* harmony import */ var _anchor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70442);
|
|
9625
|
+
/* harmony import */ var _append_script_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(63799);
|
|
9626
|
+
/* harmony import */ var _assert_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38837);
|
|
9627
|
+
/* harmony import */ var _attr_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29960);
|
|
9628
|
+
/* harmony import */ var _browser_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97639);
|
|
9629
|
+
/* harmony import */ var _build_query_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(44710);
|
|
9630
|
+
/* harmony import */ var _complete_url_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(66292);
|
|
9631
|
+
/* harmony import */ var _config_proto_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68934);
|
|
9632
|
+
/* harmony import */ var _convert_media_url_to_video_embed_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(55877);
|
|
9633
|
+
/* harmony import */ var _css_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(41180);
|
|
9634
|
+
/* harmony import */ var _ctrl_key_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(15456);
|
|
9635
|
+
/* harmony import */ var _data_bind_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(86583);
|
|
9636
|
+
/* harmony import */ var _default_language_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(96325);
|
|
9637
|
+
/* harmony import */ var _error_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(89890);
|
|
9638
|
+
/* harmony import */ var _extend_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(97735);
|
|
9639
|
+
/* harmony import */ var _get_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(94643);
|
|
9640
|
+
/* harmony import */ var _get_class_name_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(80568);
|
|
9641
|
+
/* harmony import */ var _human_size_to_bytes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(38420);
|
|
9642
|
+
/* harmony import */ var _image_caption_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(68645);
|
|
9643
|
+
/* harmony import */ var _is_unsafe_proto_key_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(69175);
|
|
9644
|
+
/* harmony import */ var _mark_deprecated_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(95942);
|
|
9645
|
+
/* harmony import */ var _media_wrapper_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(61477);
|
|
9646
|
+
/* harmony import */ var _parse_query_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(82501);
|
|
9647
|
+
/* harmony import */ var _prepare_media_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(96437);
|
|
9648
|
+
/* harmony import */ var _print_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(11628);
|
|
9649
|
+
/* harmony import */ var _reset_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(58844);
|
|
9650
|
+
/* harmony import */ var _scroll_into_view_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(26395);
|
|
9651
|
+
/* harmony import */ var _selector_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(76078);
|
|
9652
|
+
/* harmony import */ var _set_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(3703);
|
|
9653
|
+
/* harmony import */ var _stack_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(50535);
|
|
9654
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(37790);
|
|
9612
9655
|
/*!
|
|
9613
9656
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9614
9657
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9646,6 +9689,7 @@ const isPart = (node, part)=>_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTML
|
|
|
9646
9689
|
|
|
9647
9690
|
|
|
9648
9691
|
|
|
9692
|
+
|
|
9649
9693
|
|
|
9650
9694
|
|
|
9651
9695
|
/***/ }),
|
|
@@ -16579,6 +16623,8 @@ let UIInput = UIInput_1 = class UIInput extends _element_js__WEBPACK_IMPORTED_MO
|
|
|
16579
16623
|
if (label) {
|
|
16580
16624
|
_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.before(this.wrapper, this.label);
|
|
16581
16625
|
this.label.innerText = this.j.i18n(label);
|
|
16626
|
+
// The label is a span, so it names the input only this way
|
|
16627
|
+
(0,_helpers_utils_index_js__WEBPACK_IMPORTED_MODULE_3__.attr)(input, 'aria-label', this.j.i18n(label));
|
|
16582
16628
|
} else {
|
|
16583
16629
|
_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__.Dom.safeRemove(this.label);
|
|
16584
16630
|
}
|
|
@@ -18026,6 +18072,10 @@ let Popup = Popup_1 = class Popup extends _group_group_js__WEBPACK_IMPORTED_MODU
|
|
|
18026
18072
|
this.smart = smart;
|
|
18027
18073
|
this.isOpened = false;
|
|
18028
18074
|
this.strategy = 'leftBottom';
|
|
18075
|
+
/**
|
|
18076
|
+
* The popup stays open after one of its buttons runs: the button closes
|
|
18077
|
+
* only the lists it opened. See #1741
|
|
18078
|
+
*/ this.keepOpen = false;
|
|
18029
18079
|
this.viewBound = ()=>({
|
|
18030
18080
|
left: 0,
|
|
18031
18081
|
top: 0,
|
|
@@ -18746,6 +18796,7 @@ class CommitMode {
|
|
|
18746
18796
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(70231);
|
|
18747
18797
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6441);
|
|
18748
18798
|
/* harmony import */ var _modules_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(41409);
|
|
18799
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(2073);
|
|
18749
18800
|
/*!
|
|
18750
18801
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
18751
18802
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -18768,6 +18819,7 @@ var Jodit_1;
|
|
|
18768
18819
|
|
|
18769
18820
|
|
|
18770
18821
|
|
|
18822
|
+
|
|
18771
18823
|
const FOCUS_EVENTS = new Set([
|
|
18772
18824
|
'focus',
|
|
18773
18825
|
'blur',
|
|
@@ -19033,17 +19085,15 @@ let Jodit = Jodit_1 = class Jodit extends _modules_index_js__WEBPACK_IMPORTED_MO
|
|
|
19033
19085
|
theme: jodit.o.theme,
|
|
19034
19086
|
shadowRoot: jodit.o.shadowRoot,
|
|
19035
19087
|
defaultCallback (data) {
|
|
19036
|
-
|
|
19037
|
-
|
|
19038
|
-
|
|
19039
|
-
|
|
19040
|
-
|
|
19041
|
-
|
|
19042
|
-
}
|
|
19043
|
-
|
|
19044
|
-
|
|
19045
|
-
});
|
|
19046
|
-
}
|
|
19088
|
+
const { baseurl } = data;
|
|
19089
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_10__.getItems)(data).forEach(({ file, isImage })=>{
|
|
19090
|
+
const url = baseurl + file;
|
|
19091
|
+
if (isImage) {
|
|
19092
|
+
jodit.s.insertImage(url, null, jodit.o.imageDefaultWidth);
|
|
19093
|
+
} else {
|
|
19094
|
+
jodit.s.insertNode(jodit.createInside.fromHTML(`<a href='${url}' title='${url}'>${url}</a>`));
|
|
19095
|
+
}
|
|
19096
|
+
});
|
|
19047
19097
|
}
|
|
19048
19098
|
}, this.o.filebrowser);
|
|
19049
19099
|
return jodit.getInstance('FileBrowser', options);
|
|
@@ -20126,6 +20176,11 @@ function addClassNames(className, elm) {
|
|
|
20126
20176
|
'Insert file': 'ادخال الملف',
|
|
20127
20177
|
'Insert youtube/vimeo video': 'إدراج فيديو يوتيوب/فيميو ',
|
|
20128
20178
|
'Insert link': 'إدراج رابط',
|
|
20179
|
+
'Insert anchor': 'إدراج مرساة',
|
|
20180
|
+
'Link to an anchor': 'ربط بمرساة',
|
|
20181
|
+
'On this page': 'في هذه الصفحة',
|
|
20182
|
+
'The name cannot contain spaces': 'لا يمكن أن يحتوي الاسم على مسافات',
|
|
20183
|
+
'This name is already in use': 'هذا الاسم مستخدم بالفعل',
|
|
20129
20184
|
'Font size': 'حجم الخط',
|
|
20130
20185
|
'Font family': 'نوع الخط',
|
|
20131
20186
|
'Insert format block': 'إدراج كتلة تنسيق',
|
|
@@ -20368,6 +20423,11 @@ function addClassNames(className, elm) {
|
|
|
20368
20423
|
'Insert file': 'Fayl əlavə et',
|
|
20369
20424
|
'Insert youtube/vimeo video': 'Youtube/vimeo video əlavə et',
|
|
20370
20425
|
'Insert link': 'Keçid əlavə et',
|
|
20426
|
+
'Insert anchor': 'Lövbər əlavə et',
|
|
20427
|
+
'Link to an anchor': 'Lövbərə keçid',
|
|
20428
|
+
'On this page': 'Bu səhifədə',
|
|
20429
|
+
'The name cannot contain spaces': 'Adda boşluq ola bilməz',
|
|
20430
|
+
'This name is already in use': 'Bu ad artıq istifadə olunur',
|
|
20371
20431
|
'Font size': 'Şrift ölçüsü',
|
|
20372
20432
|
'Font family': 'Şrift ailəsi',
|
|
20373
20433
|
'Line height': 'Sətir hündürlüyü',
|
|
@@ -20595,7 +20655,7 @@ function addClassNames(className, elm) {
|
|
|
20595
20655
|
'For information about the license, please go to our website:': 'Pro informace o licenci, prosím, přejděte na naši stránku:',
|
|
20596
20656
|
'Buy full version': 'Koupit plnou verzi',
|
|
20597
20657
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.',
|
|
20598
|
-
Anchor: '
|
|
20658
|
+
Anchor: 'Kotva',
|
|
20599
20659
|
'Open in new tab': 'Otevřít v nové záložce',
|
|
20600
20660
|
'Open in fullsize': 'Otevřít v celoobrazovkovém režimu',
|
|
20601
20661
|
'Clear Formatting': 'Vyčistit formátování',
|
|
@@ -20615,6 +20675,11 @@ function addClassNames(className, elm) {
|
|
|
20615
20675
|
'Insert file': 'Vložit soubor',
|
|
20616
20676
|
'Insert youtube/vimeo video': 'Vložit video (YT/Vimeo)',
|
|
20617
20677
|
'Insert link': 'Vložit odkaz',
|
|
20678
|
+
'Insert anchor': 'Vložit kotvu',
|
|
20679
|
+
'Link to an anchor': 'Odkaz na kotvu',
|
|
20680
|
+
'On this page': 'Na této stránce',
|
|
20681
|
+
'The name cannot contain spaces': 'Název nesmí obsahovat mezery',
|
|
20682
|
+
'This name is already in use': 'Tento název se již používá',
|
|
20618
20683
|
'Font size': 'Velikost písma',
|
|
20619
20684
|
'Font family': 'Typ písma',
|
|
20620
20685
|
'Insert format block': 'Formátovat blok',
|
|
@@ -20854,6 +20919,11 @@ function addClassNames(className, elm) {
|
|
|
20854
20919
|
'Insert file': 'Datei einfügen',
|
|
20855
20920
|
'Insert youtube/vimeo video': 'Youtube/vimeo Video einfügen',
|
|
20856
20921
|
'Insert link': 'Link einfügen',
|
|
20922
|
+
'Insert anchor': 'Anker einfügen',
|
|
20923
|
+
'Link to an anchor': 'Mit einem Anker verlinken',
|
|
20924
|
+
'On this page': 'Auf dieser Seite',
|
|
20925
|
+
'The name cannot contain spaces': 'Der Name darf keine Leerzeichen enthalten',
|
|
20926
|
+
'This name is already in use': 'Dieser Name wird bereits verwendet',
|
|
20857
20927
|
'Font size': 'Schriftgröße',
|
|
20858
20928
|
'Font family': 'Schriftfamilie',
|
|
20859
20929
|
'Insert format block': 'Formatblock einfügen',
|
|
@@ -21094,7 +21164,7 @@ function addClassNames(className, elm) {
|
|
|
21094
21164
|
'For information about the license, please go to our website:': 'Para información sobre la licencia, por favor visite nuestro sitio:',
|
|
21095
21165
|
'Buy full version': 'Compre la versión completa',
|
|
21096
21166
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.',
|
|
21097
|
-
Anchor: '
|
|
21167
|
+
Anchor: 'Ancla',
|
|
21098
21168
|
'Open in new tab': 'Abrir en nueva pestaña',
|
|
21099
21169
|
'Open in fullsize': 'Abrir editor en pantalla completa',
|
|
21100
21170
|
'Clear Formatting': 'Limpiar formato',
|
|
@@ -21114,6 +21184,11 @@ function addClassNames(className, elm) {
|
|
|
21114
21184
|
'Insert file': 'Insertar archivo',
|
|
21115
21185
|
'Insert youtube/vimeo video': 'Insertar video de Youtube/vimeo',
|
|
21116
21186
|
'Insert link': 'Insertar vínculo',
|
|
21187
|
+
'Insert anchor': 'Insertar ancla',
|
|
21188
|
+
'Link to an anchor': 'Enlazar a un ancla',
|
|
21189
|
+
'On this page': 'En esta página',
|
|
21190
|
+
'The name cannot contain spaces': 'El nombre no puede contener espacios',
|
|
21191
|
+
'This name is already in use': 'Este nombre ya está en uso',
|
|
21117
21192
|
'Font size': 'Tamaño de letra',
|
|
21118
21193
|
'Font family': 'Familia de letra',
|
|
21119
21194
|
'Insert format block': 'Insertar bloque',
|
|
@@ -21337,7 +21412,7 @@ function addClassNames(className, elm) {
|
|
|
21337
21412
|
'For information about the license, please go to our website:': 'برای کسب اطلاعات در رابطه با لایسنس لطفا به وب سایت مراجعه کنید:',
|
|
21338
21413
|
'Buy full version': 'خرید نسخه کامل',
|
|
21339
21414
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.',
|
|
21340
|
-
Anchor: '
|
|
21415
|
+
Anchor: 'لنگر',
|
|
21341
21416
|
'Open in new tab': 'بازکردن در تب جدید',
|
|
21342
21417
|
'Open in fullsize': 'تمام صفحه کردن ویرایشگر',
|
|
21343
21418
|
'Clear Formatting': 'پاک کردن قالب ها',
|
|
@@ -21357,6 +21432,11 @@ function addClassNames(className, elm) {
|
|
|
21357
21432
|
'Insert file': 'افزودن فایل',
|
|
21358
21433
|
'Insert youtube/vimeo video': 'افزودن ویدیو از یوتیوب و وایمو',
|
|
21359
21434
|
'Insert link': 'افزودن لینک',
|
|
21435
|
+
'Insert anchor': 'افزودن لنگر',
|
|
21436
|
+
'Link to an anchor': 'پیوند به لنگر',
|
|
21437
|
+
'On this page': 'در این صفحه',
|
|
21438
|
+
'The name cannot contain spaces': 'نام نمیتواند فاصله داشته باشد',
|
|
21439
|
+
'This name is already in use': 'این نام قبلاً استفاده شده است',
|
|
21360
21440
|
'Font size': 'اندازه فونت',
|
|
21361
21441
|
'Font family': 'فونت',
|
|
21362
21442
|
'Insert format block': 'افزودن بلاک',
|
|
@@ -21595,6 +21675,11 @@ function addClassNames(className, elm) {
|
|
|
21595
21675
|
'Insert file': 'Lisää tiedosto',
|
|
21596
21676
|
'Insert youtube/vimeo video': 'Lisää Youtube-/vimeo- video',
|
|
21597
21677
|
'Insert link': 'Lisää linkki',
|
|
21678
|
+
'Insert anchor': 'Lisää ankkuri',
|
|
21679
|
+
'Link to an anchor': 'Linkitä ankkuriin',
|
|
21680
|
+
'On this page': 'Tällä sivulla',
|
|
21681
|
+
'The name cannot contain spaces': 'Nimessä ei voi olla välilyöntejä',
|
|
21682
|
+
'This name is already in use': 'Tämä nimi on jo käytössä',
|
|
21598
21683
|
'Font size': 'Kirjasimen koko',
|
|
21599
21684
|
'Font family': 'Kirjasimen nimi',
|
|
21600
21685
|
'Insert format block': 'Lisää muotoilualue',
|
|
@@ -21838,6 +21923,11 @@ function addClassNames(className, elm) {
|
|
|
21838
21923
|
'Insert file': 'Insérer un fichier',
|
|
21839
21924
|
'Insert youtube/vimeo video': 'Insérer une vidéo',
|
|
21840
21925
|
'Insert link': 'Insérer un lien',
|
|
21926
|
+
'Insert anchor': 'Insérer une ancre',
|
|
21927
|
+
'Link to an anchor': 'Lier à une ancre',
|
|
21928
|
+
'On this page': 'Sur cette page',
|
|
21929
|
+
'The name cannot contain spaces': "Le nom ne peut pas contenir d'espaces",
|
|
21930
|
+
'This name is already in use': 'Ce nom est déjà utilisé',
|
|
21841
21931
|
'Font size': 'Taille des caractères',
|
|
21842
21932
|
'Font family': 'Famille des caractères',
|
|
21843
21933
|
'Insert format block': 'Bloc formatté',
|
|
@@ -22057,7 +22147,7 @@ function addClassNames(className, elm) {
|
|
|
22057
22147
|
'For information about the license, please go to our website:': 'For information about the license, please go to our website:',
|
|
22058
22148
|
'Buy full version': 'Buy full version',
|
|
22059
22149
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.',
|
|
22060
|
-
Anchor: '
|
|
22150
|
+
Anchor: 'עוגן',
|
|
22061
22151
|
'Open in new tab': 'פתח בכרטיסיה חדשה',
|
|
22062
22152
|
'Open in fullsize': 'פתח את העורך בחלון חדש',
|
|
22063
22153
|
'Clear Formatting': 'נקה עיצוב',
|
|
@@ -22077,6 +22167,11 @@ function addClassNames(className, elm) {
|
|
|
22077
22167
|
'Insert file': 'הכנס קובץ',
|
|
22078
22168
|
'Insert youtube/vimeo video': 'הכנס סרטון וידאו מYouTube/Vimeo',
|
|
22079
22169
|
'Insert link': 'הכנס קישור',
|
|
22170
|
+
'Insert anchor': 'הכנס עוגן',
|
|
22171
|
+
'Link to an anchor': 'קישור לעוגן',
|
|
22172
|
+
'On this page': 'בדף זה',
|
|
22173
|
+
'The name cannot contain spaces': 'השם לא יכול להכיל רווחים',
|
|
22174
|
+
'This name is already in use': 'השם הזה כבר בשימוש',
|
|
22080
22175
|
'Font size': 'גודל גופן',
|
|
22081
22176
|
'Font family': 'גופן',
|
|
22082
22177
|
'Insert format block': 'מעוצב מראש',
|
|
@@ -22316,6 +22411,11 @@ function addClassNames(className, elm) {
|
|
|
22316
22411
|
'Insert file': 'Fájl beszúrás',
|
|
22317
22412
|
'Insert youtube/vimeo video': 'Youtube videó beszúrása',
|
|
22318
22413
|
'Insert link': 'Link beszúrás',
|
|
22414
|
+
'Insert anchor': 'Horgony beszúrás',
|
|
22415
|
+
'Link to an anchor': 'Hivatkozás horgonyra',
|
|
22416
|
+
'On this page': 'Ezen az oldalon',
|
|
22417
|
+
'The name cannot contain spaces': 'A név nem tartalmazhat szóközt',
|
|
22418
|
+
'This name is already in use': 'Ez a név már foglalt',
|
|
22319
22419
|
'Font size': 'Betűméret',
|
|
22320
22420
|
'Font family': 'Betűtípus',
|
|
22321
22421
|
'Insert format block': 'Formázott blokk beszúrása',
|
|
@@ -22535,7 +22635,7 @@ function addClassNames(className, elm) {
|
|
|
22535
22635
|
'For information about the license, please go to our website:': 'Untuk informasi tentang lisensi, silakan kunjungi website:',
|
|
22536
22636
|
'Buy full version': 'Beli versi lengkap',
|
|
22537
22637
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.',
|
|
22538
|
-
Anchor: '
|
|
22638
|
+
Anchor: 'Jangkar',
|
|
22539
22639
|
'Open in new tab': 'Buka di tab baru',
|
|
22540
22640
|
'Open in fullsize': 'Buka editor dalam ukuran penuh',
|
|
22541
22641
|
'Clear Formatting': 'Hapus Pemformatan',
|
|
@@ -22555,6 +22655,11 @@ function addClassNames(className, elm) {
|
|
|
22555
22655
|
'Insert file': 'Sisipkan Berkas',
|
|
22556
22656
|
'Insert youtube/vimeo video': 'Sisipkan video youtube/vimeo',
|
|
22557
22657
|
'Insert link': 'Sisipkan tautan',
|
|
22658
|
+
'Insert anchor': 'Sisipkan jangkar',
|
|
22659
|
+
'Link to an anchor': 'Tautkan ke jangkar',
|
|
22660
|
+
'On this page': 'Di halaman ini',
|
|
22661
|
+
'The name cannot contain spaces': 'Nama tidak boleh mengandung spasi',
|
|
22662
|
+
'This name is already in use': 'Nama ini sudah digunakan',
|
|
22558
22663
|
'Font size': 'Ukuran font',
|
|
22559
22664
|
'Font family': 'Keluarga font',
|
|
22560
22665
|
'Insert format block': 'Sisipkan blok format',
|
|
@@ -22774,7 +22879,7 @@ function addClassNames(className, elm) {
|
|
|
22774
22879
|
'For information about the license, please go to our website:': 'Per informazioni sulla licenza, si prega di visitare il nostro sito web:',
|
|
22775
22880
|
'Buy full version': 'Acquista la versione completa',
|
|
22776
22881
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.',
|
|
22777
|
-
Anchor: '
|
|
22882
|
+
Anchor: 'Ancora',
|
|
22778
22883
|
'Open in new tab': 'Apri in una nuova scheda',
|
|
22779
22884
|
'Open in fullsize': "Apri l'editor a schermo intero",
|
|
22780
22885
|
'Clear Formatting': 'Pulisci Formattazione',
|
|
@@ -22794,6 +22899,11 @@ function addClassNames(className, elm) {
|
|
|
22794
22899
|
'Insert file': 'Inserisci un file',
|
|
22795
22900
|
'Insert youtube/vimeo video': 'Inserisci video Youtube/Vimeo',
|
|
22796
22901
|
'Insert link': 'Inserisci link',
|
|
22902
|
+
'Insert anchor': 'Inserisci ancora',
|
|
22903
|
+
'Link to an anchor': "Collega a un'ancora",
|
|
22904
|
+
'On this page': 'In questa pagina',
|
|
22905
|
+
'The name cannot contain spaces': 'Il nome non può contenere spazi',
|
|
22906
|
+
'This name is already in use': 'Questo nome è già in uso',
|
|
22797
22907
|
'Font size': 'Dimensione carattere',
|
|
22798
22908
|
'Font family': 'Tipo di font',
|
|
22799
22909
|
'Insert format block': 'Inserisci blocco',
|
|
@@ -23017,7 +23127,7 @@ function addClassNames(className, elm) {
|
|
|
23017
23127
|
'For information about the license, please go to our website:': 'ライセンス詳細についてはJodit Webサイトを確認ください:',
|
|
23018
23128
|
'Buy full version': 'フルバージョンを購入',
|
|
23019
23129
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.',
|
|
23020
|
-
Anchor: '
|
|
23130
|
+
Anchor: 'アンカー',
|
|
23021
23131
|
'Open in new tab': '新しいタブで開く',
|
|
23022
23132
|
'Open in fullsize': 'エディターのサイズ(フル/ノーマル)',
|
|
23023
23133
|
'Clear Formatting': '書式をクリア',
|
|
@@ -23037,6 +23147,11 @@ function addClassNames(className, elm) {
|
|
|
23037
23147
|
'Insert file': 'ファイルを挿入',
|
|
23038
23148
|
'Insert youtube/vimeo video': 'Youtube/Vimeo 動画',
|
|
23039
23149
|
'Insert link': 'リンクを挿入',
|
|
23150
|
+
'Insert anchor': 'アンカーを挿入',
|
|
23151
|
+
'Link to an anchor': 'アンカーにリンク',
|
|
23152
|
+
'On this page': 'このページ内',
|
|
23153
|
+
'The name cannot contain spaces': '名前にスペースは使えません',
|
|
23154
|
+
'This name is already in use': 'この名前はすでに使われています',
|
|
23040
23155
|
'Font size': 'フォントサイズ',
|
|
23041
23156
|
'Font family': 'フォント',
|
|
23042
23157
|
'Insert format block': 'テキストのスタイル',
|
|
@@ -23271,7 +23386,7 @@ function addClassNames(className, elm) {
|
|
|
23271
23386
|
'For information about the license, please go to our website:': '라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:',
|
|
23272
23387
|
'Buy full version': '풀 버전 구입하기',
|
|
23273
23388
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': '© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.',
|
|
23274
|
-
Anchor: '
|
|
23389
|
+
Anchor: '앵커',
|
|
23275
23390
|
'Open in new tab': '새 탭에서 열기',
|
|
23276
23391
|
'Open in fullsize': '전체 크기로 보기',
|
|
23277
23392
|
'Clear Formatting': '서식 지우기',
|
|
@@ -23291,6 +23406,11 @@ function addClassNames(className, elm) {
|
|
|
23291
23406
|
'Insert file': '파일 넣기',
|
|
23292
23407
|
'Insert youtube/vimeo video': 'Youtube/Vimeo 동영상',
|
|
23293
23408
|
'Insert link': '링크 넣기',
|
|
23409
|
+
'Insert anchor': '앵커 넣기',
|
|
23410
|
+
'Link to an anchor': '앵커에 연결',
|
|
23411
|
+
'On this page': '이 페이지에서',
|
|
23412
|
+
'The name cannot contain spaces': '이름에 공백을 넣을 수 없습니다',
|
|
23413
|
+
'This name is already in use': '이미 사용 중인 이름입니다',
|
|
23294
23414
|
'Font size': '글꼴 크기',
|
|
23295
23415
|
'Font family': '글꼴',
|
|
23296
23416
|
'Insert format block': '블록 요소 넣기',
|
|
@@ -23509,7 +23629,7 @@ function addClassNames(className, elm) {
|
|
|
23509
23629
|
'For information about the license, please go to our website:': 'Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:',
|
|
23510
23630
|
'Buy full version': 'Бүрэн хувилбар худалдан авах',
|
|
23511
23631
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.',
|
|
23512
|
-
Anchor: '
|
|
23632
|
+
Anchor: 'Зангуу',
|
|
23513
23633
|
'Open in new tab': 'Шинэ табаар нээх',
|
|
23514
23634
|
'Open in fullsize': 'Бүтэн дэлгэцээр нээх',
|
|
23515
23635
|
'Clear Formatting': 'Форматыг арилгах',
|
|
@@ -23529,6 +23649,11 @@ function addClassNames(className, elm) {
|
|
|
23529
23649
|
'Insert file': 'Файл нэмэх',
|
|
23530
23650
|
'Insert youtube/vimeo video': 'Youtube/Vimeo видео нэмэх',
|
|
23531
23651
|
'Insert link': 'Холбоос нэмэх',
|
|
23652
|
+
'Insert anchor': 'Зангуу нэмэх',
|
|
23653
|
+
'Link to an anchor': 'Зангуу руу холбох',
|
|
23654
|
+
'On this page': 'Энэ хуудсанд',
|
|
23655
|
+
'The name cannot contain spaces': 'Нэрэнд хоосон зай байж болохгүй',
|
|
23656
|
+
'This name is already in use': 'Энэ нэр аль хэдийн ашиглагдаж байна',
|
|
23532
23657
|
'Font size': 'Фонтын хэмжээ',
|
|
23533
23658
|
'Font family': 'Фонтын бүл',
|
|
23534
23659
|
'Insert format block': 'Блок нэмэх',
|
|
@@ -23768,6 +23893,11 @@ function addClassNames(className, elm) {
|
|
|
23768
23893
|
'Insert file': 'Bestand invoegen',
|
|
23769
23894
|
'Insert youtube/vimeo video': 'Youtube/Vimeo video invoegen',
|
|
23770
23895
|
'Insert link': 'Link toevoegen',
|
|
23896
|
+
'Insert anchor': 'Anker toevoegen',
|
|
23897
|
+
'Link to an anchor': 'Naar een anker linken',
|
|
23898
|
+
'On this page': 'Op deze pagina',
|
|
23899
|
+
'The name cannot contain spaces': 'De naam mag geen spaties bevatten',
|
|
23900
|
+
'This name is already in use': 'Deze naam is al in gebruik',
|
|
23771
23901
|
'Font size': 'Tekstgrootte',
|
|
23772
23902
|
'Font family': 'Lettertype',
|
|
23773
23903
|
'Insert format block': 'Format blok invoegen',
|
|
@@ -24005,6 +24135,11 @@ function addClassNames(className, elm) {
|
|
|
24005
24135
|
'Insert file': 'Sett inn fil',
|
|
24006
24136
|
'Insert youtube/vimeo video': 'Sett inn YouTube/Vimeo-video',
|
|
24007
24137
|
'Insert link': 'Sett inn lenke',
|
|
24138
|
+
'Insert anchor': 'Sett inn anker',
|
|
24139
|
+
'Link to an anchor': 'Lenke til et anker',
|
|
24140
|
+
'On this page': 'På denne siden',
|
|
24141
|
+
'The name cannot contain spaces': 'Navnet kan ikke inneholde mellomrom',
|
|
24142
|
+
'This name is already in use': 'Dette navnet er allerede i bruk',
|
|
24008
24143
|
'Font size': 'Skriftstørrelse',
|
|
24009
24144
|
'Font family': 'Skriftfamilie',
|
|
24010
24145
|
'Insert format block': 'Sett inn formateringsblokk',
|
|
@@ -24253,6 +24388,11 @@ function addClassNames(className, elm) {
|
|
|
24253
24388
|
'Insert file': 'Wstaw plik',
|
|
24254
24389
|
'Insert youtube/vimeo video': 'Wstaw film Youtube/vimeo',
|
|
24255
24390
|
'Insert link': 'Wstaw link',
|
|
24391
|
+
'Insert anchor': 'Wstaw kotwicę',
|
|
24392
|
+
'Link to an anchor': 'Link do kotwicy',
|
|
24393
|
+
'On this page': 'Na tej stronie',
|
|
24394
|
+
'The name cannot contain spaces': 'Nazwa nie może zawierać spacji',
|
|
24395
|
+
'This name is already in use': 'Ta nazwa jest już używana',
|
|
24256
24396
|
'Font size': 'Rozmiar tekstu',
|
|
24257
24397
|
'Font family': 'Krój czcionki',
|
|
24258
24398
|
'Insert format block': 'Wstaw formatowanie',
|
|
@@ -24471,7 +24611,7 @@ function addClassNames(className, elm) {
|
|
|
24471
24611
|
'For information about the license, please go to our website:': 'Para informação sobre a licença, por favor visite nosso site:',
|
|
24472
24612
|
'Buy full version': 'Compre a versão completa',
|
|
24473
24613
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.',
|
|
24474
|
-
Anchor: '
|
|
24614
|
+
Anchor: 'Âncora',
|
|
24475
24615
|
'Open in new tab': 'Abrir em nova aba',
|
|
24476
24616
|
'Open in fullsize': 'Abrir editor em tela cheia',
|
|
24477
24617
|
'Clear Formatting': 'Limpar formatação',
|
|
@@ -24491,6 +24631,11 @@ function addClassNames(className, elm) {
|
|
|
24491
24631
|
'Insert file': 'Inserir arquivo',
|
|
24492
24632
|
'Insert youtube/vimeo video': 'Inserir vídeo do Youtube/vimeo',
|
|
24493
24633
|
'Insert link': 'Inserir link',
|
|
24634
|
+
'Insert anchor': 'Inserir âncora',
|
|
24635
|
+
'Link to an anchor': 'Vincular a uma âncora',
|
|
24636
|
+
'On this page': 'Nesta página',
|
|
24637
|
+
'The name cannot contain spaces': 'O nome não pode conter espaços',
|
|
24638
|
+
'This name is already in use': 'Este nome já está em uso',
|
|
24494
24639
|
'Font size': 'Tamanho da letra',
|
|
24495
24640
|
'Font family': 'Fonte',
|
|
24496
24641
|
'Insert format block': 'Inserir bloco',
|
|
@@ -24713,7 +24858,7 @@ function addClassNames(className, elm) {
|
|
|
24713
24858
|
'For information about the license, please go to our website:': 'Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:',
|
|
24714
24859
|
'Buy full version': 'Купить полную версию',
|
|
24715
24860
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.',
|
|
24716
|
-
Anchor: '
|
|
24861
|
+
Anchor: 'Якорь',
|
|
24717
24862
|
'Open in new tab': 'Открывать ссылку в новой вкладке',
|
|
24718
24863
|
'Open in fullsize': 'Открыть редактор в полном размере',
|
|
24719
24864
|
'Clear Formatting': 'Очистить форматирование',
|
|
@@ -24733,6 +24878,11 @@ function addClassNames(className, elm) {
|
|
|
24733
24878
|
'Insert file': 'Вставить файл',
|
|
24734
24879
|
'Insert youtube/vimeo video': 'Вставьте видео',
|
|
24735
24880
|
'Insert link': 'Вставить ссылку',
|
|
24881
|
+
'Insert anchor': 'Вставить якорь',
|
|
24882
|
+
'Link to an anchor': 'Ссылка на якорь',
|
|
24883
|
+
'On this page': 'На этой странице',
|
|
24884
|
+
'The name cannot contain spaces': 'Имя не может содержать пробелы',
|
|
24885
|
+
'This name is already in use': 'Это имя уже используется',
|
|
24736
24886
|
'Font size': 'Размер шрифта',
|
|
24737
24887
|
'Font family': 'Шрифт',
|
|
24738
24888
|
'Insert format block': 'Вставить блочный элемент',
|
|
@@ -24971,6 +25121,11 @@ function addClassNames(className, elm) {
|
|
|
24971
25121
|
'Insert file': 'Vložiť súbor',
|
|
24972
25122
|
'Insert youtube/vimeo video': 'Vložiť video YouTube/Vimeo',
|
|
24973
25123
|
'Insert link': 'Vložiť odkaz',
|
|
25124
|
+
'Insert anchor': 'Vložiť kotvu',
|
|
25125
|
+
'Link to an anchor': 'Odkaz na kotvu',
|
|
25126
|
+
'On this page': 'Na tejto stránke',
|
|
25127
|
+
'The name cannot contain spaces': 'Názov nesmie obsahovať medzery',
|
|
25128
|
+
'This name is already in use': 'Tento názov sa už používa',
|
|
24974
25129
|
'Font size': 'Veľkosť písma',
|
|
24975
25130
|
'Font family': 'Typ písma',
|
|
24976
25131
|
'Insert format block': 'Vložiť formátovaný blok',
|
|
@@ -25215,6 +25370,11 @@ function addClassNames(className, elm) {
|
|
|
25215
25370
|
'Insert file': 'Infoga fil',
|
|
25216
25371
|
'Insert youtube/vimeo video': 'Infoga YouTube/Vimeo-video',
|
|
25217
25372
|
'Insert link': 'Infoga länk',
|
|
25373
|
+
'Insert anchor': 'Infoga ankare',
|
|
25374
|
+
'Link to an anchor': 'Länka till ett ankare',
|
|
25375
|
+
'On this page': 'På den här sidan',
|
|
25376
|
+
'The name cannot contain spaces': 'Namnet får inte innehålla mellanslag',
|
|
25377
|
+
'This name is already in use': 'Det här namnet används redan',
|
|
25218
25378
|
'Font size': 'Teckenstorlek',
|
|
25219
25379
|
'Font family': 'Teckensnitt',
|
|
25220
25380
|
'Insert format block': 'Infoga formateringsblock',
|
|
@@ -25442,7 +25602,7 @@ function addClassNames(className, elm) {
|
|
|
25442
25602
|
'For information about the license, please go to our website:': 'Lisans hakkında bilgi için lütfen web sitemize gidin:',
|
|
25443
25603
|
'Buy full version': 'Tam versiyonunu satın al',
|
|
25444
25604
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.',
|
|
25445
|
-
Anchor: '
|
|
25605
|
+
Anchor: 'Çapa',
|
|
25446
25606
|
'Open in new tab': 'Yeni sekmede aç',
|
|
25447
25607
|
'Open in fullsize': 'Editörü tam ekranda aç',
|
|
25448
25608
|
'Clear Formatting': 'Stili temizle',
|
|
@@ -25462,6 +25622,11 @@ function addClassNames(className, elm) {
|
|
|
25462
25622
|
'Insert file': 'Dosya Ekle',
|
|
25463
25623
|
'Insert youtube/vimeo video': 'Youtube/Vimeo Videosu Ekle',
|
|
25464
25624
|
'Insert link': 'Bağlantı Ekle',
|
|
25625
|
+
'Insert anchor': 'Çapa Ekle',
|
|
25626
|
+
'Link to an anchor': 'Çapaya bağlantı',
|
|
25627
|
+
'On this page': 'Bu sayfada',
|
|
25628
|
+
'The name cannot contain spaces': 'Ad boşluk içeremez',
|
|
25629
|
+
'This name is already in use': 'Bu ad zaten kullanılıyor',
|
|
25465
25630
|
'Font size': 'Font Boyutu',
|
|
25466
25631
|
'Font family': 'Font Ailesi',
|
|
25467
25632
|
'Insert format block': 'Blok Ekle',
|
|
@@ -25679,7 +25844,7 @@ function addClassNames(className, elm) {
|
|
|
25679
25844
|
'For information about the license, please go to our website:': 'Щоб дізнатись більше про ліцензію , будь ласка, перейдіть на наш сайт:',
|
|
25680
25845
|
'Buy full version': 'Купити повну версію',
|
|
25681
25846
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Авторські права © XDSoft.net - Чупурнов Валерій. Всі права захищені.',
|
|
25682
|
-
Anchor: '
|
|
25847
|
+
Anchor: 'Якір',
|
|
25683
25848
|
'Open in new tab': 'Відкрити у новій вкладці',
|
|
25684
25849
|
'Open in fullsize': 'Відкрити редактор в повному розмірі',
|
|
25685
25850
|
'Clear Formatting': 'Очистити форматування',
|
|
@@ -25699,6 +25864,11 @@ function addClassNames(className, elm) {
|
|
|
25699
25864
|
'Insert file': 'Вставити файл',
|
|
25700
25865
|
'Insert youtube/vimeo video': 'Вставити відео',
|
|
25701
25866
|
'Insert link': 'Вставити посилання',
|
|
25867
|
+
'Insert anchor': 'Вставити якір',
|
|
25868
|
+
'Link to an anchor': 'Посилання на якір',
|
|
25869
|
+
'On this page': 'На цій сторінці',
|
|
25870
|
+
'The name cannot contain spaces': "Ім'я не може містити пробілів",
|
|
25871
|
+
'This name is already in use': "Це ім'я вже використовується",
|
|
25702
25872
|
'Font size': 'Розмір шрифту',
|
|
25703
25873
|
'Font family': 'Шрифт',
|
|
25704
25874
|
'Insert format block': 'Вставити блочний елемент',
|
|
@@ -25918,7 +26088,7 @@ function addClassNames(className, elm) {
|
|
|
25918
26088
|
'For information about the license, please go to our website:': '有关许可证的信息,请访问我们的网站:',
|
|
25919
26089
|
'Buy full version': '购买完整版本',
|
|
25920
26090
|
'Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.': 'Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有',
|
|
25921
|
-
Anchor: '
|
|
26091
|
+
Anchor: '锚点',
|
|
25922
26092
|
'Open in new tab': '在新窗口打开',
|
|
25923
26093
|
'Open in fullsize': '全屏编辑',
|
|
25924
26094
|
'Clear Formatting': '清除样式',
|
|
@@ -25938,6 +26108,11 @@ function addClassNames(className, elm) {
|
|
|
25938
26108
|
'Insert file': '文件',
|
|
25939
26109
|
'Insert youtube/vimeo video': '视频',
|
|
25940
26110
|
'Insert link': '链接',
|
|
26111
|
+
'Insert anchor': '插入锚点',
|
|
26112
|
+
'Link to an anchor': '链接到锚点',
|
|
26113
|
+
'On this page': '在本页',
|
|
26114
|
+
'The name cannot contain spaces': '名称不能包含空格',
|
|
26115
|
+
'This name is already in use': '此名称已被使用',
|
|
25941
26116
|
'Font size': '字号',
|
|
25942
26117
|
'Font family': '字体',
|
|
25943
26118
|
'Insert format block': '格式块',
|
|
@@ -26176,6 +26351,11 @@ function addClassNames(className, elm) {
|
|
|
26176
26351
|
'Insert file': '檔案',
|
|
26177
26352
|
'Insert youtube/vimeo video': '插入 youtube/vimeo 影片',
|
|
26178
26353
|
'Insert link': '插入連結',
|
|
26354
|
+
'Insert anchor': '插入錨點',
|
|
26355
|
+
'Link to an anchor': '連結到錨點',
|
|
26356
|
+
'On this page': '在本頁',
|
|
26357
|
+
'The name cannot contain spaces': '名稱不能包含空格',
|
|
26358
|
+
'This name is already in use': '此名稱已被使用',
|
|
26179
26359
|
'Font size': '文字大小',
|
|
26180
26360
|
'Font family': '字型',
|
|
26181
26361
|
'Insert format block': '格式化區塊',
|
|
@@ -28768,15 +28948,16 @@ function makeContextMenu(parent) {
|
|
|
28768
28948
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(70231);
|
|
28769
28949
|
/* harmony import */ var _core_view_view_with_toolbar_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84075);
|
|
28770
28950
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(6441);
|
|
28771
|
-
/* harmony import */ var
|
|
28772
|
-
/* harmony import */ var
|
|
28773
|
-
/* harmony import */ var
|
|
28774
|
-
/* harmony import */ var
|
|
28775
|
-
/* harmony import */ var
|
|
28776
|
-
/* harmony import */ var
|
|
28777
|
-
/* harmony import */ var
|
|
28778
|
-
/* harmony import */ var
|
|
28779
|
-
/* harmony import */ var
|
|
28951
|
+
/* harmony import */ var _uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(2073);
|
|
28952
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(61251);
|
|
28953
|
+
/* harmony import */ var _fetch_load_items_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(30465);
|
|
28954
|
+
/* harmony import */ var _fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(20201);
|
|
28955
|
+
/* harmony import */ var _listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(73948);
|
|
28956
|
+
/* harmony import */ var _listeners_self_listeners_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(33281);
|
|
28957
|
+
/* harmony import */ var _listeners_state_listeners_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(94538);
|
|
28958
|
+
/* harmony import */ var _data_provider_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(11787);
|
|
28959
|
+
/* harmony import */ var _factories_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(63399);
|
|
28960
|
+
/* harmony import */ var _ui_index_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(8172);
|
|
28780
28961
|
/*!
|
|
28781
28962
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28782
28963
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28807,6 +28988,7 @@ function makeContextMenu(parent) {
|
|
|
28807
28988
|
|
|
28808
28989
|
|
|
28809
28990
|
|
|
28991
|
+
|
|
28810
28992
|
|
|
28811
28993
|
|
|
28812
28994
|
let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEBPACK_IMPORTED_MODULE_10__.ViewWithToolbar {
|
|
@@ -28814,26 +28996,26 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
28814
28996
|
return 'FileBrowser';
|
|
28815
28997
|
}
|
|
28816
28998
|
get dataProvider() {
|
|
28817
|
-
return (0,
|
|
28999
|
+
return (0,_factories_js__WEBPACK_IMPORTED_MODULE_20__.makeDataProvider)(this, this.options);
|
|
28818
29000
|
}
|
|
28819
29001
|
onSelect(callback) {
|
|
28820
29002
|
return ()=>{
|
|
28821
29003
|
if (this.state.activeElements.length) {
|
|
28822
|
-
const
|
|
28823
|
-
const isImages = [];
|
|
29004
|
+
const items = [];
|
|
28824
29005
|
this.state.activeElements.forEach((elm)=>{
|
|
28825
29006
|
const url = elm.fileURL;
|
|
28826
29007
|
if (url) {
|
|
28827
|
-
|
|
28828
|
-
|
|
29008
|
+
items.push({
|
|
29009
|
+
file: url,
|
|
29010
|
+
isImage: elm.isImage || false
|
|
29011
|
+
});
|
|
28829
29012
|
}
|
|
28830
29013
|
});
|
|
28831
29014
|
this.close();
|
|
28832
|
-
const data = {
|
|
29015
|
+
const data = (0,_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_12__.normalizeUploaderData)({
|
|
28833
29016
|
baseurl: '',
|
|
28834
|
-
|
|
28835
|
-
|
|
28836
|
-
};
|
|
29017
|
+
items
|
|
29018
|
+
});
|
|
28837
29019
|
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.isFunction)(callback)) {
|
|
28838
29020
|
callback(data);
|
|
28839
29021
|
}
|
|
@@ -28899,10 +29081,9 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
28899
29081
|
* ```javascript
|
|
28900
29082
|
* var fb = new Jodit.modules.FileBrowser(parent);
|
|
28901
29083
|
* fb.open(function (data) {
|
|
28902
|
-
*
|
|
28903
|
-
*
|
|
28904
|
-
*
|
|
28905
|
-
* }
|
|
29084
|
+
* data.items.forEach(function (item) {
|
|
29085
|
+
* parent.s.insertImage(data.baseurl + item.file);
|
|
29086
|
+
* });
|
|
28906
29087
|
* });
|
|
28907
29088
|
* ```
|
|
28908
29089
|
*/ open(callback = this.o.defaultCallback, onlyImages = false) {
|
|
@@ -28925,7 +29106,7 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
28925
29106
|
this.__updateToolbarButtons();
|
|
28926
29107
|
this._dialog.open(this.browser, header);
|
|
28927
29108
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
28928
|
-
(0,
|
|
29109
|
+
(0,_fetch_load_tree_js__WEBPACK_IMPORTED_MODULE_15__.loadTree)(this).then(resolve, reject).finally(()=>{
|
|
28929
29110
|
var _a;
|
|
28930
29111
|
if (this.isInDestruct) {
|
|
28931
29112
|
return;
|
|
@@ -28959,7 +29140,7 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
28959
29140
|
initUploader(editor) {
|
|
28960
29141
|
var _a;
|
|
28961
29142
|
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);
|
|
28962
|
-
const uploadHandler = ()=>(0,
|
|
29143
|
+
const uploadHandler = ()=>(0,_fetch_load_items_js__WEBPACK_IMPORTED_MODULE_14__.loadItems)(this);
|
|
28963
29144
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
28964
29145
|
self.uploader.setPath(self.state.currentPath).setSource(self.state.currentSource).bind(self.browser, uploadHandler, self.errorHandler);
|
|
28965
29146
|
this.state.on([
|
|
@@ -28995,11 +29176,11 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
28995
29176
|
super(options);
|
|
28996
29177
|
this.browser = this.c.div(this.componentName);
|
|
28997
29178
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
28998
|
-
this.tree = new
|
|
28999
|
-
this.files = new
|
|
29179
|
+
this.tree = new _ui_index_js__WEBPACK_IMPORTED_MODULE_21__.FileBrowserTree(this);
|
|
29180
|
+
this.files = new _ui_index_js__WEBPACK_IMPORTED_MODULE_21__.FileBrowserFiles(this);
|
|
29000
29181
|
this.state = (0,_core_event_emitter_index_js__WEBPACK_IMPORTED_MODULE_5__.observable)({
|
|
29001
29182
|
currentPath: '',
|
|
29002
|
-
currentSource:
|
|
29183
|
+
currentSource: _data_provider_js__WEBPACK_IMPORTED_MODULE_19__.DEFAULT_SOURCE_NAME,
|
|
29003
29184
|
currentBaseUrl: '',
|
|
29004
29185
|
activeElements: [],
|
|
29005
29186
|
elements: [],
|
|
@@ -29035,9 +29216,9 @@ let FileBrowser = class FileBrowser extends _core_view_view_with_toolbar_js__WEB
|
|
|
29035
29216
|
}
|
|
29036
29217
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.append(self.browser, self.files.container);
|
|
29037
29218
|
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_4__.Dom.append(self.browser, self.status_line);
|
|
29038
|
-
|
|
29039
|
-
|
|
29040
|
-
|
|
29219
|
+
_listeners_self_listeners_js__WEBPACK_IMPORTED_MODULE_17__.selfListeners.call(self);
|
|
29220
|
+
_listeners_native_listeners_js__WEBPACK_IMPORTED_MODULE_16__.nativeListeners.call(self);
|
|
29221
|
+
_listeners_state_listeners_js__WEBPACK_IMPORTED_MODULE_18__.stateListeners.call(self);
|
|
29041
29222
|
const keys = [
|
|
29042
29223
|
'getLocalFileByUrl',
|
|
29043
29224
|
'crop',
|
|
@@ -32038,29 +32219,30 @@ const instance = (j)=>j.getInstance('Table', j.o);
|
|
|
32038
32219
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
32039
32220
|
/* harmony export */ ToolbarButton: function() { return /* binding */ ToolbarButton; }
|
|
32040
32221
|
/* harmony export */ });
|
|
32041
|
-
/* harmony import */ var
|
|
32042
|
-
/* harmony import */ var
|
|
32043
|
-
/* harmony import */ var
|
|
32044
|
-
/* harmony import */ var
|
|
32045
|
-
/* harmony import */ var
|
|
32046
|
-
/* harmony import */ var
|
|
32047
|
-
/* harmony import */ var
|
|
32048
|
-
/* harmony import */ var
|
|
32049
|
-
/* harmony import */ var
|
|
32050
|
-
/* harmony import */ var
|
|
32051
|
-
/* harmony import */ var
|
|
32052
|
-
/* harmony import */ var
|
|
32053
|
-
/* harmony import */ var
|
|
32054
|
-
/* harmony import */ var
|
|
32055
|
-
/* harmony import */ var
|
|
32056
|
-
/* harmony import */ var
|
|
32057
|
-
/* harmony import */ var
|
|
32058
|
-
/* harmony import */ var
|
|
32059
|
-
/* harmony import */ var
|
|
32060
|
-
/* harmony import */ var
|
|
32061
|
-
/* harmony import */ var
|
|
32062
|
-
/* harmony import */ var
|
|
32063
|
-
/* harmony import */ var
|
|
32222
|
+
/* harmony import */ var _core_component_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4012);
|
|
32223
|
+
/* harmony import */ var _core_component_statuses_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78213);
|
|
32224
|
+
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(82758);
|
|
32225
|
+
/* harmony import */ var _core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(45219);
|
|
32226
|
+
/* harmony import */ var _core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(33433);
|
|
32227
|
+
/* harmony import */ var _core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(87325);
|
|
32228
|
+
/* harmony import */ var _core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(37133);
|
|
32229
|
+
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2748);
|
|
32230
|
+
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(68345);
|
|
32231
|
+
/* harmony import */ var _core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23282);
|
|
32232
|
+
/* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(19306);
|
|
32233
|
+
/* harmony import */ var _core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(72430);
|
|
32234
|
+
/* harmony import */ var _core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(70799);
|
|
32235
|
+
/* harmony import */ var _core_helpers_size_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(56175);
|
|
32236
|
+
/* harmony import */ var _core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(87058);
|
|
32237
|
+
/* harmony import */ var _core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(38837);
|
|
32238
|
+
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(29960);
|
|
32239
|
+
/* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(37790);
|
|
32240
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(62843);
|
|
32241
|
+
/* harmony import */ var _core_ui_helpers_focus_form_field_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(20014);
|
|
32242
|
+
/* harmony import */ var _core_ui_helpers_get_control_type_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(72157);
|
|
32243
|
+
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(12153);
|
|
32244
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(56917);
|
|
32245
|
+
/* harmony import */ var _factory_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(21491);
|
|
32064
32246
|
/*!
|
|
32065
32247
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32066
32248
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32071,6 +32253,8 @@ const instance = (j)=>j.getInstance('Table', j.o);
|
|
|
32071
32253
|
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;
|
|
32072
32254
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
32073
32255
|
};
|
|
32256
|
+
var ToolbarButton_1;
|
|
32257
|
+
|
|
32074
32258
|
|
|
32075
32259
|
|
|
32076
32260
|
|
|
@@ -32108,7 +32292,7 @@ const FOCUSABLE_SELECTOR = [
|
|
|
32108
32292
|
'textarea:not([disabled])',
|
|
32109
32293
|
'[tabindex]:not([tabindex="-1"])'
|
|
32110
32294
|
].join(',');
|
|
32111
|
-
let ToolbarButton = class ToolbarButton extends
|
|
32295
|
+
let ToolbarButton = ToolbarButton_1 = class ToolbarButton extends _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButton {
|
|
32112
32296
|
className() {
|
|
32113
32297
|
return 'ToolbarButton';
|
|
32114
32298
|
}
|
|
@@ -32119,13 +32303,13 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32119
32303
|
super.updateAriaLabel();
|
|
32120
32304
|
if (this.trigger) {
|
|
32121
32305
|
const i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
|
|
32122
|
-
(0,
|
|
32306
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-label', i8nTooltip);
|
|
32123
32307
|
}
|
|
32124
32308
|
}
|
|
32125
32309
|
/**
|
|
32126
32310
|
* Get parent toolbar
|
|
32127
32311
|
*/ get toolbar() {
|
|
32128
|
-
const ToolbarCollection = (0,
|
|
32312
|
+
const ToolbarCollection = (0,_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__.getComponentClass)('ToolbarCollection');
|
|
32129
32313
|
return this.closest(ToolbarCollection);
|
|
32130
32314
|
}
|
|
32131
32315
|
update() {
|
|
@@ -32147,7 +32331,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32147
32331
|
* Calculates whether the button is active
|
|
32148
32332
|
*/ __calculateActivatedStatus(tc) {
|
|
32149
32333
|
var _a, _b;
|
|
32150
|
-
if ((0,
|
|
32334
|
+
if ((0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__.isJoditObject)(this.j) && !this.j.editorIsActive) {
|
|
32151
32335
|
return false;
|
|
32152
32336
|
}
|
|
32153
32337
|
if ((_b = (_a = this.control).isActive) === null || _b === void 0 ? void 0 : _b.call(_a, this.j, this)) {
|
|
@@ -32171,20 +32355,22 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32171
32355
|
return Boolean(tc && tc.shouldBeDisabled(this));
|
|
32172
32356
|
}
|
|
32173
32357
|
onChangeActivated() {
|
|
32174
|
-
;(0,
|
|
32358
|
+
;(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'aria-pressed', this.state.activated);
|
|
32175
32359
|
super.onChangeActivated();
|
|
32176
32360
|
}
|
|
32177
32361
|
onChangeText() {
|
|
32178
|
-
if ((0,
|
|
32362
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(this.control.template)) {
|
|
32179
32363
|
this.text.innerHTML = this.control.template(this.j, this.control.name, this.j.i18n(this.state.text));
|
|
32364
|
+
// The name given before the text came would otherwise stay
|
|
32365
|
+
this.updateAriaLabel();
|
|
32180
32366
|
} else {
|
|
32181
32367
|
super.onChangeText();
|
|
32182
32368
|
}
|
|
32183
32369
|
this.setMod('text-icons', Boolean(this.text.innerText.trim().length));
|
|
32184
32370
|
}
|
|
32185
32371
|
onChangeTabIndex() {
|
|
32186
|
-
;(0,
|
|
32187
|
-
(0,
|
|
32372
|
+
;(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'tabindex', this.state.tabIndex);
|
|
32373
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'tabindex', this.state.tabIndex);
|
|
32188
32374
|
}
|
|
32189
32375
|
createContainer() {
|
|
32190
32376
|
const cn = this.componentName;
|
|
@@ -32196,29 +32382,29 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32196
32382
|
value: this,
|
|
32197
32383
|
configurable: true
|
|
32198
32384
|
});
|
|
32199
|
-
|
|
32200
|
-
const trigger = this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${cn}__trigger">${
|
|
32385
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(container, button);
|
|
32386
|
+
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>`);
|
|
32201
32387
|
// For caching
|
|
32202
|
-
|
|
32388
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(button, trigger);
|
|
32203
32389
|
return container;
|
|
32204
32390
|
}
|
|
32205
32391
|
/** @override */ focus() {
|
|
32206
32392
|
var _a;
|
|
32207
|
-
(_a =
|
|
32393
|
+
(_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();
|
|
32208
32394
|
}
|
|
32209
32395
|
onChangeHasTrigger() {
|
|
32210
32396
|
if (this.state.hasTrigger) {
|
|
32211
|
-
|
|
32397
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.append(this.container, this.trigger);
|
|
32212
32398
|
} else {
|
|
32213
|
-
|
|
32399
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(this.trigger);
|
|
32214
32400
|
}
|
|
32215
32401
|
this.setMod('with-trigger', this.state.hasTrigger || null);
|
|
32216
32402
|
}
|
|
32217
32403
|
/** @override */ onChangeDisabled() {
|
|
32218
32404
|
const disabled = this.state.disabled ? 'disabled' : null;
|
|
32219
|
-
(0,
|
|
32220
|
-
(0,
|
|
32221
|
-
(0,
|
|
32405
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'disabled', disabled);
|
|
32406
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.button, 'disabled', disabled);
|
|
32407
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.container, 'disabled', disabled);
|
|
32222
32408
|
}
|
|
32223
32409
|
/**
|
|
32224
32410
|
* Init constant data from control
|
|
@@ -32228,7 +32414,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32228
32414
|
state.name = ctr.name;
|
|
32229
32415
|
this.__initIconFromControl();
|
|
32230
32416
|
if (ctr.tooltip) {
|
|
32231
|
-
state.tooltip = (0,
|
|
32417
|
+
state.tooltip = (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.tooltip) ? ctr.tooltip(this.j, ctr, this) : ctr.tooltip;
|
|
32232
32418
|
}
|
|
32233
32419
|
state.hasTrigger = Boolean(ctr.list || ctr.popup && ctr.exec);
|
|
32234
32420
|
}
|
|
@@ -32236,12 +32422,12 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32236
32422
|
var _a;
|
|
32237
32423
|
const { control: ctr, state } = this;
|
|
32238
32424
|
const { textIcons } = this.j.o;
|
|
32239
|
-
if (textIcons === true || (0,
|
|
32240
|
-
state.icon = (0,
|
|
32425
|
+
if (textIcons === true || (0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(textIcons) && textIcons(ctr.name) || ctr.template) {
|
|
32426
|
+
state.icon = (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButtonState)().icon;
|
|
32241
32427
|
state.text = ctr.text || ctr.name;
|
|
32242
32428
|
return;
|
|
32243
32429
|
}
|
|
32244
|
-
if (!(0,
|
|
32430
|
+
if (!(0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(ctr.icon) && ctr.icon != null) {
|
|
32245
32431
|
state.icon = {
|
|
32246
32432
|
name: ctr.icon.name || ctr.name,
|
|
32247
32433
|
iconURL: ctr.icon.iconURL || '',
|
|
@@ -32254,7 +32440,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32254
32440
|
state.icon.iconURL = ctr.iconURL;
|
|
32255
32441
|
} else {
|
|
32256
32442
|
const name = ctr.icon || ctr.name;
|
|
32257
|
-
state.icon.name =
|
|
32443
|
+
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 : '';
|
|
32258
32444
|
}
|
|
32259
32445
|
if (!ctr.iconURL && !state.icon.name) {
|
|
32260
32446
|
state.text = ctr.text || ctr.name;
|
|
@@ -32269,25 +32455,25 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32269
32455
|
return;
|
|
32270
32456
|
}
|
|
32271
32457
|
const { control: ctr } = this;
|
|
32272
|
-
(0,
|
|
32458
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-expanded', true);
|
|
32273
32459
|
e.buffer = {
|
|
32274
32460
|
actionTrigger: this
|
|
32275
32461
|
};
|
|
32276
32462
|
if (ctr.list) {
|
|
32277
32463
|
return this.__openControlList(ctr);
|
|
32278
32464
|
}
|
|
32279
|
-
if ((0,
|
|
32465
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.popup)) {
|
|
32280
32466
|
const popup = this.openPopup();
|
|
32281
32467
|
popup.parentElement = this;
|
|
32282
32468
|
try {
|
|
32283
|
-
if (this.j.e.fire((0,
|
|
32469
|
+
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) {
|
|
32284
32470
|
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;
|
|
32285
32471
|
const elm = ctr.popup(this.j, target, this.__closePopup, this);
|
|
32286
32472
|
if (elm) {
|
|
32287
|
-
popup.setContent((0,
|
|
32473
|
+
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);
|
|
32288
32474
|
// The focus stays in the content for a list, which
|
|
32289
32475
|
// typing searches, but goes to a form, as in a dialog
|
|
32290
|
-
(0,
|
|
32476
|
+
(0,_core_ui_helpers_focus_form_field_js__WEBPACK_IMPORTED_MODULE_19__.focusFormField)(popup.container);
|
|
32291
32477
|
} else {
|
|
32292
32478
|
this.__closePopup();
|
|
32293
32479
|
}
|
|
@@ -32300,20 +32486,20 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32300
32486
|
* Fired after the popup was opened for some control button
|
|
32301
32487
|
*/ /**
|
|
32302
32488
|
* Close all opened popups
|
|
32303
|
-
*/ this.j.e.fire((0,
|
|
32489
|
+
*/ this.j.e.fire((0,_core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_14__.camelCase)(`after-${ctr.name}-open-popup`), popup.container);
|
|
32304
32490
|
}
|
|
32305
32491
|
}
|
|
32306
32492
|
onTriggerKeyDown(e) {
|
|
32307
32493
|
if (this.state.disabled) {
|
|
32308
32494
|
return;
|
|
32309
32495
|
}
|
|
32310
|
-
if (e.key ===
|
|
32496
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN) {
|
|
32311
32497
|
this.onButtonKeyDown(e);
|
|
32312
32498
|
return;
|
|
32313
32499
|
}
|
|
32314
32500
|
if (![
|
|
32315
|
-
|
|
32316
|
-
|
|
32501
|
+
_core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_ENTER,
|
|
32502
|
+
_core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_SPACE,
|
|
32317
32503
|
' '
|
|
32318
32504
|
].includes(e.key)) {
|
|
32319
32505
|
return;
|
|
@@ -32326,7 +32512,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32326
32512
|
* focus into it, like the WAI-ARIA menu button pattern
|
|
32327
32513
|
*/ onButtonKeyDown(e) {
|
|
32328
32514
|
var _a;
|
|
32329
|
-
if (e.key !==
|
|
32515
|
+
if (e.key !== _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN || this.state.disabled || !this.state.hasTrigger || e.altKey || e.ctrlKey || e.metaKey) {
|
|
32330
32516
|
return;
|
|
32331
32517
|
}
|
|
32332
32518
|
e.preventDefault();
|
|
@@ -32345,22 +32531,22 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32345
32531
|
}
|
|
32346
32532
|
const target = e.target;
|
|
32347
32533
|
// A text field keeps the arrow keys for itself
|
|
32348
|
-
if (
|
|
32534
|
+
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) {
|
|
32349
32535
|
return;
|
|
32350
32536
|
}
|
|
32351
32537
|
const items = this.__popupFocusables(), index = items.indexOf(target);
|
|
32352
32538
|
switch(e.key){
|
|
32353
|
-
case
|
|
32539
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_ESC:
|
|
32354
32540
|
this.__closePopup();
|
|
32355
32541
|
break;
|
|
32356
|
-
case
|
|
32542
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_UP:
|
|
32357
32543
|
if (index <= 0) {
|
|
32358
32544
|
this.__closePopup();
|
|
32359
32545
|
} else {
|
|
32360
32546
|
items[index - 1].focus();
|
|
32361
32547
|
}
|
|
32362
32548
|
break;
|
|
32363
|
-
case
|
|
32549
|
+
case _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.KEY_DOWN:
|
|
32364
32550
|
if (!items.length) {
|
|
32365
32551
|
return;
|
|
32366
32552
|
}
|
|
@@ -32430,7 +32616,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32430
32616
|
* Create an open popup list
|
|
32431
32617
|
*/ __openControlList(control) {
|
|
32432
32618
|
var _a, _b, _c, _d, _e;
|
|
32433
|
-
const controls = (_a = this.jodit.options.controls) !== null && _a !== void 0 ? _a : {}, getControl = (key)=>(0,
|
|
32619
|
+
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);
|
|
32434
32620
|
const list = control.list;
|
|
32435
32621
|
const menu = this.openPopup();
|
|
32436
32622
|
menu.parentElement = this;
|
|
@@ -32438,18 +32624,18 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32438
32624
|
if (content) {
|
|
32439
32625
|
return this.__openMenu(menu, content);
|
|
32440
32626
|
}
|
|
32441
|
-
const toolbar = (0,
|
|
32627
|
+
const toolbar = (0,_factory_js__WEBPACK_IMPORTED_MODULE_23__.makeCollection)(this.j);
|
|
32442
32628
|
toolbar.parentElement = menu;
|
|
32443
32629
|
toolbar.mode = 'vertical';
|
|
32444
|
-
const isListItem = (key)=>(0,
|
|
32630
|
+
const isListItem = (key)=>(0,_core_helpers_checker_is_plain_object_js__WEBPACK_IMPORTED_MODULE_11__.isPlainObject)(key) && 'title' in key && 'value' in key;
|
|
32445
32631
|
const getButton = (key, value)=>{
|
|
32446
|
-
if ((0,
|
|
32632
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(value) && getControl(value)) {
|
|
32447
32633
|
return {
|
|
32448
32634
|
name: value.toString(),
|
|
32449
32635
|
...getControl(value)
|
|
32450
32636
|
};
|
|
32451
32637
|
}
|
|
32452
|
-
if ((0,
|
|
32638
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(key) && getControl(key)) {
|
|
32453
32639
|
return {
|
|
32454
32640
|
name: key.toString(),
|
|
32455
32641
|
...getControl(key),
|
|
@@ -32483,29 +32669,29 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32483
32669
|
value
|
|
32484
32670
|
]
|
|
32485
32671
|
};
|
|
32486
|
-
if ((0,
|
|
32672
|
+
if ((0,_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_12__.isString)(value)) {
|
|
32487
32673
|
childControl.text = value;
|
|
32488
32674
|
}
|
|
32489
32675
|
return childControl;
|
|
32490
32676
|
};
|
|
32491
|
-
toolbar.build((0,
|
|
32677
|
+
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);
|
|
32492
32678
|
this.__openMenu(menu, toolbar);
|
|
32493
32679
|
}
|
|
32494
32680
|
__openMenu(menu, content) {
|
|
32495
|
-
menu.setContent(content).open(()=>(0,
|
|
32681
|
+
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);
|
|
32496
32682
|
this.state.activated = true;
|
|
32497
32683
|
}
|
|
32498
32684
|
onOutsideClick(e) {
|
|
32499
32685
|
if (!this.openedPopup) {
|
|
32500
32686
|
return;
|
|
32501
32687
|
}
|
|
32502
|
-
if (!e || !
|
|
32688
|
+
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)) {
|
|
32503
32689
|
this.__closePopup();
|
|
32504
32690
|
}
|
|
32505
32691
|
}
|
|
32506
32692
|
openPopup() {
|
|
32507
32693
|
this.__closePopup();
|
|
32508
|
-
this.openedPopup = new
|
|
32694
|
+
this.openedPopup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_22__.Popup(this.j, false);
|
|
32509
32695
|
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);
|
|
32510
32696
|
return this.openedPopup;
|
|
32511
32697
|
}
|
|
@@ -32525,14 +32711,14 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32525
32711
|
// The keyboard brought the focus into the dropdown: give it back to
|
|
32526
32712
|
// the button, otherwise it would fall out to the document. A form
|
|
32527
32713
|
// gives it back to the content, with the selection it was opened for
|
|
32528
|
-
const { activeElement } = this.od, hadFocus = activeElement &&
|
|
32714
|
+
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);
|
|
32529
32715
|
this.state.activated = false;
|
|
32530
32716
|
popup.close();
|
|
32531
32717
|
popup.destruct();
|
|
32532
32718
|
if (this.trigger) {
|
|
32533
|
-
(0,
|
|
32719
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_16__.attr)(this.trigger, 'aria-expanded', false);
|
|
32534
32720
|
}
|
|
32535
|
-
if (inForm && (0,
|
|
32721
|
+
if (inForm && (0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_10__.isJoditObject)(this.j)) {
|
|
32536
32722
|
this.j.s.focus();
|
|
32537
32723
|
} else if (hadFocus) {
|
|
32538
32724
|
this.focus();
|
|
@@ -32543,7 +32729,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32543
32729
|
*/ onClick(originalEvent) {
|
|
32544
32730
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
32545
32731
|
const { control: ctr } = this;
|
|
32546
|
-
if ((0,
|
|
32732
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.exec)) {
|
|
32547
32733
|
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;
|
|
32548
32734
|
const result = ctr.exec(this.j, target, {
|
|
32549
32735
|
control: ctr,
|
|
@@ -32556,9 +32742,10 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32556
32742
|
if (this.parentElement) {
|
|
32557
32743
|
this.parentElement.update();
|
|
32558
32744
|
}
|
|
32745
|
+
this.__closePopups();
|
|
32559
32746
|
/**
|
|
32560
32747
|
* Fired after calling `button.exec` function
|
|
32561
|
-
*/ (_g = (_f = this.j) === null || _f === void 0 ? void 0 : _f.e) === null || _g === void 0 ? void 0 : _g.fire('
|
|
32748
|
+
*/ (_g = (_f = this.j) === null || _f === void 0 ? void 0 : _f.e) === null || _g === void 0 ? void 0 : _g.fire('afterExec');
|
|
32562
32749
|
}
|
|
32563
32750
|
if (result !== false) {
|
|
32564
32751
|
return;
|
|
@@ -32567,14 +32754,36 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32567
32754
|
if (ctr.list) {
|
|
32568
32755
|
return this.__openControlList(ctr);
|
|
32569
32756
|
}
|
|
32570
|
-
if ((0,
|
|
32757
|
+
if ((0,_core_helpers_checker_is_function_js__WEBPACK_IMPORTED_MODULE_9__.isFunction)(ctr.popup)) {
|
|
32571
32758
|
return this.onTriggerClick(originalEvent);
|
|
32572
32759
|
}
|
|
32573
32760
|
if (ctr.command || ctr.name) {
|
|
32574
|
-
(0,
|
|
32575
|
-
this.
|
|
32761
|
+
(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]);
|
|
32762
|
+
this.__closePopups();
|
|
32576
32763
|
}
|
|
32577
32764
|
}
|
|
32765
|
+
/**
|
|
32766
|
+
* After the button's action, a popup that stays open (an element's)
|
|
32767
|
+
* keeps its place beside the element, and only the lists the button is
|
|
32768
|
+
* in close. Otherwise, as when the action removed the element, every
|
|
32769
|
+
* popup closes
|
|
32770
|
+
*/ __closePopups() {
|
|
32771
|
+
var _a, _b;
|
|
32772
|
+
const openers = [
|
|
32773
|
+
this
|
|
32774
|
+
];
|
|
32775
|
+
for(let pe = this.parentElement; pe; pe = pe.parentElement){
|
|
32776
|
+
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)) {
|
|
32777
|
+
openers.forEach((button)=>button.__closePopup());
|
|
32778
|
+
pe.updatePosition();
|
|
32779
|
+
return;
|
|
32780
|
+
}
|
|
32781
|
+
if (_core_component_component_js__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(pe, ToolbarButton_1)) {
|
|
32782
|
+
openers.push(pe);
|
|
32783
|
+
}
|
|
32784
|
+
}
|
|
32785
|
+
(_b = (_a = this.j) === null || _a === void 0 ? void 0 : _a.e) === null || _b === void 0 ? void 0 : _b.fire('closeAllPopups');
|
|
32786
|
+
}
|
|
32578
32787
|
destruct() {
|
|
32579
32788
|
this.__closePopup();
|
|
32580
32789
|
return super.destruct();
|
|
@@ -32584,7 +32793,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32584
32793
|
this.control = control;
|
|
32585
32794
|
this.target = target;
|
|
32586
32795
|
this.state = {
|
|
32587
|
-
...(0,
|
|
32796
|
+
...(0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_18__.UIButtonState)(),
|
|
32588
32797
|
theme: 'toolbar',
|
|
32589
32798
|
currentValue: '',
|
|
32590
32799
|
hasTrigger: false
|
|
@@ -32594,14 +32803,14 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32594
32803
|
this.__typedTo = null;
|
|
32595
32804
|
this.openedPopup = null;
|
|
32596
32805
|
const button = this.getElm('button');
|
|
32597
|
-
(0,
|
|
32806
|
+
(0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__.assert)(button, 'Element button should exists');
|
|
32598
32807
|
this.button = button;
|
|
32599
32808
|
Object.defineProperty(button, 'component', {
|
|
32600
32809
|
value: this,
|
|
32601
32810
|
configurable: true
|
|
32602
32811
|
});
|
|
32603
32812
|
const trigger = this.getElm('trigger');
|
|
32604
|
-
(0,
|
|
32813
|
+
(0,_core_helpers_utils_assert_js__WEBPACK_IMPORTED_MODULE_15__.assert)(trigger, 'Element trigger should exists');
|
|
32605
32814
|
this.trigger = trigger;
|
|
32606
32815
|
trigger.remove();
|
|
32607
32816
|
// Prevent lost focus
|
|
@@ -32610,7 +32819,7 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32610
32819
|
this.trigger
|
|
32611
32820
|
], 'mousedown', (e)=>e.preventDefault());
|
|
32612
32821
|
this.onAction(this.onClick);
|
|
32613
|
-
this.hookStatus(
|
|
32822
|
+
this.hookStatus(_core_component_statuses_js__WEBPACK_IMPORTED_MODULE_1__.STATUSES.ready, ()=>{
|
|
32614
32823
|
this.__initFromControl();
|
|
32615
32824
|
this.update();
|
|
32616
32825
|
});
|
|
@@ -32622,36 +32831,36 @@ let ToolbarButton = class ToolbarButton extends _core_ui_button_index_js__WEBPAC
|
|
|
32622
32831
|
}
|
|
32623
32832
|
};
|
|
32624
32833
|
__decorate([
|
|
32625
|
-
|
|
32834
|
+
_core_decorators_cache_cache_js__WEBPACK_IMPORTED_MODULE_4__.cacheHTML
|
|
32626
32835
|
], ToolbarButton.prototype, "createContainer", null);
|
|
32627
32836
|
__decorate([
|
|
32628
|
-
(0,
|
|
32837
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('state.hasTrigger', {
|
|
32629
32838
|
immediately: false
|
|
32630
32839
|
})
|
|
32631
32840
|
], ToolbarButton.prototype, "onChangeHasTrigger", null);
|
|
32632
32841
|
__decorate([
|
|
32633
|
-
(0,
|
|
32842
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('trigger:click')
|
|
32634
32843
|
], ToolbarButton.prototype, "onTriggerClick", null);
|
|
32635
32844
|
__decorate([
|
|
32636
|
-
(0,
|
|
32845
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('trigger:keydown')
|
|
32637
32846
|
], ToolbarButton.prototype, "onTriggerKeyDown", null);
|
|
32638
32847
|
__decorate([
|
|
32639
|
-
(0,
|
|
32848
|
+
(0,_core_decorators_watch_watch_js__WEBPACK_IMPORTED_MODULE_6__.watch)('button:keydown')
|
|
32640
32849
|
], ToolbarButton.prototype, "onButtonKeyDown", null);
|
|
32641
32850
|
__decorate([
|
|
32642
|
-
|
|
32851
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
32643
32852
|
], ToolbarButton.prototype, "__onPopupKeyDown", null);
|
|
32644
32853
|
__decorate([
|
|
32645
|
-
|
|
32854
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
32646
32855
|
], ToolbarButton.prototype, "__onEditorKeyDown", null);
|
|
32647
32856
|
__decorate([
|
|
32648
|
-
|
|
32857
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
32649
32858
|
], ToolbarButton.prototype, "onOutsideClick", null);
|
|
32650
32859
|
__decorate([
|
|
32651
|
-
|
|
32860
|
+
_core_decorators_autobind_autobind_js__WEBPACK_IMPORTED_MODULE_3__.autobind
|
|
32652
32861
|
], ToolbarButton.prototype, "__closePopup", null);
|
|
32653
|
-
ToolbarButton = __decorate([
|
|
32654
|
-
|
|
32862
|
+
ToolbarButton = ToolbarButton_1 = __decorate([
|
|
32863
|
+
_core_decorators_component_component_js__WEBPACK_IMPORTED_MODULE_5__.component
|
|
32655
32864
|
], ToolbarButton);
|
|
32656
32865
|
|
|
32657
32866
|
|
|
@@ -33161,6 +33370,7 @@ function makeSelect(view, control, target = null) {
|
|
|
33161
33370
|
/* harmony import */ var _core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19306);
|
|
33162
33371
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29960);
|
|
33163
33372
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6441);
|
|
33373
|
+
/* harmony import */ var _helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
33164
33374
|
/*!
|
|
33165
33375
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33166
33376
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33169,6 +33379,7 @@ function makeSelect(view, control, target = null) {
|
|
|
33169
33379
|
|
|
33170
33380
|
|
|
33171
33381
|
|
|
33382
|
+
|
|
33172
33383
|
/**
|
|
33173
33384
|
* Module for processing download documents and images by Drag and Drop
|
|
33174
33385
|
* Drag and Drop files
|
|
@@ -33229,27 +33440,26 @@ _config_js__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.uploader = {
|
|
|
33229
33440
|
if (!(0,_core_helpers_checker_is_jodit_object_js__WEBPACK_IMPORTED_MODULE_1__.isJoditObject)(j)) {
|
|
33230
33441
|
return;
|
|
33231
33442
|
}
|
|
33232
|
-
|
|
33233
|
-
|
|
33234
|
-
|
|
33235
|
-
|
|
33236
|
-
|
|
33237
|
-
|
|
33238
|
-
|
|
33239
|
-
|
|
33240
|
-
|
|
33241
|
-
|
|
33242
|
-
|
|
33243
|
-
|
|
33244
|
-
|
|
33245
|
-
|
|
33246
|
-
|
|
33247
|
-
|
|
33248
|
-
|
|
33249
|
-
|
|
33250
|
-
|
|
33251
|
-
|
|
33252
|
-
}
|
|
33443
|
+
const { baseurl } = resp;
|
|
33444
|
+
(0,_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(resp).forEach(({ file, isImage })=>{
|
|
33445
|
+
const [tagName, attrName] = isImage ? [
|
|
33446
|
+
'img',
|
|
33447
|
+
'src'
|
|
33448
|
+
] : [
|
|
33449
|
+
'a',
|
|
33450
|
+
'href'
|
|
33451
|
+
];
|
|
33452
|
+
const elm = j.createInside.element(tagName);
|
|
33453
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__.attr)(elm, attrName, baseurl + file);
|
|
33454
|
+
if (tagName === 'a') {
|
|
33455
|
+
elm.textContent = j.o.uploader.getDisplayName.call(this, baseurl, file);
|
|
33456
|
+
}
|
|
33457
|
+
if (tagName === 'img') {
|
|
33458
|
+
j.s.insertImage(elm, null, j.o.imageDefaultWidth);
|
|
33459
|
+
} else {
|
|
33460
|
+
j.s.insertNode(elm);
|
|
33461
|
+
}
|
|
33462
|
+
});
|
|
33253
33463
|
},
|
|
33254
33464
|
defaultHandlerError (e) {
|
|
33255
33465
|
this.j.message.error(e.message);
|
|
@@ -33339,17 +33549,19 @@ function buildData(uploader, data) {
|
|
|
33339
33549
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
33340
33550
|
|
|
33341
33551
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
33342
|
-
/* harmony export */ ajaxInstances: function() { return /* reexport safe */
|
|
33552
|
+
/* harmony export */ ajaxInstances: function() { return /* reexport safe */ _send_js__WEBPACK_IMPORTED_MODULE_3__.ajaxInstances; },
|
|
33343
33553
|
/* harmony export */ hasFiles: function() { return /* binding */ hasFiles; },
|
|
33344
33554
|
/* harmony export */ hasItems: function() { return /* binding */ hasItems; },
|
|
33345
|
-
/* harmony export */
|
|
33346
|
-
/* harmony export */
|
|
33347
|
-
/* harmony export */
|
|
33555
|
+
/* harmony export */ normalizeUploaderData: function() { return /* reexport safe */ _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_1__.normalizeUploaderData; },
|
|
33556
|
+
/* harmony export */ processOldBrowserDrag: function() { return /* reexport safe */ _process_old_browser_drag_js__WEBPACK_IMPORTED_MODULE_2__.processOldBrowserDrag; },
|
|
33557
|
+
/* harmony export */ send: function() { return /* reexport safe */ _send_js__WEBPACK_IMPORTED_MODULE_3__.send; },
|
|
33558
|
+
/* harmony export */ sendFiles: function() { return /* reexport safe */ _send_files_js__WEBPACK_IMPORTED_MODULE_4__.sendFiles; }
|
|
33348
33559
|
/* harmony export */ });
|
|
33349
33560
|
/* harmony import */ var _build_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(83987);
|
|
33350
|
-
/* harmony import */ var
|
|
33351
|
-
/* harmony import */ var
|
|
33352
|
-
/* harmony import */ var
|
|
33561
|
+
/* harmony import */ var _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2073);
|
|
33562
|
+
/* harmony import */ var _process_old_browser_drag_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50373);
|
|
33563
|
+
/* harmony import */ var _send_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71686);
|
|
33564
|
+
/* harmony import */ var _send_files_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(80020);
|
|
33353
33565
|
/*!
|
|
33354
33566
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33355
33567
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33359,6 +33571,7 @@ function buildData(uploader, data) {
|
|
|
33359
33571
|
|
|
33360
33572
|
|
|
33361
33573
|
|
|
33574
|
+
|
|
33362
33575
|
function hasFiles(data) {
|
|
33363
33576
|
return Boolean(data && data.files && data.files.length > 0);
|
|
33364
33577
|
}
|
|
@@ -33367,6 +33580,77 @@ function hasItems(data) {
|
|
|
33367
33580
|
}
|
|
33368
33581
|
|
|
33369
33582
|
|
|
33583
|
+
/***/ }),
|
|
33584
|
+
|
|
33585
|
+
/***/ 2073:
|
|
33586
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
33587
|
+
|
|
33588
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
33589
|
+
/* harmony export */ getItems: function() { return /* binding */ getItems; },
|
|
33590
|
+
/* harmony export */ normalizeUploaderData: function() { return /* binding */ normalizeUploaderData; }
|
|
33591
|
+
/* harmony export */ });
|
|
33592
|
+
/* harmony import */ var _core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68345);
|
|
33593
|
+
/* harmony import */ var _core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70799);
|
|
33594
|
+
/*!
|
|
33595
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33596
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33597
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
33598
|
+
*/
|
|
33599
|
+
|
|
33600
|
+
/**
|
|
33601
|
+
* The files in upload or file browser data, one object each. While the
|
|
33602
|
+
* deprecated `files` array is set, it and `isImages` and `fileNames` win
|
|
33603
|
+
* over `items`, so a handler that edits them and passes the data on to a
|
|
33604
|
+
* default handler still gets its edits inserted. A file browser that
|
|
33605
|
+
* passes only the arrays works too.
|
|
33606
|
+
*/ function getItems(data) {
|
|
33607
|
+
const { files, isImages, fileNames, items } = data;
|
|
33608
|
+
if (!(0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(files)) {
|
|
33609
|
+
return items !== null && items !== void 0 ? items : [];
|
|
33610
|
+
}
|
|
33611
|
+
return files.map((file, i)=>{
|
|
33612
|
+
const name = fileNames === null || fileNames === void 0 ? void 0 : fileNames[i];
|
|
33613
|
+
return {
|
|
33614
|
+
file,
|
|
33615
|
+
isImage: Boolean(isImages === null || isImages === void 0 ? void 0 : isImages[i]),
|
|
33616
|
+
...name !== undefined ? {
|
|
33617
|
+
name
|
|
33618
|
+
} : {}
|
|
33619
|
+
};
|
|
33620
|
+
});
|
|
33621
|
+
}
|
|
33622
|
+
/**
|
|
33623
|
+
* Gives the data both `items` and the deprecated `files`, `isImages` and
|
|
33624
|
+
* `fileNames` arrays, building whichever is missing, so a handler can read
|
|
33625
|
+
* either. When both are given, `items` is rebuilt from the arrays, as in
|
|
33626
|
+
* [[getItems]], unless `files` is empty and `items` isn't, as from a
|
|
33627
|
+
* `process` that spreads the server's answer and adds `items`. Anything but
|
|
33628
|
+
* an object, such as the `null` a custom `process` may return, is passed on
|
|
33629
|
+
* as it is.
|
|
33630
|
+
*/ function normalizeUploaderData(data) {
|
|
33631
|
+
if (!data || typeof data !== 'object') {
|
|
33632
|
+
return data;
|
|
33633
|
+
}
|
|
33634
|
+
const { files, items } = data;
|
|
33635
|
+
if (!items || (0,_core_helpers_checker_is_array_js__WEBPACK_IMPORTED_MODULE_0__.isArray)(files) && (files.length || !items.length)) {
|
|
33636
|
+
return {
|
|
33637
|
+
...data,
|
|
33638
|
+
items: getItems(data)
|
|
33639
|
+
};
|
|
33640
|
+
}
|
|
33641
|
+
const names = items.map(({ name })=>name);
|
|
33642
|
+
return {
|
|
33643
|
+
...data,
|
|
33644
|
+
files: items.map(({ file })=>file),
|
|
33645
|
+
isImages: items.map(({ isImage })=>isImage),
|
|
33646
|
+
...names.every(_core_helpers_checker_is_string_js__WEBPACK_IMPORTED_MODULE_1__.isString) ? {
|
|
33647
|
+
fileNames: names
|
|
33648
|
+
} : {},
|
|
33649
|
+
items
|
|
33650
|
+
};
|
|
33651
|
+
}
|
|
33652
|
+
|
|
33653
|
+
|
|
33370
33654
|
/***/ }),
|
|
33371
33655
|
|
|
33372
33656
|
/***/ 50373:
|
|
@@ -33428,8 +33712,9 @@ function processOldBrowserDrag(self, cData, handlerSuccess, handlerError, onFina
|
|
|
33428
33712
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21537);
|
|
33429
33713
|
/* harmony import */ var _core_traits_dlgs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70231);
|
|
33430
33714
|
/* harmony import */ var _dialog_prompt_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36806);
|
|
33431
|
-
/* harmony import */ var
|
|
33432
|
-
/* harmony import */ var
|
|
33715
|
+
/* harmony import */ var _normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
33716
|
+
/* harmony import */ var _send_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71686);
|
|
33717
|
+
/* harmony import */ var _upload_error_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(76198);
|
|
33433
33718
|
/*!
|
|
33434
33719
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33435
33720
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33440,6 +33725,7 @@ function processOldBrowserDrag(self, cData, handlerSuccess, handlerError, onFina
|
|
|
33440
33725
|
|
|
33441
33726
|
|
|
33442
33727
|
|
|
33728
|
+
|
|
33443
33729
|
/**
|
|
33444
33730
|
* Send files to server
|
|
33445
33731
|
*/ async function sendFiles(uploader, files, handlerSuccess, handlerError, process, // Set when a refused upload is sent again: `beforeUpload` already had its say
|
|
@@ -33526,13 +33812,13 @@ retryOf) {
|
|
|
33526
33812
|
});
|
|
33527
33813
|
}
|
|
33528
33814
|
o.prepareData.call(uploader, form);
|
|
33529
|
-
promises.push((0,
|
|
33815
|
+
promises.push((0,_send_js__WEBPACK_IMPORTED_MODULE_5__.send)(uploader, form).then((resp)=>{
|
|
33530
33816
|
if (o.isSuccess.call(uploader, resp)) {
|
|
33531
33817
|
const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handlerSuccess) ? handlerSuccess : o.defaultHandlerSuccess;
|
|
33532
|
-
handler.call(uploader, o.process.call(uploader, resp));
|
|
33818
|
+
handler.call(uploader, (0,_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.normalizeUploaderData)(o.process.call(uploader, resp)));
|
|
33533
33819
|
return resp;
|
|
33534
33820
|
}
|
|
33535
|
-
const err = new
|
|
33821
|
+
const err = new _upload_error_js__WEBPACK_IMPORTED_MODULE_6__.UploadError(o.getMessage.call(uploader, resp), resp, fileList, (plan)=>{
|
|
33536
33822
|
var _a;
|
|
33537
33823
|
return sendFiles(uploader, (_a = plan === null || plan === void 0 ? void 0 : plan.files) !== null && _a !== void 0 ? _a : fileList, handlerSuccess, handlerError, process, {
|
|
33538
33824
|
data: {
|
|
@@ -33609,18 +33895,16 @@ function readImagesWithReader(fileList, imagesExtensions, promises, uploader, ha
|
|
|
33609
33895
|
const readerPromise = uploader.j.async.promise((resolve, reject)=>{
|
|
33610
33896
|
reader.onerror = reject;
|
|
33611
33897
|
reader.onloadend = ()=>{
|
|
33612
|
-
const resp = {
|
|
33898
|
+
const resp = (0,_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.normalizeUploaderData)({
|
|
33613
33899
|
baseurl: '',
|
|
33614
|
-
|
|
33615
|
-
|
|
33616
|
-
|
|
33617
|
-
|
|
33618
|
-
|
|
33619
|
-
|
|
33620
|
-
fileNames: [
|
|
33621
|
-
name
|
|
33900
|
+
items: [
|
|
33901
|
+
{
|
|
33902
|
+
file: reader.result,
|
|
33903
|
+
isImage: true,
|
|
33904
|
+
name
|
|
33905
|
+
}
|
|
33622
33906
|
]
|
|
33623
|
-
};
|
|
33907
|
+
});
|
|
33624
33908
|
const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handlerSuccess) ? handlerSuccess : defaultHandlerSuccess;
|
|
33625
33909
|
handler.call(uploader, resp);
|
|
33626
33910
|
resolve(resp);
|
|
@@ -33822,11 +34106,10 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
|
|
|
33822
34106
|
* ```javascript
|
|
33823
34107
|
* var $form = jQuery('<form><input type="text" typpe="file"></form>');
|
|
33824
34108
|
* jQuery('body').append($form);
|
|
33825
|
-
* Jodit.editors.someidfoeditor.uploader.bind($form[0], function (
|
|
33826
|
-
*
|
|
33827
|
-
*
|
|
33828
|
-
*
|
|
33829
|
-
* }
|
|
34109
|
+
* Jodit.editors.someidfoeditor.uploader.bind($form[0], function (data) {
|
|
34110
|
+
* data.items.forEach(function (item) {
|
|
34111
|
+
* parent.s.insertImage(data.baseurl + item.file);
|
|
34112
|
+
* });
|
|
33830
34113
|
* });
|
|
33831
34114
|
* ```
|
|
33832
34115
|
*/ bind(form, handlerSuccess, handlerError) {
|
|
@@ -33925,7 +34208,7 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
|
|
|
33925
34208
|
var _a;
|
|
33926
34209
|
if (o.isSuccess.call(uploader, resp)) {
|
|
33927
34210
|
const handler = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(handlerSuccess) ? handlerSuccess : o.defaultHandlerSuccess;
|
|
33928
|
-
handler.call(uploader, o.process.call(uploader, resp));
|
|
34211
|
+
handler.call(uploader, (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__.normalizeUploaderData)(o.process.call(uploader, resp)));
|
|
33929
34212
|
return;
|
|
33930
34213
|
}
|
|
33931
34214
|
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));
|
|
@@ -33943,6 +34226,7 @@ class Uploader extends _core_component_index_js__WEBPACK_IMPORTED_MODULE_0__.Vie
|
|
|
33943
34226
|
if (!settled) {
|
|
33944
34227
|
resolve({
|
|
33945
34228
|
baseurl: '',
|
|
34229
|
+
items: [],
|
|
33946
34230
|
files: [],
|
|
33947
34231
|
isImages: []
|
|
33948
34232
|
});
|
|
@@ -35296,40 +35580,41 @@ UiAiAssistant = __decorate([
|
|
|
35296
35580
|
/* harmony import */ var _limit_limit_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(91071);
|
|
35297
35581
|
/* harmony import */ var _line_height_line_height_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(61019);
|
|
35298
35582
|
/* harmony import */ var _link_link_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(65517);
|
|
35299
|
-
/* harmony import */ var
|
|
35300
|
-
/* harmony import */ var
|
|
35301
|
-
/* harmony import */ var
|
|
35302
|
-
/* harmony import */ var
|
|
35303
|
-
/* harmony import */ var
|
|
35304
|
-
/* harmony import */ var
|
|
35305
|
-
/* harmony import */ var
|
|
35306
|
-
/* harmony import */ var
|
|
35307
|
-
/* harmony import */ var
|
|
35308
|
-
/* harmony import */ var
|
|
35309
|
-
/* harmony import */ var
|
|
35310
|
-
/* harmony import */ var
|
|
35311
|
-
/* harmony import */ var
|
|
35312
|
-
/* harmony import */ var
|
|
35313
|
-
/* harmony import */ var
|
|
35314
|
-
/* harmony import */ var
|
|
35315
|
-
/* harmony import */ var
|
|
35316
|
-
/* harmony import */ var
|
|
35317
|
-
/* harmony import */ var
|
|
35318
|
-
/* harmony import */ var
|
|
35319
|
-
/* harmony import */ var
|
|
35320
|
-
/* harmony import */ var
|
|
35321
|
-
/* harmony import */ var
|
|
35322
|
-
/* harmony import */ var
|
|
35323
|
-
/* harmony import */ var
|
|
35324
|
-
/* harmony import */ var
|
|
35325
|
-
/* harmony import */ var
|
|
35326
|
-
/* harmony import */ var
|
|
35327
|
-
/* harmony import */ var
|
|
35328
|
-
/* harmony import */ var
|
|
35329
|
-
/* harmony import */ var
|
|
35330
|
-
/* harmony import */ var
|
|
35331
|
-
/* harmony import */ var
|
|
35332
|
-
/* harmony import */ var
|
|
35583
|
+
/* harmony import */ var _anchor_anchor_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(36911);
|
|
35584
|
+
/* harmony import */ var _media_media_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(20071);
|
|
35585
|
+
/* harmony import */ var _mobile_mobile_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(32309);
|
|
35586
|
+
/* harmony import */ var _ordered_list_ordered_list_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(64837);
|
|
35587
|
+
/* harmony import */ var _paste_paste_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(79799);
|
|
35588
|
+
/* harmony import */ var _paste_from_word_paste_from_word_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(31571);
|
|
35589
|
+
/* harmony import */ var _paste_storage_paste_storage_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(85407);
|
|
35590
|
+
/* harmony import */ var _placeholder_placeholder_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(59451);
|
|
35591
|
+
/* harmony import */ var _powered_by_jodit_powered_by_jodit_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(18363);
|
|
35592
|
+
/* harmony import */ var _preview_preview_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(8355);
|
|
35593
|
+
/* harmony import */ var _print_print_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(58519);
|
|
35594
|
+
/* harmony import */ var _redo_undo_redo_undo_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(6687);
|
|
35595
|
+
/* harmony import */ var _resize_cells_resize_cells_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(56113);
|
|
35596
|
+
/* harmony import */ var _resize_handler_resize_handler_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(9159);
|
|
35597
|
+
/* harmony import */ var _resizer_resizer_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(12019);
|
|
35598
|
+
/* harmony import */ var _search_search_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(36125);
|
|
35599
|
+
/* harmony import */ var _select_select_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(9881);
|
|
35600
|
+
/* harmony import */ var _select_cells_select_cells_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(28545);
|
|
35601
|
+
/* harmony import */ var _size_size_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(45927);
|
|
35602
|
+
/* harmony import */ var _source_source_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(52951);
|
|
35603
|
+
/* harmony import */ var _spellcheck_spellcheck_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(43809);
|
|
35604
|
+
/* harmony import */ var _stat_stat_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(7309);
|
|
35605
|
+
/* harmony import */ var _sticky_sticky_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(68687);
|
|
35606
|
+
/* harmony import */ var _symbols_symbols_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(59495);
|
|
35607
|
+
/* harmony import */ var _ai_assistant_ai_assistant_js__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(39627);
|
|
35608
|
+
/* harmony import */ var _tab_tab_js__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(767);
|
|
35609
|
+
/* harmony import */ var _table_table_js__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(43003);
|
|
35610
|
+
/* harmony import */ var _table_keyboard_navigation_table_keyboard_navigation_js__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(72439);
|
|
35611
|
+
/* harmony import */ var _toolbar_navigation_toolbar_navigation_js__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(94529);
|
|
35612
|
+
/* harmony import */ var _video_video_js__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(26551);
|
|
35613
|
+
/* harmony import */ var _video_properties_video_properties_js__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(96139);
|
|
35614
|
+
/* harmony import */ var _wrap_nodes_wrap_nodes_js__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(72253);
|
|
35615
|
+
/* harmony import */ var _dtd_dtd_js__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(65735);
|
|
35616
|
+
/* harmony import */ var _xpath_xpath_js__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(83671);
|
|
35617
|
+
/* harmony import */ var _speech_recognize_speech_recognize_js__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(3115);
|
|
35333
35618
|
/*!
|
|
35334
35619
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35335
35620
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35402,12 +35687,333 @@ UiAiAssistant = __decorate([
|
|
|
35402
35687
|
|
|
35403
35688
|
|
|
35404
35689
|
|
|
35690
|
+
|
|
35405
35691
|
|
|
35406
35692
|
|
|
35407
35693
|
// JODIT-START:FAT
|
|
35408
35694
|
// JODIT-END:FAT
|
|
35409
35695
|
|
|
35410
35696
|
|
|
35697
|
+
/***/ }),
|
|
35698
|
+
|
|
35699
|
+
/***/ 36911:
|
|
35700
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
35701
|
+
|
|
35702
|
+
/* unused harmony export anchor */
|
|
35703
|
+
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
|
|
35704
|
+
/* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65478);
|
|
35705
|
+
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2748);
|
|
35706
|
+
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
35707
|
+
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
35708
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
35709
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62843);
|
|
35710
|
+
/* harmony import */ var _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2525);
|
|
35711
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50712);
|
|
35712
|
+
/*!
|
|
35713
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35714
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
35715
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
35716
|
+
*/ var __decorate = undefined && undefined.__decorate || function(decorators, target, key, desc) {
|
|
35717
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
35718
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
35719
|
+
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;
|
|
35720
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35721
|
+
};
|
|
35722
|
+
|
|
35723
|
+
|
|
35724
|
+
|
|
35725
|
+
|
|
35726
|
+
|
|
35727
|
+
|
|
35728
|
+
|
|
35729
|
+
|
|
35730
|
+
|
|
35731
|
+
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\")";
|
|
35732
|
+
const MARKER = [
|
|
35733
|
+
'id',
|
|
35734
|
+
'name'
|
|
35735
|
+
].map((key)=>`.jodit-wysiwyg a[${key}]:not([href]):empty::before`).join(',');
|
|
35736
|
+
/**
|
|
35737
|
+
* Each anchor's marker, in the editing area only
|
|
35738
|
+
*/ 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:''}`;
|
|
35739
|
+
/**
|
|
35740
|
+
* The attribute `markAnchor` gives an anchor: an empty `<a>` with no `href`
|
|
35741
|
+
*/ const MARK = ' contenteditable="false"';
|
|
35742
|
+
/**
|
|
35743
|
+
* Inserts anchors, empty `<a id>` that links in the document reach as
|
|
35744
|
+
* `#name`, and renames and removes them
|
|
35745
|
+
*/ class anchor extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
35746
|
+
/** @override */ afterInit(jodit) {
|
|
35747
|
+
// It goes in the editing document, so iframe mode has it whatever `iframeStyle` holds
|
|
35748
|
+
(0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.getContainer)(jodit, 'anchor', 'style', true).textContent = MARKER_STYLE;
|
|
35749
|
+
jodit.e.on('generateAnchorForm.anchor', this.__generateForm).on('clickA touchstartA', this.__onClickA, {
|
|
35750
|
+
top: true
|
|
35751
|
+
});
|
|
35752
|
+
}
|
|
35753
|
+
/**
|
|
35754
|
+
* An anchor gets its own popup, in place of the link's
|
|
35755
|
+
*/ __onClickA(target, e) {
|
|
35756
|
+
var _a;
|
|
35757
|
+
const { j } = this;
|
|
35758
|
+
if (j.o.readonly || !(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.isAnchor)(target)) {
|
|
35759
|
+
return;
|
|
35760
|
+
}
|
|
35761
|
+
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'));
|
|
35762
|
+
// Afresh, so a form left with a change unsaved shows the name it has
|
|
35763
|
+
j.e.fire('showPopup', target, ()=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(target, j), 'anchor', true);
|
|
35764
|
+
return false;
|
|
35765
|
+
}
|
|
35766
|
+
/**
|
|
35767
|
+
* Anchors are uneditable in the editor, so typing beside one never goes
|
|
35768
|
+
* into it and it's deleted as a whole
|
|
35769
|
+
*/ onChange() {
|
|
35770
|
+
const { j } = this;
|
|
35771
|
+
if (j.isInDestruct || j.getMode() === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE) {
|
|
35772
|
+
return;
|
|
35773
|
+
}
|
|
35774
|
+
;(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchors)(j.editor).forEach(markAnchor);
|
|
35775
|
+
}
|
|
35776
|
+
/**
|
|
35777
|
+
* The editor's own attribute stays out of the value
|
|
35778
|
+
*/ onAfterGetValueFromEditor(data) {
|
|
35779
|
+
data.value = unmarkAnchors(data.value);
|
|
35780
|
+
}
|
|
35781
|
+
/**
|
|
35782
|
+
* The form that names a new anchor, or renames or removes `target`
|
|
35783
|
+
*/ __generateForm(target, close) {
|
|
35784
|
+
const { j } = this;
|
|
35785
|
+
const current = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.isAnchor)(target) ? target : null;
|
|
35786
|
+
const input = new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIInput(j, {
|
|
35787
|
+
name: 'name',
|
|
35788
|
+
ref: 'name_input',
|
|
35789
|
+
label: 'Anchor',
|
|
35790
|
+
required: true
|
|
35791
|
+
});
|
|
35792
|
+
const buttons = [
|
|
35793
|
+
new _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.UIButton(j, {
|
|
35794
|
+
name: 'insert',
|
|
35795
|
+
type: 'submit',
|
|
35796
|
+
variant: 'primary',
|
|
35797
|
+
text: current ? 'Update' : 'Insert'
|
|
35798
|
+
})
|
|
35799
|
+
];
|
|
35800
|
+
if (current) {
|
|
35801
|
+
input.value = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(current);
|
|
35802
|
+
buttons.unshift(new _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.UIButton(j, {
|
|
35803
|
+
name: 'remove',
|
|
35804
|
+
variant: 'default',
|
|
35805
|
+
text: 'Remove'
|
|
35806
|
+
}).onAction(()=>{
|
|
35807
|
+
if (!j.o.readonly) {
|
|
35808
|
+
j.s.restore();
|
|
35809
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.safeRemove(current);
|
|
35810
|
+
j.synchronizeValues();
|
|
35811
|
+
}
|
|
35812
|
+
close();
|
|
35813
|
+
}));
|
|
35814
|
+
}
|
|
35815
|
+
const form = new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIForm(j, [
|
|
35816
|
+
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIBlock(j, [
|
|
35817
|
+
input
|
|
35818
|
+
]),
|
|
35819
|
+
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_7__.UIBlock(j, buttons, {
|
|
35820
|
+
align: 'full'
|
|
35821
|
+
})
|
|
35822
|
+
]);
|
|
35823
|
+
if (current) {
|
|
35824
|
+
this.__dropForm();
|
|
35825
|
+
this.__form = form;
|
|
35826
|
+
// The toolbar's popup closes on Escape by itself; the anchor's own doesn't
|
|
35827
|
+
j.e.on(form.container, 'keydown', (e)=>{
|
|
35828
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC) {
|
|
35829
|
+
close();
|
|
35830
|
+
j.s.restore();
|
|
35831
|
+
}
|
|
35832
|
+
});
|
|
35833
|
+
}
|
|
35834
|
+
form.onSubmit(()=>{
|
|
35835
|
+
// The editor can turn readonly while the form is open
|
|
35836
|
+
if (j.o.readonly) {
|
|
35837
|
+
close();
|
|
35838
|
+
return false;
|
|
35839
|
+
}
|
|
35840
|
+
const name = input.value.trim().replace(/^#/, '');
|
|
35841
|
+
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' : '';
|
|
35842
|
+
if (error) {
|
|
35843
|
+
input.error = error;
|
|
35844
|
+
input.focus();
|
|
35845
|
+
return false;
|
|
35846
|
+
}
|
|
35847
|
+
j.s.restore();
|
|
35848
|
+
if (current) {
|
|
35849
|
+
this.__rename(current, name);
|
|
35850
|
+
} else {
|
|
35851
|
+
this.__insert(name);
|
|
35852
|
+
}
|
|
35853
|
+
j.synchronizeValues();
|
|
35854
|
+
close();
|
|
35855
|
+
return false;
|
|
35856
|
+
});
|
|
35857
|
+
j.async.requestIdleCallback(()=>input.focus());
|
|
35858
|
+
return form;
|
|
35859
|
+
}
|
|
35860
|
+
__dropForm() {
|
|
35861
|
+
const form = this.__form;
|
|
35862
|
+
this.__form = null;
|
|
35863
|
+
if (form && !form.isInDestruct) {
|
|
35864
|
+
this.j.e.off(form.container, 'keydown');
|
|
35865
|
+
form.destruct();
|
|
35866
|
+
}
|
|
35867
|
+
}
|
|
35868
|
+
/**
|
|
35869
|
+
* Another element in the document has the name as its `id`, or another
|
|
35870
|
+
* anchor as its `name`
|
|
35871
|
+
*/ __isTaken(name, current) {
|
|
35872
|
+
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));
|
|
35873
|
+
}
|
|
35874
|
+
/**
|
|
35875
|
+
* At the caret, or at the start of the selection. An anchor can't go in
|
|
35876
|
+
* a link, so in one it goes just before it
|
|
35877
|
+
*/ __insert(name) {
|
|
35878
|
+
const { j } = this;
|
|
35879
|
+
const anchor = j.createInside.element('a', {
|
|
35880
|
+
id: name
|
|
35881
|
+
});
|
|
35882
|
+
const range = j.s.range;
|
|
35883
|
+
markAnchor(anchor);
|
|
35884
|
+
if (!range.collapsed) {
|
|
35885
|
+
range.collapse(true);
|
|
35886
|
+
j.s.selectRange(range);
|
|
35887
|
+
}
|
|
35888
|
+
const link = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.closest(range.startContainer, 'a', j.editor);
|
|
35889
|
+
if (link) {
|
|
35890
|
+
_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.before(link, anchor);
|
|
35891
|
+
j.s.setCursorAfter(anchor);
|
|
35892
|
+
} else {
|
|
35893
|
+
j.s.insertNode(anchor, true, false);
|
|
35894
|
+
}
|
|
35895
|
+
}
|
|
35896
|
+
/**
|
|
35897
|
+
* Gives the anchor the new name in whichever of `id` and `name` it has,
|
|
35898
|
+
* and the links to it the new `#name`, unless they still reach
|
|
35899
|
+
* something else by the old one, as they do after a copy is pasted
|
|
35900
|
+
*/ __rename(current, name) {
|
|
35901
|
+
const old = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(current);
|
|
35902
|
+
const shared = this.__isTaken(old, current);
|
|
35903
|
+
[
|
|
35904
|
+
'id',
|
|
35905
|
+
'name'
|
|
35906
|
+
].forEach((key)=>{
|
|
35907
|
+
if (current.hasAttribute(key)) {
|
|
35908
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(current, key, name);
|
|
35909
|
+
}
|
|
35910
|
+
});
|
|
35911
|
+
if (shared) {
|
|
35912
|
+
return;
|
|
35913
|
+
}
|
|
35914
|
+
;(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(this.j.editor.querySelectorAll('a[href]')).forEach((link)=>{
|
|
35915
|
+
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(link, 'href') === '#' + old) {
|
|
35916
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(link, 'href', '#' + name);
|
|
35917
|
+
}
|
|
35918
|
+
});
|
|
35919
|
+
}
|
|
35920
|
+
/** @override */ beforeDestruct(jodit) {
|
|
35921
|
+
this.__dropForm();
|
|
35922
|
+
jodit.e.off('generateAnchorForm.anchor', this.__generateForm).off('clickA touchstartA', this.__onClickA);
|
|
35923
|
+
}
|
|
35924
|
+
constructor(){
|
|
35925
|
+
super(...arguments);
|
|
35926
|
+
/** @override */ this.buttons = [
|
|
35927
|
+
{
|
|
35928
|
+
name: 'anchor',
|
|
35929
|
+
group: 'insert'
|
|
35930
|
+
}
|
|
35931
|
+
];
|
|
35932
|
+
/**
|
|
35933
|
+
* The form in the anchor's own popup. The popup takes it out without
|
|
35934
|
+
* destructing it when it shows something else, so it goes when the next
|
|
35935
|
+
* one is made
|
|
35936
|
+
*/ this.__form = null;
|
|
35937
|
+
}
|
|
35938
|
+
}
|
|
35939
|
+
__decorate([
|
|
35940
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
35941
|
+
], anchor.prototype, "__onClickA", null);
|
|
35942
|
+
__decorate([
|
|
35943
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
35944
|
+
':change',
|
|
35945
|
+
':afterInit',
|
|
35946
|
+
':afterSetMode'
|
|
35947
|
+
]),
|
|
35948
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.debounce)()
|
|
35949
|
+
], anchor.prototype, "onChange", null);
|
|
35950
|
+
__decorate([
|
|
35951
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':afterGetValueFromEditor')
|
|
35952
|
+
], anchor.prototype, "onAfterGetValueFromEditor", null);
|
|
35953
|
+
__decorate([
|
|
35954
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
35955
|
+
], anchor.prototype, "__generateForm", null);
|
|
35956
|
+
function markAnchor(anchor) {
|
|
35957
|
+
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(anchor, 'contenteditable') !== 'false') {
|
|
35958
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(anchor, 'contenteditable', false);
|
|
35959
|
+
}
|
|
35960
|
+
}
|
|
35961
|
+
/**
|
|
35962
|
+
* Takes `MARK` off each anchor in one pass over the tags, as a regex with
|
|
35963
|
+
* `[^>]*` backtracks quadratically on a long run of `<a` (CWE-1333)
|
|
35964
|
+
*/ function unmarkAnchors(html) {
|
|
35965
|
+
if (!html.includes(MARK)) {
|
|
35966
|
+
return html;
|
|
35967
|
+
}
|
|
35968
|
+
let result = '';
|
|
35969
|
+
let copied = 0;
|
|
35970
|
+
let cursor = 0;
|
|
35971
|
+
for(;;){
|
|
35972
|
+
const start = html.indexOf('<', cursor);
|
|
35973
|
+
if (start === -1) {
|
|
35974
|
+
break;
|
|
35975
|
+
}
|
|
35976
|
+
const end = html.indexOf('>', start);
|
|
35977
|
+
if (end === -1) {
|
|
35978
|
+
break;
|
|
35979
|
+
}
|
|
35980
|
+
if (html.startsWith('<a', start) && /\s/.test(html.charAt(start + 2)) && html.startsWith('</a>', end + 1)) {
|
|
35981
|
+
const tag = html.slice(start, end);
|
|
35982
|
+
const at = tag.indexOf(MARK);
|
|
35983
|
+
if (at !== -1 && !/\shref=/.test(tag)) {
|
|
35984
|
+
result += html.slice(copied, start + at);
|
|
35985
|
+
copied = start + at + MARK.length;
|
|
35986
|
+
}
|
|
35987
|
+
}
|
|
35988
|
+
// Past the whole tag, so an `<a` inside one of its attributes is never read as a tag
|
|
35989
|
+
cursor = end + 1;
|
|
35990
|
+
}
|
|
35991
|
+
return copied === 0 ? html : result + html.slice(copied);
|
|
35992
|
+
}
|
|
35993
|
+
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('anchor', anchor);
|
|
35994
|
+
|
|
35995
|
+
|
|
35996
|
+
/***/ }),
|
|
35997
|
+
|
|
35998
|
+
/***/ 50712:
|
|
35999
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
36000
|
+
|
|
36001
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6441);
|
|
36002
|
+
/* harmony import */ var _inline_popup_config_config_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(24526);
|
|
36003
|
+
/*!
|
|
36004
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36005
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
36006
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
36007
|
+
*/
|
|
36008
|
+
// The anchor's popup goes in its list
|
|
36009
|
+
|
|
36010
|
+
_config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.anchor = {
|
|
36011
|
+
popup: (editor, current, close)=>editor.e.fire('generateAnchorForm.anchor', null, close),
|
|
36012
|
+
tooltip: 'Insert anchor'
|
|
36013
|
+
};
|
|
36014
|
+
_config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.popup.anchor = (editor, target, close)=>editor.e.fire('generateAnchorForm.anchor', target, close);
|
|
36015
|
+
|
|
36016
|
+
|
|
35411
36017
|
/***/ }),
|
|
35412
36018
|
|
|
35413
36019
|
/***/ 93183:
|
|
@@ -40737,7 +41343,8 @@ function brBefore(start) {
|
|
|
40737
41343
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(580);
|
|
40738
41344
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29960);
|
|
40739
41345
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6441);
|
|
40740
|
-
/* harmony import */ var
|
|
41346
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2073);
|
|
41347
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(92762);
|
|
40741
41348
|
/*!
|
|
40742
41349
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40743
41350
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40747,6 +41354,7 @@ function brBefore(start) {
|
|
|
40747
41354
|
|
|
40748
41355
|
|
|
40749
41356
|
|
|
41357
|
+
|
|
40750
41358
|
/**
|
|
40751
41359
|
* Selected text becomes the link's text, as the Link button does, instead
|
|
40752
41360
|
* of being replaced by the file's name. Returns false with nothing selected
|
|
@@ -40768,16 +41376,16 @@ function brBefore(start) {
|
|
|
40768
41376
|
return true;
|
|
40769
41377
|
}
|
|
40770
41378
|
function insertLinks(data) {
|
|
40771
|
-
|
|
40772
|
-
(
|
|
40773
|
-
const href =
|
|
41379
|
+
const { baseurl } = data;
|
|
41380
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(data).forEach(({ file })=>{
|
|
41381
|
+
const href = baseurl + file;
|
|
40774
41382
|
if (wrapSelectionInLink(this, href)) {
|
|
40775
41383
|
return;
|
|
40776
41384
|
}
|
|
40777
41385
|
const link = this.createInside.element('a', {
|
|
40778
41386
|
href
|
|
40779
41387
|
});
|
|
40780
|
-
link.textContent = this.o.uploader.getDisplayName.call(this.uploader,
|
|
41388
|
+
link.textContent = this.o.uploader.getDisplayName.call(this.uploader, baseurl, file);
|
|
40781
41389
|
this.s.insertNode(link);
|
|
40782
41390
|
});
|
|
40783
41391
|
}
|
|
@@ -40805,9 +41413,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_3__.Config.prototype.controls.file = {
|
|
|
40805
41413
|
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))) {
|
|
40806
41414
|
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);
|
|
40807
41415
|
}
|
|
40808
|
-
return (0,
|
|
41416
|
+
return (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_5__.FileSelectorWidget)(editor, {
|
|
40809
41417
|
filebrowser: (data)=>{
|
|
40810
|
-
|
|
41418
|
+
;(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_4__.getItems)(data).forEach(({ file })=>insert(data.baseurl + file));
|
|
40811
41419
|
close();
|
|
40812
41420
|
},
|
|
40813
41421
|
upload: (data)=>{
|
|
@@ -43056,10 +43664,9 @@ const PLACEHOLDER = 'data-jodit-placeholder';
|
|
|
43056
43664
|
const fresh = this.__freshCaption(wrapper);
|
|
43057
43665
|
this.__unrecorded(()=>fresh ? this.__restore(fresh) : this.__uncaption(wrapper, image));
|
|
43058
43666
|
// The click opened the image's popup below the caption, so it
|
|
43059
|
-
//
|
|
43667
|
+
// moves below the image, as after the popup's Caption button
|
|
43060
43668
|
if (clicked) {
|
|
43061
43669
|
j.e.fire('recalcPositionPopup');
|
|
43062
|
-
j.e.fire('closeAllPopups');
|
|
43063
43670
|
}
|
|
43064
43671
|
}, 1);
|
|
43065
43672
|
}
|
|
@@ -44942,9 +45549,9 @@ UIImagePositionTab = __decorate([
|
|
|
44942
45549
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44943
45550
|
/* harmony export */ openImagePopup: function() { return /* binding */ openImagePopup; }
|
|
44944
45551
|
/* harmony export */ });
|
|
44945
|
-
/* harmony import */ var
|
|
44946
|
-
/* harmony import */ var
|
|
44947
|
-
/* harmony import */ var
|
|
45552
|
+
/* harmony import */ var _core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5700);
|
|
45553
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56917);
|
|
45554
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2073);
|
|
44948
45555
|
/* harmony import */ var _modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34793);
|
|
44949
45556
|
/*!
|
|
44950
45557
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -44955,25 +45562,27 @@ UIImagePositionTab = __decorate([
|
|
|
44955
45562
|
|
|
44956
45563
|
|
|
44957
45564
|
/** @private */ function openImagePopup(j, dialog, state, button) {
|
|
44958
|
-
const popup = new
|
|
45565
|
+
const popup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_1__.Popup(dialog);
|
|
44959
45566
|
const closePopup = ()=>{
|
|
44960
45567
|
popup.close();
|
|
44961
45568
|
popup.destruct();
|
|
44962
45569
|
};
|
|
44963
45570
|
popup.setContent((0,_modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_3__.FileSelectorWidget)(j, {
|
|
44964
45571
|
upload: (data)=>{
|
|
44965
|
-
|
|
44966
|
-
|
|
45572
|
+
const [item] = (0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__.getItems)(data);
|
|
45573
|
+
if (item) {
|
|
45574
|
+
state.values.imageSrc = data.baseurl + item.file;
|
|
44967
45575
|
}
|
|
44968
45576
|
closePopup();
|
|
44969
45577
|
},
|
|
44970
45578
|
filebrowser: async (data)=>{
|
|
44971
|
-
|
|
44972
|
-
|
|
45579
|
+
const [item] = data ? (0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_2__.getItems)(data) : [];
|
|
45580
|
+
if (item) {
|
|
45581
|
+
state.values.imageSrc = item.file;
|
|
44973
45582
|
closePopup();
|
|
44974
45583
|
}
|
|
44975
45584
|
}
|
|
44976
|
-
}, state.image, closePopup)).open(()=>(0,
|
|
45585
|
+
}, state.image, closePopup)).open(()=>(0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_0__.position)(button));
|
|
44977
45586
|
}
|
|
44978
45587
|
|
|
44979
45588
|
|
|
@@ -45264,8 +45873,9 @@ UIImagePositionTab = __decorate([
|
|
|
45264
45873
|
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29960);
|
|
45265
45874
|
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(12153);
|
|
45266
45875
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6441);
|
|
45267
|
-
/* harmony import */ var
|
|
45268
|
-
/* harmony import */ var
|
|
45876
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2073);
|
|
45877
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(92762);
|
|
45878
|
+
/* harmony import */ var _image_svg_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(25179);
|
|
45269
45879
|
/*!
|
|
45270
45880
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45271
45881
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -45278,7 +45888,8 @@ UIImagePositionTab = __decorate([
|
|
|
45278
45888
|
|
|
45279
45889
|
|
|
45280
45890
|
|
|
45281
|
-
|
|
45891
|
+
|
|
45892
|
+
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_4__.Icon.set('image', _image_svg_js__WEBPACK_IMPORTED_MODULE_8__["default"]);
|
|
45282
45893
|
_config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.image = {
|
|
45283
45894
|
popup: (editor, current, close)=>{
|
|
45284
45895
|
let sourceImage = null;
|
|
@@ -45286,10 +45897,10 @@ _config_js__WEBPACK_IMPORTED_MODULE_5__.Config.prototype.controls.image = {
|
|
|
45286
45897
|
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];
|
|
45287
45898
|
}
|
|
45288
45899
|
editor.s.save();
|
|
45289
|
-
return (0,
|
|
45900
|
+
return (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_7__.FileSelectorWidget)(editor, {
|
|
45290
45901
|
filebrowser: (data)=>{
|
|
45291
45902
|
editor.s.restore();
|
|
45292
|
-
|
|
45903
|
+
(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));
|
|
45293
45904
|
close();
|
|
45294
45905
|
},
|
|
45295
45906
|
upload: true,
|
|
@@ -45639,6 +46250,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('indent', indent);
|
|
|
45639
46250
|
|
|
45640
46251
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInline = true;
|
|
45641
46252
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineForSelection = false;
|
|
46253
|
+
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineKeepOpen = true;
|
|
45642
46254
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineDisableFor = [];
|
|
45643
46255
|
_config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineDisabledButtons = [
|
|
45644
46256
|
'source'
|
|
@@ -45722,8 +46334,7 @@ const isSafeHref = (href)=>/^(https?:|mailto:|tel:)/i.test(href.trim()) && !/^(j
|
|
|
45722
46334
|
|
|
45723
46335
|
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2748);
|
|
45724
46336
|
/* harmony import */ var _core_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27613);
|
|
45725
|
-
/* harmony import */ var
|
|
45726
|
-
/* harmony import */ var _core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41180);
|
|
46337
|
+
/* harmony import */ var _core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41180);
|
|
45727
46338
|
/*!
|
|
45728
46339
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45729
46340
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -45731,7 +46342,6 @@ const isSafeHref = (href)=>/^(https?:|mailto:|tel:)/i.test(href.trim()) && !/^(j
|
|
|
45731
46342
|
*/
|
|
45732
46343
|
|
|
45733
46344
|
|
|
45734
|
-
|
|
45735
46345
|
const cmd = (control)=>control.args && (0,_core_helpers_checker_index_js__WEBPACK_IMPORTED_MODULE_1__.isString)(control.args[0]) ? control.args[0].toLowerCase() : '';
|
|
45736
46346
|
/* harmony default export */ __webpack_exports__["default"] = ([
|
|
45737
46347
|
'brushCell',
|
|
@@ -45747,7 +46357,7 @@ const cmd = (control)=>control.args && (0,_core_helpers_checker_index_js__WEBPAC
|
|
|
45747
46357
|
exec: (editor, table, { control })=>{
|
|
45748
46358
|
const command = cmd(control);
|
|
45749
46359
|
editor.getInstance('Table', editor.o).getAllSelectedCells().forEach((cell)=>{
|
|
45750
|
-
(0,
|
|
46360
|
+
(0,_core_helpers_utils_css_js__WEBPACK_IMPORTED_MODULE_2__.css)(cell, 'vertical-align', command === 'normal' ? '' : command);
|
|
45751
46361
|
});
|
|
45752
46362
|
},
|
|
45753
46363
|
tooltip: 'Vertical align'
|
|
@@ -45813,13 +46423,6 @@ const cmd = (control)=>control.args && (0,_core_helpers_checker_index_js__WEBPAC
|
|
|
45813
46423
|
return;
|
|
45814
46424
|
}
|
|
45815
46425
|
editor.execCommand('tableheaderrow', false, table);
|
|
45816
|
-
const [cell] = editor.getInstance('Table', editor.o).getAllSelectedCells();
|
|
45817
|
-
// Beside the cell that replaced the one it opened for
|
|
45818
|
-
if (cell) {
|
|
45819
|
-
editor.e.fire('showPopup', table, ()=>(0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_2__.position)(cell, editor), 'cells');
|
|
45820
|
-
}
|
|
45821
|
-
// The popup stays open, so the button shows the new state
|
|
45822
|
-
return true;
|
|
45823
46426
|
},
|
|
45824
46427
|
isActive: (editor, button)=>_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(button.target, 'table') && editor.getInstance('Table', editor.o).hasHeaderRow(button.target),
|
|
45825
46428
|
isDisabled: (editor, button)=>!_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isTag(button.target, 'table') || !editor.getInstance('Table', editor.o).canToggleHeaderRow(button.target),
|
|
@@ -46011,7 +46614,7 @@ const align = {
|
|
|
46011
46614
|
const caption = editor.e.fire('toggleImageCaption', image);
|
|
46012
46615
|
editor.synchronizeValues();
|
|
46013
46616
|
if (_core_dom_index_js__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTMLElement(caption)) {
|
|
46014
|
-
editor.e.fire('hideResizer');
|
|
46617
|
+
editor.e.fire('hidePopup hideResizer');
|
|
46015
46618
|
editor.s.setCursorIn(caption);
|
|
46016
46619
|
} else {
|
|
46017
46620
|
editor.e.fire('recalcPositionPopup');
|
|
@@ -46210,7 +46813,9 @@ const align = {
|
|
|
46210
46813
|
* Plugin for show inline popup dialog
|
|
46211
46814
|
*/ class inlinePopup extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_4__.Plugin {
|
|
46212
46815
|
get popup() {
|
|
46213
|
-
|
|
46816
|
+
const popup = new _core_ui_popup_index_js__WEBPACK_IMPORTED_MODULE_7__.Popup(this.jodit, false);
|
|
46817
|
+
popup.keepOpen = this.j.o.toolbarInlineKeepOpen;
|
|
46818
|
+
return popup;
|
|
46214
46819
|
}
|
|
46215
46820
|
get toolbar() {
|
|
46216
46821
|
return (0,_modules_toolbar_factory_js__WEBPACK_IMPORTED_MODULE_8__.makeCollection)(this.jodit, this.popup);
|
|
@@ -46223,8 +46828,8 @@ const align = {
|
|
|
46223
46828
|
const isMedia = type === 'jodit-media';
|
|
46224
46829
|
// Beside the media in a wrapper kept in the content, which can fill
|
|
46225
46830
|
// the line, and below a captioned image's caption, so it stays in view
|
|
46226
|
-
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;
|
|
46227
|
-
this.showPopup(()=>this.__bound(bound, isMedia), type, target);
|
|
46831
|
+
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;
|
|
46832
|
+
this.showPopup(()=>this.__bound(bound(), isMedia), type, target);
|
|
46228
46833
|
return false;
|
|
46229
46834
|
}
|
|
46230
46835
|
}
|
|
@@ -46248,13 +46853,18 @@ const align = {
|
|
|
46248
46853
|
* Show inline popup with some toolbar
|
|
46249
46854
|
*
|
|
46250
46855
|
* @param type - selection, img, a etc.
|
|
46251
|
-
|
|
46856
|
+
* @param force - make the popup again for the same target
|
|
46857
|
+
*/ showPopup(rect, type, target, force = false) {
|
|
46252
46858
|
type = type.toLowerCase();
|
|
46253
46859
|
if (!this.canShowPopupForType(type)) {
|
|
46254
46860
|
return false;
|
|
46255
46861
|
}
|
|
46256
|
-
if (this.type !== type || target !== this.previousTarget) {
|
|
46862
|
+
if (force || this.type !== type || target !== this.previousTarget) {
|
|
46257
46863
|
this.previousTarget = target;
|
|
46864
|
+
// What it showed is taken out, not destructed: an element a
|
|
46865
|
+
// function returns is its own, and may be shown again
|
|
46866
|
+
this.popup.elements.slice().forEach((elm)=>this.popup.remove(elm));
|
|
46867
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.detach(this.popup.getElm('content'));
|
|
46258
46868
|
const data = this.j.o.popup[type];
|
|
46259
46869
|
let content;
|
|
46260
46870
|
if ((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.isFunction)(data)) {
|
|
@@ -46337,59 +46947,28 @@ const align = {
|
|
|
46337
46947
|
return name && name !== '|' && name !== '\n' && !names.includes(name);
|
|
46338
46948
|
});
|
|
46339
46949
|
}
|
|
46340
|
-
}).on('hidePopup', this.hidePopup).on('showInlineToolbar', this.showInlineToolbar).on('showPopup', (elm, rect, type)=>{
|
|
46341
|
-
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);
|
|
46950
|
+
}).on('hidePopup', this.hidePopup).on('showInlineToolbar', this.showInlineToolbar).on('showPopup', (elm, rect, type, force)=>{
|
|
46951
|
+
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);
|
|
46342
46952
|
}).on('mousedown keydown', this.onSelectionStart).on('change', ()=>{
|
|
46343
|
-
if (this.popup.isOpened
|
|
46953
|
+
if (!this.popup.isOpened) {
|
|
46954
|
+
return;
|
|
46955
|
+
}
|
|
46956
|
+
if (this.previousTarget && !this.previousTarget.parentNode) {
|
|
46344
46957
|
this.hidePopup();
|
|
46345
46958
|
this.previousTarget = undefined;
|
|
46959
|
+
} else if (this.type === 'selection' && !this.__hasSelectedContent()) {
|
|
46960
|
+
this.hidePopup();
|
|
46346
46961
|
}
|
|
46347
46962
|
}).on([
|
|
46348
46963
|
this.j.ew,
|
|
46349
46964
|
this.j.ow
|
|
46350
|
-
], 'mouseup keyup', this.onSelectionEnd)
|
|
46351
|
-
this.j.ew,
|
|
46352
|
-
this.j.ow
|
|
46353
|
-
], 'mousedown touchstart', this.__onDocumentMouseDown).on('closeAllPopups', this.__onCloseAllPopups);
|
|
46965
|
+
], 'mouseup keyup', this.onSelectionEnd);
|
|
46354
46966
|
this.addListenersForElements();
|
|
46355
46967
|
}
|
|
46356
|
-
|
|
46357
|
-
|
|
46358
|
-
|
|
46359
|
-
|
|
46360
|
-
}
|
|
46361
|
-
__onDocumentMouseDown(e) {
|
|
46362
|
-
this.__reopenFor = null;
|
|
46363
|
-
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)) {
|
|
46364
|
-
this.__reopenSelectionPopup = true;
|
|
46365
|
-
}
|
|
46366
|
-
}
|
|
46367
|
-
__onCloseAllPopups() {
|
|
46368
|
-
const target = this.__reopenFor;
|
|
46369
|
-
if (target) {
|
|
46370
|
-
this.__reopenFor = null;
|
|
46371
|
-
// After the popup's own `closeAllPopups` handler, as below
|
|
46372
|
-
this.j.async.setTimeout(()=>{
|
|
46373
|
-
if (this.j.editor.contains(target)) {
|
|
46374
|
-
this.onClick(target);
|
|
46375
|
-
}
|
|
46376
|
-
}, 1);
|
|
46377
|
-
}
|
|
46378
|
-
if (!this.__reopenSelectionPopup) {
|
|
46379
|
-
return;
|
|
46380
|
-
}
|
|
46381
|
-
this.__reopenSelectionPopup = false;
|
|
46382
|
-
if (!this.j.o.toolbarInlineForSelection) {
|
|
46383
|
-
return;
|
|
46384
|
-
}
|
|
46385
|
-
// a zero timeout would run synchronously — before the popup's own
|
|
46386
|
-
// `closeAllPopups` handler closes it; defer to the next macrotask
|
|
46387
|
-
this.j.async.setTimeout(()=>{
|
|
46388
|
-
const sel = this.j.s.sel;
|
|
46389
|
-
if (sel && !sel.isCollapsed) {
|
|
46390
|
-
this.showPopup(()=>this.__selectionBound(), 'selection');
|
|
46391
|
-
}
|
|
46392
|
-
}, 1);
|
|
46968
|
+
/**
|
|
46969
|
+
* Follow the element once a control has moved it, as the alignments do
|
|
46970
|
+
*/ onRecalcPositionPopup() {
|
|
46971
|
+
this.popup.updatePosition();
|
|
46393
46972
|
}
|
|
46394
46973
|
/**
|
|
46395
46974
|
* The selection rect comes from the editor document — in iframe mode its
|
|
@@ -46435,9 +47014,8 @@ const align = {
|
|
|
46435
47014
|
return;
|
|
46436
47015
|
}
|
|
46437
47016
|
const type = 'selection';
|
|
46438
|
-
const sel = this.j.s.sel;
|
|
46439
47017
|
const range = this.j.s.range;
|
|
46440
|
-
if ((
|
|
47018
|
+
if (!this.__hasSelectedContent() || this.isSelectedTarget(range)) {
|
|
46441
47019
|
if (this.type === type && this.popup.isOpened) {
|
|
46442
47020
|
this.hidePopup();
|
|
46443
47021
|
}
|
|
@@ -46449,6 +47027,28 @@ const align = {
|
|
|
46449
47027
|
}
|
|
46450
47028
|
this.showPopup(()=>this.__selectionBound(), type);
|
|
46451
47029
|
}
|
|
47030
|
+
/**
|
|
47031
|
+
* The selection holds more than a line break. A double click past the end
|
|
47032
|
+
* of a line, or a drag from there into the next, selects only the break,
|
|
47033
|
+
* with any rule, video or empty line it crosses: it starts at the end of a
|
|
47034
|
+
* line, after everything in it, and holds no text that shows
|
|
47035
|
+
*/ __hasSelectedContent() {
|
|
47036
|
+
const { sel, range } = this.j.s;
|
|
47037
|
+
if (!sel || sel.isCollapsed) {
|
|
47038
|
+
return false;
|
|
47039
|
+
}
|
|
47040
|
+
// HTML collapses ASCII white space, but not
|
|
47041
|
+
const showsText = (r)=>/[^\t\n\f\r \uFEFF\u200B]/.test(r.toString());
|
|
47042
|
+
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);
|
|
47043
|
+
if (!line || line === this.j.editor || showsText(range)) {
|
|
47044
|
+
return true;
|
|
47045
|
+
}
|
|
47046
|
+
// The rest of the line after the selection's start
|
|
47047
|
+
const rest = this.j.s.createRange();
|
|
47048
|
+
rest.setStart(range.startContainer, range.startOffset);
|
|
47049
|
+
rest.setEnd(line, line.childNodes.length);
|
|
47050
|
+
return showsText(rest) || (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.toArray)(line.querySelectorAll(':not(br):empty')).some((elm)=>rest.intersectsNode(elm));
|
|
47051
|
+
}
|
|
46452
47052
|
/**
|
|
46453
47053
|
* In not collapsed selection - only one image
|
|
46454
47054
|
*/ isSelectedTarget(r) {
|
|
@@ -46464,10 +47064,7 @@ const align = {
|
|
|
46464
47064
|
jodit.e.off('showPopup').off([
|
|
46465
47065
|
this.j.ew,
|
|
46466
47066
|
this.j.ow
|
|
46467
|
-
], 'mouseup keyup', this.onSelectionEnd)
|
|
46468
|
-
this.j.ew,
|
|
46469
|
-
this.j.ow
|
|
46470
|
-
], 'mousedown touchstart', this.__onDocumentMouseDown).off('closeAllPopups', this.__onCloseAllPopups);
|
|
47067
|
+
], 'mouseup keyup', this.onSelectionEnd);
|
|
46471
47068
|
this.removeListenersForElements();
|
|
46472
47069
|
}
|
|
46473
47070
|
_eventsList() {
|
|
@@ -46499,16 +47096,6 @@ const align = {
|
|
|
46499
47096
|
constructor(){
|
|
46500
47097
|
super(...arguments);
|
|
46501
47098
|
this.type = null;
|
|
46502
|
-
/**
|
|
46503
|
-
* The user pressed a button inside the selection toolbar — after the
|
|
46504
|
-
* command fires `closeAllPopups`, the toolbar should be shown again
|
|
46505
|
-
* while the selection is still there. See #1238
|
|
46506
|
-
*/ this.__reopenSelectionPopup = false;
|
|
46507
|
-
/**
|
|
46508
|
-
* The alignment controls fire `recalcPositionPopup` once they have moved
|
|
46509
|
-
* the element, and their button then fires `closeAllPopups`. The popup
|
|
46510
|
-
* opens again beside the element, as the selection toolbar does
|
|
46511
|
-
*/ this.__reopenFor = null;
|
|
46512
47099
|
this.snapRange = null;
|
|
46513
47100
|
this.__keyDownElement = null;
|
|
46514
47101
|
this.elmsList = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_3__.keys)(this.j.o.popup, false).filter((s)=>!this.isExcludedTarget(s));
|
|
@@ -46546,12 +47133,6 @@ __decorate([
|
|
|
46546
47133
|
__decorate([
|
|
46547
47134
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.watch)(':recalcPositionPopup')
|
|
46548
47135
|
], inlinePopup.prototype, "onRecalcPositionPopup", null);
|
|
46549
|
-
__decorate([
|
|
46550
|
-
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
46551
|
-
], inlinePopup.prototype, "__onDocumentMouseDown", null);
|
|
46552
|
-
__decorate([
|
|
46553
|
-
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
46554
|
-
], inlinePopup.prototype, "__onCloseAllPopups", null);
|
|
46555
47136
|
__decorate([
|
|
46556
47137
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
46557
47138
|
], inlinePopup.prototype, "onSelectionStart", null);
|
|
@@ -47189,8 +47770,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
47189
47770
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
47190
47771
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
47191
47772
|
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
47192
|
-
/* harmony import */ var
|
|
47193
|
-
/* harmony import */ var
|
|
47773
|
+
/* harmony import */ var _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(48538);
|
|
47774
|
+
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(12153);
|
|
47775
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(56917);
|
|
47776
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(5827);
|
|
47777
|
+
/* harmony import */ var _typed_link_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(58970);
|
|
47194
47778
|
/*!
|
|
47195
47779
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
47196
47780
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -47209,6 +47793,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
47209
47793
|
|
|
47210
47794
|
|
|
47211
47795
|
|
|
47796
|
+
|
|
47797
|
+
|
|
47798
|
+
|
|
47212
47799
|
/**
|
|
47213
47800
|
* Process link. Insert, dblclick or remove format
|
|
47214
47801
|
*/ class link extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
@@ -47353,6 +47940,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
47353
47940
|
target_checkbox.checked = openInNewTabCheckboxDefaultChecked;
|
|
47354
47941
|
}
|
|
47355
47942
|
}
|
|
47943
|
+
addAnchorList(jodit, url_input, content_input, isImageContent);
|
|
47356
47944
|
jodit.editor.normalize();
|
|
47357
47945
|
const snapshot = jodit.history.snapshot.make();
|
|
47358
47946
|
if (unlink) {
|
|
@@ -47515,7 +48103,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls.link = {
|
|
|
47515
48103
|
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)) {
|
|
47516
48104
|
return;
|
|
47517
48105
|
}
|
|
47518
|
-
const found = (0,
|
|
48106
|
+
const found = (0,_typed_link_js__WEBPACK_IMPORTED_MODULE_10__.findTypedLink)(node.data, end, jodit.o.link.typedLinkTlds, jodit.o.link.typedLinkFileEndings);
|
|
47519
48107
|
if (!found) {
|
|
47520
48108
|
return;
|
|
47521
48109
|
}
|
|
@@ -47610,6 +48198,142 @@ const MODIFIER_KEYS = new Set([
|
|
|
47610
48198
|
'CapsLock'
|
|
47611
48199
|
]);
|
|
47612
48200
|
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('link', link);
|
|
48201
|
+
/**
|
|
48202
|
+
* A dropdown arrow in the URL field that lists the document's anchors by the
|
|
48203
|
+
* words after them, and fills in the one picked. The list opens in a popup of
|
|
48204
|
+
* its own, from the arrow or the down arrow key, and closes once an address is
|
|
48205
|
+
* typed
|
|
48206
|
+
*/ function addAnchorList(jodit, url, content, isImage) {
|
|
48207
|
+
const anchors = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchors)(jodit.editor);
|
|
48208
|
+
const field = url === null || url === void 0 ? void 0 : url.closest('.jodit-ui-input__wrapper');
|
|
48209
|
+
const input = field && _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__.UIElement.closestElement(field, _core_ui_element_js__WEBPACK_IMPORTED_MODULE_6__.UIElement);
|
|
48210
|
+
if (!field || !input || !anchors.length) {
|
|
48211
|
+
return;
|
|
48212
|
+
}
|
|
48213
|
+
const { c } = jodit;
|
|
48214
|
+
const label = jodit.i18n('Link to an anchor');
|
|
48215
|
+
const toggle = c.element('button', {
|
|
48216
|
+
type: 'button',
|
|
48217
|
+
class: 'jodit-link-anchors__toggle',
|
|
48218
|
+
title: label,
|
|
48219
|
+
'aria-label': label
|
|
48220
|
+
});
|
|
48221
|
+
const heading = c.div('jodit-link-anchors__heading', {
|
|
48222
|
+
id: 'jodit-link-anchors-' + (0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.uniqueUid)()
|
|
48223
|
+
});
|
|
48224
|
+
const list = c.div('jodit-link-anchors', {
|
|
48225
|
+
role: 'group',
|
|
48226
|
+
'aria-labelledby': heading.id
|
|
48227
|
+
});
|
|
48228
|
+
const icon = (name)=>{
|
|
48229
|
+
var _a;
|
|
48230
|
+
return (_a = _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_7__.Icon.makeIcon(jodit, {
|
|
48231
|
+
name,
|
|
48232
|
+
iconURL: '',
|
|
48233
|
+
fill: '',
|
|
48234
|
+
scale: undefined
|
|
48235
|
+
})) !== null && _a !== void 0 ? _a : c.span();
|
|
48236
|
+
};
|
|
48237
|
+
const dropdown = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_8__.Popup(jodit).setMod('padding', false);
|
|
48238
|
+
const items = [];
|
|
48239
|
+
let filled = '';
|
|
48240
|
+
const open = ()=>{
|
|
48241
|
+
var _a;
|
|
48242
|
+
if (dropdown.isOpened) {
|
|
48243
|
+
return;
|
|
48244
|
+
}
|
|
48245
|
+
// Clicks in the list then count as the form's, which stays open
|
|
48246
|
+
dropdown.parentElement || (dropdown.parentElement = input);
|
|
48247
|
+
list.style.minWidth = field.offsetWidth + 'px';
|
|
48248
|
+
dropdown.open(()=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(field));
|
|
48249
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', true);
|
|
48250
|
+
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])));
|
|
48251
|
+
(_a = list.querySelector('[aria-current=true]')) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
|
|
48252
|
+
block: 'nearest'
|
|
48253
|
+
});
|
|
48254
|
+
};
|
|
48255
|
+
toggle.append(icon('chevron'));
|
|
48256
|
+
(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.attr)(toggle, 'aria-expanded', false);
|
|
48257
|
+
heading.textContent = jodit.i18n('On this page');
|
|
48258
|
+
list.appendChild(heading);
|
|
48259
|
+
dropdown.setContent(list);
|
|
48260
|
+
anchors.forEach((anchor)=>{
|
|
48261
|
+
const name = (0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.getAnchorName)(anchor);
|
|
48262
|
+
const text = textAfter(jodit, anchor) || name;
|
|
48263
|
+
const item = c.element('button', {
|
|
48264
|
+
type: 'button',
|
|
48265
|
+
tabindex: -1,
|
|
48266
|
+
class: 'jodit-link-anchors__item'
|
|
48267
|
+
});
|
|
48268
|
+
items.push(item);
|
|
48269
|
+
const textBox = c.span('jodit-link-anchors__text');
|
|
48270
|
+
textBox.textContent = text;
|
|
48271
|
+
const nameBox = c.span('jodit-link-anchors__name');
|
|
48272
|
+
nameBox.textContent = '#' + name;
|
|
48273
|
+
item.append(icon('anchor'), textBox, nameBox);
|
|
48274
|
+
list.appendChild(item);
|
|
48275
|
+
jodit.e.on(item, 'click', ()=>{
|
|
48276
|
+
dropdown.close();
|
|
48277
|
+
url.value = '#' + name;
|
|
48278
|
+
if (!isImage && (!content.value.trim() || content.value === filled)) {
|
|
48279
|
+
content.value = filled = text;
|
|
48280
|
+
}
|
|
48281
|
+
url.focus();
|
|
48282
|
+
});
|
|
48283
|
+
});
|
|
48284
|
+
// A press on the arrow closes the open list before the click
|
|
48285
|
+
let wasOpen = false;
|
|
48286
|
+
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', ()=>{
|
|
48287
|
+
wasOpen || dropdown.isOpened ? dropdown.close() : open();
|
|
48288
|
+
wasOpen = false;
|
|
48289
|
+
}).on(url, 'input.anchors', ()=>{
|
|
48290
|
+
if (url.value && !url.value.startsWith('#')) {
|
|
48291
|
+
dropdown.close();
|
|
48292
|
+
}
|
|
48293
|
+
}).on(url, 'keydown.anchors', (e)=>{
|
|
48294
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN) {
|
|
48295
|
+
e.preventDefault();
|
|
48296
|
+
open();
|
|
48297
|
+
items[0].focus();
|
|
48298
|
+
}
|
|
48299
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC && dropdown.isOpened) {
|
|
48300
|
+
e.stopPropagation();
|
|
48301
|
+
dropdown.close();
|
|
48302
|
+
}
|
|
48303
|
+
}).on(list, 'keydown', (e)=>{
|
|
48304
|
+
var _a;
|
|
48305
|
+
const index = items.indexOf(e.target);
|
|
48306
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN || e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) {
|
|
48307
|
+
e.preventDefault();
|
|
48308
|
+
(_a = items[index + (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN ? 1 : -1)]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
48309
|
+
}
|
|
48310
|
+
if (e.key === _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.KEY_ESC) {
|
|
48311
|
+
e.stopPropagation();
|
|
48312
|
+
dropdown.close();
|
|
48313
|
+
url.focus();
|
|
48314
|
+
}
|
|
48315
|
+
});
|
|
48316
|
+
// The URL input is destructed when the form closes
|
|
48317
|
+
input.hookStatus('destructed', ()=>{
|
|
48318
|
+
dropdown.destruct();
|
|
48319
|
+
jodit.e.off([
|
|
48320
|
+
toggle,
|
|
48321
|
+
list,
|
|
48322
|
+
...items
|
|
48323
|
+
]).off(url, '.anchors');
|
|
48324
|
+
});
|
|
48325
|
+
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_2__.Dom.after(url, toggle);
|
|
48326
|
+
}
|
|
48327
|
+
/**
|
|
48328
|
+
* The words after an anchor in its block, which say where it is
|
|
48329
|
+
*/ function textAfter(jodit, anchor) {
|
|
48330
|
+
var _a;
|
|
48331
|
+
const range = jodit.ed.createRange();
|
|
48332
|
+
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);
|
|
48333
|
+
range.setStartAfter(anchor);
|
|
48334
|
+
const text = range.toString().replace(/\s+/g, ' ').trim();
|
|
48335
|
+
return text.length > 50 ? text.slice(0, 50).replace(/\s+\S*$/, '') + '…' : text;
|
|
48336
|
+
}
|
|
47613
48337
|
/**
|
|
47614
48338
|
* Guess a usable `href` from the selected text for the link dialog.
|
|
47615
48339
|
* Returns an empty string when the text is not a plausible URL/email,
|
|
@@ -47624,7 +48348,7 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('link', link);
|
|
|
47624
48348
|
return value;
|
|
47625
48349
|
}
|
|
47626
48350
|
// email address -> mailto:
|
|
47627
|
-
if (
|
|
48351
|
+
if (_typed_link_js__WEBPACK_IMPORTED_MODULE_10__.EMAIL.test(value)) {
|
|
47628
48352
|
return `mailto:${value}`;
|
|
47629
48353
|
}
|
|
47630
48354
|
// bare domain like example.com or www.example.com/path -> https://
|
|
@@ -47723,7 +48447,9 @@ const formTemplate = (editor)=>{
|
|
|
47723
48447
|
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIBlock(editor, [
|
|
47724
48448
|
new _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_1__.UIInput(editor, {
|
|
47725
48449
|
name: 'url',
|
|
47726
|
-
|
|
48450
|
+
// Touch keyboards leave a URL field as typed, with no capital or
|
|
48451
|
+
// correction. The form is `novalidate`, so any address still goes in
|
|
48452
|
+
type: 'url',
|
|
47727
48453
|
ref: 'url_input',
|
|
47728
48454
|
label: 'URL',
|
|
47729
48455
|
placeholder: 'http://',
|
|
@@ -50749,6 +51475,13 @@ const IFRAME_WRAPPER = '[data-jodit_iframe_wrapper]';
|
|
|
50749
51475
|
this.addEventListeners();
|
|
50750
51476
|
this.__onChangeEditor();
|
|
50751
51477
|
}
|
|
51478
|
+
/**
|
|
51479
|
+
* A tap that selects an image sends no `click` (iPadOS), so `touchend`
|
|
51480
|
+
* stands in for it. A tick later, after `onClickOutside` has had the same
|
|
51481
|
+
* `touchend`, as `click` comes after `mouseup`
|
|
51482
|
+
*/ onEditorTouchEnd(e) {
|
|
51483
|
+
this.j.async.setTimeout(()=>this.onEditorClick(e), 1);
|
|
51484
|
+
}
|
|
50752
51485
|
/**
|
|
50753
51486
|
* Click in the editor area
|
|
50754
51487
|
*/ onEditorClick(e) {
|
|
@@ -51194,6 +51927,9 @@ const IFRAME_WRAPPER = '[data-jodit_iframe_wrapper]';
|
|
|
51194
51927
|
};
|
|
51195
51928
|
}
|
|
51196
51929
|
}
|
|
51930
|
+
__decorate([
|
|
51931
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':touchend')
|
|
51932
|
+
], resizer.prototype, "onEditorTouchEnd", null);
|
|
51197
51933
|
__decorate([
|
|
51198
51934
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':click')
|
|
51199
51935
|
], resizer.prototype, "onEditorClick", null);
|
|
@@ -52166,8 +52902,9 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellSelection
|
|
|
52166
52902
|
/* harmony import */ var _core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21537);
|
|
52167
52903
|
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(50911);
|
|
52168
52904
|
/* harmony import */ var _core_selection_helpers_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(45124);
|
|
52169
|
-
/* harmony import */ var
|
|
52170
|
-
/* harmony import */ var
|
|
52905
|
+
/* harmony import */ var _core_ui_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(67510);
|
|
52906
|
+
/* harmony import */ var _modules_table_table_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(76014);
|
|
52907
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(55311);
|
|
52171
52908
|
/*!
|
|
52172
52909
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
52173
52910
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -52187,12 +52924,13 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.tableAllowCellSelection
|
|
|
52187
52924
|
|
|
52188
52925
|
|
|
52189
52926
|
|
|
52927
|
+
|
|
52190
52928
|
const key = 'table_processor_observer';
|
|
52191
52929
|
class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
52192
52930
|
/**
|
|
52193
52931
|
* Shortcut for Jodit.modules.Table
|
|
52194
52932
|
*/ get __tableModule() {
|
|
52195
|
-
return this.j.getInstance(
|
|
52933
|
+
return this.j.getInstance(_modules_table_table_js__WEBPACK_IMPORTED_MODULE_8__.Table, this.j.o);
|
|
52196
52934
|
}
|
|
52197
52935
|
afterInit(jodit) {
|
|
52198
52936
|
if (!jodit.o.tableAllowCellSelection) {
|
|
@@ -52280,7 +53018,28 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
52280
53018
|
// As after a click, the first change to the cell keeps the mark
|
|
52281
53019
|
this.__selectedCell = cell;
|
|
52282
53020
|
this.__tableModule.addSelection(cell);
|
|
52283
|
-
this.j.e.fire('showPopup', table,
|
|
53021
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
53022
|
+
}
|
|
53023
|
+
/**
|
|
53024
|
+
* The box round the marked cells, which their popup opens beside and
|
|
53025
|
+
* follows when its commands add, merge or replace cells
|
|
53026
|
+
*/ __markedBound() {
|
|
53027
|
+
const bounds = this.__tableModule.getAllSelectedCells().filter((cell)=>cell.isConnected).map((cell)=>(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.position)(cell, this.j));
|
|
53028
|
+
if (!bounds.length) {
|
|
53029
|
+
return {
|
|
53030
|
+
left: 0,
|
|
53031
|
+
top: 0,
|
|
53032
|
+
width: 0,
|
|
53033
|
+
height: 0
|
|
53034
|
+
};
|
|
53035
|
+
}
|
|
53036
|
+
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));
|
|
53037
|
+
return {
|
|
53038
|
+
left,
|
|
53039
|
+
top,
|
|
53040
|
+
width: right - left,
|
|
53041
|
+
height: bottom - top
|
|
53042
|
+
};
|
|
52284
53043
|
}
|
|
52285
53044
|
/**
|
|
52286
53045
|
* Mouse click inside the table
|
|
@@ -52305,7 +53064,7 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
52305
53064
|
this.__selectedCell = cell;
|
|
52306
53065
|
(_a = this.j.s.sel) === null || _a === void 0 ? void 0 : _a.removeAllRanges();
|
|
52307
53066
|
if (this.__tableModule.getAllSelectedCells().length) {
|
|
52308
|
-
this.j.e.fire('showPopup', table,
|
|
53067
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
52309
53068
|
} else {
|
|
52310
53069
|
this.j.e.fire('hidePopup', 'cells');
|
|
52311
53070
|
}
|
|
@@ -52353,8 +53112,11 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
52353
53112
|
return false;
|
|
52354
53113
|
}
|
|
52355
53114
|
}
|
|
53115
|
+
onPress(e) {
|
|
53116
|
+
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));
|
|
53117
|
+
}
|
|
52356
53118
|
onChange() {
|
|
52357
|
-
if (!this.j.isLocked && !this.__isSelectionMode) {
|
|
53119
|
+
if (!this.j.isLocked && !this.__isSelectionMode && !this.__inPopup) {
|
|
52358
53120
|
this.__onRemoveSelection();
|
|
52359
53121
|
}
|
|
52360
53122
|
}
|
|
@@ -52469,15 +53231,7 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
52469
53231
|
if (!min || !max) {
|
|
52470
53232
|
return;
|
|
52471
53233
|
}
|
|
52472
|
-
this.j.e.fire('showPopup', table,
|
|
52473
|
-
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);
|
|
52474
|
-
return {
|
|
52475
|
-
left: minOffset.left,
|
|
52476
|
-
top: minOffset.top,
|
|
52477
|
-
width: maxOffset.left - minOffset.left + maxOffset.width,
|
|
52478
|
-
height: maxOffset.top - minOffset.top + maxOffset.height
|
|
52479
|
-
};
|
|
52480
|
-
}, 'cells');
|
|
53234
|
+
this.j.e.fire('showPopup', table, this.__markedBound, 'cells');
|
|
52481
53235
|
}
|
|
52482
53236
|
__stopListening() {
|
|
52483
53237
|
;(0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_4__.$$)('table', this.j.editor).forEach((table)=>{
|
|
@@ -52590,6 +53344,11 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
52590
53344
|
this.__toggleHeaderRow(table, cells);
|
|
52591
53345
|
break;
|
|
52592
53346
|
}
|
|
53347
|
+
// A split unmarks the cells. They stay marked, as after the
|
|
53348
|
+
// other commands, so their popup stays beside them
|
|
53349
|
+
if (/^split/.test(command)) {
|
|
53350
|
+
cells.forEach((cell)=>this.__tableModule.addSelection(cell));
|
|
53351
|
+
}
|
|
52593
53352
|
if (/^bin(row|column)$/.test(command) && !this.__tableModule.getColumnsCount(table)) {
|
|
52594
53353
|
this.__removeTable(table);
|
|
52595
53354
|
}
|
|
@@ -52601,7 +53360,6 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
52601
53360
|
* Turns the table's header row on or off. The caret and the marked cells
|
|
52602
53361
|
* move to the cells that replace them
|
|
52603
53362
|
*/ __toggleHeaderRow(table, cells) {
|
|
52604
|
-
var _a, _b;
|
|
52605
53363
|
const module = this.__tableModule;
|
|
52606
53364
|
this.j.s.save();
|
|
52607
53365
|
const replaced = module.toggleHeaderRow(table);
|
|
@@ -52613,10 +53371,6 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
52613
53371
|
module.addSelection(next);
|
|
52614
53372
|
}
|
|
52615
53373
|
});
|
|
52616
|
-
// As after the click that marked it, the command's own change keeps
|
|
52617
|
-
// the marks, so the popup can stay open for another toggle
|
|
52618
|
-
const anchor = (_a = this.__selectedCell) !== null && _a !== void 0 ? _a : cells[0];
|
|
52619
|
-
this.__selectedCell = (_b = replaced.get(anchor)) !== null && _b !== void 0 ? _b : anchor;
|
|
52620
53374
|
}
|
|
52621
53375
|
/**
|
|
52622
53376
|
* The cell that takes the caret when rows or columns are deleted: the next
|
|
@@ -52683,6 +53437,10 @@ class selectCells extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_5__.Plu
|
|
|
52683
53437
|
* A drag let go outside the table ends in a click on the editor, which
|
|
52684
53438
|
* would unmark its cells
|
|
52685
53439
|
*/ this.__keepMarks = false;
|
|
53440
|
+
/**
|
|
53441
|
+
* The last press or key went to a popup, as to the cell popup's own
|
|
53442
|
+
* controls, whose changes keep the cells marked
|
|
53443
|
+
*/ this.__inPopup = false;
|
|
52686
53444
|
}
|
|
52687
53445
|
}
|
|
52688
53446
|
selectCells.requires = [
|
|
@@ -52694,6 +53452,9 @@ __decorate([
|
|
|
52694
53452
|
__decorate([
|
|
52695
53453
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':keyup')
|
|
52696
53454
|
], selectCells.prototype, "onKeyUp", null);
|
|
53455
|
+
__decorate([
|
|
53456
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
53457
|
+
], selectCells.prototype, "__markedBound", null);
|
|
52697
53458
|
__decorate([
|
|
52698
53459
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
52699
53460
|
], selectCells.prototype, "onStartSelection", null);
|
|
@@ -52709,6 +53470,16 @@ __decorate([
|
|
|
52709
53470
|
__decorate([
|
|
52710
53471
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
52711
53472
|
], selectCells.prototype, "__onClickAfterDrag", null);
|
|
53473
|
+
__decorate([
|
|
53474
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
53475
|
+
'ow:mousedown',
|
|
53476
|
+
'ow:touchstart',
|
|
53477
|
+
'ow:keydown',
|
|
53478
|
+
':mousedown',
|
|
53479
|
+
':touchstart',
|
|
53480
|
+
':keydown'
|
|
53481
|
+
])
|
|
53482
|
+
], selectCells.prototype, "onPress", null);
|
|
52712
53483
|
__decorate([
|
|
52713
53484
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)(':change')
|
|
52714
53485
|
], selectCells.prototype, "onChange", null);
|
|
@@ -52758,9 +53529,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
52758
53529
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(580);
|
|
52759
53530
|
/* harmony import */ var _core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4510);
|
|
52760
53531
|
/* harmony import */ var _core_helpers_string_camel_case_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(87058);
|
|
52761
|
-
/* harmony import */ var
|
|
52762
|
-
/* harmony import */ var
|
|
52763
|
-
/* harmony import */ var
|
|
53532
|
+
/* harmony import */ var _core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49055);
|
|
53533
|
+
/* harmony import */ var _core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(76078);
|
|
53534
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50911);
|
|
53535
|
+
/* harmony import */ var _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(67510);
|
|
53536
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(67215);
|
|
52764
53537
|
/*!
|
|
52765
53538
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
52766
53539
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -52780,6 +53553,11 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
52780
53553
|
|
|
52781
53554
|
|
|
52782
53555
|
|
|
53556
|
+
|
|
53557
|
+
|
|
53558
|
+
const MEDIA = 'video, iframe, audio, object, embed';
|
|
53559
|
+
// The shade the browsers lay over a selected image: #b5d6fd on white
|
|
53560
|
+
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")`;
|
|
52783
53561
|
/**
|
|
52784
53562
|
* A utility plugin that allows you to subscribe to a click/mousedown/touchstart/mouseup on an element in DOM order
|
|
52785
53563
|
*
|
|
@@ -52790,7 +53568,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
52790
53568
|
* console.log(img.src);
|
|
52791
53569
|
* })
|
|
52792
53570
|
* ```
|
|
52793
|
-
*/ class select extends
|
|
53571
|
+
*/ class select extends _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_8__.Plugin {
|
|
52794
53572
|
afterInit(jodit) {
|
|
52795
53573
|
this.proxyEventsList.forEach((eventName)=>{
|
|
52796
53574
|
jodit.e.on(eventName + '.select', this.onStartSelection);
|
|
@@ -52798,6 +53576,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
52798
53576
|
jodit.e.on('dblclick', this.__onDblClickBesideRow, {
|
|
52799
53577
|
top: true
|
|
52800
53578
|
});
|
|
53579
|
+
jodit.e.on(jodit.ed, 'selectionchange', this.__markSelectedMedia);
|
|
52801
53580
|
}
|
|
52802
53581
|
beforeDestruct(jodit) {
|
|
52803
53582
|
this.proxyEventsList.forEach((eventName)=>{
|
|
@@ -52805,6 +53584,39 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
52805
53584
|
});
|
|
52806
53585
|
this.__endPressBesideRow();
|
|
52807
53586
|
jodit.e.off('dblclick', this.__onDblClickBesideRow);
|
|
53587
|
+
jodit.e.off(jodit.ed, 'selectionchange', this.__markSelectedMedia);
|
|
53588
|
+
}
|
|
53589
|
+
/**
|
|
53590
|
+
* The browsers shade an image in the selection, but Chrome doesn't shade
|
|
53591
|
+
* a video with controls, or one in a `jodit-media` wrapper, so a selection
|
|
53592
|
+
* that took one in didn't show it, and typing deleted it unseen (#1768).
|
|
53593
|
+
* The media gets the same shade from a filter, in place of the tint Safari
|
|
53594
|
+
* gives a block wrapper's whole line. It's a style in the editing
|
|
53595
|
+
* document, as selected cells get their border, so the content, and with
|
|
53596
|
+
* it the value, the history and a copy, doesn't change. Media a click
|
|
53597
|
+
* selected whole is left alone, as its resize frame shows it (#1528). A
|
|
53598
|
+
* change, read-only and the source mode redo or drop the style, as the
|
|
53599
|
+
* selection may not change with them, and the style's paths could then
|
|
53600
|
+
* fit other elements
|
|
53601
|
+
*/ __markSelectedMedia() {
|
|
53602
|
+
var _a;
|
|
53603
|
+
const { s, editor, o } = this.j;
|
|
53604
|
+
const range = ((_a = s.sel) === null || _a === void 0 ? void 0 : _a.rangeCount) ? s.sel.getRangeAt(0) : null;
|
|
53605
|
+
const rules = [];
|
|
53606
|
+
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)) {
|
|
53607
|
+
uneditableIn(range, editor).forEach((elm)=>{
|
|
53608
|
+
const media = elm.querySelector(MEDIA);
|
|
53609
|
+
const wrapper = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.cssPath)(elm);
|
|
53610
|
+
if (media && wrapper) {
|
|
53611
|
+
rules.push(`${wrapper}::selection,${wrapper} ::selection{background:transparent}`, `${(0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_7__.cssPath)(media)}{filter:${SHADE}}`);
|
|
53612
|
+
}
|
|
53613
|
+
});
|
|
53614
|
+
}
|
|
53615
|
+
const style = rules.join('');
|
|
53616
|
+
if (style !== this.__selectedMediaStyle) {
|
|
53617
|
+
this.__selectedMediaStyle = style;
|
|
53618
|
+
(0,_core_global_js__WEBPACK_IMPORTED_MODULE_3__.getContainer)(this.j, select, 'style', true).textContent = style;
|
|
53619
|
+
}
|
|
52808
53620
|
}
|
|
52809
53621
|
onStartSelection(e) {
|
|
52810
53622
|
const { j } = this;
|
|
@@ -52830,10 +53642,14 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
52830
53642
|
}
|
|
52831
53643
|
// Selecting the text of a popup input with the mouse and releasing
|
|
52832
53644
|
// the button past the popup's edge is not a click outside of it.
|
|
52833
|
-
if (pressed &&
|
|
53645
|
+
if (pressed && _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.UIElement.closestElement(pressed, _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.Popup)) {
|
|
53646
|
+
return;
|
|
53647
|
+
}
|
|
53648
|
+
// An item of a list that closed once it was chosen was in a popup
|
|
53649
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isNode(node) && !node.isConnected) {
|
|
52834
53650
|
return;
|
|
52835
53651
|
}
|
|
52836
|
-
const box =
|
|
53652
|
+
const box = _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.UIElement.closestElement(node, _core_ui_index_js__WEBPACK_IMPORTED_MODULE_9__.Popup);
|
|
52837
53653
|
if (!box) {
|
|
52838
53654
|
this.j.e.fire('outsideClick', e);
|
|
52839
53655
|
}
|
|
@@ -53041,6 +53857,79 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
53041
53857
|
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);
|
|
53042
53858
|
}
|
|
53043
53859
|
}
|
|
53860
|
+
/**
|
|
53861
|
+
* A double click past the end of a line selects only its line break, up
|
|
53862
|
+
* to the start of the next line a caret can go on. The browsers show no
|
|
53863
|
+
* caret for it, and typing replaces the break, joining the lines and
|
|
53864
|
+
* taking any video in between with it (#1768). Put the caret at the end
|
|
53865
|
+
* of the line instead
|
|
53866
|
+
*/ onDblClickPastLineEnd() {
|
|
53867
|
+
const { s, editor, o } = this.j;
|
|
53868
|
+
const range = s.range;
|
|
53869
|
+
if (o.readonly || !_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isOrContains(editor, range.commonAncestorContainer) || !isLineBreak(range, editor)) {
|
|
53870
|
+
return;
|
|
53871
|
+
}
|
|
53872
|
+
range.collapse(true);
|
|
53873
|
+
s.selectRange(range);
|
|
53874
|
+
}
|
|
53875
|
+
/**
|
|
53876
|
+
* The browsers have no caret position beside an uneditable block alone
|
|
53877
|
+
* on its line, such as a video, so a drag that ends on its line runs on
|
|
53878
|
+
* past it, and typing deletes it (#1768). Until the pointer has passed
|
|
53879
|
+
* the block, the selection stops at the last caret place in the block
|
|
53880
|
+
* before its line, or for a drag upwards at the first in the block after
|
|
53881
|
+
*/ onMouseUpOnUneditableLine(e) {
|
|
53882
|
+
var _a, _b;
|
|
53883
|
+
const { s, editor, o } = this.j;
|
|
53884
|
+
const { sel } = s;
|
|
53885
|
+
if (o.readonly || !(sel === null || sel === void 0 ? void 0 : sel.rangeCount) || sel.isCollapsed) {
|
|
53886
|
+
return;
|
|
53887
|
+
}
|
|
53888
|
+
const range = sel.getRangeAt(0).cloneRange();
|
|
53889
|
+
// A video or image Jodit selected itself on the press
|
|
53890
|
+
if (isElementSelection(range)) {
|
|
53891
|
+
return;
|
|
53892
|
+
}
|
|
53893
|
+
const forward = sel.anchorNode === range.startContainer && sel.anchorOffset === range.startOffset;
|
|
53894
|
+
const lines = uneditableIn(range, editor).map((elm)=>{
|
|
53895
|
+
var _a;
|
|
53896
|
+
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;
|
|
53897
|
+
}).filter((line)=>!(0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_6__.trim)(ownText(line)));
|
|
53898
|
+
const isAhead = (line)=>{
|
|
53899
|
+
const box = line.getBoundingClientRect();
|
|
53900
|
+
return forward ? e.clientY < box.bottom : e.clientY > box.top;
|
|
53901
|
+
};
|
|
53902
|
+
const line = forward ? lines.find(isAhead) : lines.reverse().find(isAhead);
|
|
53903
|
+
if (!line) {
|
|
53904
|
+
return;
|
|
53905
|
+
}
|
|
53906
|
+
// Where a caret can go: in text, or before a <br>
|
|
53907
|
+
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');
|
|
53908
|
+
// Only the block beside the line, not one further on
|
|
53909
|
+
const beside = _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.findNotEmptySibling(line, forward);
|
|
53910
|
+
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;
|
|
53911
|
+
if (!place) {
|
|
53912
|
+
return;
|
|
53913
|
+
}
|
|
53914
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(place)) {
|
|
53915
|
+
if (forward) {
|
|
53916
|
+
range.setEnd(place, (_b = (_a = place.nodeValue) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);
|
|
53917
|
+
} else {
|
|
53918
|
+
range.setStart(place, 0);
|
|
53919
|
+
}
|
|
53920
|
+
} else if (forward) {
|
|
53921
|
+
range.setEndBefore(place);
|
|
53922
|
+
} else {
|
|
53923
|
+
range.setStartBefore(place);
|
|
53924
|
+
}
|
|
53925
|
+
// The drag's start stays the anchor
|
|
53926
|
+
const { startContainer, startOffset, endContainer, endOffset } = range;
|
|
53927
|
+
if (forward) {
|
|
53928
|
+
sel.setBaseAndExtent(startContainer, startOffset, endContainer, endOffset);
|
|
53929
|
+
} else {
|
|
53930
|
+
sel.setBaseAndExtent(endContainer, endOffset, startContainer, startOffset);
|
|
53931
|
+
}
|
|
53932
|
+
}
|
|
53044
53933
|
onCopyNormalizeSelectionBound(e) {
|
|
53045
53934
|
const { s, editor, o } = this.j;
|
|
53046
53935
|
if (!o.select.normalizeSelectionBeforeCutAndCopy || s.isCollapsed()) {
|
|
@@ -53060,6 +53949,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
53060
53949
|
'mouseup',
|
|
53061
53950
|
'touchend'
|
|
53062
53951
|
];
|
|
53952
|
+
this.__selectedMediaStyle = '';
|
|
53063
53953
|
/**
|
|
53064
53954
|
* Where the last press started. Chrome reports a drag that begins in one
|
|
53065
53955
|
* element and ends in another as a `click` on their common ancestor, so a
|
|
@@ -53071,6 +53961,14 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.select = {
|
|
|
53071
53961
|
*/ this.__pressBesideRow = null;
|
|
53072
53962
|
}
|
|
53073
53963
|
}
|
|
53964
|
+
__decorate([
|
|
53965
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
53966
|
+
':change',
|
|
53967
|
+
':readonly',
|
|
53968
|
+
':afterSetMode'
|
|
53969
|
+
]),
|
|
53970
|
+
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
53971
|
+
], select.prototype, "__markSelectedMedia", null);
|
|
53074
53972
|
__decorate([
|
|
53075
53973
|
_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.autobind
|
|
53076
53974
|
], select.prototype, "onStartSelection", null);
|
|
@@ -53120,12 +54018,85 @@ __decorate([
|
|
|
53120
54018
|
':click'
|
|
53121
54019
|
])
|
|
53122
54020
|
], select.prototype, "onTripleClickNormalizeSelection", null);
|
|
54021
|
+
__decorate([
|
|
54022
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
54023
|
+
':dblclick'
|
|
54024
|
+
])
|
|
54025
|
+
], select.prototype, "onDblClickPastLineEnd", null);
|
|
54026
|
+
__decorate([
|
|
54027
|
+
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
54028
|
+
':mouseup'
|
|
54029
|
+
])
|
|
54030
|
+
], select.prototype, "onMouseUpOnUneditableLine", null);
|
|
53123
54031
|
__decorate([
|
|
53124
54032
|
(0,_core_decorators_index_js__WEBPACK_IMPORTED_MODULE_1__.watch)([
|
|
53125
54033
|
':copy',
|
|
53126
54034
|
':cut'
|
|
53127
54035
|
])
|
|
53128
54036
|
], select.prototype, "onCopyNormalizeSelectionBound", null);
|
|
54037
|
+
const isUneditable = (node)=>_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(node) && node.getAttribute('contenteditable') === 'false';
|
|
54038
|
+
/**
|
|
54039
|
+
* The text a node shows outside its uneditable elements, whose own text, as
|
|
54040
|
+
* a video's fallback text, isn't on the line
|
|
54041
|
+
*/ const ownText = (node)=>{
|
|
54042
|
+
var _a;
|
|
54043
|
+
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('');
|
|
54044
|
+
};
|
|
54045
|
+
/**
|
|
54046
|
+
* The uneditable elements the range holds whole, without those inside
|
|
54047
|
+
* another. Only those under the range's common ancestor can be, and none
|
|
54048
|
+
* when that's a text node, as along one line of a drag
|
|
54049
|
+
*/ function uneditableIn(range, root) {
|
|
54050
|
+
const box = range.commonAncestorContainer;
|
|
54051
|
+
if (!_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(box)) {
|
|
54052
|
+
return [];
|
|
54053
|
+
}
|
|
54054
|
+
return (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(box.querySelectorAll('[contenteditable="false"]')).filter((elm)=>{
|
|
54055
|
+
if (!range.intersectsNode(elm)) {
|
|
54056
|
+
return false;
|
|
54057
|
+
}
|
|
54058
|
+
const own = elm.ownerDocument.createRange();
|
|
54059
|
+
own.selectNode(elm);
|
|
54060
|
+
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);
|
|
54061
|
+
});
|
|
54062
|
+
}
|
|
54063
|
+
/**
|
|
54064
|
+
* The range holds one element and nothing else, as a selected image does
|
|
54065
|
+
*/ function isElementSelection(range) {
|
|
54066
|
+
const { startContainer, startOffset, endContainer, endOffset } = range;
|
|
54067
|
+
return startContainer === endContainer && endOffset - startOffset === 1 && _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isElement(startContainer.childNodes[startOffset]);
|
|
54068
|
+
}
|
|
54069
|
+
/**
|
|
54070
|
+
* The range holds a line end and nothing else: no characters but
|
|
54071
|
+
* whitespace, and no element whole but a `<br>` or a line a caret can't go
|
|
54072
|
+
* on, as a video's. It ends in another block, or holds the `<br>`
|
|
54073
|
+
*/ function isLineBreak(range, root) {
|
|
54074
|
+
const { startContainer, endContainer } = range;
|
|
54075
|
+
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()))) {
|
|
54076
|
+
return false;
|
|
54077
|
+
}
|
|
54078
|
+
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);
|
|
54079
|
+
const holdsBreaksOnly = (node)=>{
|
|
54080
|
+
if (!range.intersectsNode(node)) {
|
|
54081
|
+
return true;
|
|
54082
|
+
}
|
|
54083
|
+
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)) {
|
|
54084
|
+
return (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(node.childNodes).every(holdsBreaksOnly);
|
|
54085
|
+
}
|
|
54086
|
+
if (_core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isTag(node, 'br')) {
|
|
54087
|
+
crossesLineEnd = true;
|
|
54088
|
+
return true;
|
|
54089
|
+
}
|
|
54090
|
+
return _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_2__.Dom.isText(node) || isCaretless(node);
|
|
54091
|
+
};
|
|
54092
|
+
return holdsBreaksOnly(range.commonAncestorContainer) && crossesLineEnd;
|
|
54093
|
+
}
|
|
54094
|
+
/**
|
|
54095
|
+
* An uneditable element, or a block holding one and nothing else
|
|
54096
|
+
*/ function isCaretless(node) {
|
|
54097
|
+
const children = (0,_core_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_4__.toArray)(node.childNodes);
|
|
54098
|
+
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));
|
|
54099
|
+
}
|
|
53129
54100
|
_core_global_js__WEBPACK_IMPORTED_MODULE_3__.pluginSystem.add('select', select);
|
|
53130
54101
|
|
|
53131
54102
|
|
|
@@ -57257,12 +58228,12 @@ UIVideoPropertiesForm = __decorate([
|
|
|
57257
58228
|
/* harmony import */ var _core_decorators_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65478);
|
|
57258
58229
|
/* harmony import */ var _core_dom_dom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2748);
|
|
57259
58230
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(580);
|
|
57260
|
-
/* harmony import */ var
|
|
57261
|
-
/* harmony import */ var
|
|
57262
|
-
/* harmony import */ var
|
|
57263
|
-
/* harmony import */ var
|
|
57264
|
-
/* harmony import */ var
|
|
57265
|
-
/* harmony import */ var
|
|
58231
|
+
/* harmony import */ var _core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5700);
|
|
58232
|
+
/* harmony import */ var _core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(37790);
|
|
58233
|
+
/* harmony import */ var _core_plugin_plugin_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(20356);
|
|
58234
|
+
/* harmony import */ var _core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62843);
|
|
58235
|
+
/* harmony import */ var _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(56917);
|
|
58236
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2073);
|
|
57266
58237
|
/* harmony import */ var _modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(34793);
|
|
57267
58238
|
/* harmony import */ var _ui_ui_video_form_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(27828);
|
|
57268
58239
|
/* harmony import */ var _readers_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(54426);
|
|
@@ -57301,7 +58272,7 @@ UIVideoPropertiesForm = __decorate([
|
|
|
57301
58272
|
* ```javascript
|
|
57302
58273
|
* editor.events.fire('openVideoProperties', video);
|
|
57303
58274
|
* ```
|
|
57304
|
-
*/ class videoProperties extends
|
|
58275
|
+
*/ class videoProperties extends _core_plugin_plugin_js__WEBPACK_IMPORTED_MODULE_5__.Plugin {
|
|
57305
58276
|
get __size() {
|
|
57306
58277
|
const { width, height } = this.state.values;
|
|
57307
58278
|
return `${width}x${height}`;
|
|
@@ -57340,15 +58311,15 @@ UIVideoPropertiesForm = __decorate([
|
|
|
57340
58311
|
],
|
|
57341
58312
|
buttons.check
|
|
57342
58313
|
]);
|
|
57343
|
-
(0,
|
|
58314
|
+
(0,_core_helpers_utils_utils_js__WEBPACK_IMPORTED_MODULE_4__.markOwner)(j, dialog.container);
|
|
57344
58315
|
return dialog;
|
|
57345
58316
|
}
|
|
57346
58317
|
get __buttons() {
|
|
57347
58318
|
const { j } = this;
|
|
57348
58319
|
return {
|
|
57349
|
-
check: (0,
|
|
57350
|
-
remove: (0,
|
|
57351
|
-
cancel: (0,
|
|
58320
|
+
check: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'ok', 'Apply', 'primary'),
|
|
58321
|
+
remove: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'bin', 'Delete'),
|
|
58322
|
+
cancel: (0,_core_ui_button_index_js__WEBPACK_IMPORTED_MODULE_6__.Button)(j, 'cancel', 'Cancel')
|
|
57352
58323
|
};
|
|
57353
58324
|
}
|
|
57354
58325
|
/**
|
|
@@ -57373,25 +58344,27 @@ UIVideoPropertiesForm = __decorate([
|
|
|
57373
58344
|
}
|
|
57374
58345
|
__openPosterPopup(button) {
|
|
57375
58346
|
const { j, state } = this;
|
|
57376
|
-
const popup = new
|
|
58347
|
+
const popup = new _core_ui_popup_popup_js__WEBPACK_IMPORTED_MODULE_7__.Popup(this.dialog);
|
|
57377
58348
|
const close = ()=>{
|
|
57378
58349
|
popup.close();
|
|
57379
58350
|
popup.destruct();
|
|
57380
58351
|
};
|
|
57381
58352
|
popup.setContent((0,_modules_widget_file_selector_file_selector_js__WEBPACK_IMPORTED_MODULE_9__.FileSelectorWidget)(j, {
|
|
57382
58353
|
upload: (data)=>{
|
|
57383
|
-
|
|
57384
|
-
|
|
58354
|
+
const [item] = (0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__.getItems)(data);
|
|
58355
|
+
if (item) {
|
|
58356
|
+
state.values.poster = data.baseurl + item.file;
|
|
57385
58357
|
}
|
|
57386
58358
|
close();
|
|
57387
58359
|
},
|
|
57388
58360
|
filebrowser: (data)=>{
|
|
57389
|
-
|
|
57390
|
-
|
|
58361
|
+
const [item] = (0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_8__.getItems)(data);
|
|
58362
|
+
if (item) {
|
|
58363
|
+
state.values.poster = item.file;
|
|
57391
58364
|
close();
|
|
57392
58365
|
}
|
|
57393
58366
|
}
|
|
57394
|
-
}, null, close)).open(()=>(0,
|
|
58367
|
+
}, null, close)).open(()=>(0,_core_helpers_size_position_js__WEBPACK_IMPORTED_MODULE_3__.position)(button));
|
|
57395
58368
|
}
|
|
57396
58369
|
/** @override */ afterInit() {}
|
|
57397
58370
|
/** @override */ beforeDestruct() {
|
|
@@ -57541,8 +58514,9 @@ function setFlag(media, name, on) {
|
|
|
57541
58514
|
/* harmony import */ var _core_ui_form_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2525);
|
|
57542
58515
|
/* harmony import */ var _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12153);
|
|
57543
58516
|
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6441);
|
|
57544
|
-
/* harmony import */ var
|
|
57545
|
-
/* harmony import */ var
|
|
58517
|
+
/* harmony import */ var _modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2073);
|
|
58518
|
+
/* harmony import */ var _modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(92762);
|
|
58519
|
+
/* harmony import */ var _video_svg_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37775);
|
|
57546
58520
|
/*!
|
|
57547
58521
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
57548
58522
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -57554,12 +58528,13 @@ function setFlag(media, name, on) {
|
|
|
57554
58528
|
|
|
57555
58529
|
|
|
57556
58530
|
|
|
58531
|
+
|
|
57557
58532
|
function insertVideos(data) {
|
|
57558
|
-
|
|
57559
|
-
(
|
|
58533
|
+
const { baseurl } = data;
|
|
58534
|
+
(0,_modules_uploader_helpers_normalize_uploader_data_js__WEBPACK_IMPORTED_MODULE_5__.getItems)(data).forEach(({ file })=>{
|
|
57560
58535
|
this.s.insertNode((0,_core_helpers_index_js__WEBPACK_IMPORTED_MODULE_0__.prepareMedia)(this, this.createInside.element('video', {
|
|
57561
58536
|
controls: '',
|
|
57562
|
-
src:
|
|
58537
|
+
src: baseurl + file
|
|
57563
58538
|
})));
|
|
57564
58539
|
});
|
|
57565
58540
|
}
|
|
@@ -57569,7 +58544,7 @@ _config_js__WEBPACK_IMPORTED_MODULE_4__.Config.prototype.video = {
|
|
|
57569
58544
|
defaultHeight: 345,
|
|
57570
58545
|
defaultHandlerSuccess: insertVideos
|
|
57571
58546
|
};
|
|
57572
|
-
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video',
|
|
58547
|
+
_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]);
|
|
57573
58548
|
/**
|
|
57574
58549
|
* The video popup's tabs: Upload, when the uploader is configured, then Link
|
|
57575
58550
|
* and Code. `insert` runs what a tab inserts, which by default goes in at the
|
|
@@ -57615,7 +58590,7 @@ _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__W
|
|
|
57615
58590
|
const { uploader } = jodit.o;
|
|
57616
58591
|
// Base64 alone would put whole video files into the content
|
|
57617
58592
|
if (uploader.showTabInFileSelector !== false && (uploader.url || uploader.customUploadFunction)) {
|
|
57618
|
-
tabs.push((0,
|
|
58593
|
+
tabs.push((0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__.UploadTab)(jodit, (data)=>{
|
|
57619
58594
|
run(()=>{
|
|
57620
58595
|
var _a, _b;
|
|
57621
58596
|
return ((_b = (_a = jodit.o.video) === null || _a === void 0 ? void 0 : _a.defaultHandlerSuccess) !== null && _b !== void 0 ? _b : insertVideos).call(jodit, data);
|
|
@@ -57644,7 +58619,7 @@ _core_ui_icon_js__WEBPACK_IMPORTED_MODULE_3__.Icon.set('video', _video_svg_js__W
|
|
|
57644
58619
|
formCode.onSubmit((data)=>{
|
|
57645
58620
|
insertCode(data.code);
|
|
57646
58621
|
});
|
|
57647
|
-
const box = (0,
|
|
58622
|
+
const box = (0,_modules_widget_index_js__WEBPACK_IMPORTED_MODULE_6__.TabsWidget)(jodit, tabs);
|
|
57648
58623
|
// Its tabs are sized to their labels, as the file selector's are, since
|
|
57649
58624
|
// "Upload" doesn't fit a third of the popup
|
|
57650
58625
|
box.classList.add('jodit-file-selector');
|
|
@@ -58034,6 +59009,14 @@ _config_js__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.showXPathInStatusbar =
|
|
|
58034
59009
|
_core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
58035
59010
|
|
|
58036
59011
|
|
|
59012
|
+
/***/ }),
|
|
59013
|
+
|
|
59014
|
+
/***/ 25850:
|
|
59015
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
59016
|
+
|
|
59017
|
+
/* 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> ");
|
|
59018
|
+
|
|
59019
|
+
|
|
58037
59020
|
/***/ }),
|
|
58038
59021
|
|
|
58039
59022
|
/***/ 78173:
|
|
@@ -58161,65 +59144,67 @@ _core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
|
58161
59144
|
|
|
58162
59145
|
__webpack_require__.r(__webpack_exports__);
|
|
58163
59146
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
58164
|
-
/* harmony export */
|
|
58165
|
-
/* harmony export */
|
|
58166
|
-
/* harmony export */
|
|
58167
|
-
/* harmony export */
|
|
58168
|
-
/* harmony export */
|
|
58169
|
-
/* harmony export */
|
|
58170
|
-
/* harmony export */
|
|
58171
|
-
/* harmony export */
|
|
58172
|
-
/* harmony export */
|
|
58173
|
-
/* harmony export */
|
|
58174
|
-
/* harmony export */
|
|
58175
|
-
/* harmony export */
|
|
58176
|
-
/* harmony export */
|
|
58177
|
-
/* harmony export */
|
|
58178
|
-
/* harmony export */
|
|
58179
|
-
/* harmony export */
|
|
58180
|
-
/* harmony export */
|
|
58181
|
-
/* harmony export */
|
|
58182
|
-
/* harmony export */
|
|
58183
|
-
/* harmony export */
|
|
58184
|
-
/* harmony export */
|
|
58185
|
-
/* harmony export */
|
|
58186
|
-
/* harmony export */
|
|
58187
|
-
/* harmony export */
|
|
58188
|
-
/* harmony export */
|
|
58189
|
-
/* harmony export */
|
|
58190
|
-
/* harmony export */
|
|
58191
|
-
/* harmony export */
|
|
58192
|
-
/* harmony export */
|
|
58193
|
-
/* harmony export */
|
|
58194
|
-
/* harmony
|
|
58195
|
-
/* harmony import */ var
|
|
58196
|
-
/* harmony import */ var
|
|
58197
|
-
/* harmony import */ var
|
|
58198
|
-
/* harmony import */ var
|
|
58199
|
-
/* harmony import */ var
|
|
58200
|
-
/* harmony import */ var
|
|
58201
|
-
/* harmony import */ var
|
|
58202
|
-
/* harmony import */ var
|
|
58203
|
-
/* harmony import */ var
|
|
58204
|
-
/* harmony import */ var
|
|
58205
|
-
/* harmony import */ var
|
|
58206
|
-
/* harmony import */ var
|
|
58207
|
-
/* harmony import */ var
|
|
58208
|
-
/* harmony import */ var
|
|
58209
|
-
/* harmony import */ var
|
|
58210
|
-
/* harmony import */ var
|
|
58211
|
-
/* harmony import */ var
|
|
58212
|
-
/* harmony import */ var
|
|
58213
|
-
/* harmony import */ var
|
|
58214
|
-
/* harmony import */ var
|
|
58215
|
-
/* harmony import */ var
|
|
58216
|
-
/* harmony import */ var
|
|
58217
|
-
/* harmony import */ var
|
|
58218
|
-
/* harmony import */ var
|
|
58219
|
-
/* harmony import */ var
|
|
58220
|
-
/* harmony import */ var
|
|
58221
|
-
/* harmony import */ var
|
|
58222
|
-
/* harmony import */ var
|
|
59147
|
+
/* harmony export */ anchor: function() { return /* reexport safe */ _anchor_svg_js__WEBPACK_IMPORTED_MODULE_0__["default"]; },
|
|
59148
|
+
/* harmony export */ angle_down: function() { return /* reexport safe */ _angle_down_svg_js__WEBPACK_IMPORTED_MODULE_1__["default"]; },
|
|
59149
|
+
/* harmony export */ angle_left: function() { return /* reexport safe */ _angle_left_svg_js__WEBPACK_IMPORTED_MODULE_2__["default"]; },
|
|
59150
|
+
/* harmony export */ angle_right: function() { return /* reexport safe */ _angle_right_svg_js__WEBPACK_IMPORTED_MODULE_3__["default"]; },
|
|
59151
|
+
/* harmony export */ angle_up: function() { return /* reexport safe */ _angle_up_svg_js__WEBPACK_IMPORTED_MODULE_4__["default"]; },
|
|
59152
|
+
/* harmony export */ bin: function() { return /* reexport safe */ _bin_svg_js__WEBPACK_IMPORTED_MODULE_5__["default"]; },
|
|
59153
|
+
/* harmony export */ cancel: function() { return /* reexport safe */ _cancel_svg_js__WEBPACK_IMPORTED_MODULE_6__["default"]; },
|
|
59154
|
+
/* harmony export */ center: function() { return /* reexport safe */ _center_svg_js__WEBPACK_IMPORTED_MODULE_7__["default"]; },
|
|
59155
|
+
/* harmony export */ check: function() { return /* reexport safe */ _check_svg_js__WEBPACK_IMPORTED_MODULE_8__["default"]; },
|
|
59156
|
+
/* harmony export */ chevron: function() { return /* reexport safe */ _chevron_svg_js__WEBPACK_IMPORTED_MODULE_9__["default"]; },
|
|
59157
|
+
/* harmony export */ dots: function() { return /* reexport safe */ _dots_svg_js__WEBPACK_IMPORTED_MODULE_10__["default"]; },
|
|
59158
|
+
/* harmony export */ download: function() { return /* reexport safe */ _download_svg_js__WEBPACK_IMPORTED_MODULE_11__["default"]; },
|
|
59159
|
+
/* harmony export */ eraser: function() { return /* reexport safe */ _eraser_svg_js__WEBPACK_IMPORTED_MODULE_12__["default"]; },
|
|
59160
|
+
/* harmony export */ eye: function() { return /* reexport safe */ _eye_svg_js__WEBPACK_IMPORTED_MODULE_13__["default"]; },
|
|
59161
|
+
/* harmony export */ file: function() { return /* reexport safe */ _file_svg_js__WEBPACK_IMPORTED_MODULE_14__["default"]; },
|
|
59162
|
+
/* harmony export */ folder: function() { return /* reexport safe */ _folder_svg_js__WEBPACK_IMPORTED_MODULE_15__["default"]; },
|
|
59163
|
+
/* harmony export */ info_circle: function() { return /* reexport safe */ _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_16__["default"]; },
|
|
59164
|
+
/* harmony export */ left: function() { return /* reexport safe */ _left_svg_js__WEBPACK_IMPORTED_MODULE_17__["default"]; },
|
|
59165
|
+
/* harmony export */ lock: function() { return /* reexport safe */ _lock_svg_js__WEBPACK_IMPORTED_MODULE_18__["default"]; },
|
|
59166
|
+
/* harmony export */ ok: function() { return /* reexport safe */ _ok_svg_js__WEBPACK_IMPORTED_MODULE_19__["default"]; },
|
|
59167
|
+
/* harmony export */ pencil: function() { return /* reexport safe */ _pencil_svg_js__WEBPACK_IMPORTED_MODULE_20__["default"]; },
|
|
59168
|
+
/* harmony export */ plus: function() { return /* reexport safe */ _plus_svg_js__WEBPACK_IMPORTED_MODULE_21__["default"]; },
|
|
59169
|
+
/* harmony export */ resize_handler: function() { return /* reexport safe */ _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_22__["default"]; },
|
|
59170
|
+
/* harmony export */ right: function() { return /* reexport safe */ _right_svg_js__WEBPACK_IMPORTED_MODULE_23__["default"]; },
|
|
59171
|
+
/* harmony export */ save: function() { return /* reexport safe */ _save_svg_js__WEBPACK_IMPORTED_MODULE_24__["default"]; },
|
|
59172
|
+
/* harmony export */ settings: function() { return /* reexport safe */ _settings_svg_js__WEBPACK_IMPORTED_MODULE_25__["default"]; },
|
|
59173
|
+
/* harmony export */ unlock: function() { return /* reexport safe */ _unlock_svg_js__WEBPACK_IMPORTED_MODULE_26__["default"]; },
|
|
59174
|
+
/* harmony export */ update: function() { return /* reexport safe */ _update_svg_js__WEBPACK_IMPORTED_MODULE_27__["default"]; },
|
|
59175
|
+
/* harmony export */ upload: function() { return /* reexport safe */ _upload_svg_js__WEBPACK_IMPORTED_MODULE_28__["default"]; },
|
|
59176
|
+
/* harmony export */ valign: function() { return /* reexport safe */ _valign_svg_js__WEBPACK_IMPORTED_MODULE_29__["default"]; }
|
|
59177
|
+
/* harmony export */ });
|
|
59178
|
+
/* harmony import */ var _anchor_svg_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25850);
|
|
59179
|
+
/* harmony import */ var _angle_down_svg_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78173);
|
|
59180
|
+
/* harmony import */ var _angle_left_svg_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16260);
|
|
59181
|
+
/* harmony import */ var _angle_right_svg_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37663);
|
|
59182
|
+
/* harmony import */ var _angle_up_svg_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(51036);
|
|
59183
|
+
/* harmony import */ var _bin_svg_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(31554);
|
|
59184
|
+
/* harmony import */ var _cancel_svg_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(18309);
|
|
59185
|
+
/* harmony import */ var _center_svg_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(99762);
|
|
59186
|
+
/* harmony import */ var _check_svg_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7903);
|
|
59187
|
+
/* harmony import */ var _chevron_svg_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(58032);
|
|
59188
|
+
/* harmony import */ var _dots_svg_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(52507);
|
|
59189
|
+
/* harmony import */ var _download_svg_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1647);
|
|
59190
|
+
/* harmony import */ var _eraser_svg_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(98535);
|
|
59191
|
+
/* harmony import */ var _eye_svg_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(43478);
|
|
59192
|
+
/* harmony import */ var _file_svg_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(60097);
|
|
59193
|
+
/* harmony import */ var _folder_svg_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(49155);
|
|
59194
|
+
/* harmony import */ var _info_circle_svg_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(17176);
|
|
59195
|
+
/* harmony import */ var _left_svg_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(57882);
|
|
59196
|
+
/* harmony import */ var _lock_svg_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(58908);
|
|
59197
|
+
/* harmony import */ var _ok_svg_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(24829);
|
|
59198
|
+
/* harmony import */ var _pencil_svg_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(4038);
|
|
59199
|
+
/* harmony import */ var _plus_svg_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(45575);
|
|
59200
|
+
/* harmony import */ var _resize_handler_svg_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(84858);
|
|
59201
|
+
/* harmony import */ var _right_svg_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(445);
|
|
59202
|
+
/* harmony import */ var _save_svg_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(36886);
|
|
59203
|
+
/* harmony import */ var _settings_svg_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(10766);
|
|
59204
|
+
/* harmony import */ var _unlock_svg_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(33651);
|
|
59205
|
+
/* harmony import */ var _update_svg_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(20362);
|
|
59206
|
+
/* harmony import */ var _upload_svg_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(12202);
|
|
59207
|
+
/* harmony import */ var _valign_svg_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(80152);
|
|
58223
59208
|
/*!
|
|
58224
59209
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
58225
59210
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -58258,6 +59243,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
58258
59243
|
|
|
58259
59244
|
|
|
58260
59245
|
|
|
59246
|
+
|
|
58261
59247
|
|
|
58262
59248
|
|
|
58263
59249
|
/***/ }),
|