@sapui5/sap.ui.richtexteditor 1.142.0 → 1.143.0
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 +5 -5
- package/src/sap/ui/richtexteditor/RTESplitButton.js +1 -1
- package/src/sap/ui/richtexteditor/RichTextEditor.js +40 -71
- package/src/sap/ui/richtexteditor/RichTextEditorFontFamily.js +1 -1
- package/src/sap/ui/richtexteditor/ToolbarWrapper.js +31 -11
- package/src/sap/ui/richtexteditor/js/styles/RichTextEditor.css +47 -2
- package/src/sap/ui/richtexteditor/library.js +1 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/icons/default/icons.js +0 -188
- package/src/sap/ui/richtexteditor/js/tiny_mce5/icons/default/icons.min.js +0 -7
- package/src/sap/ui/richtexteditor/js/tiny_mce5/jquery.tinymce.min.js +0 -91
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/af_ZA.js +0 -230
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ar.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/az.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/be.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/bg_BG.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/bn_BD.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ca.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/cs.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/cs_CZ.js +0 -462
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/cy.js +0 -461
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/da.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/de.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/de_AT.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/dv.js +0 -230
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/el.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/en_CA.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/en_GB.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/es.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/es_419.js +0 -462
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/es_MX.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/et.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/eu.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/fa.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/fa_IR.js +0 -262
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/fi.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/fr_FR.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ga.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/gl.js +0 -253
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/he_IL.js +0 -420
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/hi_IN.js +0 -219
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/hr.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/hu_HU.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/id.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/it.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/it_IT.js +0 -370
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ja.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ka_GE.js +0 -230
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/kab.js +0 -419
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/kk.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/km_KH.js +0 -253
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ko_KR.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/lt.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/lv.js +0 -260
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/nb_NO.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/nl.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/nl_BE.js +0 -445
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/pl.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/pt_BR.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/pt_PT.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ro.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ru.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ru_RU.js +0 -445
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/sk.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/sl.js +0 -445
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/sl_SI.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/sq.js +0 -219
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/sr.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/sv_SE.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ta.js +0 -462
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ta_IN.js +0 -462
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/th_TH.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/tr.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/tr_TR.js +0 -462
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/ug.js +0 -462
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/uk.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/uk_UA.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/uz.js +0 -260
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/vi_VN.js +0 -260
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/zh_CN.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/langs/zh_TW.js +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/changelog.txt +0 -28
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/codemirror.min.css +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/codemirror.min.js +0 -8025
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/customeditor.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/customeditor.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/plugin.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/plugin.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/readme.txt +0 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advcode/version.txt +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advlist/plugin.js +0 -261
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/advlist/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/anchor/plugin.js +0 -216
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/anchor/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autolink/plugin.js +0 -213
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autolink/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autoresize/plugin.js +0 -184
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autoresize/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autosave/plugin.js +0 -212
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/autosave/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/bbcode/plugin.js +0 -99
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/bbcode/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/charmap/plugin.js +0 -1696
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/charmap/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/code/plugin.js +0 -91
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/code/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/codesample/plugin.js +0 -2462
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/codesample/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/colorpicker/plugin.js +0 -21
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/colorpicker/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/contextmenu/plugin.js +0 -21
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/contextmenu/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/directionality/plugin.js +0 -453
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/directionality/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/js/emojiimages.js +0 -9430
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/js/emojiimages.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/js/emojis.js +0 -9429
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/js/emojis.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/plugin.js +0 -636
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/emoticons/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/fullpage/plugin.js +0 -544
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/fullpage/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/fullscreen/plugin.js +0 -1347
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/fullscreen/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/help/plugin.js +0 -852
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/help/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/hr/plugin.js +0 -45
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/hr/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/image/plugin.js +0 -1666
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/image/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/imagetools/plugin.js +0 -1531
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/imagetools/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/importcss/plugin.js +0 -342
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/importcss/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/insertdatetime/plugin.js +0 -182
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/insertdatetime/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/legacyoutput/plugin.js +0 -199
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/legacyoutput/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/link/plugin.js +0 -1293
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/link/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/lists/plugin.js +0 -2313
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/lists/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/media/plugin.js +0 -1359
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/media/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/nonbreaking/plugin.js +0 -100
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/nonbreaking/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/noneditable/plugin.js +0 -117
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/noneditable/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/pagebreak/plugin.js +0 -104
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/pagebreak/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/paste/plugin.js +0 -1803
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/paste/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/CHANGELOG.md +0 -350
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/js/wordimport.js +0 -2477
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ar.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/bg_BG.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ca.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/cs.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/da.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/de.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/el.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/es.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/eu.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/fa.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/fi.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/fr_FR.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/he_IL.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/hr.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/hu_HU.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/id.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/it.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ja.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/kk.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ko_KR.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/nb_NO.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/nl.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/pl.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/pt_BR.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/pt_PT.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ro.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/ru.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/sk.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/sl_SI.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/sv_SE.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/th_TH.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/tr.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/uk.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/zh_CN.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/langs/zh_TW.js +0 -14
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/license.txt +0 -5
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/plugin.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/plugin.min.js +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/readme.txt +0 -10
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/powerpaste/version.txt +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/preview/plugin.js +0 -126
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/preview/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/print/plugin.js +0 -52
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/print/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/quickbars/plugin.js +0 -474
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/quickbars/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/save/plugin.js +0 -120
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/save/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/searchreplace/plugin.js +0 -1166
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/searchreplace/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/spellchecker/plugin.js +0 -730
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/spellchecker/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tabfocus/plugin.js +0 -130
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/tabfocus/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/table/plugin.js +0 -11510
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/table/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/template/plugin.js +0 -591
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/template/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/textcolor/plugin.js +0 -21
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/textcolor/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/textpattern/plugin.js +0 -1374
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/textpattern/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/toc/plugin.js +0 -238
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/toc/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/visualblocks/plugin.js +0 -103
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/visualblocks/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/visualchars/plugin.js +0 -526
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/visualchars/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/wordcount/plugin.js +0 -425
- package/src/sap/ui/richtexteditor/js/tiny_mce5/plugins/wordcount/plugin.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/readme.txt +0 -12
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/dark/content.css +0 -72
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/dark/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/dark/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/default/content.css +0 -67
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/default/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/default/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/document/content.css +0 -72
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/document/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/document/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/writer/content.css +0 -68
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/writer/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/content/writer/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.css +0 -732
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.inline.css +0 -726
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.mobile.css +0 -29
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.css +0 -3047
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.mobile.css +0 -673
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.shadowdom.css +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.shadowdom.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide/skin.shadowdom.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.css +0 -714
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.inline.css +0 -726
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.inline.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.inline.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.mobile.css +0 -29
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/content.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.css +0 -3047
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.mobile.css +0 -673
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.mobile.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.mobile.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.shadowdom.css +0 -37
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -8
- package/src/sap/ui/richtexteditor/js/tiny_mce5/skins/ui/oxide-dark/skin.shadowdom.min.css.map +0 -1
- package/src/sap/ui/richtexteditor/js/tiny_mce5/themes/mobile/theme.js +0 -13130
- package/src/sap/ui/richtexteditor/js/tiny_mce5/themes/mobile/theme.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/themes/silver/theme.js +0 -34075
- package/src/sap/ui/richtexteditor/js/tiny_mce5/themes/silver/theme.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/tinymce.d.ts +0 -3039
- package/src/sap/ui/richtexteditor/js/tiny_mce5/tinymce.js +0 -30142
- package/src/sap/ui/richtexteditor/js/tiny_mce5/tinymce.min.js +0 -9
- package/src/sap/ui/richtexteditor/js/tiny_mce5/version.txt +0 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>SAPUI5
|
|
7
7
|
* (c) Copyright 2025 SAP SE. All rights reserved.</copyright>
|
|
8
|
-
<version>1.
|
|
8
|
+
<version>1.143.0</version>
|
|
9
9
|
|
|
10
10
|
<documentation>A rich text editor (RTE) control. Requires installation of an additional rich text editor library.</documentation>
|
|
11
11
|
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
</ownership>
|
|
42
42
|
|
|
43
43
|
<thirdparty xmlns="http://www.sap.com/ui5/buildext/thirdparty" >
|
|
44
|
-
<lib name="TinyMCE-
|
|
44
|
+
<lib name="TinyMCE-6" displayName="TinyMCE 6.8.5" npmName="tinymce" version="6.8.5-39" npmVersion="6.8.5" hash="ada53486c70d81e7c44f2de8489e78a0" homepage="https://www.tiny.cloud/" id="73555000100200021465">
|
|
45
45
|
<license url="https://about.tiny.cloud/legal/" type="Commercial"/>
|
|
46
46
|
<copyright>Tiny Technologies, Inc.</copyright>
|
|
47
|
-
<pattern>sap/ui/richtexteditor/js/
|
|
47
|
+
<pattern>sap/ui/richtexteditor/js/tiny_mce6/*</pattern>
|
|
48
48
|
</lib>
|
|
49
|
-
<lib name="TinyMCE-
|
|
49
|
+
<lib name="TinyMCE-7" displayName="TinyMCE 7.7.2" npmName="tinymce" version="7.7.2" npmVersion="7.7.2" hash="044b1f609f9cd3ccaba217af7cb3989a" homepage="https://www.tiny.cloud/" id="73555000100200021467">
|
|
50
50
|
<license url="https://about.tiny.cloud/legal/" type="Commercial"/>
|
|
51
51
|
<copyright>Tiny Technologies, Inc.</copyright>
|
|
52
|
-
<pattern>sap/ui/richtexteditor/js/
|
|
52
|
+
<pattern>sap/ui/richtexteditor/js/tiny_mce7/*</pattern>
|
|
53
53
|
</lib>
|
|
54
54
|
</thirdparty>
|
|
55
55
|
|
|
@@ -130,7 +130,7 @@ sap.ui.define([
|
|
|
130
130
|
* Below is a list of supported groups and buttons, which can be specified in the configuration objects (format is <<group name>>: <<supported buttons>>):
|
|
131
131
|
* <ul>
|
|
132
132
|
* <li>font-style: bold, italic, underline, strikethrough</li>
|
|
133
|
-
* <li>font: fontfamily
|
|
133
|
+
* <li>font: fontfamily, fontsize, forecolor, backcolor</li>
|
|
134
134
|
* <li>clipboard: cut, copy, paste</li>
|
|
135
135
|
* <li>structure: bullist, numlist, outdent, indent</li>
|
|
136
136
|
* <li>undo: undo, redo</li>
|
|
@@ -209,7 +209,7 @@ sap.ui.define([
|
|
|
209
209
|
* <li>The default value of the property will always resolve to the recommended version by UI5. Due to the different support cycles, we will be constantly getting newer TinyMCE versions and update the default value accordingly.</li>
|
|
210
210
|
* <li>Usage of internal TinyMCE APIs is not recommended, since it might lead to issues upon TinyMCE version update.</li>
|
|
211
211
|
* <li>Have in mind when choosing a specific TinyMCE version that there might be differences in the support rules compared to UI5, therefore we might be forced to remove any TinyMCE version.</li>
|
|
212
|
-
* <li>TinyMCE
|
|
212
|
+
* <li>TinyMCE 6 will be removed in future releases.</li>
|
|
213
213
|
* </ul>
|
|
214
214
|
*/
|
|
215
215
|
editorType: { type: "string", group: "Misc", defaultValue: 'TinyMCE' },
|
|
@@ -317,12 +317,19 @@ sap.ui.define([
|
|
|
317
317
|
buttonGroups: {type: "object[]", group: "Behavior", defaultValue: [] },
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
|
-
* Determines whether a Fiori Toolbar is used instead of the TinyMCE default toolbar one. It is applied only when the EditorType is
|
|
320
|
+
* Determines whether a Fiori Toolbar is used instead of the TinyMCE default toolbar one. It is applied only when the EditorType is TinyMCE6 or TinyMCE7 and sap.m library is loaded.
|
|
321
321
|
* <b>Note:</b> The <code>customToolbar</code> property will have effect only on initial loading. Changing it during runtime will not affect the initially loaded toolbar.
|
|
322
322
|
*
|
|
323
323
|
* @since 1.48
|
|
324
324
|
*/
|
|
325
|
-
customToolbar: { type: "boolean", group: "Misc", defaultValue: false }
|
|
325
|
+
customToolbar: { type: "boolean", group: "Misc", defaultValue: false },
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Placeholder text for the editor.
|
|
329
|
+
*
|
|
330
|
+
* @since 1.144
|
|
331
|
+
*/
|
|
332
|
+
placeholder: { type: "string", group: "Misc", defaultValue: "" }
|
|
326
333
|
},
|
|
327
334
|
events: {
|
|
328
335
|
|
|
@@ -416,11 +423,6 @@ sap.ui.define([
|
|
|
416
423
|
|
|
417
424
|
RichTextEditor.BUTTON_GROUPS = library.ButtonGroups;
|
|
418
425
|
|
|
419
|
-
/**
|
|
420
|
-
* @deprecated As of version 1.120
|
|
421
|
-
*/
|
|
422
|
-
RichTextEditor.EDITORTYPE_TINYMCE5 = library.EditorType.TinyMCE5;
|
|
423
|
-
|
|
424
426
|
/**
|
|
425
427
|
* @deprecated As of version 1.141.0
|
|
426
428
|
*/
|
|
@@ -437,29 +439,9 @@ sap.ui.define([
|
|
|
437
439
|
// default
|
|
438
440
|
EDITOR_LOCATION_MAPPING[RichTextEditor.EDITORTYPE_TINYMCE] = "js/tiny_mce7/tinymce.min.js";
|
|
439
441
|
|
|
440
|
-
/**
|
|
441
|
-
* @deprecated As of version 1.120
|
|
442
|
-
*/
|
|
443
|
-
EDITOR_LOCATION_MAPPING[RichTextEditor.EDITORTYPE_TINYMCE5] = "js/tiny_mce5/tinymce.min.js";
|
|
444
442
|
EDITOR_LOCATION_MAPPING[RichTextEditor.EDITORTYPE_TINYMCE6] = "js/tiny_mce6/tinymce.min.js";
|
|
445
443
|
EDITOR_LOCATION_MAPPING[RichTextEditor.EDITORTYPE_TINYMCE7] = "js/tiny_mce7/tinymce.min.js";
|
|
446
444
|
|
|
447
|
-
/**
|
|
448
|
-
* @deprecated As of version 1.120
|
|
449
|
-
*/
|
|
450
|
-
RichTextEditor.DEFAULT_PLUGINS_TINYMCE5 = [
|
|
451
|
-
"emoticons",
|
|
452
|
-
"directionality",
|
|
453
|
-
"tabfocus",
|
|
454
|
-
"table",
|
|
455
|
-
"image",
|
|
456
|
-
"link",
|
|
457
|
-
"textcolor",
|
|
458
|
-
"colorpicker",
|
|
459
|
-
"textpattern",
|
|
460
|
-
"powerpaste"
|
|
461
|
-
];
|
|
462
|
-
|
|
463
445
|
/**
|
|
464
446
|
* @deprecated As of version 1.141.0
|
|
465
447
|
*/
|
|
@@ -640,11 +622,6 @@ sap.ui.define([
|
|
|
640
622
|
// default
|
|
641
623
|
oEditorMapping[RichTextEditor.EDITORTYPE_TINYMCE] = RichTextEditor.EDITORTYPE_TINYMCE7;
|
|
642
624
|
|
|
643
|
-
/**
|
|
644
|
-
* @deprecated As of version 1.120
|
|
645
|
-
*/
|
|
646
|
-
oEditorMapping[RichTextEditor.EDITORTYPE_TINYMCE5] = RichTextEditor.EDITORTYPE_TINYMCE5;
|
|
647
|
-
|
|
648
625
|
// other versions
|
|
649
626
|
oEditorMapping[RichTextEditor.EDITORTYPE_TINYMCE6] = RichTextEditor.EDITORTYPE_TINYMCE6;
|
|
650
627
|
oEditorMapping[RichTextEditor.EDITORTYPE_TINYMCE7] = RichTextEditor.EDITORTYPE_TINYMCE7;
|
|
@@ -1209,11 +1186,6 @@ sap.ui.define([
|
|
|
1209
1186
|
"TinyMCE7": fnMapPluginList(RichTextEditor.DEFAULT_PLUGINS_TINYMCE7)
|
|
1210
1187
|
};
|
|
1211
1188
|
|
|
1212
|
-
/**
|
|
1213
|
-
* @deprecated As of version 1.120
|
|
1214
|
-
*/
|
|
1215
|
-
mapping["TinyMCE5"] = fnMapPluginList(RichTextEditor.DEFAULT_PLUGINS_TINYMCE5);
|
|
1216
|
-
|
|
1217
1189
|
this.setPlugins(mapping[this.getEditorType()]);
|
|
1218
1190
|
|
|
1219
1191
|
var fontButtonGroupButtoNamesMapping = {
|
|
@@ -1222,11 +1194,6 @@ sap.ui.define([
|
|
|
1222
1194
|
"TinyMCE7": ["fontfamily", "fontsize", "forecolor", "backcolor"]
|
|
1223
1195
|
};
|
|
1224
1196
|
|
|
1225
|
-
/**
|
|
1226
|
-
* @deprecated As of version 1.120
|
|
1227
|
-
*/
|
|
1228
|
-
fontButtonGroupButtoNamesMapping["TinyMCE5"] = ["fontselect", "fontsizeselect", "forecolor", "backcolor"];
|
|
1229
|
-
|
|
1230
1197
|
this.setButtonGroups([{
|
|
1231
1198
|
name: "font-style",
|
|
1232
1199
|
visible: this.getShowGroupFontStyle(),
|
|
@@ -1306,7 +1273,7 @@ sap.ui.define([
|
|
|
1306
1273
|
* Switches the editor type and sets the default settings for the editor.
|
|
1307
1274
|
* All plugins and button groups should be set after this has been invoked
|
|
1308
1275
|
*
|
|
1309
|
-
* @param {string} [sEditorType] Which editor type to be used (currently only
|
|
1276
|
+
* @param {string} [sEditorType] Which editor type to be used (currently only 6 and 7)
|
|
1310
1277
|
* @returns {sap.ui.richtexteditor.RichTextEditor} Control instance (for method chaining)
|
|
1311
1278
|
* @public
|
|
1312
1279
|
*/
|
|
@@ -1323,13 +1290,6 @@ sap.ui.define([
|
|
|
1323
1290
|
Log.error('Invalid editorType value set. Fallbacks to latest.');
|
|
1324
1291
|
}
|
|
1325
1292
|
|
|
1326
|
-
/**
|
|
1327
|
-
* @deprecated As of version 1.120
|
|
1328
|
-
*/
|
|
1329
|
-
if (oEditorMapping[sEditorType] === "TinyMCE5") {
|
|
1330
|
-
Log.error("TinyMCE version 5 is used as editor type. TinyMCE 5 is deprecated and will be removed from the code entirely at the beginning of 2026. The latest version will be automatically loaded instead.");
|
|
1331
|
-
}
|
|
1332
|
-
|
|
1333
1293
|
/**
|
|
1334
1294
|
* @deprecated As of version 1.141.0
|
|
1335
1295
|
*/
|
|
@@ -1373,7 +1333,7 @@ sap.ui.define([
|
|
|
1373
1333
|
*
|
|
1374
1334
|
* @param {string} [sButtonSeparator] Separator that is used to separate button entries
|
|
1375
1335
|
* @param {string} [sGroupSeparator] Separator that is used to separate groups of button entries
|
|
1376
|
-
* @returns {string[]
|
|
1336
|
+
* @returns {string[]} Specific button format.
|
|
1377
1337
|
* @private
|
|
1378
1338
|
*/
|
|
1379
1339
|
RichTextEditor.prototype._createButtonRowsTinyMCE = function(sButtonSeparator, sGroupSeparator) {
|
|
@@ -1538,13 +1498,6 @@ sap.ui.define([
|
|
|
1538
1498
|
return true;
|
|
1539
1499
|
}
|
|
1540
1500
|
|
|
1541
|
-
/**
|
|
1542
|
-
* @deprecated As of version 1.120
|
|
1543
|
-
*/
|
|
1544
|
-
if (sEditorType === RichTextEditor.EDITORTYPE_TINYMCE5) {
|
|
1545
|
-
return window.tinymce.majorVersion != "5";
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
1501
|
if (sEditorType === RichTextEditor.EDITORTYPE_TINYMCE6) {
|
|
1549
1502
|
return window.tinymce.majorVersion != "6";
|
|
1550
1503
|
}
|
|
@@ -1779,8 +1732,7 @@ sap.ui.define([
|
|
|
1779
1732
|
oCustomToolbar && oCustomToolbar.getAggregation("_toolbar").removeStyleClass("sapUiHidden");
|
|
1780
1733
|
}
|
|
1781
1734
|
|
|
1782
|
-
this._oEditor.on("change", (oEvent) => this.onTinyMCEChange(this._oEditor));
|
|
1783
|
-
|
|
1735
|
+
this._oEditor.on("change", (oEvent) => this.onTinyMCEChange(this._oEditor));
|
|
1784
1736
|
this._oEditor.on("focusout", (oEvent) => this.onTinyMCEChange(this._oEditor));
|
|
1785
1737
|
|
|
1786
1738
|
/* Save the editor's state after the custom toolbar is initialized in order to enable proper firing of a 'dirty'
|
|
@@ -1943,6 +1895,9 @@ sap.ui.define([
|
|
|
1943
1895
|
// When content_css config property is set, TinyMCE default theme content.css is not loaded.
|
|
1944
1896
|
// Therefore we need to load it manually to ensure that the body default font is set to System font.
|
|
1945
1897
|
const sTinyMCEDefaultContentCssPath = this._getDefaultContentCssPath();
|
|
1898
|
+
const sRTEThemingPath = window.tinymce
|
|
1899
|
+
? new URL("styles/RichTextEditor.css", window.tinymce.baseURI.source).href
|
|
1900
|
+
: sap.ui.require.toUrl("sap/ui/richtexteditor/styles/RichTextEditor.css");
|
|
1946
1901
|
|
|
1947
1902
|
/*eslint-disable camelcase */
|
|
1948
1903
|
var oConfig = {
|
|
@@ -1954,6 +1909,7 @@ sap.ui.define([
|
|
|
1954
1909
|
selector: "[id='" + this._textAreaId + "']",
|
|
1955
1910
|
theme: "silver",
|
|
1956
1911
|
menubar: false,
|
|
1912
|
+
placeholder: this.getPlaceholder(),
|
|
1957
1913
|
language: this._getLanguageTinyMCE(),
|
|
1958
1914
|
browser_spellcheck: true,
|
|
1959
1915
|
convert_urls: false,
|
|
@@ -1971,7 +1927,8 @@ sap.ui.define([
|
|
|
1971
1927
|
convert_unsafe_embeds: true, // default for v.7, remove after upgrade
|
|
1972
1928
|
sandbox_iframes: true, // default for v.7, remove after upgrade
|
|
1973
1929
|
body_class: sThemeName,
|
|
1974
|
-
|
|
1930
|
+
document_base_url: document.location.origin,
|
|
1931
|
+
content_css: [sTinyMCEDefaultContentCssPath, sRTEThemingPath],
|
|
1975
1932
|
init_instance_callback: function(oEditor) {
|
|
1976
1933
|
this._oEditor = oEditor;
|
|
1977
1934
|
this._insertCustomFonts();
|
|
@@ -2060,22 +2017,34 @@ sap.ui.define([
|
|
|
2060
2017
|
};
|
|
2061
2018
|
|
|
2062
2019
|
/**
|
|
2063
|
-
* Returns the path to the default content CSS file of TinyMCE
|
|
2020
|
+
* Returns the path to the default content CSS file of TinyMCE
|
|
2064
2021
|
* @returns {string} The path to the default content CSS file of TinyMCE
|
|
2065
2022
|
* @private
|
|
2066
2023
|
*/
|
|
2067
2024
|
RichTextEditor.prototype._getDefaultContentCssPath = function () {
|
|
2025
|
+
// If tinymce object exists, we can use its baseURI to determine the absolute path to the content CSS
|
|
2026
|
+
if (window.tinymce) {
|
|
2027
|
+
return `${window.tinymce.baseURI.source}/skins/content/default/content.min.css`;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
let sPath = "";
|
|
2068
2031
|
switch (this.getEditorType()) {
|
|
2069
2032
|
case RichTextEditor.EDITORTYPE_TINYMCE:
|
|
2070
|
-
case RichTextEditor.EDITORTYPE_TINYMCE7:
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
case RichTextEditor.
|
|
2075
|
-
|
|
2076
|
-
|
|
2033
|
+
case RichTextEditor.EDITORTYPE_TINYMCE7: {
|
|
2034
|
+
sPath = "sap/ui/richtexteditor/js/tiny_mce7/skins/content/default/content.min.css";
|
|
2035
|
+
break;
|
|
2036
|
+
}
|
|
2037
|
+
case RichTextEditor.EDITORTYPE_TINYMCE6: {
|
|
2038
|
+
sPath = "sap/ui/richtexteditor/js/tiny_mce6/skins/content/default/content.min.css";
|
|
2039
|
+
break;
|
|
2040
|
+
}
|
|
2041
|
+
default: {
|
|
2077
2042
|
Log.error("Unknown or unsupported editor type: " + this.getEditorType() + ". Falling back to latest.");
|
|
2043
|
+
break;
|
|
2044
|
+
}
|
|
2078
2045
|
}
|
|
2046
|
+
|
|
2047
|
+
return sap.ui.require.toUrl(sPath);
|
|
2079
2048
|
};
|
|
2080
2049
|
|
|
2081
2050
|
/**
|
|
@@ -918,7 +918,7 @@ sap.ui.define([
|
|
|
918
918
|
// or modify the html content manually due to user modification of the text content
|
|
919
919
|
this.sSelectionTextValue = sDisplayText && sDisplayText.replace(/\uFEFF/g,"");
|
|
920
920
|
|
|
921
|
-
sURL = oSelectedNode.getAttribute('href');
|
|
921
|
+
sURL = decodeURI(oSelectedNode.getAttribute('href') || "");
|
|
922
922
|
sTitle = oSelectedNode.getAttribute('title');
|
|
923
923
|
bTarget = oSelectedNode.getAttribute('target') === "_blank";
|
|
924
924
|
sUrlInputPrefixValue = this.getEditor().getPrefixHttps() ? "https://" : "";
|
|
@@ -1163,6 +1163,25 @@ sap.ui.define([
|
|
|
1163
1163
|
return oAnchor;
|
|
1164
1164
|
};
|
|
1165
1165
|
|
|
1166
|
+
/**
|
|
1167
|
+
* Validates and sanitizes a user-provided link field (URL) for safe usage in HTML links.
|
|
1168
|
+
* - Validates URL syntax and safety
|
|
1169
|
+
* - Handles international characters properly
|
|
1170
|
+
* - Prevents XSS attacks through malicious input
|
|
1171
|
+
*
|
|
1172
|
+
* @param {string} sValue Raw value from dialog input (URL or title)
|
|
1173
|
+
* @returns {string} The original value if valid and safe, empty string if invalid or falsy
|
|
1174
|
+
* @private
|
|
1175
|
+
*/
|
|
1176
|
+
ToolbarWrapper.prototype._processLinkField = function (sValue) {
|
|
1177
|
+
if (!sValue) {
|
|
1178
|
+
return "";
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
sValue = encodeURI(sValue);
|
|
1182
|
+
return URLListValidator && URLListValidator.validate(sValue) ? sValue : "";
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1166
1185
|
/**
|
|
1167
1186
|
* Helper function for handling link HTML content
|
|
1168
1187
|
*
|
|
@@ -1173,16 +1192,17 @@ sap.ui.define([
|
|
|
1173
1192
|
* @private
|
|
1174
1193
|
*/
|
|
1175
1194
|
ToolbarWrapper.prototype.handleLinks = function (sURL, sTitle, bTarget, sText) {
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1195
|
+
const sPrependedURL = this.getPrependedURL(sURL);
|
|
1196
|
+
const sProcessedURL = this._processLinkField(sPrependedURL);
|
|
1197
|
+
|
|
1198
|
+
const oLinkAttrs = {
|
|
1199
|
+
href: sProcessedURL,
|
|
1200
|
+
target: bTarget ? "_blank" : null,
|
|
1201
|
+
title: sTitle
|
|
1202
|
+
};
|
|
1203
|
+
const oNativeEditor = this.getEditor().getNativeApi();
|
|
1204
|
+
const oSelection = oNativeEditor.selection;
|
|
1205
|
+
const oAnchor = this._getSelectionAnchor(oSelection);
|
|
1186
1206
|
|
|
1187
1207
|
oLinkAttrs["data-sap-ui-rte-link-prefix"] = this._bLinkPrefixChecked;
|
|
1188
1208
|
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--sapTextColor: #1d2d3e;
|
|
8
8
|
--sapSelectedColor: #0064d9;
|
|
9
9
|
--sapField_Background: #fff;
|
|
10
|
+
--sapField_PlaceholderTextColor: #556b82;
|
|
10
11
|
|
|
11
12
|
/* Font */
|
|
12
13
|
--sapFontLargeSize: 1rem;
|
|
@@ -34,6 +35,9 @@
|
|
|
34
35
|
--sapLink_Visited_Color: #0064d9;
|
|
35
36
|
--sapLink_Visited_TextDecoration: underline;
|
|
36
37
|
|
|
38
|
+
/*Table*/
|
|
39
|
+
--sapList_TableGroupHeaderBorderColor: #94a8b9;
|
|
40
|
+
|
|
37
41
|
/* Scrollbar */
|
|
38
42
|
--sapScrollBar_TrackColor: #fff;
|
|
39
43
|
--sapScrollBar_FaceColor: #7b91a8;
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
--sapTextColor: #eaecee;
|
|
47
51
|
--sapSelectedColor: #4db1ff;
|
|
48
52
|
--sapField_Background: #161c22;
|
|
53
|
+
--sapField_PlaceholderTextColor: #8396A8;
|
|
49
54
|
|
|
50
55
|
/* Font */
|
|
51
56
|
--sapFontLargeSize: 1rem;
|
|
@@ -73,6 +78,9 @@
|
|
|
73
78
|
--sapLink_Visited_Color: #4db1ff;
|
|
74
79
|
--sapLink_Visited_TextDecoration: underline;
|
|
75
80
|
|
|
81
|
+
/*Table*/
|
|
82
|
+
--sapList_TableGroupHeaderBorderColor: #758ca4;
|
|
83
|
+
|
|
76
84
|
/* Scrollbar */
|
|
77
85
|
--sapScrollBar_TrackColor: #1d232a;
|
|
78
86
|
--sapScrollBar_FaceColor: #647891;
|
|
@@ -85,6 +93,7 @@
|
|
|
85
93
|
--sapTextColor: #000;
|
|
86
94
|
--sapSelectedColor: #5c93ff;
|
|
87
95
|
--sapField_Background: #fff;
|
|
96
|
+
--sapField_PlaceholderTextColor: #585858;
|
|
88
97
|
|
|
89
98
|
/* Font */
|
|
90
99
|
--sapFontLargeSize: 1rem;
|
|
@@ -112,6 +121,9 @@
|
|
|
112
121
|
--sapLink_Visited_Color: #000;
|
|
113
122
|
--sapLink_Visited_TextDecoration: underline;
|
|
114
123
|
|
|
124
|
+
/*Table*/
|
|
125
|
+
--sapList_TableGroupHeaderBorderColor: #000;
|
|
126
|
+
|
|
115
127
|
/* Scrollbar */
|
|
116
128
|
--sapScrollBar_TrackColor: #fff;
|
|
117
129
|
--sapScrollBar_FaceColor: #585858;
|
|
@@ -124,6 +136,7 @@
|
|
|
124
136
|
--sapTextColor: #fff;
|
|
125
137
|
--sapSelectedColor: #0f5c93;
|
|
126
138
|
--sapField_Background: #000;
|
|
139
|
+
--sapField_PlaceholderTextColor: #999;
|
|
127
140
|
|
|
128
141
|
/* Font */
|
|
129
142
|
--sapFontLargeSize: 1rem;
|
|
@@ -151,6 +164,9 @@
|
|
|
151
164
|
--sapLink_Visited_Color: #fff;
|
|
152
165
|
--sapLink_Visited_TextDecoration: underline;
|
|
153
166
|
|
|
167
|
+
/*Table*/
|
|
168
|
+
--sapList_TableGroupHeaderBorderColor: #fff;
|
|
169
|
+
|
|
154
170
|
/* Scrollbar */
|
|
155
171
|
--sapScrollBar_TrackColor: #000;
|
|
156
172
|
--sapScrollBar_FaceColor: #999;
|
|
@@ -164,6 +180,7 @@
|
|
|
164
180
|
--sapTextColor: #32363a;
|
|
165
181
|
--sapSelectedColor: #0854a0;
|
|
166
182
|
--sapField_Background: #fff;
|
|
183
|
+
--sapField_PlaceholderTextColor: #75787b;
|
|
167
184
|
|
|
168
185
|
/* Font */
|
|
169
186
|
--sapFontLargeSize: 1rem;
|
|
@@ -191,6 +208,9 @@
|
|
|
191
208
|
--sapLink_Visited_Color: #0a6ed1;
|
|
192
209
|
--sapLink_Visited_TextDecoration: underline;
|
|
193
210
|
|
|
211
|
+
/*Table*/
|
|
212
|
+
--sapList_TableGroupHeaderBorderColor: #e5e5e5;
|
|
213
|
+
|
|
194
214
|
/* Scrollbar */
|
|
195
215
|
--sapScrollBar_TrackColor: #fff;
|
|
196
216
|
--sapScrollBar_FaceColor: #949494;
|
|
@@ -203,6 +223,7 @@
|
|
|
203
223
|
--sapTextColor: #fafafa;
|
|
204
224
|
--sapSelectedColor: #91c8f6;
|
|
205
225
|
--sapField_Background: #29313a;
|
|
226
|
+
--sapField_PlaceholderTextColor: #b8bec2;
|
|
206
227
|
|
|
207
228
|
/* Font */
|
|
208
229
|
--sapFontLargeSize: 1rem;
|
|
@@ -230,6 +251,9 @@
|
|
|
230
251
|
--sapLink_Visited_Color: #2994ee;
|
|
231
252
|
--sapLink_Visited_TextDecoration: underline;
|
|
232
253
|
|
|
254
|
+
/*Table*/
|
|
255
|
+
--sapList_TableGroupHeaderBorderColor: #3a4250;
|
|
256
|
+
|
|
233
257
|
/* Scrollbar */
|
|
234
258
|
--sapScrollBar_TrackColor: #090b0d;
|
|
235
259
|
--sapScrollBar_FaceColor: #506273;
|
|
@@ -242,6 +266,7 @@
|
|
|
242
266
|
--sapTextColor: #000;
|
|
243
267
|
--sapSelectedColor: #8fb5ff;
|
|
244
268
|
--sapField_Background: #fff;
|
|
269
|
+
--sapField_PlaceholderTextColor: #585858;
|
|
245
270
|
|
|
246
271
|
/* Font */
|
|
247
272
|
--sapFontLargeSize: 1rem;
|
|
@@ -269,6 +294,9 @@
|
|
|
269
294
|
--sapLink_Visited_Color: #000;
|
|
270
295
|
--sapLink_Visited_TextDecoration: underline;
|
|
271
296
|
|
|
297
|
+
/*Table*/
|
|
298
|
+
--sapList_TableGroupHeaderBorderColor: #000;
|
|
299
|
+
|
|
272
300
|
/* Scrollbar */
|
|
273
301
|
--sapScrollBar_TrackColor: #fff;
|
|
274
302
|
--sapScrollBar_FaceColor: #585858;
|
|
@@ -281,6 +309,7 @@
|
|
|
281
309
|
--sapTextColor: #fff;
|
|
282
310
|
--sapSelectedColor: #0f5d94;
|
|
283
311
|
--sapField_Background: #000;
|
|
312
|
+
--sapField_PlaceholderTextColor: #999;
|
|
284
313
|
|
|
285
314
|
/* Font */
|
|
286
315
|
--sapFontLargeSize: 1rem;
|
|
@@ -308,6 +337,9 @@
|
|
|
308
337
|
--sapLink_Visited_Color: #fff;
|
|
309
338
|
--sapLink_Visited_TextDecoration: underline;
|
|
310
339
|
|
|
340
|
+
/*Table*/
|
|
341
|
+
--sapList_TableGroupHeaderBorderColor: #fff;
|
|
342
|
+
|
|
311
343
|
/* Scrollbar */
|
|
312
344
|
--sapScrollBar_TrackColor: #000;
|
|
313
345
|
--sapScrollBar_FaceColor: #999;
|
|
@@ -336,6 +368,12 @@ html {
|
|
|
336
368
|
color: var(--sapTextColor);
|
|
337
369
|
}
|
|
338
370
|
|
|
371
|
+
/* Placeholder styling */
|
|
372
|
+
.mce-content-body[data-mce-placeholder]:not(:empty)::before{
|
|
373
|
+
font-style: italic;
|
|
374
|
+
color: var(--sapField_PlaceholderTextColor);
|
|
375
|
+
}
|
|
376
|
+
|
|
339
377
|
.mce-content-body::selection,
|
|
340
378
|
.mce-content-body [data-mce-selected=inline-boundary] {
|
|
341
379
|
background-color: var(--sapSelectedColor);
|
|
@@ -353,8 +391,7 @@ html {
|
|
|
353
391
|
cursor: pointer;
|
|
354
392
|
}
|
|
355
393
|
|
|
356
|
-
.mce-content-body a:hover {
|
|
357
|
-
color: var(--sapLink_Hover_Color);
|
|
394
|
+
.mce-content-body a:hover() {
|
|
358
395
|
text-decoration: var(--sapLink_Hover_TextDecoration);
|
|
359
396
|
}
|
|
360
397
|
|
|
@@ -375,4 +412,12 @@ html {
|
|
|
375
412
|
|
|
376
413
|
.mce-content-body a:visited:focus {
|
|
377
414
|
color: var(--sapContent_ContrastTextColor);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.mce-content-body table[border]:not([border="0"]):not([style*=border-color]) th {
|
|
418
|
+
border-color: var(--sapList_TableGroupHeaderBorderColor);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.mce-content-body table[border]:not([border="0"]):not([style*=border-color]) td {
|
|
422
|
+
border-color: var(--sapList_BorderColor);
|
|
378
423
|
}
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
"sap.ui.richtexteditor.RTESplitButton"
|
|
38
38
|
],
|
|
39
39
|
elements: [],
|
|
40
|
-
version: "1.
|
|
40
|
+
version: "1.143.0"
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
/**
|
|
@@ -65,13 +65,6 @@ sap.ui.define([
|
|
|
65
65
|
*/
|
|
66
66
|
TinyMCE: "TinyMCE",
|
|
67
67
|
|
|
68
|
-
/**
|
|
69
|
-
* Uses TinyMCE version 5 as editor
|
|
70
|
-
* TinyMCE 5 is no longer supported, therefore using it is on your own risk.
|
|
71
|
-
* @deprecated As of version 1.120
|
|
72
|
-
*/
|
|
73
|
-
TinyMCE5: "TinyMCE5",
|
|
74
|
-
|
|
75
68
|
/**
|
|
76
69
|
* Uses TinyMCE version 6 as editor
|
|
77
70
|
* TinyMCE 6 is no longer supported, therefore using it is on your own risk.
|