@sapui5/sap.ui.richtexteditor 1.97.1 → 1.99.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sap/ui/richtexteditor/.library +2 -2
- package/src/sap/ui/richtexteditor/RTESplitButton.js +2 -2
- package/src/sap/ui/richtexteditor/RTESplitButtonRenderer.js +1 -1
- package/src/sap/ui/richtexteditor/RichTextEditor.js +18 -67
- package/src/sap/ui/richtexteditor/RichTextEditorRenderer.js +3 -3
- package/src/sap/ui/richtexteditor/ToolbarWrapper.js +13 -18
- package/src/sap/ui/richtexteditor/ToolbarWrapperRenderer.js +3 -3
- package/src/sap/ui/richtexteditor/js/tiny_mce5/icons/default/icons.js +11 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/icons/default/icons.min.js +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/jquery.tinymce.min.js +88 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ar.js +1 -420
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/bg_BG.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/bn_BD.js +21 -179
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ca.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/cs.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/cs_CZ.js +221 -19
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/cy.js +61 -18
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/da.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/de.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/el.js +1 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/es.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/es_419.js +462 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/es_MX.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/et.js +21 -179
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/eu.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/fa.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/fa_IR.js +69 -197
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/fi.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/fr_FR.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/gl.js +20 -155
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/he_IL.js +1 -420
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/hr.js +1 -418
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/hu_HU.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/id.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/it.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ja.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/kk.js +1 -418
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ko_KR.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/lt.js +21 -179
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/nb_NO.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/nl.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/nl_BE.js +445 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/pl.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/pt_BR.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/pt_PT.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ro.js +1 -418
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ru.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ru_RU.js +445 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/sk.js +1 -418
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/sl.js +59 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/sl_SI.js +1 -388
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/{mn_MN.js → sq.js} +109 -69
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/sv_SE.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ta.js +60 -17
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ta_IN.js +60 -17
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/th_TH.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/tr.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/tr_TR.js +81 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ug.js +221 -19
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/uk.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/zh_CN.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/zh_TW.js +1 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/changelog.txt +8 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/codemirror.min.css +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/codemirror.min.js +4023 -4246
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/customeditor.js +5 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/customeditor.min.js +5 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/plugin.js +5 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/plugin.min.js +5 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/readme.txt +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/version.txt +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advlist/plugin.js +33 -48
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advlist/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/anchor/plugin.js +10 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/anchor/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autolink/plugin.js +60 -30
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autolink/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autoresize/plugin.js +27 -12
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autoresize/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autosave/plugin.js +12 -12
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autosave/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/bbcode/plugin.js +8 -6
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/bbcode/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/charmap/plugin.js +59 -67
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/charmap/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/code/plugin.js +11 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/code/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/codesample/plugin.js +1934 -1310
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/codesample/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/colorpicker/plugin.js +3 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/colorpicker/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/contextmenu/plugin.js +3 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/contextmenu/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/directionality/plugin.js +200 -59
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/directionality/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/js/emojiimages.js +9424 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/js/emojiimages.min.js +3 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/js/emojis.js +1914 -1506
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/js/emojis.min.js +2 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/plugin.js +255 -181
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/fullpage/plugin.js +51 -49
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/fullpage/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/fullscreen/plugin.js +542 -163
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/fullscreen/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/help/plugin.js +113 -105
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/help/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/hr/plugin.js +11 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/hr/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/image/plugin.js +187 -170
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/image/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/imagetools/plugin.js +625 -433
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/imagetools/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/importcss/plugin.js +54 -53
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/importcss/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/insertdatetime/plugin.js +24 -17
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/insertdatetime/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/legacyoutput/plugin.js +10 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/legacyoutput/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/link/plugin.js +145 -131
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/link/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/lists/plugin.js +440 -270
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/lists/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/media/plugin.js +232 -186
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/media/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/nonbreaking/plugin.js +15 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/nonbreaking/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/noneditable/plugin.js +8 -6
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/noneditable/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/pagebreak/plugin.js +29 -30
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/pagebreak/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/paste/plugin.js +388 -290
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/paste/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/CHANGELOG.md +345 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/js/wordimport.js +1826 -1696
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ar.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/bg_BG.js +4 -4
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ca.js +10 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/cs.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/da.js +11 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/de.js +10 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/el.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/es.js +10 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/eu.js +4 -4
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/fa.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/fi.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/fr_FR.js +11 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/he_IL.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/hr.js +11 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/hu_HU.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/id.js +4 -4
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/it.js +10 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ja.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/kk.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ko_KR.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/nb_NO.js +11 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/nl.js +8 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/pl.js +10 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/pt_BR.js +11 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/pt_PT.js +11 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ro.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ru.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/sk.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/sl_SI.js +11 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/sv_SE.js +10 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/th_TH.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/tr.js +11 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/uk.js +12 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/zh_CN.js +13 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/zh_TW.js +13 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/plugin.js +5 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/plugin.min.js +5 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/readme.txt +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/version.txt +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/preview/plugin.js +18 -17
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/preview/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/print/plugin.js +15 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/print/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/quickbars/plugin.js +76 -85
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/quickbars/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/save/plugin.js +11 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/save/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/searchreplace/plugin.js +108 -103
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/searchreplace/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/spellchecker/plugin.js +54 -59
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/spellchecker/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tabfocus/plugin.js +31 -28
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tabfocus/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/table/plugin.js +4394 -3142
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/table/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/template/plugin.js +89 -73
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/template/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/textcolor/plugin.js +3 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/textcolor/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/textpattern/plugin.js +111 -122
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/textpattern/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/toc/plugin.js +33 -29
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/toc/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/visualblocks/plugin.js +12 -11
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/visualblocks/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/visualchars/plugin.js +89 -101
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/visualchars/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/wordcount/plugin.js +69 -58
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/wordcount/plugin.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/readme.txt +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.css +10 -6
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.inline.css +10 -6
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.inline.min.css +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.inline.min.css.map +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.min.css +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.min.css.map +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.css +104 -29
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.min.css +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.min.css.map +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.shadowdom.css +37 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.shadowdom.min.css +8 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.shadowdom.min.css.map +1 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.css +9 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.inline.css +10 -6
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.inline.min.css +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.inline.min.css.map +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.min.css +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.min.css.map +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.css +104 -29
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.min.css +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.min.css.map +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.shadowdom.css +37 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.shadowdom.min.css +8 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.shadowdom.min.css.map +1 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/themes/mobile/theme.js +2890 -3335
- package/src/sap/ui/richtexteditor/js/tiny_mce5/themes/mobile/theme.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/themes/silver/theme.js +15719 -15353
- package/src/sap/ui/richtexteditor/js/tiny_mce5/themes/silver/theme.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/tinymce.d.ts +768 -552
- package/src/sap/ui/richtexteditor/js/tiny_mce5/tinymce.js +6762 -6159
- package/src/sap/ui/richtexteditor/js/tiny_mce5/tinymce.min.js +4 -2
- package/src/sap/ui/richtexteditor/js/tiny_mce5/version.txt +1 -1
- package/src/sap/ui/richtexteditor/library.js +2 -2
- package/src/sap/ui/richtexteditor/themes/base/RichTextEditor.less +0 -44
- package/src/sap/ui/richtexteditor/themes/base/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_belize/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_belize_hcb/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_belize_hcw/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_belize_plus/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_bluecrystal/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_fiori_3/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_fiori_3_dark/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_fiori_3_hcb/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_fiori_3_hcw/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/themes/sap_horizon/library.source.less +1 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/icons/jam/icons.js +0 -163
- package/src/sap/ui/richtexteditor/js/tiny_mce5/icons/material/icons.js +0 -165
- package/src/sap/ui/richtexteditor/js/tiny_mce5/icons/small/icons.js +0 -153
- package/src/sap/ui/richtexteditor/js/tiny_mce5/icons/thin/icons.js +0 -147
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ar_SA.js +0 -194
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/bs.js +0 -197
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/eo.js +0 -219
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/es_ES.js +0 -370
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/fo.js +0 -219
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/gd.js +0 -219
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/hy.js +0 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/is_IS.js +0 -200
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ku.js +0 -415
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ku_IQ.js +0 -200
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/lb.js +0 -200
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ml.js +0 -179
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ml_IN.js +0 -179
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ro_RO.js +0 -370
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/si_LK.js +0 -179
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/tg.js +0 -197
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/tt.js +0 -200
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/vi.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/changelog.txt +0 -46
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/css/annotations.css +0 -29
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/ar.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/bg_BG.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/ca.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/cs.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/da.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/de.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/el.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/es.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/eu.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/fa.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/fi.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/fr_FR.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/he_IL.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/hr.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/hu_HU.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/id.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/it.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/ja.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/kk.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/ko_KR.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/nb_NO.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/nl.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/pl.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/pt_BR.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/pt_PT.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/ro.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/ru.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/sk.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/sl_SI.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/sv_SE.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/th_TH.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/tr.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/uk.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/zh_CN.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/langs/zh_TW.js +0 -57
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/plugin.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/plugin.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/readme.txt +0 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/a11ychecker/version.txt +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/formatpainter/changelog.txt +0 -11
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/formatpainter/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/formatpainter/plugin.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/formatpainter/plugin.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/formatpainter/readme.txt +0 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/formatpainter/version.txt +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/linkchecker/changelog.txt +0 -25
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/linkchecker/content.min.css +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/linkchecker/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/linkchecker/plugin.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/linkchecker/plugin.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/linkchecker/readme.txt +0 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/linkchecker/version.txt +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mediaembed/changelog.txt +0 -26
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mediaembed/content.min.css +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mediaembed/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mediaembed/plugin.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mediaembed/plugin.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mediaembed/readme.txt +0 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mediaembed/version.txt +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mentions/changelog.txt +0 -22
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mentions/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mentions/plugin.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mentions/plugin.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mentions/readme.txt +0 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/mentions/version.txt +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/changelog.txt +0 -141
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/changelog.txt +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/css/fonts/remark.eot +0 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/css/fonts/remark.svg +0 -11
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/css/fonts/remark.ttf +0 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/css/fonts/remark.woff +0 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/css/tinycomments-tinymce4.css +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/css/tinycomments.css +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/css/tinymce4-content.css +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/css/tinymce4-icons.css +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/js/tinycomments-sidebar.js +0 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/js/tinycomments-sidebar.min.js +0 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/ar.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/bg_BG.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/ca.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/cs.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/da.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/de.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/el.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/es.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/eu.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/fa.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/fi.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/fr_FR.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/he_IL.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/hr.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/hu_HU.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/id.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/it.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/ja.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/kk.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/ko_KR.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/nb_NO.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/nl.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/pl.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/pt_BR.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/pt_PT.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/ro.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/ru.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/sk.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/sl_SI.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/sv_SE.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/th_TH.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/tr.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/uk.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/zh_CN.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/langs/zh_TW.js +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/plugin.js +0 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/plugin.min.js +0 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/readme.txt +0 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinycomments/version.txt +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinydrive/assetmanager.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinydrive/assetmanager.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinydrive/changelog.txt +0 -26
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinydrive/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinydrive/plugin.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinydrive/plugin.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinydrive/readme.txt +0 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinydrive/tinydrive.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinydrive/tinydrive.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinydrive/version.txt +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/changelog.txt +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/ar.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/bg_BG.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/ca.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/cs.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/da.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/de.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/el.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/es.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/eu.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/fa.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/fi.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/fr_FR.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/he_IL.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/hr.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/hu_HU.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/id.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/it.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/ja.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/kk.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/ko_KR.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/nb_NO.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/nl.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/pl.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/pt_BR.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/pt_PT.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/ro.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/ru.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/sk.js +0 -13
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/sl_SI.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/sv_SE.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/th_TH.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/tr.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/uk.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/zh_CN.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/langs/zh_TW.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/plugin.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/plugin.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/readme.txt +0 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tinymcespellchecker/version.txt +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/fabric/content.css +0 -771
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/fabric/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/fabric/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/material-classic/content.css +0 -819
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/material-classic/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/material-classic/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/material-outline/content.css +0 -818
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/material-outline/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/material-outline/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/content.css +0 -728
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/content.inline.css +0 -742
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/content.mobile.css +0 -35
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/skin.css +0 -2947
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/skin.mobile.css +0 -678
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/bootstrap/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/content.css +0 -728
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/content.inline.css +0 -742
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/content.mobile.css +0 -35
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/skin.css +0 -2947
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/skin.mobile.css +0 -678
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/borderless/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/content.css +0 -728
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/content.inline.css +0 -742
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/content.mobile.css +0 -35
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/skin.css +0 -2959
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/skin.mobile.css +0 -678
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/fabric/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/content.css +0 -728
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/content.inline.css +0 -742
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/content.mobile.css +0 -35
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/skin.css +0 -2954
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/skin.mobile.css +0 -678
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/jam/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/content.css +0 -728
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/content.inline.css +0 -742
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/content.mobile.css +0 -35
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/skin.css +0 -2983
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/skin.mobile.css +0 -678
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-classic/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/content.css +0 -728
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/content.inline.css +0 -742
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/content.mobile.css +0 -35
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/skin.css +0 -2983
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/skin.mobile.css +0 -678
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/material-outline/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/content.css +0 -728
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/content.inline.css +0 -742
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/content.mobile.css +0 -35
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/skin.css +0 -2947
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/skin.mobile.css +0 -678
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/naked/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/content.css +0 -728
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/content.inline.css +0 -742
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/content.mobile.css +0 -35
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/skin.css +0 -2947
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/skin.mobile.css +0 -678
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/outside/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/content.css +0 -728
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/content.inline.css +0 -742
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/content.mobile.css +0 -35
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/skin.css +0 -2947
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/skin.mobile.css +0 -678
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/small/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/content.css +0 -728
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/content.inline.css +0 -742
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/content.mobile.css +0 -35
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/skin.css +0 -2947
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/skin.mobile.css +0 -678
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/snow/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/themes/base/icons.gif +0 -0
- package/src/sap/ui/richtexteditor/themes/base/icons.png +0 -0
- package/src/sap/ui/richtexteditor/themes/sap_hcb/RichTextEditor.less +0 -108
- package/src/sap/ui/richtexteditor/themes/sap_hcb/library.source.less +0 -9
|
@@ -1,8 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
|
3
|
+
*/
|
|
2
4
|
(function () {
|
|
3
5
|
'use strict';
|
|
4
6
|
|
|
5
|
-
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
|
7
|
+
var global$7 = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
|
8
|
+
|
|
9
|
+
var typeOf = function (x) {
|
|
10
|
+
var t = typeof x;
|
|
11
|
+
if (x === null) {
|
|
12
|
+
return 'null';
|
|
13
|
+
} else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
|
|
14
|
+
return 'array';
|
|
15
|
+
} else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
|
|
16
|
+
return 'string';
|
|
17
|
+
} else {
|
|
18
|
+
return t;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
var isType$1 = function (type) {
|
|
22
|
+
return function (value) {
|
|
23
|
+
return typeOf(value) === type;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
var isSimpleType = function (type) {
|
|
27
|
+
return function (value) {
|
|
28
|
+
return typeof value === type;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
var isString = isType$1('string');
|
|
32
|
+
var isObject = isType$1('object');
|
|
33
|
+
var isArray = isType$1('array');
|
|
34
|
+
var isBoolean = isSimpleType('boolean');
|
|
35
|
+
var isFunction = isSimpleType('function');
|
|
36
|
+
var isNumber = isSimpleType('number');
|
|
6
37
|
|
|
7
38
|
var noop = function () {
|
|
8
39
|
};
|
|
@@ -11,6 +42,12 @@
|
|
|
11
42
|
return value;
|
|
12
43
|
};
|
|
13
44
|
};
|
|
45
|
+
var identity = function (x) {
|
|
46
|
+
return x;
|
|
47
|
+
};
|
|
48
|
+
var tripleEquals = function (a, b) {
|
|
49
|
+
return a === b;
|
|
50
|
+
};
|
|
14
51
|
var not = function (f) {
|
|
15
52
|
return function (t) {
|
|
16
53
|
return !f(t);
|
|
@@ -23,20 +60,14 @@
|
|
|
23
60
|
return NONE;
|
|
24
61
|
};
|
|
25
62
|
var NONE = function () {
|
|
26
|
-
var eq = function (o) {
|
|
27
|
-
return o.isNone();
|
|
28
|
-
};
|
|
29
63
|
var call = function (thunk) {
|
|
30
64
|
return thunk();
|
|
31
65
|
};
|
|
32
|
-
var id =
|
|
33
|
-
return n;
|
|
34
|
-
};
|
|
66
|
+
var id = identity;
|
|
35
67
|
var me = {
|
|
36
68
|
fold: function (n, _s) {
|
|
37
69
|
return n();
|
|
38
70
|
},
|
|
39
|
-
is: never,
|
|
40
71
|
isSome: never,
|
|
41
72
|
isNone: always,
|
|
42
73
|
getOr: id,
|
|
@@ -53,9 +84,9 @@
|
|
|
53
84
|
bind: none,
|
|
54
85
|
exists: never,
|
|
55
86
|
forall: always,
|
|
56
|
-
filter:
|
|
57
|
-
|
|
58
|
-
|
|
87
|
+
filter: function () {
|
|
88
|
+
return none();
|
|
89
|
+
},
|
|
59
90
|
toArray: function () {
|
|
60
91
|
return [];
|
|
61
92
|
},
|
|
@@ -75,9 +106,6 @@
|
|
|
75
106
|
fold: function (n, s) {
|
|
76
107
|
return s(a);
|
|
77
108
|
},
|
|
78
|
-
is: function (v) {
|
|
79
|
-
return a === v;
|
|
80
|
-
},
|
|
81
109
|
isSome: always,
|
|
82
110
|
isNone: never,
|
|
83
111
|
getOr: constant_a,
|
|
@@ -104,14 +132,6 @@
|
|
|
104
132
|
},
|
|
105
133
|
toString: function () {
|
|
106
134
|
return 'some(' + a + ')';
|
|
107
|
-
},
|
|
108
|
-
equals: function (o) {
|
|
109
|
-
return o.is(a);
|
|
110
|
-
},
|
|
111
|
-
equals_: function (o, elementEq) {
|
|
112
|
-
return o.fold(never, function (b) {
|
|
113
|
-
return elementEq(a, b);
|
|
114
|
-
});
|
|
115
135
|
}
|
|
116
136
|
};
|
|
117
137
|
return me;
|
|
@@ -125,34 +145,6 @@
|
|
|
125
145
|
from: from
|
|
126
146
|
};
|
|
127
147
|
|
|
128
|
-
var typeOf = function (x) {
|
|
129
|
-
var t = typeof x;
|
|
130
|
-
if (x === null) {
|
|
131
|
-
return 'null';
|
|
132
|
-
} else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
|
|
133
|
-
return 'array';
|
|
134
|
-
} else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
|
|
135
|
-
return 'string';
|
|
136
|
-
} else {
|
|
137
|
-
return t;
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
var isType = function (type) {
|
|
141
|
-
return function (value) {
|
|
142
|
-
return typeOf(value) === type;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
var isSimpleType = function (type) {
|
|
146
|
-
return function (value) {
|
|
147
|
-
return typeof value === type;
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
var isString = isType('string');
|
|
151
|
-
var isArray = isType('array');
|
|
152
|
-
var isBoolean = isSimpleType('boolean');
|
|
153
|
-
var isFunction = isSimpleType('function');
|
|
154
|
-
var isNumber = isSimpleType('number');
|
|
155
|
-
|
|
156
148
|
var nativeSlice = Array.prototype.slice;
|
|
157
149
|
var nativePush = Array.prototype.push;
|
|
158
150
|
var map = function (xs, f) {
|
|
@@ -164,13 +156,13 @@
|
|
|
164
156
|
}
|
|
165
157
|
return r;
|
|
166
158
|
};
|
|
167
|
-
var each = function (xs, f) {
|
|
159
|
+
var each$1 = function (xs, f) {
|
|
168
160
|
for (var i = 0, len = xs.length; i < len; i++) {
|
|
169
161
|
var x = xs[i];
|
|
170
162
|
f(x, i);
|
|
171
163
|
}
|
|
172
164
|
};
|
|
173
|
-
var filter = function (xs, pred) {
|
|
165
|
+
var filter$1 = function (xs, pred) {
|
|
174
166
|
var r = [];
|
|
175
167
|
for (var i = 0, len = xs.length; i < len; i++) {
|
|
176
168
|
var x = xs[i];
|
|
@@ -204,8 +196,8 @@
|
|
|
204
196
|
}
|
|
205
197
|
};
|
|
206
198
|
var foldl = function (xs, f, acc) {
|
|
207
|
-
each(xs, function (x) {
|
|
208
|
-
acc = f(acc, x);
|
|
199
|
+
each$1(xs, function (x, i) {
|
|
200
|
+
acc = f(acc, x, i);
|
|
209
201
|
});
|
|
210
202
|
return acc;
|
|
211
203
|
};
|
|
@@ -220,7 +212,7 @@
|
|
|
220
212
|
}
|
|
221
213
|
return Optional.none();
|
|
222
214
|
};
|
|
223
|
-
var find = function (xs, pred) {
|
|
215
|
+
var find$1 = function (xs, pred) {
|
|
224
216
|
return findUntil(xs, pred, never);
|
|
225
217
|
};
|
|
226
218
|
var flatten = function (xs) {
|
|
@@ -241,11 +233,23 @@
|
|
|
241
233
|
r.reverse();
|
|
242
234
|
return r;
|
|
243
235
|
};
|
|
236
|
+
var get$1 = function (xs, i) {
|
|
237
|
+
return i >= 0 && i < xs.length ? Optional.some(xs[i]) : Optional.none();
|
|
238
|
+
};
|
|
244
239
|
var head = function (xs) {
|
|
245
|
-
return xs
|
|
240
|
+
return get$1(xs, 0);
|
|
246
241
|
};
|
|
247
242
|
var last = function (xs) {
|
|
248
|
-
return xs
|
|
243
|
+
return get$1(xs, xs.length - 1);
|
|
244
|
+
};
|
|
245
|
+
var findMap = function (arr, f) {
|
|
246
|
+
for (var i = 0; i < arr.length; i++) {
|
|
247
|
+
var r = f(arr[i], i);
|
|
248
|
+
if (r.isSome()) {
|
|
249
|
+
return r;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
return Optional.none();
|
|
249
253
|
};
|
|
250
254
|
|
|
251
255
|
var __assign = function () {
|
|
@@ -260,6 +264,17 @@
|
|
|
260
264
|
};
|
|
261
265
|
return __assign.apply(this, arguments);
|
|
262
266
|
};
|
|
267
|
+
function __spreadArray(to, from, pack) {
|
|
268
|
+
if (pack || arguments.length === 2)
|
|
269
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
270
|
+
if (ar || !(i in from)) {
|
|
271
|
+
if (!ar)
|
|
272
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
273
|
+
ar[i] = from[i];
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
277
|
+
}
|
|
263
278
|
|
|
264
279
|
var cached = function (f) {
|
|
265
280
|
var called = false;
|
|
@@ -308,7 +323,7 @@
|
|
|
308
323
|
}
|
|
309
324
|
return undefined;
|
|
310
325
|
};
|
|
311
|
-
var find
|
|
326
|
+
var find = function (regexes, agent) {
|
|
312
327
|
var r = firstMatch(regexes, agent);
|
|
313
328
|
if (!r) {
|
|
314
329
|
return {
|
|
@@ -319,38 +334,53 @@
|
|
|
319
334
|
var group = function (i) {
|
|
320
335
|
return Number(agent.replace(r, '$' + i));
|
|
321
336
|
};
|
|
322
|
-
return nu(group(1), group(2));
|
|
337
|
+
return nu$2(group(1), group(2));
|
|
323
338
|
};
|
|
324
|
-
var detect = function (versionRegexes, agent) {
|
|
339
|
+
var detect$3 = function (versionRegexes, agent) {
|
|
325
340
|
var cleanedAgent = String(agent).toLowerCase();
|
|
326
341
|
if (versionRegexes.length === 0) {
|
|
327
|
-
return unknown();
|
|
342
|
+
return unknown$2();
|
|
328
343
|
}
|
|
329
|
-
return find
|
|
344
|
+
return find(versionRegexes, cleanedAgent);
|
|
330
345
|
};
|
|
331
|
-
var unknown = function () {
|
|
332
|
-
return nu(0, 0);
|
|
346
|
+
var unknown$2 = function () {
|
|
347
|
+
return nu$2(0, 0);
|
|
333
348
|
};
|
|
334
|
-
var nu = function (major, minor) {
|
|
349
|
+
var nu$2 = function (major, minor) {
|
|
335
350
|
return {
|
|
336
351
|
major: major,
|
|
337
352
|
minor: minor
|
|
338
353
|
};
|
|
339
354
|
};
|
|
340
355
|
var Version = {
|
|
341
|
-
nu: nu,
|
|
342
|
-
detect: detect,
|
|
343
|
-
unknown: unknown
|
|
356
|
+
nu: nu$2,
|
|
357
|
+
detect: detect$3,
|
|
358
|
+
unknown: unknown$2
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
var detectBrowser$1 = function (browsers, userAgentData) {
|
|
362
|
+
return findMap(userAgentData.brands, function (uaBrand) {
|
|
363
|
+
var lcBrand = uaBrand.brand.toLowerCase();
|
|
364
|
+
return find$1(browsers, function (browser) {
|
|
365
|
+
var _a;
|
|
366
|
+
return lcBrand === ((_a = browser.brand) === null || _a === void 0 ? void 0 : _a.toLowerCase());
|
|
367
|
+
}).map(function (info) {
|
|
368
|
+
return {
|
|
369
|
+
current: info.name,
|
|
370
|
+
version: Version.nu(parseInt(uaBrand.version, 10), 0)
|
|
371
|
+
};
|
|
372
|
+
});
|
|
373
|
+
});
|
|
344
374
|
};
|
|
345
375
|
|
|
346
|
-
var detect$
|
|
376
|
+
var detect$2 = function (candidates, userAgent) {
|
|
347
377
|
var agent = String(userAgent).toLowerCase();
|
|
348
|
-
return find(candidates, function (candidate) {
|
|
378
|
+
return find$1(candidates, function (candidate) {
|
|
349
379
|
return candidate.search(agent);
|
|
350
380
|
});
|
|
351
381
|
};
|
|
352
382
|
var detectBrowser = function (browsers, userAgent) {
|
|
353
|
-
return detect$
|
|
383
|
+
return detect$2(browsers, userAgent).map(function (browser) {
|
|
354
384
|
var version = Version.detect(browser.versionRegexes, userAgent);
|
|
355
385
|
return {
|
|
356
386
|
current: browser.name,
|
|
@@ -359,7 +389,7 @@
|
|
|
359
389
|
});
|
|
360
390
|
};
|
|
361
391
|
var detectOs = function (oses, userAgent) {
|
|
362
|
-
return detect$
|
|
392
|
+
return detect$2(oses, userAgent).map(function (os) {
|
|
363
393
|
var version = Version.detect(os.versionRegexes, userAgent);
|
|
364
394
|
return {
|
|
365
395
|
current: os.name,
|
|
@@ -367,19 +397,27 @@
|
|
|
367
397
|
};
|
|
368
398
|
});
|
|
369
399
|
};
|
|
370
|
-
var UaString = {
|
|
371
|
-
detectBrowser: detectBrowser,
|
|
372
|
-
detectOs: detectOs
|
|
373
|
-
};
|
|
374
400
|
|
|
375
|
-
var contains = function (str, substr) {
|
|
401
|
+
var contains$1 = function (str, substr) {
|
|
376
402
|
return str.indexOf(substr) !== -1;
|
|
377
403
|
};
|
|
404
|
+
var blank = function (r) {
|
|
405
|
+
return function (s) {
|
|
406
|
+
return s.replace(r, '');
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
var trim = blank(/^\s+|\s+$/g);
|
|
410
|
+
var isNotEmpty = function (s) {
|
|
411
|
+
return s.length > 0;
|
|
412
|
+
};
|
|
413
|
+
var isEmpty$1 = function (s) {
|
|
414
|
+
return !isNotEmpty(s);
|
|
415
|
+
};
|
|
378
416
|
|
|
379
417
|
var normalVersionRegex = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/;
|
|
380
418
|
var checkContains = function (target) {
|
|
381
419
|
return function (uastring) {
|
|
382
|
-
return contains(uastring, target);
|
|
420
|
+
return contains$1(uastring, target);
|
|
383
421
|
};
|
|
384
422
|
};
|
|
385
423
|
var browsers = [
|
|
@@ -387,17 +425,18 @@
|
|
|
387
425
|
name: 'Edge',
|
|
388
426
|
versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
|
|
389
427
|
search: function (uastring) {
|
|
390
|
-
return contains(uastring, 'edge/') && contains(uastring, 'chrome') && contains(uastring, 'safari') && contains(uastring, 'applewebkit');
|
|
428
|
+
return contains$1(uastring, 'edge/') && contains$1(uastring, 'chrome') && contains$1(uastring, 'safari') && contains$1(uastring, 'applewebkit');
|
|
391
429
|
}
|
|
392
430
|
},
|
|
393
431
|
{
|
|
394
432
|
name: 'Chrome',
|
|
433
|
+
brand: 'Chromium',
|
|
395
434
|
versionRegexes: [
|
|
396
435
|
/.*?chrome\/([0-9]+)\.([0-9]+).*/,
|
|
397
436
|
normalVersionRegex
|
|
398
437
|
],
|
|
399
438
|
search: function (uastring) {
|
|
400
|
-
return contains(uastring, 'chrome') && !contains(uastring, 'chromeframe');
|
|
439
|
+
return contains$1(uastring, 'chrome') && !contains$1(uastring, 'chromeframe');
|
|
401
440
|
}
|
|
402
441
|
},
|
|
403
442
|
{
|
|
@@ -407,7 +446,7 @@
|
|
|
407
446
|
/.*?rv:([0-9]+)\.([0-9]+).*/
|
|
408
447
|
],
|
|
409
448
|
search: function (uastring) {
|
|
410
|
-
return contains(uastring, 'msie') || contains(uastring, 'trident');
|
|
449
|
+
return contains$1(uastring, 'msie') || contains$1(uastring, 'trident');
|
|
411
450
|
}
|
|
412
451
|
},
|
|
413
452
|
{
|
|
@@ -430,7 +469,7 @@
|
|
|
430
469
|
/.*?cpu os ([0-9]+)_([0-9]+).*/
|
|
431
470
|
],
|
|
432
471
|
search: function (uastring) {
|
|
433
|
-
return (contains(uastring, 'safari') || contains(uastring, 'mobile/')) && contains(uastring, 'applewebkit');
|
|
472
|
+
return (contains$1(uastring, 'safari') || contains$1(uastring, 'mobile/')) && contains$1(uastring, 'applewebkit');
|
|
434
473
|
}
|
|
435
474
|
}
|
|
436
475
|
];
|
|
@@ -443,7 +482,7 @@
|
|
|
443
482
|
{
|
|
444
483
|
name: 'iOS',
|
|
445
484
|
search: function (uastring) {
|
|
446
|
-
return contains(uastring, 'iphone') || contains(uastring, 'ipad');
|
|
485
|
+
return contains$1(uastring, 'iphone') || contains$1(uastring, 'ipad');
|
|
447
486
|
},
|
|
448
487
|
versionRegexes: [
|
|
449
488
|
/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,
|
|
@@ -537,13 +576,13 @@
|
|
|
537
576
|
var solaris = 'Solaris';
|
|
538
577
|
var freebsd = 'FreeBSD';
|
|
539
578
|
var chromeos = 'ChromeOS';
|
|
540
|
-
var unknown
|
|
541
|
-
return nu
|
|
579
|
+
var unknown = function () {
|
|
580
|
+
return nu({
|
|
542
581
|
current: undefined,
|
|
543
582
|
version: Version.unknown()
|
|
544
583
|
});
|
|
545
584
|
};
|
|
546
|
-
var nu
|
|
585
|
+
var nu = function (info) {
|
|
547
586
|
var current = info.current;
|
|
548
587
|
var version = info.version;
|
|
549
588
|
var isOS = function (name) {
|
|
@@ -565,8 +604,8 @@
|
|
|
565
604
|
};
|
|
566
605
|
};
|
|
567
606
|
var OperatingSystem = {
|
|
568
|
-
unknown: unknown
|
|
569
|
-
nu: nu
|
|
607
|
+
unknown: unknown,
|
|
608
|
+
nu: nu,
|
|
570
609
|
windows: constant(windows),
|
|
571
610
|
ios: constant(ios),
|
|
572
611
|
android: constant(android),
|
|
@@ -577,11 +616,15 @@
|
|
|
577
616
|
chromeos: constant(chromeos)
|
|
578
617
|
};
|
|
579
618
|
|
|
580
|
-
var detect$
|
|
619
|
+
var detect$1 = function (userAgent, userAgentDataOpt, mediaMatch) {
|
|
581
620
|
var browsers = PlatformInfo.browsers();
|
|
582
621
|
var oses = PlatformInfo.oses();
|
|
583
|
-
var browser =
|
|
584
|
-
|
|
622
|
+
var browser = userAgentDataOpt.bind(function (userAgentData) {
|
|
623
|
+
return detectBrowser$1(browsers, userAgentData);
|
|
624
|
+
}).orThunk(function () {
|
|
625
|
+
return detectBrowser(browsers, userAgent);
|
|
626
|
+
}).fold(Browser.unknown, Browser.nu);
|
|
627
|
+
var os = detectOs(oses, userAgent).fold(OperatingSystem.unknown, OperatingSystem.nu);
|
|
585
628
|
var deviceType = DeviceType(os, browser, userAgent, mediaMatch);
|
|
586
629
|
return {
|
|
587
630
|
browser: browser,
|
|
@@ -589,15 +632,15 @@
|
|
|
589
632
|
deviceType: deviceType
|
|
590
633
|
};
|
|
591
634
|
};
|
|
592
|
-
var PlatformDetection = { detect: detect$
|
|
635
|
+
var PlatformDetection = { detect: detect$1 };
|
|
593
636
|
|
|
594
637
|
var mediaMatch = function (query) {
|
|
595
638
|
return window.matchMedia(query).matches;
|
|
596
639
|
};
|
|
597
640
|
var platform = cached(function () {
|
|
598
|
-
return PlatformDetection.detect(navigator.userAgent, mediaMatch);
|
|
641
|
+
return PlatformDetection.detect(navigator.userAgent, Optional.from(navigator.userAgentData), mediaMatch);
|
|
599
642
|
});
|
|
600
|
-
var detect
|
|
643
|
+
var detect = function () {
|
|
601
644
|
return platform();
|
|
602
645
|
};
|
|
603
646
|
|
|
@@ -647,7 +690,7 @@
|
|
|
647
690
|
fromPoint: fromPoint
|
|
648
691
|
};
|
|
649
692
|
|
|
650
|
-
var is = function (element, selector) {
|
|
693
|
+
var is$2 = function (element, selector) {
|
|
651
694
|
var dom = element.dom;
|
|
652
695
|
if (dom.nodeType !== ELEMENT) {
|
|
653
696
|
return false;
|
|
@@ -678,19 +721,19 @@
|
|
|
678
721
|
var ieContains = function (e1, e2) {
|
|
679
722
|
return documentPositionContainedBy(e1.dom, e2.dom);
|
|
680
723
|
};
|
|
681
|
-
var contains
|
|
682
|
-
return detect
|
|
724
|
+
var contains = function (e1, e2) {
|
|
725
|
+
return detect().browser.isIE() ? ieContains(e1, e2) : regularContains(e1, e2);
|
|
683
726
|
};
|
|
684
|
-
var is$1 = is;
|
|
727
|
+
var is$1 = is$2;
|
|
685
728
|
|
|
686
|
-
var global$
|
|
729
|
+
var global$6 = tinymce.util.Tools.resolve('tinymce.dom.RangeUtils');
|
|
687
730
|
|
|
688
|
-
var global$
|
|
731
|
+
var global$5 = tinymce.util.Tools.resolve('tinymce.dom.TreeWalker');
|
|
689
732
|
|
|
690
|
-
var global$
|
|
733
|
+
var global$4 = tinymce.util.Tools.resolve('tinymce.util.VK');
|
|
691
734
|
|
|
692
735
|
var keys = Object.keys;
|
|
693
|
-
var each
|
|
736
|
+
var each = function (obj, f) {
|
|
694
737
|
var props = keys(obj);
|
|
695
738
|
for (var k = 0, len = props.length; k < len; k++) {
|
|
696
739
|
var i = props[k];
|
|
@@ -705,18 +748,18 @@
|
|
|
705
748
|
};
|
|
706
749
|
var internalFilter = function (obj, pred, onTrue, onFalse) {
|
|
707
750
|
var r = {};
|
|
708
|
-
each
|
|
751
|
+
each(obj, function (x, i) {
|
|
709
752
|
(pred(x, i) ? onTrue : onFalse)(x, i);
|
|
710
753
|
});
|
|
711
754
|
return r;
|
|
712
755
|
};
|
|
713
|
-
var filter
|
|
756
|
+
var filter = function (obj, pred) {
|
|
714
757
|
var t = {};
|
|
715
758
|
internalFilter(obj, pred, objAcc(t), noop);
|
|
716
759
|
return t;
|
|
717
760
|
};
|
|
718
761
|
|
|
719
|
-
|
|
762
|
+
typeof window !== 'undefined' ? window : Function('return this;')();
|
|
720
763
|
|
|
721
764
|
var name = function (element) {
|
|
722
765
|
var r = element.dom.nodeName;
|
|
@@ -725,12 +768,17 @@
|
|
|
725
768
|
var type = function (element) {
|
|
726
769
|
return element.dom.nodeType;
|
|
727
770
|
};
|
|
728
|
-
var isType
|
|
771
|
+
var isType = function (t) {
|
|
729
772
|
return function (element) {
|
|
730
773
|
return type(element) === t;
|
|
731
774
|
};
|
|
732
775
|
};
|
|
733
|
-
var isElement = isType
|
|
776
|
+
var isElement = isType(ELEMENT);
|
|
777
|
+
var isTag = function (tag) {
|
|
778
|
+
return function (e) {
|
|
779
|
+
return isElement(e) && name(e) === tag;
|
|
780
|
+
};
|
|
781
|
+
};
|
|
734
782
|
|
|
735
783
|
var rawSet = function (dom, key, value) {
|
|
736
784
|
if (isString(value) || isBoolean(value) || isNumber(value)) {
|
|
@@ -742,11 +790,11 @@
|
|
|
742
790
|
};
|
|
743
791
|
var setAll = function (element, attrs) {
|
|
744
792
|
var dom = element.dom;
|
|
745
|
-
each
|
|
793
|
+
each(attrs, function (v, k) {
|
|
746
794
|
rawSet(dom, k, v);
|
|
747
795
|
});
|
|
748
796
|
};
|
|
749
|
-
var clone = function (element) {
|
|
797
|
+
var clone$1 = function (element) {
|
|
750
798
|
return foldl(element.dom.attributes, function (acc, attr) {
|
|
751
799
|
acc[attr.name] = attr.value;
|
|
752
800
|
return acc;
|
|
@@ -770,24 +818,24 @@
|
|
|
770
818
|
return child(element, element.dom.childNodes.length - 1);
|
|
771
819
|
};
|
|
772
820
|
|
|
773
|
-
var before = function (marker, element) {
|
|
821
|
+
var before$1 = function (marker, element) {
|
|
774
822
|
var parent$1 = parent(marker);
|
|
775
823
|
parent$1.each(function (v) {
|
|
776
824
|
v.dom.insertBefore(element.dom, marker.dom);
|
|
777
825
|
});
|
|
778
826
|
};
|
|
779
|
-
var append = function (parent, element) {
|
|
827
|
+
var append$1 = function (parent, element) {
|
|
780
828
|
parent.dom.appendChild(element.dom);
|
|
781
829
|
};
|
|
782
830
|
|
|
783
|
-
var before
|
|
784
|
-
each(elements, function (x) {
|
|
785
|
-
before(marker, x);
|
|
831
|
+
var before = function (marker, elements) {
|
|
832
|
+
each$1(elements, function (x) {
|
|
833
|
+
before$1(marker, x);
|
|
786
834
|
});
|
|
787
835
|
};
|
|
788
|
-
var append
|
|
789
|
-
each(elements, function (x) {
|
|
790
|
-
append(parent, x);
|
|
836
|
+
var append = function (parent, elements) {
|
|
837
|
+
each$1(elements, function (x) {
|
|
838
|
+
append$1(parent, x);
|
|
791
839
|
});
|
|
792
840
|
};
|
|
793
841
|
|
|
@@ -798,30 +846,30 @@
|
|
|
798
846
|
}
|
|
799
847
|
};
|
|
800
848
|
|
|
801
|
-
var clone
|
|
849
|
+
var clone = function (original, isDeep) {
|
|
802
850
|
return SugarElement.fromDom(original.dom.cloneNode(isDeep));
|
|
803
851
|
};
|
|
804
852
|
var deep = function (original) {
|
|
805
|
-
return clone
|
|
853
|
+
return clone(original, true);
|
|
806
854
|
};
|
|
807
855
|
var shallowAs = function (original, tag) {
|
|
808
856
|
var nu = SugarElement.fromTag(tag);
|
|
809
|
-
var attributes = clone(original);
|
|
857
|
+
var attributes = clone$1(original);
|
|
810
858
|
setAll(nu, attributes);
|
|
811
859
|
return nu;
|
|
812
860
|
};
|
|
813
861
|
var mutate = function (original, tag) {
|
|
814
862
|
var nu = shallowAs(original, tag);
|
|
815
|
-
before(original, nu);
|
|
863
|
+
before$1(original, nu);
|
|
816
864
|
var children$1 = children(original);
|
|
817
|
-
append
|
|
865
|
+
append(nu, children$1);
|
|
818
866
|
remove(original);
|
|
819
867
|
return nu;
|
|
820
868
|
};
|
|
821
869
|
|
|
822
|
-
var global$
|
|
870
|
+
var global$3 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');
|
|
823
871
|
|
|
824
|
-
var global$
|
|
872
|
+
var global$2 = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
|
825
873
|
|
|
826
874
|
var matchNodeName = function (name) {
|
|
827
875
|
return function (node) {
|
|
@@ -933,58 +981,60 @@
|
|
|
933
981
|
return fragment;
|
|
934
982
|
};
|
|
935
983
|
|
|
936
|
-
var DOM = global$
|
|
937
|
-
var splitList = function (editor,
|
|
984
|
+
var DOM$2 = global$3.DOM;
|
|
985
|
+
var splitList = function (editor, list, li) {
|
|
938
986
|
var removeAndKeepBookmarks = function (targetNode) {
|
|
939
|
-
global$
|
|
987
|
+
global$2.each(bookmarks, function (node) {
|
|
940
988
|
targetNode.parentNode.insertBefore(node, li.parentNode);
|
|
941
989
|
});
|
|
942
|
-
DOM.remove(targetNode);
|
|
990
|
+
DOM$2.remove(targetNode);
|
|
943
991
|
};
|
|
944
|
-
var bookmarks = DOM.select('span[data-mce-type="bookmark"]',
|
|
992
|
+
var bookmarks = DOM$2.select('span[data-mce-type="bookmark"]', list);
|
|
945
993
|
var newBlock = createTextBlock(editor, li);
|
|
946
|
-
var tmpRng = DOM.createRng();
|
|
994
|
+
var tmpRng = DOM$2.createRng();
|
|
947
995
|
tmpRng.setStartAfter(li);
|
|
948
|
-
tmpRng.setEndAfter(
|
|
996
|
+
tmpRng.setEndAfter(list);
|
|
949
997
|
var fragment = tmpRng.extractContents();
|
|
950
998
|
for (var node = fragment.firstChild; node; node = node.firstChild) {
|
|
951
999
|
if (node.nodeName === 'LI' && editor.dom.isEmpty(node)) {
|
|
952
|
-
DOM.remove(node);
|
|
1000
|
+
DOM$2.remove(node);
|
|
953
1001
|
break;
|
|
954
1002
|
}
|
|
955
1003
|
}
|
|
956
1004
|
if (!editor.dom.isEmpty(fragment)) {
|
|
957
|
-
DOM.insertAfter(fragment,
|
|
1005
|
+
DOM$2.insertAfter(fragment, list);
|
|
958
1006
|
}
|
|
959
|
-
DOM.insertAfter(newBlock,
|
|
1007
|
+
DOM$2.insertAfter(newBlock, list);
|
|
960
1008
|
if (isEmpty(editor.dom, li.parentNode)) {
|
|
961
1009
|
removeAndKeepBookmarks(li.parentNode);
|
|
962
1010
|
}
|
|
963
|
-
DOM.remove(li);
|
|
964
|
-
if (isEmpty(editor.dom,
|
|
965
|
-
DOM.remove(
|
|
1011
|
+
DOM$2.remove(li);
|
|
1012
|
+
if (isEmpty(editor.dom, list)) {
|
|
1013
|
+
DOM$2.remove(list);
|
|
966
1014
|
}
|
|
967
1015
|
};
|
|
968
1016
|
|
|
1017
|
+
var isDescriptionDetail = isTag('dd');
|
|
1018
|
+
var isDescriptionTerm = isTag('dt');
|
|
969
1019
|
var outdentDlItem = function (editor, item) {
|
|
970
|
-
if (
|
|
1020
|
+
if (isDescriptionDetail(item)) {
|
|
971
1021
|
mutate(item, 'dt');
|
|
972
|
-
} else if (
|
|
1022
|
+
} else if (isDescriptionTerm(item)) {
|
|
973
1023
|
parent(item).each(function (dl) {
|
|
974
1024
|
return splitList(editor, dl.dom, item.dom);
|
|
975
1025
|
});
|
|
976
1026
|
}
|
|
977
1027
|
};
|
|
978
1028
|
var indentDlItem = function (item) {
|
|
979
|
-
if (
|
|
1029
|
+
if (isDescriptionTerm(item)) {
|
|
980
1030
|
mutate(item, 'dd');
|
|
981
1031
|
}
|
|
982
1032
|
};
|
|
983
1033
|
var dlIndentation = function (editor, indentation, dlItems) {
|
|
984
1034
|
if (indentation === 'Indent') {
|
|
985
|
-
each(dlItems, indentDlItem);
|
|
1035
|
+
each$1(dlItems, indentDlItem);
|
|
986
1036
|
} else {
|
|
987
|
-
each(dlItems, function (item) {
|
|
1037
|
+
each$1(dlItems, function (item) {
|
|
988
1038
|
return outdentDlItem(editor, item);
|
|
989
1039
|
});
|
|
990
1040
|
}
|
|
@@ -997,7 +1047,7 @@
|
|
|
997
1047
|
offset: offset
|
|
998
1048
|
};
|
|
999
1049
|
}
|
|
1000
|
-
var node = global$
|
|
1050
|
+
var node = global$6.getNode(container, offset);
|
|
1001
1051
|
if (isTextNode(node)) {
|
|
1002
1052
|
return {
|
|
1003
1053
|
container: node,
|
|
@@ -1028,7 +1078,7 @@
|
|
|
1028
1078
|
return outRng;
|
|
1029
1079
|
};
|
|
1030
1080
|
|
|
1031
|
-
var global$
|
|
1081
|
+
var global$1 = tinymce.util.Tools.resolve('tinymce.dom.DomQuery');
|
|
1032
1082
|
|
|
1033
1083
|
var getParentList = function (editor, node) {
|
|
1034
1084
|
var selectionStart = node || editor.selection.getStart(true);
|
|
@@ -1038,9 +1088,7 @@
|
|
|
1038
1088
|
return parentList && selectedBlocks.length === 1 && selectedBlocks[0] === parentList;
|
|
1039
1089
|
};
|
|
1040
1090
|
var findSubLists = function (parentList) {
|
|
1041
|
-
return
|
|
1042
|
-
return isListNode(elm);
|
|
1043
|
-
});
|
|
1091
|
+
return filter$1(parentList.querySelectorAll('ol,ul,dl'), isListNode);
|
|
1044
1092
|
};
|
|
1045
1093
|
var getSelectedSubLists = function (editor) {
|
|
1046
1094
|
var parentList = getParentList(editor);
|
|
@@ -1048,31 +1096,28 @@
|
|
|
1048
1096
|
if (isParentListSelected(parentList, selectedBlocks)) {
|
|
1049
1097
|
return findSubLists(parentList);
|
|
1050
1098
|
} else {
|
|
1051
|
-
return
|
|
1099
|
+
return filter$1(selectedBlocks, function (elm) {
|
|
1052
1100
|
return isListNode(elm) && parentList !== elm;
|
|
1053
1101
|
});
|
|
1054
1102
|
}
|
|
1055
1103
|
};
|
|
1056
1104
|
var findParentListItemsNodes = function (editor, elms) {
|
|
1057
|
-
var listItemsElms = global$
|
|
1105
|
+
var listItemsElms = global$2.map(elms, function (elm) {
|
|
1058
1106
|
var parentLi = editor.dom.getParent(elm, 'li,dd,dt', getClosestListRootElm(editor, elm));
|
|
1059
1107
|
return parentLi ? parentLi : elm;
|
|
1060
1108
|
});
|
|
1061
|
-
return global$
|
|
1109
|
+
return global$1.unique(listItemsElms);
|
|
1062
1110
|
};
|
|
1063
1111
|
var getSelectedListItems = function (editor) {
|
|
1064
1112
|
var selectedBlocks = editor.selection.getSelectedBlocks();
|
|
1065
|
-
return
|
|
1066
|
-
return isListItemNode(block);
|
|
1067
|
-
});
|
|
1113
|
+
return filter$1(findParentListItemsNodes(editor, selectedBlocks), isListItemNode);
|
|
1068
1114
|
};
|
|
1069
1115
|
var getSelectedDlItems = function (editor) {
|
|
1070
|
-
return filter(getSelectedListItems(editor), isDlItemNode);
|
|
1116
|
+
return filter$1(getSelectedListItems(editor), isDlItemNode);
|
|
1071
1117
|
};
|
|
1072
1118
|
var getClosestListRootElm = function (editor, elm) {
|
|
1073
1119
|
var parentTableCell = editor.dom.getParents(elm, 'TD,TH');
|
|
1074
|
-
|
|
1075
|
-
return root;
|
|
1120
|
+
return parentTableCell.length > 0 ? parentTableCell[0] : editor.getBody();
|
|
1076
1121
|
};
|
|
1077
1122
|
var findLastParentListNode = function (editor, elm) {
|
|
1078
1123
|
var parentLists = editor.dom.getParents(elm, 'ol,ul', getClosestListRootElm(editor, elm));
|
|
@@ -1080,7 +1125,7 @@
|
|
|
1080
1125
|
};
|
|
1081
1126
|
var getSelectedLists = function (editor) {
|
|
1082
1127
|
var firstList = findLastParentListNode(editor, editor.selection.getStart());
|
|
1083
|
-
var subsequentLists = filter(editor.selection.getSelectedBlocks(), isOlUlNode);
|
|
1128
|
+
var subsequentLists = filter$1(editor.selection.getSelectedBlocks(), isOlUlNode);
|
|
1084
1129
|
return firstList.toArray().concat(subsequentLists);
|
|
1085
1130
|
};
|
|
1086
1131
|
var getSelectedListRoots = function (editor) {
|
|
@@ -1091,9 +1136,17 @@
|
|
|
1091
1136
|
var listRoots = map(lists, function (list) {
|
|
1092
1137
|
return findLastParentListNode(editor, list).getOr(list);
|
|
1093
1138
|
});
|
|
1094
|
-
return global$
|
|
1139
|
+
return global$1.unique(listRoots);
|
|
1095
1140
|
};
|
|
1096
1141
|
|
|
1142
|
+
var is = function (lhs, rhs, comparator) {
|
|
1143
|
+
if (comparator === void 0) {
|
|
1144
|
+
comparator = tripleEquals;
|
|
1145
|
+
}
|
|
1146
|
+
return lhs.exists(function (left) {
|
|
1147
|
+
return comparator(left, rhs);
|
|
1148
|
+
});
|
|
1149
|
+
};
|
|
1097
1150
|
var lift2 = function (oa, ob, f) {
|
|
1098
1151
|
return oa.isSome() && ob.isSome() ? Optional.some(f(oa.getOrDie(), ob.getOrDie())) : Optional.none();
|
|
1099
1152
|
};
|
|
@@ -1101,7 +1154,7 @@
|
|
|
1101
1154
|
var fromElements = function (elements, scope) {
|
|
1102
1155
|
var doc = scope || document;
|
|
1103
1156
|
var fragment = doc.createDocumentFragment();
|
|
1104
|
-
each(elements, function (element) {
|
|
1157
|
+
each$1(elements, function (element) {
|
|
1105
1158
|
fragment.appendChild(element.dom);
|
|
1106
1159
|
});
|
|
1107
1160
|
return SugarElement.fromDom(fragment);
|
|
@@ -1133,7 +1186,7 @@
|
|
|
1133
1186
|
};
|
|
1134
1187
|
|
|
1135
1188
|
var joinSegment = function (parent, child) {
|
|
1136
|
-
append(parent.item, child.list);
|
|
1189
|
+
append$1(parent.item, child.list);
|
|
1137
1190
|
};
|
|
1138
1191
|
var joinSegments = function (segments) {
|
|
1139
1192
|
for (var i = 1; i < segments.length; i++) {
|
|
@@ -1148,7 +1201,7 @@
|
|
|
1148
1201
|
list: SugarElement.fromTag(listType, scope),
|
|
1149
1202
|
item: SugarElement.fromTag('li', scope)
|
|
1150
1203
|
};
|
|
1151
|
-
append(segment.list, segment.item);
|
|
1204
|
+
append$1(segment.list, segment.item);
|
|
1152
1205
|
return segment;
|
|
1153
1206
|
};
|
|
1154
1207
|
var createSegments = function (scope, entry, size) {
|
|
@@ -1165,7 +1218,7 @@
|
|
|
1165
1218
|
last(segments).each(function (segment) {
|
|
1166
1219
|
setAll(segment.list, entry.listAttributes);
|
|
1167
1220
|
setAll(segment.item, entry.itemAttributes);
|
|
1168
|
-
append
|
|
1221
|
+
append(segment.item, entry.content);
|
|
1169
1222
|
});
|
|
1170
1223
|
};
|
|
1171
1224
|
var normalizeSegment = function (segment, entry) {
|
|
@@ -1177,11 +1230,11 @@
|
|
|
1177
1230
|
var createItem = function (scope, attr, content) {
|
|
1178
1231
|
var item = SugarElement.fromTag('li', scope);
|
|
1179
1232
|
setAll(item, attr);
|
|
1180
|
-
append
|
|
1233
|
+
append(item, content);
|
|
1181
1234
|
return item;
|
|
1182
1235
|
};
|
|
1183
1236
|
var appendItem = function (segment, item) {
|
|
1184
|
-
append(segment.list, item);
|
|
1237
|
+
append$1(segment.list, item);
|
|
1185
1238
|
segment.item = item;
|
|
1186
1239
|
};
|
|
1187
1240
|
var writeShallow = function (scope, cast, entry) {
|
|
@@ -1213,10 +1266,10 @@
|
|
|
1213
1266
|
return is$1(el, 'OL,UL');
|
|
1214
1267
|
};
|
|
1215
1268
|
var hasFirstChildList = function (el) {
|
|
1216
|
-
return firstChild(el).
|
|
1269
|
+
return firstChild(el).exists(isList);
|
|
1217
1270
|
};
|
|
1218
1271
|
var hasLastChildList = function (el) {
|
|
1219
|
-
return lastChild(el).
|
|
1272
|
+
return lastChild(el).exists(isList);
|
|
1220
1273
|
};
|
|
1221
1274
|
|
|
1222
1275
|
var isIndented = function (entry) {
|
|
@@ -1237,8 +1290,8 @@
|
|
|
1237
1290
|
dirty: false,
|
|
1238
1291
|
isSelected: isSelected,
|
|
1239
1292
|
content: cloneItemContent(li),
|
|
1240
|
-
itemAttributes: clone(li),
|
|
1241
|
-
listAttributes: clone(list),
|
|
1293
|
+
itemAttributes: clone$1(li),
|
|
1294
|
+
listAttributes: clone$1(list),
|
|
1242
1295
|
listType: name(list)
|
|
1243
1296
|
};
|
|
1244
1297
|
});
|
|
@@ -1263,7 +1316,7 @@
|
|
|
1263
1316
|
target.listAttributes = __assign({}, source.listAttributes);
|
|
1264
1317
|
};
|
|
1265
1318
|
var cleanListProperties = function (entry) {
|
|
1266
|
-
entry.listAttributes = filter
|
|
1319
|
+
entry.listAttributes = filter(entry.listAttributes, function (_value, key) {
|
|
1267
1320
|
return key !== 'start';
|
|
1268
1321
|
});
|
|
1269
1322
|
};
|
|
@@ -1280,7 +1333,7 @@
|
|
|
1280
1333
|
});
|
|
1281
1334
|
};
|
|
1282
1335
|
var normalizeEntries = function (entries) {
|
|
1283
|
-
each(entries, function (entry, i) {
|
|
1336
|
+
each$1(entries, function (entry, i) {
|
|
1284
1337
|
closestSiblingEntry(entries, i).fold(function () {
|
|
1285
1338
|
if (entry.dirty) {
|
|
1286
1339
|
cleanListProperties(entry);
|
|
@@ -1358,18 +1411,18 @@
|
|
|
1358
1411
|
};
|
|
1359
1412
|
var composeEntries = function (editor, entries) {
|
|
1360
1413
|
return bind(groupBy(entries, isIndented), function (entries) {
|
|
1361
|
-
var groupIsIndented = head(entries).
|
|
1414
|
+
var groupIsIndented = head(entries).exists(isIndented);
|
|
1362
1415
|
return groupIsIndented ? indentedComposer(editor, entries) : outdentedComposer(editor, entries);
|
|
1363
1416
|
});
|
|
1364
1417
|
};
|
|
1365
1418
|
var indentSelectedEntries = function (entries, indentation) {
|
|
1366
|
-
each(filter(entries, isSelected), function (entry) {
|
|
1419
|
+
each$1(filter$1(entries, isSelected), function (entry) {
|
|
1367
1420
|
return indentEntry(indentation, entry);
|
|
1368
1421
|
});
|
|
1369
1422
|
};
|
|
1370
1423
|
var getItemSelection = function (editor) {
|
|
1371
1424
|
var selectedListItems = map(getSelectedListItems(editor), SugarElement.fromDom);
|
|
1372
|
-
return lift2(find(selectedListItems, not(hasFirstChildList)), find(reverse(selectedListItems), not(hasFirstChildList)), function (start, end) {
|
|
1425
|
+
return lift2(find$1(selectedListItems, not(hasFirstChildList)), find$1(reverse(selectedListItems), not(hasFirstChildList)), function (start, end) {
|
|
1373
1426
|
return {
|
|
1374
1427
|
start: start,
|
|
1375
1428
|
end: end
|
|
@@ -1378,13 +1431,13 @@
|
|
|
1378
1431
|
};
|
|
1379
1432
|
var listIndentation = function (editor, lists, indentation) {
|
|
1380
1433
|
var entrySets = parseLists(lists, getItemSelection(editor));
|
|
1381
|
-
each(entrySets, function (entrySet) {
|
|
1434
|
+
each$1(entrySets, function (entrySet) {
|
|
1382
1435
|
indentSelectedEntries(entrySet.entries, indentation);
|
|
1383
1436
|
var composedLists = composeEntries(editor, entrySet.entries);
|
|
1384
|
-
each(composedLists, function (composedList) {
|
|
1437
|
+
each$1(composedLists, function (composedList) {
|
|
1385
1438
|
fireListEvent(editor, indentation === 'Indent' ? 'IndentList' : 'OutdentList', composedList.dom);
|
|
1386
1439
|
});
|
|
1387
|
-
before
|
|
1440
|
+
before(entrySet.sourceList, composedLists);
|
|
1388
1441
|
remove(entrySet.sourceList);
|
|
1389
1442
|
});
|
|
1390
1443
|
};
|
|
@@ -1414,17 +1467,16 @@
|
|
|
1414
1467
|
return selectionIndentation(editor, 'Flatten');
|
|
1415
1468
|
};
|
|
1416
1469
|
|
|
1417
|
-
var global
|
|
1470
|
+
var global = tinymce.util.Tools.resolve('tinymce.dom.BookmarkManager');
|
|
1418
1471
|
|
|
1419
|
-
var DOM$1 = global$
|
|
1472
|
+
var DOM$1 = global$3.DOM;
|
|
1420
1473
|
var createBookmark = function (rng) {
|
|
1421
1474
|
var bookmark = {};
|
|
1422
1475
|
var setupEndPoint = function (start) {
|
|
1423
|
-
var
|
|
1424
|
-
|
|
1425
|
-
offset = rng[start ? 'startOffset' : 'endOffset'];
|
|
1476
|
+
var container = rng[start ? 'startContainer' : 'endContainer'];
|
|
1477
|
+
var offset = rng[start ? 'startOffset' : 'endOffset'];
|
|
1426
1478
|
if (container.nodeType === 1) {
|
|
1427
|
-
offsetNode = DOM$1.create('span', { 'data-mce-type': 'bookmark' });
|
|
1479
|
+
var offsetNode = DOM$1.create('span', { 'data-mce-type': 'bookmark' });
|
|
1428
1480
|
if (container.hasChildNodes()) {
|
|
1429
1481
|
offset = Math.min(offset, container.childNodes.length - 1);
|
|
1430
1482
|
if (start) {
|
|
@@ -1448,8 +1500,8 @@
|
|
|
1448
1500
|
return bookmark;
|
|
1449
1501
|
};
|
|
1450
1502
|
var resolveBookmark = function (bookmark) {
|
|
1451
|
-
function
|
|
1452
|
-
var
|
|
1503
|
+
var restoreEndPoint = function (start) {
|
|
1504
|
+
var node;
|
|
1453
1505
|
var nodeIndex = function (container) {
|
|
1454
1506
|
var node = container.parentNode.firstChild, idx = 0;
|
|
1455
1507
|
while (node) {
|
|
@@ -1463,8 +1515,8 @@
|
|
|
1463
1515
|
}
|
|
1464
1516
|
return -1;
|
|
1465
1517
|
};
|
|
1466
|
-
container = node = bookmark[start ? 'startContainer' : 'endContainer'];
|
|
1467
|
-
offset = bookmark[start ? 'startOffset' : 'endOffset'];
|
|
1518
|
+
var container = node = bookmark[start ? 'startContainer' : 'endContainer'];
|
|
1519
|
+
var offset = bookmark[start ? 'startOffset' : 'endOffset'];
|
|
1468
1520
|
if (!container) {
|
|
1469
1521
|
return;
|
|
1470
1522
|
}
|
|
@@ -1478,7 +1530,7 @@
|
|
|
1478
1530
|
}
|
|
1479
1531
|
bookmark[start ? 'startContainer' : 'endContainer'] = container;
|
|
1480
1532
|
bookmark[start ? 'startOffset' : 'endOffset'] = offset;
|
|
1481
|
-
}
|
|
1533
|
+
};
|
|
1482
1534
|
restoreEndPoint(true);
|
|
1483
1535
|
restoreEndPoint();
|
|
1484
1536
|
var rng = DOM$1.createRng();
|
|
@@ -1523,13 +1575,13 @@
|
|
|
1523
1575
|
dom.setStyle(el, 'list-style-type', type);
|
|
1524
1576
|
};
|
|
1525
1577
|
var setAttribs = function (elm, attrs) {
|
|
1526
|
-
global$
|
|
1578
|
+
global$2.each(attrs, function (value, key) {
|
|
1527
1579
|
elm.setAttribute(key, value);
|
|
1528
1580
|
});
|
|
1529
1581
|
};
|
|
1530
1582
|
var updateListAttrs = function (dom, el, detail) {
|
|
1531
1583
|
setAttribs(el, detail['list-attributes']);
|
|
1532
|
-
global$
|
|
1584
|
+
global$2.each(dom.select('li', el), function (li) {
|
|
1533
1585
|
setAttribs(li, detail['list-item-attributes']);
|
|
1534
1586
|
});
|
|
1535
1587
|
};
|
|
@@ -1538,7 +1590,7 @@
|
|
|
1538
1590
|
updateListAttrs(dom, el, detail);
|
|
1539
1591
|
};
|
|
1540
1592
|
var removeStyles = function (dom, element, styles) {
|
|
1541
|
-
global$
|
|
1593
|
+
global$2.each(styles, function (style) {
|
|
1542
1594
|
var _a;
|
|
1543
1595
|
return dom.setStyle(element, (_a = {}, _a[style] = '', _a));
|
|
1544
1596
|
});
|
|
@@ -1564,7 +1616,8 @@
|
|
|
1564
1616
|
return container;
|
|
1565
1617
|
};
|
|
1566
1618
|
var getSelectedTextBlocks = function (editor, rng, root) {
|
|
1567
|
-
var textBlocks = []
|
|
1619
|
+
var textBlocks = [];
|
|
1620
|
+
var dom = editor.dom;
|
|
1568
1621
|
var startNode = getEndPointNode(editor, rng, true, root);
|
|
1569
1622
|
var endNode = getEndPointNode(editor, rng, false, root);
|
|
1570
1623
|
var block;
|
|
@@ -1575,7 +1628,7 @@
|
|
|
1575
1628
|
break;
|
|
1576
1629
|
}
|
|
1577
1630
|
}
|
|
1578
|
-
global$
|
|
1631
|
+
global$2.each(siblings, function (node) {
|
|
1579
1632
|
if (isTextBlock(editor, node)) {
|
|
1580
1633
|
textBlocks.push(node);
|
|
1581
1634
|
block = null;
|
|
@@ -1589,8 +1642,8 @@
|
|
|
1589
1642
|
return;
|
|
1590
1643
|
}
|
|
1591
1644
|
var nextSibling = node.nextSibling;
|
|
1592
|
-
if (global
|
|
1593
|
-
if (isTextBlock(editor, nextSibling) || !nextSibling && node.parentNode === root) {
|
|
1645
|
+
if (global.isBookmarkNode(node)) {
|
|
1646
|
+
if (isListNode(nextSibling) || isTextBlock(editor, nextSibling) || !nextSibling && node.parentNode === root) {
|
|
1594
1647
|
block = null;
|
|
1595
1648
|
return;
|
|
1596
1649
|
}
|
|
@@ -1611,9 +1664,6 @@
|
|
|
1611
1664
|
return sibStyle === detailStyle;
|
|
1612
1665
|
};
|
|
1613
1666
|
var applyList = function (editor, listName, detail) {
|
|
1614
|
-
if (detail === void 0) {
|
|
1615
|
-
detail = {};
|
|
1616
|
-
}
|
|
1617
1667
|
var rng = editor.selection.getRng();
|
|
1618
1668
|
var listItemName = 'LI';
|
|
1619
1669
|
var root = getClosestListRootElm(editor, editor.selection.getStart(true));
|
|
@@ -1626,33 +1676,37 @@
|
|
|
1626
1676
|
listItemName = 'DT';
|
|
1627
1677
|
}
|
|
1628
1678
|
var bookmark = createBookmark(rng);
|
|
1629
|
-
|
|
1679
|
+
var selectedTextBlocks = getSelectedTextBlocks(editor, rng, root);
|
|
1680
|
+
global$2.each(selectedTextBlocks, function (block) {
|
|
1630
1681
|
var listBlock;
|
|
1631
1682
|
var sibling = block.previousSibling;
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1683
|
+
var parent = block.parentNode;
|
|
1684
|
+
if (!isListItemNode(parent)) {
|
|
1685
|
+
if (sibling && isListNode(sibling) && sibling.nodeName === listName && hasCompatibleStyle(dom, sibling, detail)) {
|
|
1686
|
+
listBlock = sibling;
|
|
1687
|
+
block = dom.rename(block, listItemName);
|
|
1688
|
+
sibling.appendChild(block);
|
|
1689
|
+
} else {
|
|
1690
|
+
listBlock = dom.create(listName);
|
|
1691
|
+
block.parentNode.insertBefore(listBlock, block);
|
|
1692
|
+
listBlock.appendChild(block);
|
|
1693
|
+
block = dom.rename(block, listItemName);
|
|
1694
|
+
}
|
|
1695
|
+
removeStyles(dom, block, [
|
|
1696
|
+
'margin',
|
|
1697
|
+
'margin-right',
|
|
1698
|
+
'margin-bottom',
|
|
1699
|
+
'margin-left',
|
|
1700
|
+
'margin-top',
|
|
1701
|
+
'padding',
|
|
1702
|
+
'padding-right',
|
|
1703
|
+
'padding-bottom',
|
|
1704
|
+
'padding-left',
|
|
1705
|
+
'padding-top'
|
|
1706
|
+
]);
|
|
1707
|
+
updateListWithDetails(dom, listBlock, detail);
|
|
1708
|
+
mergeWithAdjacentLists(editor.dom, listBlock);
|
|
1641
1709
|
}
|
|
1642
|
-
removeStyles(dom, block, [
|
|
1643
|
-
'margin',
|
|
1644
|
-
'margin-right',
|
|
1645
|
-
'margin-bottom',
|
|
1646
|
-
'margin-left',
|
|
1647
|
-
'margin-top',
|
|
1648
|
-
'padding',
|
|
1649
|
-
'padding-right',
|
|
1650
|
-
'padding-bottom',
|
|
1651
|
-
'padding-left',
|
|
1652
|
-
'padding-top'
|
|
1653
|
-
]);
|
|
1654
|
-
updateListWithDetails(dom, listBlock, detail);
|
|
1655
|
-
mergeWithAdjacentLists(editor.dom, listBlock);
|
|
1656
1710
|
});
|
|
1657
1711
|
editor.selection.setRng(resolveBookmark(bookmark));
|
|
1658
1712
|
};
|
|
@@ -1687,7 +1741,7 @@
|
|
|
1687
1741
|
dom.remove(sibling);
|
|
1688
1742
|
}
|
|
1689
1743
|
};
|
|
1690
|
-
var updateList = function (editor, list, listName, detail) {
|
|
1744
|
+
var updateList$1 = function (editor, list, listName, detail) {
|
|
1691
1745
|
if (list.nodeName !== listName) {
|
|
1692
1746
|
var newList = editor.dom.rename(list, listName);
|
|
1693
1747
|
updateListWithDetails(editor.dom, newList, detail);
|
|
@@ -1698,12 +1752,15 @@
|
|
|
1698
1752
|
}
|
|
1699
1753
|
};
|
|
1700
1754
|
var toggleMultipleLists = function (editor, parentList, lists, listName, detail) {
|
|
1701
|
-
|
|
1755
|
+
var parentIsList = isListNode(parentList);
|
|
1756
|
+
if (parentIsList && parentList.nodeName === listName && !hasListStyleDetail(detail)) {
|
|
1702
1757
|
flattenListSelection(editor);
|
|
1703
1758
|
} else {
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1759
|
+
applyList(editor, listName, detail);
|
|
1760
|
+
var bookmark = createBookmark(editor.selection.getRng());
|
|
1761
|
+
var allLists = parentIsList ? __spreadArray([parentList], lists, true) : lists;
|
|
1762
|
+
global$2.each(allLists, function (elm) {
|
|
1763
|
+
updateList$1(editor, elm, listName, detail);
|
|
1707
1764
|
});
|
|
1708
1765
|
editor.selection.setRng(resolveBookmark(bookmark));
|
|
1709
1766
|
}
|
|
@@ -1719,11 +1776,12 @@
|
|
|
1719
1776
|
if (parentList.nodeName === listName && !hasListStyleDetail(detail) && !isCustomList(parentList)) {
|
|
1720
1777
|
flattenListSelection(editor);
|
|
1721
1778
|
} else {
|
|
1722
|
-
var bookmark = createBookmark(editor.selection.getRng(
|
|
1779
|
+
var bookmark = createBookmark(editor.selection.getRng());
|
|
1723
1780
|
updateListWithDetails(editor.dom, parentList, detail);
|
|
1724
1781
|
var newList = editor.dom.rename(parentList, listName);
|
|
1725
1782
|
mergeWithAdjacentLists(editor.dom, newList);
|
|
1726
1783
|
editor.selection.setRng(resolveBookmark(bookmark));
|
|
1784
|
+
applyList(editor, listName, detail);
|
|
1727
1785
|
fireListEvent(editor, listToggleActionFromListName(listName), newList);
|
|
1728
1786
|
}
|
|
1729
1787
|
} else {
|
|
@@ -1731,42 +1789,42 @@
|
|
|
1731
1789
|
fireListEvent(editor, listToggleActionFromListName(listName), parentList);
|
|
1732
1790
|
}
|
|
1733
1791
|
};
|
|
1734
|
-
var toggleList = function (editor, listName,
|
|
1792
|
+
var toggleList = function (editor, listName, _detail) {
|
|
1735
1793
|
var parentList = getParentList(editor);
|
|
1736
1794
|
var selectedSubLists = getSelectedSubLists(editor);
|
|
1737
|
-
detail =
|
|
1738
|
-
if (
|
|
1795
|
+
var detail = isObject(_detail) ? _detail : {};
|
|
1796
|
+
if (selectedSubLists.length > 0) {
|
|
1739
1797
|
toggleMultipleLists(editor, parentList, selectedSubLists, listName, detail);
|
|
1740
1798
|
} else {
|
|
1741
1799
|
toggleSingleList(editor, parentList, listName, detail);
|
|
1742
1800
|
}
|
|
1743
1801
|
};
|
|
1744
1802
|
|
|
1745
|
-
var DOM
|
|
1746
|
-
var normalizeList = function (dom,
|
|
1747
|
-
var
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
sibling = parentNode.previousSibling;
|
|
1803
|
+
var DOM = global$3.DOM;
|
|
1804
|
+
var normalizeList = function (dom, list) {
|
|
1805
|
+
var parentNode = list.parentNode;
|
|
1806
|
+
if (parentNode.nodeName === 'LI' && parentNode.firstChild === list) {
|
|
1807
|
+
var sibling = parentNode.previousSibling;
|
|
1751
1808
|
if (sibling && sibling.nodeName === 'LI') {
|
|
1752
|
-
sibling.appendChild(
|
|
1809
|
+
sibling.appendChild(list);
|
|
1753
1810
|
if (isEmpty(dom, parentNode)) {
|
|
1754
|
-
DOM
|
|
1811
|
+
DOM.remove(parentNode);
|
|
1755
1812
|
}
|
|
1756
1813
|
} else {
|
|
1757
|
-
DOM
|
|
1814
|
+
DOM.setStyle(parentNode, 'listStyleType', 'none');
|
|
1758
1815
|
}
|
|
1759
1816
|
}
|
|
1760
1817
|
if (isListNode(parentNode)) {
|
|
1761
|
-
sibling = parentNode.previousSibling;
|
|
1818
|
+
var sibling = parentNode.previousSibling;
|
|
1762
1819
|
if (sibling && sibling.nodeName === 'LI') {
|
|
1763
|
-
sibling.appendChild(
|
|
1820
|
+
sibling.appendChild(list);
|
|
1764
1821
|
}
|
|
1765
1822
|
}
|
|
1766
1823
|
};
|
|
1767
1824
|
var normalizeLists = function (dom, element) {
|
|
1768
|
-
global$
|
|
1769
|
-
|
|
1825
|
+
var lists = global$2.grep(dom.select('ol,ul', element));
|
|
1826
|
+
global$2.each(lists, function (list) {
|
|
1827
|
+
normalizeList(dom, list);
|
|
1770
1828
|
});
|
|
1771
1829
|
};
|
|
1772
1830
|
|
|
@@ -1778,9 +1836,9 @@
|
|
|
1778
1836
|
}
|
|
1779
1837
|
var nonEmptyBlocks = editor.schema.getNonEmptyElements();
|
|
1780
1838
|
if (node.nodeType === 1) {
|
|
1781
|
-
node = global$
|
|
1839
|
+
node = global$6.getNode(node, offset);
|
|
1782
1840
|
}
|
|
1783
|
-
var walker = new global$
|
|
1841
|
+
var walker = new global$5(node, root);
|
|
1784
1842
|
if (isForward) {
|
|
1785
1843
|
if (isBogusBr(editor.dom, node)) {
|
|
1786
1844
|
walker.next();
|
|
@@ -1842,10 +1900,10 @@
|
|
|
1842
1900
|
if (listNode) {
|
|
1843
1901
|
toElm.appendChild(listNode);
|
|
1844
1902
|
}
|
|
1845
|
-
var contains = contains
|
|
1846
|
-
var nestedLists = contains ? dom.getParents(fromElm, isListNode, toElm) : [];
|
|
1903
|
+
var contains$1 = contains(SugarElement.fromDom(toElm), SugarElement.fromDom(fromElm));
|
|
1904
|
+
var nestedLists = contains$1 ? dom.getParents(fromElm, isListNode, toElm) : [];
|
|
1847
1905
|
dom.remove(fromElm);
|
|
1848
|
-
each(nestedLists, function (list) {
|
|
1906
|
+
each$1(nestedLists, function (list) {
|
|
1849
1907
|
if (isEmpty(dom, list) && list !== dom.getRoot()) {
|
|
1850
1908
|
dom.remove(list);
|
|
1851
1909
|
}
|
|
@@ -1854,7 +1912,7 @@
|
|
|
1854
1912
|
var mergeIntoEmptyLi = function (editor, fromLi, toLi) {
|
|
1855
1913
|
editor.dom.$(toLi).empty();
|
|
1856
1914
|
mergeLiElements(editor.dom, fromLi, toLi);
|
|
1857
|
-
editor.selection.setCursorLocation(toLi);
|
|
1915
|
+
editor.selection.setCursorLocation(toLi, 0);
|
|
1858
1916
|
};
|
|
1859
1917
|
var mergeForward = function (editor, rng, fromLi, toLi) {
|
|
1860
1918
|
var dom = editor.dom;
|
|
@@ -1954,13 +2012,13 @@
|
|
|
1954
2012
|
var backspaceDelete = function (editor, isForward) {
|
|
1955
2013
|
return editor.selection.isCollapsed() ? backspaceDeleteCaret(editor, isForward) : backspaceDeleteRange(editor);
|
|
1956
2014
|
};
|
|
1957
|
-
var setup = function (editor) {
|
|
2015
|
+
var setup$1 = function (editor) {
|
|
1958
2016
|
editor.on('keydown', function (e) {
|
|
1959
|
-
if (e.keyCode === global$
|
|
2017
|
+
if (e.keyCode === global$4.BACKSPACE) {
|
|
1960
2018
|
if (backspaceDelete(editor, false)) {
|
|
1961
2019
|
e.preventDefault();
|
|
1962
2020
|
}
|
|
1963
|
-
} else if (e.keyCode === global$
|
|
2021
|
+
} else if (e.keyCode === global$4.DELETE) {
|
|
1964
2022
|
if (backspaceDelete(editor, true)) {
|
|
1965
2023
|
e.preventDefault();
|
|
1966
2024
|
}
|
|
@@ -1976,8 +2034,102 @@
|
|
|
1976
2034
|
};
|
|
1977
2035
|
};
|
|
1978
2036
|
|
|
2037
|
+
var updateList = function (editor, update) {
|
|
2038
|
+
var parentList = getParentList(editor);
|
|
2039
|
+
editor.undoManager.transact(function () {
|
|
2040
|
+
if (isObject(update.styles)) {
|
|
2041
|
+
editor.dom.setStyles(parentList, update.styles);
|
|
2042
|
+
}
|
|
2043
|
+
if (isObject(update.attrs)) {
|
|
2044
|
+
each(update.attrs, function (v, k) {
|
|
2045
|
+
return editor.dom.setAttrib(parentList, k, v);
|
|
2046
|
+
});
|
|
2047
|
+
}
|
|
2048
|
+
});
|
|
2049
|
+
};
|
|
2050
|
+
|
|
2051
|
+
var parseAlphabeticBase26 = function (str) {
|
|
2052
|
+
var chars = reverse(trim(str).split(''));
|
|
2053
|
+
var values = map(chars, function (char, i) {
|
|
2054
|
+
var charValue = char.toUpperCase().charCodeAt(0) - 'A'.charCodeAt(0) + 1;
|
|
2055
|
+
return Math.pow(26, i) * charValue;
|
|
2056
|
+
});
|
|
2057
|
+
return foldl(values, function (sum, v) {
|
|
2058
|
+
return sum + v;
|
|
2059
|
+
}, 0);
|
|
2060
|
+
};
|
|
2061
|
+
var composeAlphabeticBase26 = function (value) {
|
|
2062
|
+
value--;
|
|
2063
|
+
if (value < 0) {
|
|
2064
|
+
return '';
|
|
2065
|
+
} else {
|
|
2066
|
+
var remainder = value % 26;
|
|
2067
|
+
var quotient = Math.floor(value / 26);
|
|
2068
|
+
var rest = composeAlphabeticBase26(quotient);
|
|
2069
|
+
var char = String.fromCharCode('A'.charCodeAt(0) + remainder);
|
|
2070
|
+
return rest + char;
|
|
2071
|
+
}
|
|
2072
|
+
};
|
|
2073
|
+
var isUppercase = function (str) {
|
|
2074
|
+
return /^[A-Z]+$/.test(str);
|
|
2075
|
+
};
|
|
2076
|
+
var isLowercase = function (str) {
|
|
2077
|
+
return /^[a-z]+$/.test(str);
|
|
2078
|
+
};
|
|
2079
|
+
var isNumeric = function (str) {
|
|
2080
|
+
return /^[0-9]+$/.test(str);
|
|
2081
|
+
};
|
|
2082
|
+
var deduceListType = function (start) {
|
|
2083
|
+
if (isNumeric(start)) {
|
|
2084
|
+
return 2;
|
|
2085
|
+
} else if (isUppercase(start)) {
|
|
2086
|
+
return 0;
|
|
2087
|
+
} else if (isLowercase(start)) {
|
|
2088
|
+
return 1;
|
|
2089
|
+
} else if (isEmpty$1(start)) {
|
|
2090
|
+
return 3;
|
|
2091
|
+
} else {
|
|
2092
|
+
return 4;
|
|
2093
|
+
}
|
|
2094
|
+
};
|
|
2095
|
+
var parseStartValue = function (start) {
|
|
2096
|
+
switch (deduceListType(start)) {
|
|
2097
|
+
case 2:
|
|
2098
|
+
return Optional.some({
|
|
2099
|
+
listStyleType: Optional.none(),
|
|
2100
|
+
start: start
|
|
2101
|
+
});
|
|
2102
|
+
case 0:
|
|
2103
|
+
return Optional.some({
|
|
2104
|
+
listStyleType: Optional.some('upper-alpha'),
|
|
2105
|
+
start: parseAlphabeticBase26(start).toString()
|
|
2106
|
+
});
|
|
2107
|
+
case 1:
|
|
2108
|
+
return Optional.some({
|
|
2109
|
+
listStyleType: Optional.some('lower-alpha'),
|
|
2110
|
+
start: parseAlphabeticBase26(start).toString()
|
|
2111
|
+
});
|
|
2112
|
+
case 3:
|
|
2113
|
+
return Optional.some({
|
|
2114
|
+
listStyleType: Optional.none(),
|
|
2115
|
+
start: ''
|
|
2116
|
+
});
|
|
2117
|
+
case 4:
|
|
2118
|
+
return Optional.none();
|
|
2119
|
+
}
|
|
2120
|
+
};
|
|
2121
|
+
var parseDetail = function (detail) {
|
|
2122
|
+
var start = parseInt(detail.start, 10);
|
|
2123
|
+
if (is(detail.listStyleType, 'upper-alpha')) {
|
|
2124
|
+
return composeAlphabeticBase26(start);
|
|
2125
|
+
} else if (is(detail.listStyleType, 'lower-alpha')) {
|
|
2126
|
+
return composeAlphabeticBase26(start).toLowerCase();
|
|
2127
|
+
} else {
|
|
2128
|
+
return detail.start;
|
|
2129
|
+
}
|
|
2130
|
+
};
|
|
2131
|
+
|
|
1979
2132
|
var open = function (editor) {
|
|
1980
|
-
var dom = editor.dom;
|
|
1981
2133
|
var currentList = getParentList(editor);
|
|
1982
2134
|
if (!isOlNode(currentList)) {
|
|
1983
2135
|
return;
|
|
@@ -1993,7 +2145,12 @@
|
|
|
1993
2145
|
inputMode: 'numeric'
|
|
1994
2146
|
}]
|
|
1995
2147
|
},
|
|
1996
|
-
initialData: {
|
|
2148
|
+
initialData: {
|
|
2149
|
+
start: parseDetail({
|
|
2150
|
+
start: editor.dom.getAttrib(currentList, 'start', '1'),
|
|
2151
|
+
listStyleType: Optional.some(editor.dom.getStyle(currentList, 'list-style-type'))
|
|
2152
|
+
})
|
|
2153
|
+
},
|
|
1997
2154
|
buttons: [
|
|
1998
2155
|
{
|
|
1999
2156
|
type: 'cancel',
|
|
@@ -2009,8 +2166,11 @@
|
|
|
2009
2166
|
],
|
|
2010
2167
|
onSubmit: function (api) {
|
|
2011
2168
|
var data = api.getData();
|
|
2012
|
-
|
|
2013
|
-
|
|
2169
|
+
parseStartValue(data.start).each(function (detail) {
|
|
2170
|
+
editor.execCommand('mceListUpdate', false, {
|
|
2171
|
+
attrs: { start: detail.start === '1' ? '' : detail.start },
|
|
2172
|
+
styles: { 'list-style-type': detail.listStyleType.getOr('') }
|
|
2173
|
+
});
|
|
2014
2174
|
});
|
|
2015
2175
|
api.close();
|
|
2016
2176
|
}
|
|
@@ -2019,11 +2179,16 @@
|
|
|
2019
2179
|
|
|
2020
2180
|
var queryListCommandState = function (editor, listName) {
|
|
2021
2181
|
return function () {
|
|
2022
|
-
var parentList =
|
|
2182
|
+
var parentList = getParentList(editor);
|
|
2023
2183
|
return parentList && parentList.nodeName === listName;
|
|
2024
2184
|
};
|
|
2025
2185
|
};
|
|
2026
|
-
var
|
|
2186
|
+
var registerDialog = function (editor) {
|
|
2187
|
+
editor.addCommand('mceListProps', function () {
|
|
2188
|
+
open(editor);
|
|
2189
|
+
});
|
|
2190
|
+
};
|
|
2191
|
+
var register$2 = function (editor) {
|
|
2027
2192
|
editor.on('BeforeExecCommand', function (e) {
|
|
2028
2193
|
var cmd = e.command.toLowerCase();
|
|
2029
2194
|
if (cmd === 'indent') {
|
|
@@ -2044,8 +2209,11 @@
|
|
|
2044
2209
|
editor.addCommand('RemoveList', function () {
|
|
2045
2210
|
flattenListSelection(editor);
|
|
2046
2211
|
});
|
|
2047
|
-
editor
|
|
2048
|
-
|
|
2212
|
+
registerDialog(editor);
|
|
2213
|
+
editor.addCommand('mceListUpdate', function (ui, detail) {
|
|
2214
|
+
if (isObject(detail)) {
|
|
2215
|
+
updateList(editor, detail);
|
|
2216
|
+
}
|
|
2049
2217
|
});
|
|
2050
2218
|
editor.addQueryStateHandler('InsertUnorderedList', queryListCommandState(editor, 'UL'));
|
|
2051
2219
|
editor.addQueryStateHandler('InsertOrderedList', queryListCommandState(editor, 'OL'));
|
|
@@ -2054,7 +2222,7 @@
|
|
|
2054
2222
|
|
|
2055
2223
|
var setupTabKey = function (editor) {
|
|
2056
2224
|
editor.on('keydown', function (e) {
|
|
2057
|
-
if (e.keyCode !== global$
|
|
2225
|
+
if (e.keyCode !== global$4.TAB || global$4.metaKeyPressed(e)) {
|
|
2058
2226
|
return;
|
|
2059
2227
|
}
|
|
2060
2228
|
editor.undoManager.transact(function () {
|
|
@@ -2064,11 +2232,11 @@
|
|
|
2064
2232
|
});
|
|
2065
2233
|
});
|
|
2066
2234
|
};
|
|
2067
|
-
var setup
|
|
2235
|
+
var setup = function (editor) {
|
|
2068
2236
|
if (shouldIndentOnTab(editor)) {
|
|
2069
2237
|
setupTabKey(editor);
|
|
2070
2238
|
}
|
|
2071
|
-
setup(editor);
|
|
2239
|
+
setup$1(editor);
|
|
2072
2240
|
};
|
|
2073
2241
|
|
|
2074
2242
|
var register$1 = function (editor) {
|
|
@@ -2099,12 +2267,12 @@
|
|
|
2099
2267
|
}
|
|
2100
2268
|
};
|
|
2101
2269
|
|
|
2102
|
-
var register
|
|
2270
|
+
var register = function (editor) {
|
|
2103
2271
|
var listProperties = {
|
|
2104
2272
|
text: 'List properties...',
|
|
2105
2273
|
icon: 'ordered-list',
|
|
2106
2274
|
onAction: function () {
|
|
2107
|
-
return
|
|
2275
|
+
return editor.execCommand('mceListProps');
|
|
2108
2276
|
},
|
|
2109
2277
|
onSetup: function (api) {
|
|
2110
2278
|
return listState(editor, 'OL', function (active) {
|
|
@@ -2122,13 +2290,15 @@
|
|
|
2122
2290
|
};
|
|
2123
2291
|
|
|
2124
2292
|
function Plugin () {
|
|
2125
|
-
global.add('lists', function (editor) {
|
|
2293
|
+
global$7.add('lists', function (editor) {
|
|
2126
2294
|
if (editor.hasPlugin('rtc', true) === false) {
|
|
2127
|
-
setup
|
|
2128
|
-
register(editor);
|
|
2295
|
+
setup(editor);
|
|
2296
|
+
register$2(editor);
|
|
2297
|
+
} else {
|
|
2298
|
+
registerDialog(editor);
|
|
2129
2299
|
}
|
|
2130
2300
|
register$1(editor);
|
|
2131
|
-
register
|
|
2301
|
+
register(editor);
|
|
2132
2302
|
return get(editor);
|
|
2133
2303
|
});
|
|
2134
2304
|
}
|