argous 1.2.202 → 1.2.203
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/dist/components/ConfirmModal/ModalProvider.d.ts +1 -1
- package/dist/components/Editor/components/Editor.d.ts +4 -4
- package/dist/components/Editor/components/Editor.js +3 -3
- package/dist/components/Editor/skins/content/dark/content.d.ts +0 -0
- package/dist/components/Editor/skins/content/dark/content.js +3 -0
- package/dist/components/Editor/skins/content/default/content.d.ts +0 -0
- package/dist/components/Editor/skins/content/default/content.js +3 -0
- package/dist/components/Editor/skins/content/document/content.d.ts +0 -0
- package/dist/components/Editor/skins/content/document/content.js +3 -0
- package/dist/components/Editor/skins/content/tinymce-5/content.d.ts +0 -0
- package/dist/components/Editor/skins/content/tinymce-5/content.js +3 -0
- package/dist/components/Editor/skins/content/tinymce-5-dark/content.d.ts +0 -0
- package/dist/components/Editor/skins/content/tinymce-5-dark/content.js +3 -0
- package/dist/components/Editor/skins/content/writer/content.d.ts +0 -0
- package/dist/components/Editor/skins/content/writer/content.js +3 -0
- package/dist/components/Editor/skins/ui/oxide/content.d.ts +0 -0
- package/dist/components/Editor/skins/ui/oxide/content.inline.d.ts +0 -0
- package/dist/components/Editor/skins/ui/oxide/content.inline.js +3 -0
- package/dist/components/Editor/skins/ui/oxide/content.js +3 -0
- package/dist/components/Editor/skins/ui/oxide/skin.d.ts +0 -0
- package/dist/components/Editor/skins/ui/oxide/skin.js +3 -0
- package/dist/components/Editor/skins/ui/oxide/skin.shadowdom.d.ts +0 -0
- package/dist/components/Editor/skins/ui/oxide/skin.shadowdom.js +3 -0
- package/dist/components/Editor/skins/ui/oxide-dark/content.d.ts +0 -0
- package/dist/components/Editor/skins/ui/oxide-dark/content.inline.d.ts +0 -0
- package/dist/components/Editor/skins/ui/oxide-dark/content.inline.js +3 -0
- package/dist/components/Editor/skins/ui/oxide-dark/content.js +3 -0
- package/dist/components/Editor/skins/ui/oxide-dark/skin.d.ts +0 -0
- package/dist/components/Editor/skins/ui/oxide-dark/skin.js +3 -0
- package/dist/components/Editor/skins/ui/oxide-dark/skin.shadowdom.d.ts +0 -0
- package/dist/components/Editor/skins/ui/oxide-dark/skin.shadowdom.js +3 -0
- package/dist/components/Editor/skins/ui/tinymce-5/content.d.ts +0 -0
- package/dist/components/Editor/skins/ui/tinymce-5/content.inline.d.ts +0 -0
- package/dist/components/Editor/skins/ui/tinymce-5/content.inline.js +3 -0
- package/dist/components/Editor/skins/ui/tinymce-5/content.js +3 -0
- package/dist/components/Editor/skins/ui/tinymce-5/skin.d.ts +0 -0
- package/dist/components/Editor/skins/ui/tinymce-5/skin.js +3 -0
- package/dist/components/Editor/skins/ui/tinymce-5/skin.shadowdom.d.ts +0 -0
- package/dist/components/Editor/skins/ui/tinymce-5/skin.shadowdom.js +3 -0
- package/dist/components/Editor/skins/ui/tinymce-5-dark/content.d.ts +0 -0
- package/dist/components/Editor/skins/ui/tinymce-5-dark/content.inline.d.ts +0 -0
- package/dist/components/Editor/skins/ui/tinymce-5-dark/content.inline.js +3 -0
- package/dist/components/Editor/skins/ui/tinymce-5-dark/content.js +3 -0
- package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.d.ts +0 -0
- package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.js +3 -0
- package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.d.ts +0 -0
- package/dist/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.js +3 -0
- package/dist/components/Editor/tinymce/tinymce.d.ts +1722 -1447
- package/lib/components/Editor/components/Editor.tsx +8 -8
- package/lib/components/Editor/skins/content/dark/content.js +2 -0
- package/lib/components/Editor/skins/content/dark/content.min.css +1 -8
- package/lib/components/Editor/skins/content/default/content.js +2 -0
- package/lib/components/Editor/skins/content/default/content.min.css +0 -7
- package/lib/components/Editor/skins/content/document/content.js +2 -0
- package/lib/components/Editor/skins/content/document/content.min.css +0 -7
- package/lib/components/Editor/skins/content/tinymce-5/content.js +2 -0
- package/lib/components/Editor/skins/content/tinymce-5/content.min.css +1 -0
- package/lib/components/Editor/skins/content/tinymce-5-dark/content.js +2 -0
- package/lib/components/Editor/skins/content/tinymce-5-dark/content.min.css +1 -0
- package/lib/components/Editor/skins/content/writer/content.js +2 -0
- package/lib/components/Editor/skins/content/writer/content.min.css +0 -7
- package/lib/components/Editor/skins/ui/oxide/content.inline.js +2 -0
- package/lib/components/Editor/skins/ui/oxide/content.inline.min.css +1 -0
- package/lib/components/Editor/skins/ui/oxide/content.js +2 -0
- package/lib/components/Editor/skins/ui/oxide/content.min.css +1 -0
- package/lib/components/Editor/skins/ui/oxide/skin.js +2 -0
- package/lib/components/Editor/skins/ui/oxide/skin.min.css +1 -0
- package/lib/components/Editor/skins/ui/oxide/skin.shadowdom.js +2 -0
- package/lib/components/Editor/skins/ui/oxide/skin.shadowdom.min.css +1 -0
- package/lib/components/Editor/skins/ui/oxide-dark/content.inline.js +2 -0
- package/lib/components/Editor/skins/ui/oxide-dark/content.inline.min.css +1 -0
- package/lib/components/Editor/skins/ui/oxide-dark/content.js +2 -0
- package/lib/components/Editor/skins/ui/oxide-dark/content.min.css +1 -0
- package/lib/components/Editor/skins/ui/oxide-dark/skin.js +2 -0
- package/lib/components/Editor/skins/ui/oxide-dark/skin.min.css +1 -0
- package/lib/components/Editor/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
- package/lib/components/Editor/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
- package/lib/components/Editor/skins/ui/tinymce-5/content.inline.js +2 -0
- package/lib/components/Editor/skins/ui/tinymce-5/content.inline.min.css +1 -0
- package/lib/components/Editor/skins/ui/tinymce-5/content.js +2 -0
- package/lib/components/Editor/skins/ui/tinymce-5/content.min.css +1 -0
- package/lib/components/Editor/skins/ui/tinymce-5/skin.js +2 -0
- package/lib/components/Editor/skins/ui/tinymce-5/skin.min.css +1 -0
- package/lib/components/Editor/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
- package/lib/components/Editor/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
- package/lib/components/Editor/skins/ui/tinymce-5-dark/content.inline.js +2 -0
- package/lib/components/Editor/skins/ui/tinymce-5-dark/content.inline.min.css +1 -0
- package/lib/components/Editor/skins/ui/tinymce-5-dark/content.js +2 -0
- package/lib/components/Editor/skins/ui/tinymce-5-dark/content.min.css +1 -0
- package/lib/components/Editor/skins/ui/tinymce-5-dark/skin.js +2 -0
- package/lib/components/Editor/skins/ui/tinymce-5-dark/skin.min.css +1 -0
- package/lib/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
- package/lib/components/Editor/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
- package/lib/components/Editor/tinymce/README.md +24 -14
- package/lib/components/Editor/tinymce/icons/default/icons.js +185 -163
- package/lib/components/Editor/tinymce/icons/default/icons.min.js +1 -1
- package/lib/components/Editor/tinymce/langs/README.md +1 -1
- package/lib/components/Editor/tinymce/license.txt +21 -504
- package/lib/components/Editor/tinymce/models/dom/model.js +8040 -0
- package/lib/components/Editor/tinymce/models/dom/model.min.js +4 -0
- package/lib/components/Editor/tinymce/plugins/accordion/plugin.js +1054 -0
- package/lib/components/Editor/tinymce/plugins/accordion/plugin.min.js +4 -0
- package/lib/components/Editor/tinymce/plugins/advlist/plugin.js +187 -208
- package/lib/components/Editor/tinymce/plugins/advlist/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/anchor/plugin.js +82 -84
- package/lib/components/Editor/tinymce/plugins/anchor/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/autolink/plugin.js +210 -167
- package/lib/components/Editor/tinymce/plugins/autolink/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/autoresize/plugin.js +118 -97
- package/lib/components/Editor/tinymce/plugins/autoresize/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/autosave/plugin.js +129 -108
- package/lib/components/Editor/tinymce/plugins/autosave/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/charmap/plugin.js +285 -333
- package/lib/components/Editor/tinymce/plugins/charmap/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/code/plugin.js +19 -26
- package/lib/components/Editor/tinymce/plugins/code/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/codesample/plugin.js +2225 -2094
- package/lib/components/Editor/tinymce/plugins/codesample/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/directionality/plugin.js +318 -243
- package/lib/components/Editor/tinymce/plugins/directionality/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/emoticons/js/emojiimages.js +1 -9424
- package/lib/components/Editor/tinymce/plugins/emoticons/js/emojiimages.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/emoticons/js/emojis.js +1 -9423
- package/lib/components/Editor/tinymce/plugins/emoticons/js/emojis.min.js +1 -1
- package/lib/components/Editor/tinymce/plugins/emoticons/plugin.js +406 -416
- package/lib/components/Editor/tinymce/plugins/emoticons/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/fullscreen/plugin.js +821 -604
- package/lib/components/Editor/tinymce/plugins/fullscreen/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ar.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ca.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/cs.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/da.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/de.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/el.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/en.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/es.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/eu.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/fa.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/fi.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/hi.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/hr.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/id.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/it.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ja.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/kk.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ms.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/nl.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/pl.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ro.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/ru.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/sk.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/tr.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/uk.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/vi.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
- package/lib/components/Editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
- package/lib/components/Editor/tinymce/plugins/help/plugin.js +428 -403
- package/lib/components/Editor/tinymce/plugins/help/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/image/plugin.js +887 -1043
- package/lib/components/Editor/tinymce/plugins/image/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/importcss/plugin.js +163 -162
- package/lib/components/Editor/tinymce/plugins/importcss/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/insertdatetime/plugin.js +101 -91
- package/lib/components/Editor/tinymce/plugins/insertdatetime/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/link/plugin.js +739 -784
- package/lib/components/Editor/tinymce/plugins/link/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/lists/plugin.js +1282 -1396
- package/lib/components/Editor/tinymce/plugins/lists/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/media/plugin.js +641 -806
- package/lib/components/Editor/tinymce/plugins/media/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/nonbreaking/plugin.js +76 -54
- package/lib/components/Editor/tinymce/plugins/nonbreaking/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/pagebreak/plugin.js +58 -46
- package/lib/components/Editor/tinymce/plugins/pagebreak/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/preview/plugin.js +39 -69
- package/lib/components/Editor/tinymce/plugins/preview/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/quickbars/plugin.js +307 -349
- package/lib/components/Editor/tinymce/plugins/quickbars/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/save/plugin.js +50 -51
- package/lib/components/Editor/tinymce/plugins/save/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/searchreplace/plugin.js +517 -587
- package/lib/components/Editor/tinymce/plugins/searchreplace/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/table/plugin.js +2666 -10142
- package/lib/components/Editor/tinymce/plugins/table/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/template/plugin.js +403 -413
- package/lib/components/Editor/tinymce/plugins/template/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/visualblocks/plugin.js +42 -48
- package/lib/components/Editor/tinymce/plugins/visualblocks/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/visualchars/plugin.js +352 -333
- package/lib/components/Editor/tinymce/plugins/visualchars/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/plugins/wordcount/plugin.js +184 -195
- package/lib/components/Editor/tinymce/plugins/wordcount/plugin.min.js +2 -7
- package/lib/components/Editor/tinymce/skins/content/dark/content.css +2 -8
- package/lib/components/Editor/tinymce/skins/content/dark/content.js +2 -0
- package/lib/components/Editor/tinymce/skins/content/dark/content.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/content/dark/content.min.css +2 -8
- package/lib/components/Editor/tinymce/skins/content/dark/content.min.css.map +1 -1
- package/lib/components/Editor/tinymce/skins/content/default/content.css +0 -6
- package/lib/components/Editor/tinymce/skins/content/default/content.js +2 -0
- package/lib/components/Editor/tinymce/skins/content/default/content.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/content/default/content.min.css +1 -7
- package/lib/components/Editor/tinymce/skins/content/default/content.min.css.map +1 -1
- package/lib/components/Editor/tinymce/skins/content/document/content.css +0 -6
- package/lib/components/Editor/tinymce/skins/content/document/content.js +2 -0
- package/lib/components/Editor/tinymce/skins/content/document/content.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/content/document/content.min.css +0 -6
- package/lib/components/Editor/tinymce/skins/content/document/content.min.css.map +1 -1
- package/lib/components/Editor/{skins/content/default → tinymce/skins/content/tinymce-5}/content.css +0 -6
- package/lib/components/Editor/tinymce/skins/content/tinymce-5/content.js +2 -0
- package/lib/components/Editor/tinymce/skins/content/tinymce-5/content.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/content/tinymce-5/content.min.css +2 -0
- package/lib/components/Editor/tinymce/skins/content/tinymce-5/content.min.css.map +1 -0
- package/lib/components/Editor/{skins/content/dark → tinymce/skins/content/tinymce-5-dark}/content.css +1 -7
- package/lib/components/Editor/tinymce/skins/content/tinymce-5-dark/content.js +2 -0
- package/lib/components/Editor/tinymce/skins/content/tinymce-5-dark/content.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/content/tinymce-5-dark/content.min.css +2 -0
- package/lib/components/Editor/tinymce/skins/content/tinymce-5-dark/content.min.css.map +1 -0
- package/lib/components/Editor/tinymce/skins/content/writer/content.css +0 -6
- package/lib/components/Editor/tinymce/skins/content/writer/content.js +2 -0
- package/lib/components/Editor/tinymce/skins/content/writer/content.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/content/writer/content.min.css +0 -6
- package/lib/components/Editor/tinymce/skins/content/writer/content.min.css.map +1 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.css +74 -21
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.css +74 -21
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.min.css +1 -7
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.inline.min.css.map +1 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.min.css +1 -7
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.min.css.map +1 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.css +1131 -402
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.min.css +1 -7
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.min.css.map +1 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.css +8 -15
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -7
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css.map +1 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.css +72 -20
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.css +74 -21
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -7
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.inline.min.css.map +1 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.min.css +1 -7
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.min.css.map +1 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.css +1155 -423
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.min.css +1 -7
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.min.css.map +1 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +8 -15
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -7
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css.map +1 -1
- package/lib/components/Editor/{skins/ui/default → tinymce/skins/ui/tinymce-5}/content.css +75 -22
- package/lib/components/Editor/{skins/ui/default → tinymce/skins/ui/tinymce-5}/content.inline.css +75 -22
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.inline.min.css.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.min.css +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/content.min.css.map +1 -0
- package/lib/components/Editor/{skins/ui/default → tinymce/skins/ui/tinymce-5}/skin.css +1261 -438
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.min.css +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.min.css.map +1 -0
- package/lib/components/Editor/{skins/ui/default → tinymce/skins/ui/tinymce-5}/skin.shadowdom.css +8 -15
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css.map +1 -0
- package/lib/components/Editor/{skins/ui/dark → tinymce/skins/ui/tinymce-5-dark}/content.css +73 -21
- package/lib/components/Editor/{skins/ui/dark → tinymce/skins/ui/tinymce-5-dark}/content.inline.css +75 -22
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/content.min.css.map +1 -0
- package/lib/components/Editor/{skins/ui/dark → tinymce/skins/ui/tinymce-5-dark}/skin.css +1244 -421
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css.map +1 -0
- package/lib/components/Editor/{skins/ui/dark → tinymce/skins/ui/tinymce-5-dark}/skin.shadowdom.css +8 -15
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js.map +1 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +2 -0
- package/lib/components/Editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css.map +1 -0
- package/lib/components/Editor/tinymce/themes/silver/theme.js +23228 -24955
- package/lib/components/Editor/tinymce/themes/silver/theme.min.js +2 -7
- package/lib/components/Editor/tinymce/tinymce.d.ts +1722 -1447
- package/lib/components/Editor/tinymce/tinymce.js +23668 -22018
- package/lib/components/Editor/tinymce/tinymce.min.js +2 -30104
- package/package.json +1 -1
- package/lib/components/Editor/skins/content/dark/content.min.css.map +0 -1
- package/lib/components/Editor/skins/content/default/content.min.css.map +0 -1
- package/lib/components/Editor/skins/content/document/content.css +0 -72
- package/lib/components/Editor/skins/content/document/content.min.css.map +0 -1
- package/lib/components/Editor/skins/content/writer/content.css +0 -68
- package/lib/components/Editor/skins/content/writer/content.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/dark/content.inline.min.css +0 -8
- package/lib/components/Editor/skins/ui/dark/content.inline.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/dark/content.min.css +0 -8
- package/lib/components/Editor/skins/ui/dark/content.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/dark/content.mobile.css +0 -29
- package/lib/components/Editor/skins/ui/dark/content.mobile.min.css +0 -8
- package/lib/components/Editor/skins/ui/dark/content.mobile.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/dark/fonts/tinymce-mobile.woff +0 -0
- package/lib/components/Editor/skins/ui/dark/skin.min.css +0 -8
- package/lib/components/Editor/skins/ui/dark/skin.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/dark/skin.mobile.css +0 -673
- package/lib/components/Editor/skins/ui/dark/skin.mobile.min.css +0 -8
- package/lib/components/Editor/skins/ui/dark/skin.mobile.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/dark/skin.shadowdom.min.css +0 -8
- package/lib/components/Editor/skins/ui/dark/skin.shadowdom.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/default/content.inline.min.css +0 -8
- package/lib/components/Editor/skins/ui/default/content.inline.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/default/content.min.css +0 -8
- package/lib/components/Editor/skins/ui/default/content.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/default/content.mobile.css +0 -29
- package/lib/components/Editor/skins/ui/default/content.mobile.min.css +0 -8
- package/lib/components/Editor/skins/ui/default/content.mobile.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/default/fonts/tinymce-mobile.woff +0 -0
- package/lib/components/Editor/skins/ui/default/skin.min.css +0 -8
- package/lib/components/Editor/skins/ui/default/skin.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/default/skin.mobile.css +0 -673
- package/lib/components/Editor/skins/ui/default/skin.mobile.min.css +0 -8
- package/lib/components/Editor/skins/ui/default/skin.mobile.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/default/skin.shadowdom.min.css +0 -8
- package/lib/components/Editor/skins/ui/default/skin.shadowdom.min.css.map +0 -1
- package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/fonts/tinymce-mobile.woff +0 -0
- package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/plugin-tinycomments-tinymce4.css +0 -1641
- package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/plugin-tinycomments-tinymce4.min.css +0 -8
- package/lib/components/Editor/skins/ui/plugin-tinycomments-tinymce4/plugin-tinycomments-tinymce4.min.css.map +0 -1
- package/lib/components/Editor/tinymce/jquery.tinymce.min.js +0 -92
- package/lib/components/Editor/tinymce/langs/pt_BR.js +0 -419
- package/lib/components/Editor/tinymce/plugins/bbcode/plugin.js +0 -99
- package/lib/components/Editor/tinymce/plugins/bbcode/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/colorpicker/plugin.js +0 -22
- package/lib/components/Editor/tinymce/plugins/colorpicker/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/contextmenu/plugin.js +0 -22
- package/lib/components/Editor/tinymce/plugins/contextmenu/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/fullpage/plugin.js +0 -544
- package/lib/components/Editor/tinymce/plugins/fullpage/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/hr/plugin.js +0 -46
- package/lib/components/Editor/tinymce/plugins/hr/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/imagetools/plugin.js +0 -1354
- package/lib/components/Editor/tinymce/plugins/imagetools/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/legacyoutput/plugin.js +0 -199
- package/lib/components/Editor/tinymce/plugins/legacyoutput/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/noneditable/plugin.js +0 -117
- package/lib/components/Editor/tinymce/plugins/noneditable/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/paste/plugin.js +0 -1764
- package/lib/components/Editor/tinymce/plugins/paste/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/print/plugin.js +0 -53
- package/lib/components/Editor/tinymce/plugins/print/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/spellchecker/plugin.js +0 -731
- package/lib/components/Editor/tinymce/plugins/spellchecker/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/tabfocus/plugin.js +0 -129
- package/lib/components/Editor/tinymce/plugins/tabfocus/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/textcolor/plugin.js +0 -22
- package/lib/components/Editor/tinymce/plugins/textcolor/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/textpattern/plugin.js +0 -1394
- package/lib/components/Editor/tinymce/plugins/textpattern/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/plugins/toc/plugin.js +0 -236
- package/lib/components/Editor/tinymce/plugins/toc/plugin.min.js +0 -9
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.mobile.css +0 -29
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.mobile.min.css +0 -8
- package/lib/components/Editor/tinymce/skins/ui/oxide/content.mobile.min.css.map +0 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.mobile.css +0 -673
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.mobile.min.css +0 -8
- package/lib/components/Editor/tinymce/skins/ui/oxide/skin.mobile.min.css.map +0 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.mobile.css +0 -29
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.mobile.min.css +0 -8
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/content.mobile.min.css.map +0 -1
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.mobile.css +0 -673
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.mobile.min.css +0 -8
- package/lib/components/Editor/tinymce/skins/ui/oxide-dark/skin.mobile.min.css.map +0 -1
- package/lib/components/Editor/tinymce/themes/mobile/theme.js +0 -13587
- package/lib/components/Editor/tinymce/themes/mobile/theme.min.js +0 -9
|
@@ -1,120 +1,168 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* Licensed under the LGPL or a commercial license.
|
|
4
|
-
* For LGPL see License.txt in the project root for license information.
|
|
5
|
-
* For commercial licenses see https://www.tiny.cloud/
|
|
6
|
-
*
|
|
7
|
-
* Version: 5.9.0 (TBD)
|
|
2
|
+
* TinyMCE version 6.8.2 (2023-12-11)
|
|
8
3
|
*/
|
|
4
|
+
|
|
9
5
|
(function () {
|
|
10
6
|
'use strict';
|
|
11
7
|
|
|
12
|
-
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
|
8
|
+
var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
|
13
9
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
const hasProto = (v, constructor, predicate) => {
|
|
11
|
+
var _a;
|
|
12
|
+
if (predicate(v, constructor.prototype)) {
|
|
13
|
+
return true;
|
|
14
|
+
} else {
|
|
15
|
+
return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
const typeOf = x => {
|
|
19
|
+
const t = typeof x;
|
|
20
|
+
if (x === null) {
|
|
21
|
+
return 'null';
|
|
22
|
+
} else if (t === 'object' && Array.isArray(x)) {
|
|
23
|
+
return 'array';
|
|
24
|
+
} else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
|
|
25
|
+
return 'string';
|
|
26
|
+
} else {
|
|
27
|
+
return t;
|
|
28
|
+
}
|
|
21
29
|
};
|
|
30
|
+
const isType = type => value => typeOf(value) === type;
|
|
31
|
+
const isSimpleType = type => value => typeof value === type;
|
|
32
|
+
const isString = isType('string');
|
|
33
|
+
const isBoolean = isSimpleType('boolean');
|
|
34
|
+
const isNullable = a => a === null || a === undefined;
|
|
35
|
+
const isNonNullable = a => !isNullable(a);
|
|
36
|
+
const isFunction = isSimpleType('function');
|
|
22
37
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
const option = name => editor => editor.options.get(name);
|
|
39
|
+
const register = editor => {
|
|
40
|
+
const registerOption = editor.options.register;
|
|
41
|
+
const toolbarProcessor = defaultValue => value => {
|
|
42
|
+
const valid = isBoolean(value) || isString(value);
|
|
43
|
+
if (valid) {
|
|
44
|
+
if (isBoolean(value)) {
|
|
45
|
+
return {
|
|
46
|
+
value: value ? defaultValue : '',
|
|
47
|
+
valid
|
|
48
|
+
};
|
|
49
|
+
} else {
|
|
50
|
+
return {
|
|
51
|
+
value: value.trim(),
|
|
52
|
+
valid
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
} else {
|
|
56
|
+
return {
|
|
57
|
+
valid: false,
|
|
58
|
+
message: 'Must be a boolean or string.'
|
|
59
|
+
};
|
|
31
60
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
61
|
+
};
|
|
62
|
+
const defaultSelectionToolbar = 'bold italic | quicklink h2 h3 blockquote';
|
|
63
|
+
registerOption('quickbars_selection_toolbar', {
|
|
64
|
+
processor: toolbarProcessor(defaultSelectionToolbar),
|
|
65
|
+
default: defaultSelectionToolbar
|
|
66
|
+
});
|
|
67
|
+
const defaultInsertToolbar = 'quickimage quicktable';
|
|
68
|
+
registerOption('quickbars_insert_toolbar', {
|
|
69
|
+
processor: toolbarProcessor(defaultInsertToolbar),
|
|
70
|
+
default: defaultInsertToolbar
|
|
71
|
+
});
|
|
72
|
+
const defaultImageToolbar = 'alignleft aligncenter alignright';
|
|
73
|
+
registerOption('quickbars_image_toolbar', {
|
|
74
|
+
processor: toolbarProcessor(defaultImageToolbar),
|
|
75
|
+
default: defaultImageToolbar
|
|
76
|
+
});
|
|
37
77
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
78
|
+
const getTextSelectionToolbarItems = option('quickbars_selection_toolbar');
|
|
79
|
+
const getInsertToolbarItems = option('quickbars_insert_toolbar');
|
|
80
|
+
const getImageToolbarItems = option('quickbars_image_toolbar');
|
|
81
|
+
|
|
82
|
+
let unique = 0;
|
|
83
|
+
const generate = prefix => {
|
|
84
|
+
const date = new Date();
|
|
85
|
+
const time = date.getTime();
|
|
86
|
+
const random = Math.floor(Math.random() * 1000000000);
|
|
87
|
+
unique++;
|
|
88
|
+
return prefix + '_' + random + unique + String(time);
|
|
41
89
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
var cellElm = editor.dom.select('td,th', tableElm);
|
|
48
|
-
editor.selection.setCursorLocation(cellElm[0], 0);
|
|
90
|
+
|
|
91
|
+
const insertTable = (editor, columns, rows) => {
|
|
92
|
+
editor.execCommand('mceInsertTable', false, {
|
|
93
|
+
rows,
|
|
94
|
+
columns
|
|
49
95
|
});
|
|
50
96
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
var insertBlob = function (editor, base64, blob) {
|
|
55
|
-
var blobCache = editor.editorUpload.blobCache;
|
|
56
|
-
var blobInfo = blobCache.create(generate('mceu'), blob, base64);
|
|
97
|
+
const insertBlob = (editor, base64, blob) => {
|
|
98
|
+
const blobCache = editor.editorUpload.blobCache;
|
|
99
|
+
const blobInfo = blobCache.create(generate('mceu'), blob, base64);
|
|
57
100
|
blobCache.add(blobInfo);
|
|
58
101
|
editor.insertContent(editor.dom.createHTML('img', { src: blobInfo.blobUri() }));
|
|
59
102
|
};
|
|
60
103
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
var reader = new FileReader();
|
|
66
|
-
reader.onloadend = function () {
|
|
104
|
+
const blobToBase64 = blob => {
|
|
105
|
+
return new Promise(resolve => {
|
|
106
|
+
const reader = new FileReader();
|
|
107
|
+
reader.onloadend = () => {
|
|
67
108
|
resolve(reader.result.split(',')[1]);
|
|
68
109
|
};
|
|
69
110
|
reader.readAsDataURL(blob);
|
|
70
111
|
});
|
|
71
112
|
};
|
|
72
113
|
|
|
73
|
-
var global
|
|
114
|
+
var global = tinymce.util.Tools.resolve('tinymce.util.Delay');
|
|
74
115
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
116
|
+
const pickFile = editor => new Promise(resolve => {
|
|
117
|
+
let resolved = false;
|
|
118
|
+
const fileInput = document.createElement('input');
|
|
119
|
+
fileInput.type = 'file';
|
|
120
|
+
fileInput.accept = 'image/*';
|
|
121
|
+
fileInput.style.position = 'fixed';
|
|
122
|
+
fileInput.style.left = '0';
|
|
123
|
+
fileInput.style.top = '0';
|
|
124
|
+
fileInput.style.opacity = '0.001';
|
|
125
|
+
document.body.appendChild(fileInput);
|
|
126
|
+
const resolveFileInput = value => {
|
|
127
|
+
var _a;
|
|
128
|
+
if (!resolved) {
|
|
129
|
+
(_a = fileInput.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(fileInput);
|
|
130
|
+
resolved = true;
|
|
131
|
+
resolve(value);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
const changeHandler = e => {
|
|
135
|
+
resolveFileInput(Array.prototype.slice.call(e.target.files));
|
|
136
|
+
};
|
|
137
|
+
fileInput.addEventListener('input', changeHandler);
|
|
138
|
+
fileInput.addEventListener('change', changeHandler);
|
|
139
|
+
const cancelHandler = e => {
|
|
140
|
+
const cleanup = () => {
|
|
141
|
+
resolveFileInput([]);
|
|
89
142
|
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
resolve([]);
|
|
94
|
-
fileInput.parentNode.removeChild(fileInput);
|
|
95
|
-
};
|
|
96
|
-
if (global$2.os.isAndroid() && e.type !== 'remove') {
|
|
97
|
-
global$3.setEditorTimeout(editor, cleanup, 0);
|
|
143
|
+
if (!resolved) {
|
|
144
|
+
if (e.type === 'focusin') {
|
|
145
|
+
global.setEditorTimeout(editor, cleanup, 1000);
|
|
98
146
|
} else {
|
|
99
147
|
cleanup();
|
|
100
148
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
};
|
|
149
|
+
}
|
|
150
|
+
editor.off('focusin remove', cancelHandler);
|
|
151
|
+
};
|
|
152
|
+
editor.on('focusin remove', cancelHandler);
|
|
153
|
+
fileInput.click();
|
|
154
|
+
});
|
|
107
155
|
|
|
108
|
-
|
|
156
|
+
const setupButtons = editor => {
|
|
109
157
|
editor.ui.registry.addButton('quickimage', {
|
|
110
158
|
icon: 'image',
|
|
111
159
|
tooltip: 'Insert image',
|
|
112
|
-
onAction:
|
|
113
|
-
pickFile(editor).then(
|
|
160
|
+
onAction: () => {
|
|
161
|
+
pickFile(editor).then(files => {
|
|
114
162
|
if (files.length > 0) {
|
|
115
|
-
|
|
116
|
-
blobToBase64(
|
|
117
|
-
insertBlob(editor, base64,
|
|
163
|
+
const blob = files[0];
|
|
164
|
+
blobToBase64(blob).then(base64 => {
|
|
165
|
+
insertBlob(editor, base64, blob);
|
|
118
166
|
});
|
|
119
167
|
}
|
|
120
168
|
});
|
|
@@ -123,163 +171,127 @@
|
|
|
123
171
|
editor.ui.registry.addButton('quicktable', {
|
|
124
172
|
icon: 'table',
|
|
125
173
|
tooltip: 'Insert table',
|
|
126
|
-
onAction:
|
|
174
|
+
onAction: () => {
|
|
127
175
|
insertTable(editor, 2, 2);
|
|
128
176
|
}
|
|
129
177
|
});
|
|
130
178
|
};
|
|
131
179
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
if (x === null) {
|
|
135
|
-
return 'null';
|
|
136
|
-
} else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
|
|
137
|
-
return 'array';
|
|
138
|
-
} else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
|
|
139
|
-
return 'string';
|
|
140
|
-
} else {
|
|
141
|
-
return t;
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
var isType = function (type) {
|
|
145
|
-
return function (value) {
|
|
146
|
-
return typeOf(value) === type;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
var isSimpleType = function (type) {
|
|
150
|
-
return function (value) {
|
|
151
|
-
return typeof value === type;
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
var eq = function (t) {
|
|
155
|
-
return function (a) {
|
|
156
|
-
return t === a;
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
var isString = isType('string');
|
|
160
|
-
var isObject = isType('object');
|
|
161
|
-
var isArray = isType('array');
|
|
162
|
-
var isBoolean = isSimpleType('boolean');
|
|
163
|
-
var isUndefined = eq(undefined);
|
|
164
|
-
var isFunction = isSimpleType('function');
|
|
165
|
-
|
|
166
|
-
var noop = function () {
|
|
167
|
-
};
|
|
168
|
-
var constant = function (value) {
|
|
169
|
-
return function () {
|
|
180
|
+
const constant = value => {
|
|
181
|
+
return () => {
|
|
170
182
|
return value;
|
|
171
183
|
};
|
|
172
184
|
};
|
|
173
|
-
|
|
174
|
-
var always = constant(true);
|
|
185
|
+
const never = constant(false);
|
|
175
186
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
return
|
|
192
|
-
},
|
|
193
|
-
is: never,
|
|
194
|
-
isSome: never,
|
|
195
|
-
isNone: always,
|
|
196
|
-
getOr: id,
|
|
197
|
-
getOrThunk: call,
|
|
198
|
-
getOrDie: function (msg) {
|
|
199
|
-
throw new Error(msg || 'error: getOrDie called on none.');
|
|
200
|
-
},
|
|
201
|
-
getOrNull: constant(null),
|
|
202
|
-
getOrUndefined: constant(undefined),
|
|
203
|
-
or: id,
|
|
204
|
-
orThunk: call,
|
|
205
|
-
map: none,
|
|
206
|
-
each: noop,
|
|
207
|
-
bind: none,
|
|
208
|
-
exists: never,
|
|
209
|
-
forall: always,
|
|
210
|
-
filter: none,
|
|
211
|
-
equals: eq,
|
|
212
|
-
equals_: eq,
|
|
213
|
-
toArray: function () {
|
|
214
|
-
return [];
|
|
215
|
-
},
|
|
216
|
-
toString: constant('none()')
|
|
217
|
-
};
|
|
218
|
-
return me;
|
|
219
|
-
}();
|
|
220
|
-
var some = function (a) {
|
|
221
|
-
var constant_a = constant(a);
|
|
222
|
-
var self = function () {
|
|
223
|
-
return me;
|
|
224
|
-
};
|
|
225
|
-
var bind = function (f) {
|
|
226
|
-
return f(a);
|
|
227
|
-
};
|
|
228
|
-
var me = {
|
|
229
|
-
fold: function (n, s) {
|
|
230
|
-
return s(a);
|
|
231
|
-
},
|
|
232
|
-
is: function (v) {
|
|
233
|
-
return a === v;
|
|
234
|
-
},
|
|
235
|
-
isSome: always,
|
|
236
|
-
isNone: never,
|
|
237
|
-
getOr: constant_a,
|
|
238
|
-
getOrThunk: constant_a,
|
|
239
|
-
getOrDie: constant_a,
|
|
240
|
-
getOrNull: constant_a,
|
|
241
|
-
getOrUndefined: constant_a,
|
|
242
|
-
or: self,
|
|
243
|
-
orThunk: self,
|
|
244
|
-
map: function (f) {
|
|
245
|
-
return some(f(a));
|
|
246
|
-
},
|
|
247
|
-
each: function (f) {
|
|
248
|
-
f(a);
|
|
249
|
-
},
|
|
250
|
-
bind: bind,
|
|
251
|
-
exists: bind,
|
|
252
|
-
forall: bind,
|
|
253
|
-
filter: function (f) {
|
|
254
|
-
return f(a) ? me : NONE;
|
|
255
|
-
},
|
|
256
|
-
toArray: function () {
|
|
257
|
-
return [a];
|
|
258
|
-
},
|
|
259
|
-
toString: function () {
|
|
260
|
-
return 'some(' + a + ')';
|
|
261
|
-
},
|
|
262
|
-
equals: function (o) {
|
|
263
|
-
return o.is(a);
|
|
264
|
-
},
|
|
265
|
-
equals_: function (o, elementEq) {
|
|
266
|
-
return o.fold(never, function (b) {
|
|
267
|
-
return elementEq(a, b);
|
|
268
|
-
});
|
|
187
|
+
class Optional {
|
|
188
|
+
constructor(tag, value) {
|
|
189
|
+
this.tag = tag;
|
|
190
|
+
this.value = value;
|
|
191
|
+
}
|
|
192
|
+
static some(value) {
|
|
193
|
+
return new Optional(true, value);
|
|
194
|
+
}
|
|
195
|
+
static none() {
|
|
196
|
+
return Optional.singletonNone;
|
|
197
|
+
}
|
|
198
|
+
fold(onNone, onSome) {
|
|
199
|
+
if (this.tag) {
|
|
200
|
+
return onSome(this.value);
|
|
201
|
+
} else {
|
|
202
|
+
return onNone();
|
|
269
203
|
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
204
|
+
}
|
|
205
|
+
isSome() {
|
|
206
|
+
return this.tag;
|
|
207
|
+
}
|
|
208
|
+
isNone() {
|
|
209
|
+
return !this.tag;
|
|
210
|
+
}
|
|
211
|
+
map(mapper) {
|
|
212
|
+
if (this.tag) {
|
|
213
|
+
return Optional.some(mapper(this.value));
|
|
214
|
+
} else {
|
|
215
|
+
return Optional.none();
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
bind(binder) {
|
|
219
|
+
if (this.tag) {
|
|
220
|
+
return binder(this.value);
|
|
221
|
+
} else {
|
|
222
|
+
return Optional.none();
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exists(predicate) {
|
|
226
|
+
return this.tag && predicate(this.value);
|
|
227
|
+
}
|
|
228
|
+
forall(predicate) {
|
|
229
|
+
return !this.tag || predicate(this.value);
|
|
230
|
+
}
|
|
231
|
+
filter(predicate) {
|
|
232
|
+
if (!this.tag || predicate(this.value)) {
|
|
233
|
+
return this;
|
|
234
|
+
} else {
|
|
235
|
+
return Optional.none();
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
getOr(replacement) {
|
|
239
|
+
return this.tag ? this.value : replacement;
|
|
240
|
+
}
|
|
241
|
+
or(replacement) {
|
|
242
|
+
return this.tag ? this : replacement;
|
|
243
|
+
}
|
|
244
|
+
getOrThunk(thunk) {
|
|
245
|
+
return this.tag ? this.value : thunk();
|
|
246
|
+
}
|
|
247
|
+
orThunk(thunk) {
|
|
248
|
+
return this.tag ? this : thunk();
|
|
249
|
+
}
|
|
250
|
+
getOrDie(message) {
|
|
251
|
+
if (!this.tag) {
|
|
252
|
+
throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
|
|
253
|
+
} else {
|
|
254
|
+
return this.value;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
static from(value) {
|
|
258
|
+
return isNonNullable(value) ? Optional.some(value) : Optional.none();
|
|
259
|
+
}
|
|
260
|
+
getOrNull() {
|
|
261
|
+
return this.tag ? this.value : null;
|
|
262
|
+
}
|
|
263
|
+
getOrUndefined() {
|
|
264
|
+
return this.value;
|
|
265
|
+
}
|
|
266
|
+
each(worker) {
|
|
267
|
+
if (this.tag) {
|
|
268
|
+
worker(this.value);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
toArray() {
|
|
272
|
+
return this.tag ? [this.value] : [];
|
|
273
|
+
}
|
|
274
|
+
toString() {
|
|
275
|
+
return this.tag ? `some(${ this.value })` : 'none()';
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
Optional.singletonNone = new Optional(false);
|
|
279
|
+
|
|
280
|
+
typeof window !== 'undefined' ? window : Function('return this;')();
|
|
281
|
+
|
|
282
|
+
const ELEMENT = 1;
|
|
283
|
+
|
|
284
|
+
const name = element => {
|
|
285
|
+
const r = element.dom.nodeName;
|
|
286
|
+
return r.toLowerCase();
|
|
275
287
|
};
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
288
|
+
|
|
289
|
+
const has$1 = (element, key) => {
|
|
290
|
+
const dom = element.dom;
|
|
291
|
+
return dom && dom.hasAttribute ? dom.hasAttribute(key) : false;
|
|
280
292
|
};
|
|
281
293
|
|
|
282
|
-
|
|
294
|
+
var ClosestOrAncestor = (is, ancestor, scope, a, isRoot) => {
|
|
283
295
|
if (is(scope, a)) {
|
|
284
296
|
return Optional.some(scope);
|
|
285
297
|
} else if (isFunction(isRoot) && isRoot(scope)) {
|
|
@@ -287,53 +299,50 @@
|
|
|
287
299
|
} else {
|
|
288
300
|
return ancestor(scope, a, isRoot);
|
|
289
301
|
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
var ELEMENT = 1;
|
|
302
|
+
};
|
|
293
303
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
304
|
+
const fromHtml = (html, scope) => {
|
|
305
|
+
const doc = scope || document;
|
|
306
|
+
const div = doc.createElement('div');
|
|
297
307
|
div.innerHTML = html;
|
|
298
308
|
if (!div.hasChildNodes() || div.childNodes.length > 1) {
|
|
299
|
-
|
|
300
|
-
|
|
309
|
+
const message = 'HTML does not have a single root node';
|
|
310
|
+
console.error(message, html);
|
|
311
|
+
throw new Error(message);
|
|
301
312
|
}
|
|
302
313
|
return fromDom(div.childNodes[0]);
|
|
303
314
|
};
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
315
|
+
const fromTag = (tag, scope) => {
|
|
316
|
+
const doc = scope || document;
|
|
317
|
+
const node = doc.createElement(tag);
|
|
307
318
|
return fromDom(node);
|
|
308
319
|
};
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
320
|
+
const fromText = (text, scope) => {
|
|
321
|
+
const doc = scope || document;
|
|
322
|
+
const node = doc.createTextNode(text);
|
|
312
323
|
return fromDom(node);
|
|
313
324
|
};
|
|
314
|
-
|
|
325
|
+
const fromDom = node => {
|
|
315
326
|
if (node === null || node === undefined) {
|
|
316
327
|
throw new Error('Node cannot be null or undefined');
|
|
317
328
|
}
|
|
318
329
|
return { dom: node };
|
|
319
330
|
};
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
fromDom: fromDom,
|
|
328
|
-
fromPoint: fromPoint
|
|
331
|
+
const fromPoint = (docElm, x, y) => Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom);
|
|
332
|
+
const SugarElement = {
|
|
333
|
+
fromHtml,
|
|
334
|
+
fromTag,
|
|
335
|
+
fromText,
|
|
336
|
+
fromDom,
|
|
337
|
+
fromPoint
|
|
329
338
|
};
|
|
330
339
|
|
|
331
|
-
|
|
332
|
-
|
|
340
|
+
const is = (element, selector) => {
|
|
341
|
+
const dom = element.dom;
|
|
333
342
|
if (dom.nodeType !== ELEMENT) {
|
|
334
343
|
return false;
|
|
335
344
|
} else {
|
|
336
|
-
|
|
345
|
+
const elem = dom;
|
|
337
346
|
if (elem.matches !== undefined) {
|
|
338
347
|
return elem.matches(selector);
|
|
339
348
|
} else if (elem.msMatchesSelector !== undefined) {
|
|
@@ -348,19 +357,12 @@
|
|
|
348
357
|
}
|
|
349
358
|
};
|
|
350
359
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
var r = element.dom.nodeName;
|
|
355
|
-
return r.toLowerCase();
|
|
356
|
-
};
|
|
357
|
-
|
|
358
|
-
var ancestor = function (scope, predicate, isRoot) {
|
|
359
|
-
var element = scope.dom;
|
|
360
|
-
var stop = isFunction(isRoot) ? isRoot : never;
|
|
360
|
+
const ancestor$1 = (scope, predicate, isRoot) => {
|
|
361
|
+
let element = scope.dom;
|
|
362
|
+
const stop = isFunction(isRoot) ? isRoot : never;
|
|
361
363
|
while (element.parentNode) {
|
|
362
364
|
element = element.parentNode;
|
|
363
|
-
|
|
365
|
+
const el = SugarElement.fromDom(element);
|
|
364
366
|
if (predicate(el)) {
|
|
365
367
|
return Optional.some(el);
|
|
366
368
|
} else if (stop(el)) {
|
|
@@ -369,77 +371,28 @@
|
|
|
369
371
|
}
|
|
370
372
|
return Optional.none();
|
|
371
373
|
};
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
};
|
|
376
|
-
return ClosestOrAncestor(is, ancestor, scope, predicate, isRoot);
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
var ancestor$1 = function (scope, selector, isRoot) {
|
|
380
|
-
return ancestor(scope, function (e) {
|
|
381
|
-
return is(e, selector);
|
|
382
|
-
}, isRoot);
|
|
383
|
-
};
|
|
384
|
-
var closest$1 = function (scope, selector, isRoot) {
|
|
385
|
-
var is$1 = function (element, selector) {
|
|
386
|
-
return is(element, selector);
|
|
387
|
-
};
|
|
388
|
-
return ClosestOrAncestor(is$1, ancestor$1, scope, selector, isRoot);
|
|
374
|
+
const closest$2 = (scope, predicate, isRoot) => {
|
|
375
|
+
const is = (s, test) => test(s);
|
|
376
|
+
return ClosestOrAncestor(is, ancestor$1, scope, predicate, isRoot);
|
|
389
377
|
};
|
|
390
378
|
|
|
391
|
-
|
|
392
|
-
if (predicate(value)) {
|
|
393
|
-
return true;
|
|
394
|
-
}
|
|
395
|
-
throw new Error('Default value doesn\'t match requested type.');
|
|
396
|
-
};
|
|
397
|
-
var items = function (value, defaultValue) {
|
|
398
|
-
if (isArray(value) || isObject(value)) {
|
|
399
|
-
throw new Error('expected a string but found: ' + value);
|
|
400
|
-
}
|
|
401
|
-
if (isUndefined(value)) {
|
|
402
|
-
return defaultValue;
|
|
403
|
-
}
|
|
404
|
-
if (isBoolean(value)) {
|
|
405
|
-
return value === false ? '' : defaultValue;
|
|
406
|
-
}
|
|
407
|
-
return value;
|
|
408
|
-
};
|
|
409
|
-
var getToolbarItemsOr_ = function (predicate) {
|
|
410
|
-
return function (editor, name, defaultValue) {
|
|
411
|
-
validDefaultOrDie(defaultValue, predicate);
|
|
412
|
-
var value = editor.getParam(name, defaultValue);
|
|
413
|
-
return items(value, defaultValue);
|
|
414
|
-
};
|
|
415
|
-
};
|
|
416
|
-
var getToolbarItemsOr = getToolbarItemsOr_(isString);
|
|
379
|
+
const closest$1 = (scope, predicate, isRoot) => closest$2(scope, predicate, isRoot).isSome();
|
|
417
380
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
return getToolbarItemsOr(editor, 'quickbars_insert_toolbar', 'quickimage quicktable');
|
|
423
|
-
};
|
|
424
|
-
var getImageToolbarItems = function (editor) {
|
|
425
|
-
return getToolbarItemsOr(editor, 'quickbars_image_toolbar', 'alignleft aligncenter alignright');
|
|
381
|
+
const ancestor = (scope, selector, isRoot) => ancestor$1(scope, e => is(e, selector), isRoot);
|
|
382
|
+
const closest = (scope, selector, isRoot) => {
|
|
383
|
+
const is$1 = (element, selector) => is(element, selector);
|
|
384
|
+
return ClosestOrAncestor(is$1, ancestor, scope, selector, isRoot);
|
|
426
385
|
};
|
|
427
386
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
if (insertToolbarItems.
|
|
387
|
+
const addToEditor$1 = editor => {
|
|
388
|
+
const insertToolbarItems = getInsertToolbarItems(editor);
|
|
389
|
+
if (insertToolbarItems.length > 0) {
|
|
431
390
|
editor.ui.registry.addContextToolbar('quickblock', {
|
|
432
|
-
predicate:
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
};
|
|
438
|
-
return closest$1(sugarNode, 'table', isRoot).fold(function () {
|
|
439
|
-
return closest(sugarNode, function (elem) {
|
|
440
|
-
return name(elem) in textBlockElementsMap && editor.dom.isEmpty(elem.dom);
|
|
441
|
-
}, isRoot).isSome();
|
|
442
|
-
}, never);
|
|
391
|
+
predicate: node => {
|
|
392
|
+
const sugarNode = SugarElement.fromDom(node);
|
|
393
|
+
const textBlockElementsMap = editor.schema.getTextBlockElements();
|
|
394
|
+
const isRoot = elem => elem.dom === editor.getBody();
|
|
395
|
+
return !has$1(sugarNode, 'data-mce-bogus') && closest(sugarNode, 'table,[data-mce-bogus="all"]', isRoot).fold(() => closest$1(sugarNode, elem => name(elem) in textBlockElementsMap && editor.dom.isEmpty(elem.dom), isRoot), never);
|
|
443
396
|
},
|
|
444
397
|
items: insertToolbarItems,
|
|
445
398
|
position: 'line',
|
|
@@ -448,27 +401,31 @@
|
|
|
448
401
|
}
|
|
449
402
|
};
|
|
450
403
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
404
|
+
const supports = element => element.dom.classList !== undefined;
|
|
405
|
+
|
|
406
|
+
const has = (element, clazz) => supports(element) && element.dom.classList.contains(clazz);
|
|
407
|
+
|
|
408
|
+
const addToEditor = editor => {
|
|
409
|
+
const isEditable = node => editor.dom.isEditable(node);
|
|
410
|
+
const isInEditableContext = el => isEditable(el.parentElement);
|
|
411
|
+
const isImage = node => {
|
|
412
|
+
const isImageFigure = node.nodeName === 'FIGURE' && /image/i.test(node.className);
|
|
413
|
+
const isImage = node.nodeName === 'IMG' || isImageFigure;
|
|
414
|
+
const isPagebreak = has(SugarElement.fromDom(node), 'mce-pagebreak');
|
|
415
|
+
return isImage && isInEditableContext(node) && !isPagebreak;
|
|
457
416
|
};
|
|
458
|
-
|
|
459
|
-
if (imageToolbarItems.
|
|
417
|
+
const imageToolbarItems = getImageToolbarItems(editor);
|
|
418
|
+
if (imageToolbarItems.length > 0) {
|
|
460
419
|
editor.ui.registry.addContextToolbar('imageselection', {
|
|
461
420
|
predicate: isImage,
|
|
462
421
|
items: imageToolbarItems,
|
|
463
422
|
position: 'node'
|
|
464
423
|
});
|
|
465
424
|
}
|
|
466
|
-
|
|
467
|
-
if (textToolbarItems.
|
|
425
|
+
const textToolbarItems = getTextSelectionToolbarItems(editor);
|
|
426
|
+
if (textToolbarItems.length > 0) {
|
|
468
427
|
editor.ui.registry.addContextToolbar('textselection', {
|
|
469
|
-
predicate:
|
|
470
|
-
return !isImage(node) && !editor.selection.isCollapsed() && isEditable(node);
|
|
471
|
-
},
|
|
428
|
+
predicate: node => !isImage(node) && !editor.selection.isCollapsed() && isEditable(node),
|
|
472
429
|
items: textToolbarItems,
|
|
473
430
|
position: 'selection',
|
|
474
431
|
scope: 'editor'
|
|
@@ -476,14 +433,15 @@
|
|
|
476
433
|
}
|
|
477
434
|
};
|
|
478
435
|
|
|
479
|
-
|
|
480
|
-
global.add('quickbars',
|
|
436
|
+
var Plugin = () => {
|
|
437
|
+
global$1.add('quickbars', editor => {
|
|
438
|
+
register(editor);
|
|
481
439
|
setupButtons(editor);
|
|
482
|
-
addToEditor(editor);
|
|
483
440
|
addToEditor$1(editor);
|
|
441
|
+
addToEditor(editor);
|
|
484
442
|
});
|
|
485
|
-
}
|
|
443
|
+
};
|
|
486
444
|
|
|
487
445
|
Plugin();
|
|
488
446
|
|
|
489
|
-
}()
|
|
447
|
+
})();
|