jodit-pro 4.2.24 → 4.2.30
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/.nvmrc +1 -1
- package/es2015/889.fat.min.js +10 -0
- package/es2015/889.js +58 -0
- package/es2015/889.min.js +10 -0
- package/es2015/jodit.css +11 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +450 -233
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +2 -56
- package/es2015/plugins/finder/finder.min.js +2 -2
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +7 -3
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +47 -43
- 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 +77 -39
- package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
- 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 +18 -18
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/889.fat.min.js +10 -0
- package/es2018/889.js +58 -0
- package/es2018/889.min.js +10 -0
- package/es2018/jodit.css +11 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +444 -227
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +2 -56
- package/es2018/plugins/finder/finder.min.js +2 -2
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +7 -3
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +40 -36
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.js +77 -39
- package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +18 -18
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/889.fat.min.js +10 -0
- package/es2021/889.js +58 -0
- package/es2021/889.min.js +10 -0
- package/es2021/jodit.css +11 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +444 -227
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +2 -56
- package/es2021/plugins/finder/finder.min.js +2 -2
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +7 -3
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +40 -36
- 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 +77 -39
- package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
- 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 +18 -18
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/889.fat.min.js +10 -0
- package/es2021.en/889.js +24 -0
- package/es2021.en/889.min.js +10 -0
- package/es2021.en/jodit.css +11 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +419 -221
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +2 -21
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +7 -3
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +40 -36
- 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 +41 -39
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +2 -2
- 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 +18 -18
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/292.fat.min.js +10 -0
- package/es5/292.js +5011 -0
- package/es5/292.min.js +10 -0
- package/es5/889.fat.min.js +10 -0
- package/es5/889.js +58 -0
- package/es5/889.min.js +10 -0
- package/es5/jodit.css +12 -2
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +741 -5676
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +2 -56
- package/es5/plugins/finder/finder.min.js +2 -2
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +7 -3
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +50 -46
- 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 +77 -39
- package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
- 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 +24 -24
- 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/esm/plugins/finder/config.js +1 -1
- package/esm/plugins/finder/langs/index.d.ts +1 -1
- package/esm/plugins/finder/langs/index.js +6 -0
- package/esm/plugins/finder/langs/ru.js +6 -0
- package/esm/plugins/google-maps/helpers/helpers.d.ts +0 -1
- package/esm/plugins/google-maps/ui/map/map.d.ts +0 -1
- package/esm/plugins/paste-from-word/element/render.js +1 -1
- package/esm/plugins/paste-from-word/element/style.js +1 -1
- package/esm/plugins/show-blocks/langs/ar.js +6 -0
- package/esm/plugins/show-blocks/langs/cs_cz.js +6 -0
- package/esm/plugins/show-blocks/langs/de.js +6 -0
- package/esm/plugins/show-blocks/langs/es.js +6 -0
- package/esm/plugins/show-blocks/langs/fa.js +6 -0
- package/esm/plugins/show-blocks/langs/fr.js +6 -0
- package/esm/plugins/show-blocks/langs/he.js +6 -0
- package/esm/plugins/show-blocks/langs/hu.js +6 -0
- package/esm/plugins/show-blocks/langs/id.js +6 -0
- package/esm/plugins/show-blocks/langs/index.d.ts +19 -19
- package/esm/plugins/show-blocks/langs/index.js +1 -1
- package/esm/plugins/show-blocks/langs/it.js +6 -0
- package/esm/plugins/show-blocks/langs/ja.js +6 -0
- package/esm/plugins/show-blocks/langs/ko.js +6 -0
- package/esm/plugins/show-blocks/langs/nl.js +6 -0
- package/esm/plugins/show-blocks/langs/pl.js +6 -0
- package/esm/plugins/show-blocks/langs/pt_br.js +6 -0
- package/esm/plugins/show-blocks/langs/ru.js +6 -0
- package/esm/plugins/show-blocks/langs/tr.js +6 -0
- package/esm/plugins/show-blocks/langs/zh_cn.js +6 -0
- package/esm/plugins/show-blocks/langs/zh_tw.js +6 -0
- package/package.json +1 -1
- package/types/plugins/finder/langs/index.d.ts +1 -1
- package/types/plugins/google-maps/helpers/helpers.d.ts +0 -1
- package/types/plugins/google-maps/ui/map/map.d.ts +0 -1
- package/types/plugins/show-blocks/langs/index.d.ts +19 -19
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.30
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -29,10 +29,10 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xml:space=\"preserve\" xmlns=\"http
|
|
|
29
29
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30
30
|
|
|
31
31
|
"use strict";
|
|
32
|
-
/* harmony import */ var
|
|
33
|
-
/* harmony import */ var
|
|
34
|
-
/* harmony import */ var
|
|
35
|
-
/* harmony import */ var
|
|
32
|
+
/* harmony import */ var jodit_core_helpers_html_htmlspecialchars__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56935);
|
|
33
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
34
|
+
/* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80999);
|
|
35
|
+
/* harmony import */ var _icon_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icon_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
36
36
|
/*!
|
|
37
37
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
38
38
|
* See LICENSE.md in the project root for license information.
|
|
@@ -41,12 +41,12 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xml:space=\"preserve\" xmlns=\"http
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
icon: (
|
|
44
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.pasteCode = {
|
|
45
|
+
icon: (_icon_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
46
46
|
tooltip: 'Paste code',
|
|
47
47
|
command: 'pasteCode'
|
|
48
48
|
};
|
|
49
|
-
|
|
49
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteCode = {
|
|
50
50
|
globalHighlightLib: false,
|
|
51
51
|
canonicalLanguageCode(lang) {
|
|
52
52
|
switch (lang) {
|
|
@@ -79,7 +79,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.pasteCode =
|
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
81
|
defaultLanguage: 'html',
|
|
82
|
-
insertTemplate: (jodit, language, value) => `<pre class="language-${language}">${(0,
|
|
82
|
+
insertTemplate: (jodit, language, value) => `<pre class="language-${language}">${(0,jodit_core_helpers_html_htmlspecialchars__WEBPACK_IMPORTED_MODULE_0__/* .htmlspecialchars */ .G)(value)}</pre>`,
|
|
83
83
|
languages: [
|
|
84
84
|
{ value: 'html', text: 'HTML/XML' },
|
|
85
85
|
{ value: 'plaintext', text: 'Plain' },
|
|
@@ -115,13 +115,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
115
115
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67259);
|
|
116
116
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(53557);
|
|
117
117
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9596);
|
|
118
|
-
/* harmony import */ var
|
|
119
|
-
/* harmony import */ var
|
|
120
|
-
/* harmony import */ var
|
|
121
|
-
/* harmony import */ var
|
|
122
|
-
/* harmony import */ var
|
|
123
|
-
/* harmony import */ var
|
|
124
|
-
/* harmony import */ var
|
|
118
|
+
/* harmony import */ var jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(17083);
|
|
119
|
+
/* harmony import */ var jodit_core_helpers_html_htmlspecialchars__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(56935);
|
|
120
|
+
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(65564);
|
|
121
|
+
/* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(76185);
|
|
122
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(35102);
|
|
123
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(98544);
|
|
124
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(25511);
|
|
125
125
|
/*!
|
|
126
126
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
127
127
|
* See LICENSE.md in the project root for license information.
|
|
@@ -139,7 +139,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
let pasteCode = class pasteCode extends
|
|
142
|
+
let pasteCode = class pasteCode extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .k {
|
|
143
143
|
constructor() {
|
|
144
144
|
super(...arguments);
|
|
145
145
|
/** @override */
|
|
@@ -174,12 +174,12 @@ let pasteCode = class pasteCode extends jodit_core_plugin__WEBPACK_IMPORTED_MODU
|
|
|
174
174
|
jodit.s.restore();
|
|
175
175
|
const newPre = jodit.createInside.fromHTML(jodit.o.pasteCode.insertTemplate(jodit, language.value, code.value));
|
|
176
176
|
if (pre) {
|
|
177
|
-
|
|
177
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dom.replace(pre, newPre, jodit.createInside, false, true);
|
|
178
178
|
}
|
|
179
179
|
else {
|
|
180
|
-
const current = jodit.s.current(), block =
|
|
181
|
-
block && !
|
|
182
|
-
?
|
|
180
|
+
const current = jodit.s.current(), block = jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dom.up(current, jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dom.isBlock, jodit.editor);
|
|
181
|
+
block && !jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dom.isCell(block)
|
|
182
|
+
? jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dom.after(block, newPre)
|
|
183
183
|
: jodit.s.insertNode(newPre);
|
|
184
184
|
}
|
|
185
185
|
this.__imdOnChange();
|
|
@@ -195,15 +195,15 @@ let pasteCode = class pasteCode extends jodit_core_plugin__WEBPACK_IMPORTED_MODU
|
|
|
195
195
|
beforeDestruct(jodit) { }
|
|
196
196
|
__createForm() {
|
|
197
197
|
const { jodit } = this;
|
|
198
|
-
return new
|
|
199
|
-
new
|
|
198
|
+
return new jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .UIForm */ .XV(jodit, [
|
|
199
|
+
new jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .UISelect */ .$6(jodit, {
|
|
200
200
|
name: 'language',
|
|
201
201
|
label: 'Language',
|
|
202
202
|
value: jodit.o.pasteCode.defaultLanguage,
|
|
203
203
|
options: jodit.o.pasteCode.languages,
|
|
204
204
|
required: true
|
|
205
205
|
}),
|
|
206
|
-
new
|
|
206
|
+
new jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .UITextArea */ .F0(jodit, {
|
|
207
207
|
label: 'Code view',
|
|
208
208
|
resizable: false,
|
|
209
209
|
name: 'code',
|
|
@@ -215,18 +215,18 @@ let pasteCode = class pasteCode extends jodit_core_plugin__WEBPACK_IMPORTED_MODU
|
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
__createDialog(onSave, onCancel) {
|
|
218
|
-
const dialog = new
|
|
218
|
+
const dialog = new jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dialog({
|
|
219
219
|
language: this.j.o.language
|
|
220
220
|
});
|
|
221
221
|
dialog
|
|
222
222
|
.setHeader('Insert/Edit Code Sample')
|
|
223
223
|
.setSize(this.j.o.pasteCode.dialog.width, this.j.o.pasteCode.dialog.height)
|
|
224
224
|
.setFooter([
|
|
225
|
-
(0,
|
|
225
|
+
(0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .Button */ .$n)(dialog, '', 'Cancel', 'default').onAction(() => {
|
|
226
226
|
dialog.close();
|
|
227
227
|
onCancel();
|
|
228
228
|
}),
|
|
229
|
-
(0,
|
|
229
|
+
(0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .Button */ .$n)(dialog, 'save', 'Save', 'primary').onAction(() => {
|
|
230
230
|
dialog.close();
|
|
231
231
|
onSave();
|
|
232
232
|
})
|
|
@@ -252,7 +252,7 @@ let pasteCode = class pasteCode extends jodit_core_plugin__WEBPACK_IMPORTED_MODU
|
|
|
252
252
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.loadNext)(this.jodit, js).catch(() => null)
|
|
253
253
|
]));
|
|
254
254
|
}
|
|
255
|
-
if (!(0,
|
|
255
|
+
if (!(0,jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_9__/* .isBoolean */ .L)(this.__highlightLibJSIsLoaded)) {
|
|
256
256
|
await this.__highlightLibJSIsLoaded;
|
|
257
257
|
}
|
|
258
258
|
const language = this.__parseLanguage(pre);
|
|
@@ -268,15 +268,15 @@ let pasteCode = class pasteCode extends jodit_core_plugin__WEBPACK_IMPORTED_MODU
|
|
|
268
268
|
}
|
|
269
269
|
let container = pre;
|
|
270
270
|
if (pre.firstElementChild === pre.lastElementChild &&
|
|
271
|
-
|
|
271
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dom.isTag(pre.firstElementChild, 'code')) {
|
|
272
272
|
container = pre.firstElementChild;
|
|
273
273
|
}
|
|
274
274
|
container.innerHTML = highlight(container.innerText, language);
|
|
275
275
|
}
|
|
276
276
|
onPreEdit(e) {
|
|
277
|
-
const pre =
|
|
277
|
+
const pre = jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dom.isNode(e) && jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dom.isTag(e, 'pre')
|
|
278
278
|
? e
|
|
279
|
-
:
|
|
279
|
+
: jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dom.closest(e.target, 'pre', this.j.editor);
|
|
280
280
|
if (pre) {
|
|
281
281
|
const language = this.__parseLanguage(pre);
|
|
282
282
|
this.__openCodeEditDialog(language, pre.innerText, pre);
|
|
@@ -295,20 +295,24 @@ let pasteCode = class pasteCode extends jodit_core_plugin__WEBPACK_IMPORTED_MODU
|
|
|
295
295
|
getLang(pre);
|
|
296
296
|
if (language == null &&
|
|
297
297
|
pre.firstElementChild === pre.lastElementChild &&
|
|
298
|
-
|
|
298
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_6__.Dom.isTag(pre.firstElementChild, 'code')) {
|
|
299
299
|
getLang(pre.firstElementChild);
|
|
300
300
|
}
|
|
301
301
|
return this.jodit.o.pasteCode.canonicalLanguageCode(language || 'html');
|
|
302
302
|
}
|
|
303
303
|
onAfterGetValueFromEditor(data) {
|
|
304
304
|
const strip = (_, pre, _1, endPreStart, content, endPre) => {
|
|
305
|
-
return `${pre.trim()}${endPreStart}${(0,
|
|
305
|
+
return `${pre.trim()}${endPreStart}${(0,jodit_core_helpers_html_htmlspecialchars__WEBPACK_IMPORTED_MODULE_3__/* .htmlspecialchars */ .G)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.stripTags)(content, this.j.ed, new Set(['br'])))}${endPre}`;
|
|
306
306
|
};
|
|
307
307
|
data.value = data.value
|
|
308
308
|
// pre + code
|
|
309
|
-
.replace(
|
|
309
|
+
.replace(
|
|
310
|
+
// @ts-ignore
|
|
311
|
+
/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>\s*<code[^>]*>)(.*?)(<\/code>\s*<\/pre>)/gis, strip)
|
|
310
312
|
// only pre
|
|
311
|
-
.replace(
|
|
313
|
+
.replace(
|
|
314
|
+
// @ts-ignore
|
|
315
|
+
/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>)(.*?)(<\/pre>)/gis, strip);
|
|
312
316
|
}
|
|
313
317
|
};
|
|
314
318
|
/** @override */
|
|
@@ -335,7 +339,7 @@ function waitingPromise(async, promise) {
|
|
|
335
339
|
promise.then(resolve).catch(reject);
|
|
336
340
|
});
|
|
337
341
|
}
|
|
338
|
-
|
|
342
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_8__/* .JoditPro */ .A.plugins.add('paste-code', pasteCode);
|
|
339
343
|
|
|
340
344
|
|
|
341
345
|
/***/ })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.30
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -135,50 +135,52 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.sho
|
|
|
135
135
|
"use strict";
|
|
136
136
|
__webpack_require__.r(__webpack_exports__);
|
|
137
137
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
138
|
-
/* harmony export */ ar: function() { return /*
|
|
139
|
-
/* harmony export */ cs_cz: function() { return /*
|
|
140
|
-
/* harmony export */ de: function() { return /*
|
|
141
|
-
/* harmony export */ es: function() { return /*
|
|
142
|
-
/* harmony export */ fa: function() { return /*
|
|
143
|
-
/* harmony export */ fr: function() { return /*
|
|
144
|
-
/* harmony export */ he: function() { return /*
|
|
145
|
-
/* harmony export */ hu: function() { return /*
|
|
146
|
-
/* harmony export */ id: function() { return /*
|
|
147
|
-
/* harmony export */ it: function() { return /*
|
|
148
|
-
/* harmony export */ ja: function() { return /*
|
|
149
|
-
/* harmony export */ ko: function() { return /*
|
|
150
|
-
/* harmony export */ nl: function() { return /*
|
|
151
|
-
/* harmony export */ pl: function() { return /*
|
|
152
|
-
/* harmony export */ pt_br: function() { return /*
|
|
153
|
-
/* harmony export */ ru: function() { return /*
|
|
154
|
-
/* harmony export */ tr: function() { return /*
|
|
155
|
-
/* harmony export */ zh_cn: function() { return /*
|
|
156
|
-
/* harmony export */ zh_tw: function() { return /*
|
|
138
|
+
/* harmony export */ ar: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
139
|
+
/* harmony export */ cs_cz: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
140
|
+
/* harmony export */ de: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
141
|
+
/* harmony export */ es: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
142
|
+
/* harmony export */ fa: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
143
|
+
/* harmony export */ fr: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
144
|
+
/* harmony export */ he: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
145
|
+
/* harmony export */ hu: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
146
|
+
/* harmony export */ id: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
147
|
+
/* harmony export */ it: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
148
|
+
/* harmony export */ ja: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
149
|
+
/* harmony export */ ko: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
150
|
+
/* harmony export */ nl: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
151
|
+
/* harmony export */ pl: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
152
|
+
/* harmony export */ pt_br: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
153
|
+
/* harmony export */ ru: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
154
|
+
/* harmony export */ tr: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
155
|
+
/* harmony export */ zh_cn: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; },
|
|
156
|
+
/* harmony export */ zh_tw: function() { return /* reexport default from dynamic */ _ar_js__WEBPACK_IMPORTED_MODULE_0___default.a; }
|
|
157
157
|
/* harmony export */ });
|
|
158
|
+
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41324);
|
|
159
|
+
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
158
160
|
/*!
|
|
159
161
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
160
162
|
* See LICENSE.md in the project root for license information.
|
|
161
163
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
162
164
|
*/
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
182
184
|
|
|
183
185
|
|
|
184
186
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.30
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var o in s)("object"==typeof exports?exports:t)[o]=s[o]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[314],{65965(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},11193(t,e,s){"use strict";var o=s(91288);o.T.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},o.T.prototype.controls.showBlocks={isActive:t=>!!t.e.fire("showBlocksEnabled"),tooltip:"Show Blocks",command:"toggleShowBlocks"}},48049(t,e,s){"use strict";s.r(e),s.d(e,{ar(){return
|
|
10
|
+
((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var o in s)("object"==typeof exports?exports:t)[o]=s[o]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[314],{65965(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},11193(t,e,s){"use strict";var o=s(91288);o.T.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},o.T.prototype.controls.showBlocks={isActive:t=>!!t.e.fire("showBlocksEnabled"),tooltip:"Show Blocks",command:"toggleShowBlocks"}},48049(t,e,s){"use strict";s.r(e),s.d(e,{ar(){return r.a},cs_cz(){return r.a},de(){return r.a},es(){return r.a},fa(){return r.a},fr(){return r.a},he(){return r.a},hu(){return r.a},id(){return r.a},it(){return r.a},ja(){return r.a},ko(){return r.a},nl(){return r.a},pl(){return r.a},pt_br(){return r.a},ru(){return r.a},tr(){return r.a},zh_cn(){return r.a},zh_tw(){return r.a}});var o=s(41324),r=s.n(o)},82101(t,e,s){"use strict";s.r(e),s.d(e,{showBlocks(){return p}});var o=s(31635),r=s(53557),n=s(23545),a=s(51431),i=s(65564),l=s(80004),d=(s(11193),s(48049)),u=s(65965),h=s.n(u),c=s(25511);class p extends i.k{get style(){return(0,a.My)(this.jodit,p,"style",!0)}enable(){this.isEnabled=!0;const t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:e,color:s}=this.j.o.showBlocks;this.style.innerHTML=e.map((e=>{return`${t} ${e}{\n\t\t\t\t\toutline: 1px dashed ${s};\n\t\t\t\t\tbackground-image: url("${o='<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+s+';font: 10px sans-serif" x="50px" y="0">'+e+"</text></svg>","data:image/svg+xml;utf8,"+escape(o)}");\n\t\t\t\t\tbackground-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;\n\t\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t\tposition: relative;\n\t\t\t\t}`;var o})).join("")}disable(){this.isEnabled=!1,this.style.innerHTML=""}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}constructor(t){super(t),this.buttons=[{name:"showBlocks",group:"state"}],this.isEnabled=!1,(0,a.JW)(d),l.I.set("showBlocks",h())}afterInit(t){t.e.on("showBlocksEnabled",(()=>this.isEnabled)),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),n.J.safeRemove(this.style)}}p.requires=["license"],(0,o.Cg)([r.cache],p.prototype,"style",null),(0,o.Cg)([r.autobind],p.prototype,"enable",null),(0,o.Cg)([r.autobind],p.prototype,"disable",null),(0,o.Cg)([r.autobind],p.prototype,"toggle",null),c.A.plugins.add("show-blocks",p)}},t=>t(t.s=82101)])}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.30
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -315,16 +315,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315
315
|
/* harmony export */ });
|
|
316
316
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31635);
|
|
317
317
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53557);
|
|
318
|
-
/* harmony import */ var
|
|
318
|
+
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(26986);
|
|
319
319
|
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28712);
|
|
320
320
|
/* harmony import */ var jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(jodit_core_helpers_utils_assert__WEBPACK_IMPORTED_MODULE_1__);
|
|
321
|
-
/* harmony import */ var
|
|
322
|
-
/* harmony import */ var
|
|
323
|
-
/* harmony import */ var
|
|
324
|
-
/* harmony import */ var
|
|
325
|
-
/* harmony import */ var
|
|
326
|
-
/* harmony import */ var
|
|
327
|
-
/* harmony import */ var
|
|
321
|
+
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54614);
|
|
322
|
+
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65564);
|
|
323
|
+
/* harmony import */ var jodit_core_ui_button_button_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(13419);
|
|
324
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6865);
|
|
325
|
+
/* harmony import */ var _providers_google_google__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(92597);
|
|
326
|
+
/* harmony import */ var _ui_settings_settings__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(62001);
|
|
327
|
+
/* harmony import */ var jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(25511);
|
|
328
328
|
/*!
|
|
329
329
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
330
330
|
* See LICENSE.md in the project root for license information.
|
|
@@ -342,7 +342,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
342
342
|
|
|
343
343
|
|
|
344
344
|
|
|
345
|
-
class Translate extends
|
|
345
|
+
class Translate extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin */ .k {
|
|
346
346
|
constructor() {
|
|
347
347
|
super(...arguments);
|
|
348
348
|
this.buttons = [
|
|
@@ -358,10 +358,10 @@ class Translate extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin
|
|
|
358
358
|
}
|
|
359
359
|
__getProvider() {
|
|
360
360
|
const { provider } = this.jodit.options.translate;
|
|
361
|
-
if ((0,
|
|
361
|
+
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_9__/* .isString */ .K)(provider)) {
|
|
362
362
|
switch (provider) {
|
|
363
363
|
case 'google':
|
|
364
|
-
return new
|
|
364
|
+
return new _providers_google_google__WEBPACK_IMPORTED_MODULE_6__/* .GoogleTranslateProvider */ .l(this.j);
|
|
365
365
|
default:
|
|
366
366
|
throw new Error('Unknown provider');
|
|
367
367
|
}
|
|
@@ -370,7 +370,7 @@ class Translate extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin
|
|
|
370
370
|
return provider(this.jodit);
|
|
371
371
|
}
|
|
372
372
|
afterInit(jodit) {
|
|
373
|
-
const defaultLanguage = (0,
|
|
373
|
+
const defaultLanguage = (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_2__/* .defaultLanguage */ .e)(jodit.o.language, jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_8__/* .JoditPro */ .A.defaultOptions.language), language = (0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_2__/* .defaultLanguage */ .e)(jodit.o.language, defaultLanguage);
|
|
374
374
|
const provider = this.__getProvider();
|
|
375
375
|
jodit
|
|
376
376
|
.registerCommand('translateOptions', {
|
|
@@ -379,7 +379,7 @@ class Translate extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin
|
|
|
379
379
|
const dlg = jodit.dlg();
|
|
380
380
|
dlg.setHeader('Translate options');
|
|
381
381
|
const langs = await provider.supportedLanguages();
|
|
382
|
-
const settings = new
|
|
382
|
+
const settings = new _ui_settings_settings__WEBPACK_IMPORTED_MODULE_7__/* .UITranslateSettings */ .g(dlg, this.state, {
|
|
383
383
|
sourceList: langs.langs,
|
|
384
384
|
targetList: langs.langs,
|
|
385
385
|
onChange(state) {
|
|
@@ -388,8 +388,8 @@ class Translate extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin
|
|
|
388
388
|
});
|
|
389
389
|
dlg.setContent(settings);
|
|
390
390
|
dlg.setFooter([
|
|
391
|
-
(0,
|
|
392
|
-
(0,
|
|
391
|
+
(0,jodit_core_ui_button_button_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(jodit, 'cancel', 'Cancel').onAction(() => dlg.close()),
|
|
392
|
+
(0,jodit_core_ui_button_button_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(jodit, 'ok', 'Save', 'primary').onAction(() => {
|
|
393
393
|
this.state = newState;
|
|
394
394
|
dlg.close();
|
|
395
395
|
})
|
|
@@ -417,7 +417,7 @@ class Translate extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_2__/* .Plugin
|
|
|
417
417
|
jodit.s.insertNode(jodit.createInside.text(response.text));
|
|
418
418
|
})
|
|
419
419
|
.catch((error) => {
|
|
420
|
-
jodit.message.error((0,
|
|
420
|
+
jodit.message.error((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_9__/* .isString */ .K)(error) ? error : error.message);
|
|
421
421
|
});
|
|
422
422
|
},
|
|
423
423
|
hotkeys: jodit.o.translate.hotkeys.translateSelection
|
|
@@ -429,7 +429,7 @@ Translate.requires = ['license'];
|
|
|
429
429
|
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .Cg)([
|
|
430
430
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.persistent
|
|
431
431
|
], Translate.prototype, "state", void 0);
|
|
432
|
-
|
|
432
|
+
jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_8__/* .JoditPro */ .A.plugins.add('translate', Translate);
|
|
433
433
|
|
|
434
434
|
|
|
435
435
|
/***/ }),
|