@sapui5/sap.ui.richtexteditor 1.136.4 → 1.136.6

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.
Files changed (448) hide show
  1. package/package.json +1 -1
  2. package/src/sap/ui/richtexteditor/.library +1 -1
  3. package/src/sap/ui/richtexteditor/RTESplitButton.js +1 -1
  4. package/src/sap/ui/richtexteditor/RichTextEditor.js +43 -43
  5. package/src/sap/ui/richtexteditor/ToolbarWrapper.js +1 -1
  6. package/src/sap/ui/richtexteditor/js/tiny_mce7/icons/default/icons.js +234 -0
  7. package/src/sap/ui/richtexteditor/js/tiny_mce7/icons/default/icons.min.js +7 -0
  8. package/src/sap/ui/richtexteditor/js/tiny_mce7/icons/default/index.js +13 -0
  9. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/ar.js +7 -0
  10. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/bg_BG.js +7 -0
  11. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/ca.js +7 -0
  12. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/cs.js +7 -0
  13. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/cy.js +1 -0
  14. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/da.js +7 -0
  15. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/de.js +7 -0
  16. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/el.js +7 -0
  17. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/en_GB.js +261 -0
  18. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/es.js +7 -0
  19. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/es_MX.js +1 -0
  20. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/eu.js +7 -0
  21. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/fa.js +7 -0
  22. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/fi.js +7 -0
  23. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/fr_FR.js +7 -0
  24. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/he_IL.js +7 -0
  25. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/hi.js +7 -0
  26. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/hr.js +7 -0
  27. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/hu_HU.js +7 -0
  28. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/id.js +7 -0
  29. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/it.js +7 -0
  30. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/ja.js +7 -0
  31. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/kk.js +7 -0
  32. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/ko_KR.js +7 -0
  33. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/lt.js +1 -0
  34. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/lv.js +1 -0
  35. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/ms.js +7 -0
  36. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/nb_NO.js +7 -0
  37. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/nl.js +7 -0
  38. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/pl.js +7 -0
  39. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/pt_BR.js +7 -0
  40. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/pt_PT.js +7 -0
  41. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/ro.js +7 -0
  42. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/ru.js +7 -0
  43. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/sk.js +7 -0
  44. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/sl_SI.js +7 -0
  45. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/sr.js +1 -0
  46. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/sv_SE.js +7 -0
  47. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/th_TH.js +7 -0
  48. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/tr.js +7 -0
  49. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/uk.js +7 -0
  50. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/vi.js +7 -0
  51. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/zh_CN.js +7 -0
  52. package/src/sap/ui/richtexteditor/js/tiny_mce7/langs/zh_TW.js +7 -0
  53. package/src/sap/ui/richtexteditor/js/tiny_mce7/license.txt +5 -0
  54. package/src/sap/ui/richtexteditor/js/tiny_mce7/models/dom/index.js +13 -0
  55. package/src/sap/ui/richtexteditor/js/tiny_mce7/models/dom/model.js +8147 -0
  56. package/src/sap/ui/richtexteditor/js/tiny_mce7/models/dom/model.min.js +9 -0
  57. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/accordion/index.js +13 -0
  58. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/accordion/plugin.js +1062 -0
  59. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/accordion/plugin.min.js +9 -0
  60. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/CHANGELOG.md +45 -0
  61. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/codemirror.min.js +13 -0
  62. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/customeditor.js +10 -0
  63. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/customeditor.min.js +10 -0
  64. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/index.js +3 -0
  65. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/ar.js +35 -0
  66. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/bg_BG.js +35 -0
  67. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/ca.js +35 -0
  68. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/cs.js +35 -0
  69. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/da.js +35 -0
  70. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/de.js +35 -0
  71. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/el.js +35 -0
  72. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/es.js +35 -0
  73. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/eu.js +35 -0
  74. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/fa.js +35 -0
  75. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/fi.js +35 -0
  76. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/fr_FR.js +35 -0
  77. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/he_IL.js +35 -0
  78. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/hi.js +35 -0
  79. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/hr.js +35 -0
  80. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/hu_HU.js +35 -0
  81. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/id.js +35 -0
  82. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/it.js +35 -0
  83. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/ja.js +35 -0
  84. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/kk.js +35 -0
  85. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/ko_KR.js +35 -0
  86. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/ms.js +35 -0
  87. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/nb_NO.js +35 -0
  88. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/nl.js +35 -0
  89. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/pl.js +35 -0
  90. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/pt_BR.js +35 -0
  91. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/pt_PT.js +35 -0
  92. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/ro.js +35 -0
  93. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/ru.js +35 -0
  94. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/sk.js +35 -0
  95. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/sl_SI.js +35 -0
  96. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/sv_SE.js +35 -0
  97. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/th_TH.js +35 -0
  98. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/tr.js +35 -0
  99. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/uk.js +35 -0
  100. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/vi.js +35 -0
  101. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/zh_CN.js +35 -0
  102. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/langs/zh_TW.js +35 -0
  103. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/license.txt +5 -0
  104. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/plugin.js +10 -0
  105. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/plugin.min.js +10 -0
  106. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/readme.txt +10 -0
  107. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advcode/version.txt +1 -0
  108. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advlist/index.js +13 -0
  109. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advlist/plugin.js +298 -0
  110. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/advlist/plugin.min.js +9 -0
  111. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/anchor/index.js +13 -0
  112. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/anchor/plugin.js +219 -0
  113. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/anchor/plugin.min.js +9 -0
  114. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/autolink/index.js +13 -0
  115. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/autolink/plugin.js +233 -0
  116. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/autolink/plugin.min.js +9 -0
  117. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/autoresize/index.js +13 -0
  118. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/autoresize/plugin.js +184 -0
  119. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/autoresize/plugin.min.js +9 -0
  120. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/autosave/index.js +13 -0
  121. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/autosave/plugin.js +239 -0
  122. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/autosave/plugin.min.js +9 -0
  123. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/charmap/index.js +13 -0
  124. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/charmap/plugin.js +1663 -0
  125. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/charmap/plugin.min.js +9 -0
  126. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/code/index.js +13 -0
  127. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/code/plugin.js +90 -0
  128. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/code/plugin.min.js +9 -0
  129. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/codesample/index.js +13 -0
  130. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/codesample/plugin.js +2468 -0
  131. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/codesample/plugin.min.js +9 -0
  132. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/directionality/index.js +13 -0
  133. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/directionality/plugin.js +395 -0
  134. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/directionality/plugin.min.js +9 -0
  135. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/emoticons/index.js +13 -0
  136. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/emoticons/js/emojiimages.js +7 -0
  137. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/emoticons/js/emojiimages.min.js +9 -0
  138. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/emoticons/js/emojis.js +7 -0
  139. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/emoticons/js/emojis.min.js +8 -0
  140. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/emoticons/plugin.js +601 -0
  141. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/emoticons/plugin.min.js +9 -0
  142. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/fullscreen/index.js +13 -0
  143. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/fullscreen/plugin.js +1266 -0
  144. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/fullscreen/plugin.min.js +9 -0
  145. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/index.js +13 -0
  146. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/ar.js +99 -0
  147. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/bg_BG.js +99 -0
  148. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/ca.js +99 -0
  149. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/cs.js +99 -0
  150. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/da.js +99 -0
  151. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/de.js +99 -0
  152. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/el.js +99 -0
  153. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/en.js +99 -0
  154. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/es.js +99 -0
  155. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/eu.js +99 -0
  156. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/fa.js +99 -0
  157. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/fi.js +99 -0
  158. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/fr_FR.js +99 -0
  159. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/he_IL.js +99 -0
  160. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/hi.js +99 -0
  161. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/hr.js +99 -0
  162. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/hu_HU.js +99 -0
  163. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/id.js +99 -0
  164. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/it.js +99 -0
  165. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/ja.js +99 -0
  166. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/kk.js +99 -0
  167. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/ko_KR.js +99 -0
  168. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/ms.js +99 -0
  169. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/nb_NO.js +99 -0
  170. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/nl.js +99 -0
  171. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/pl.js +99 -0
  172. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/pt_BR.js +99 -0
  173. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/pt_PT.js +99 -0
  174. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/ro.js +99 -0
  175. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/ru.js +99 -0
  176. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/sk.js +99 -0
  177. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/sl_SI.js +99 -0
  178. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/sv_SE.js +99 -0
  179. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/th_TH.js +99 -0
  180. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/tr.js +99 -0
  181. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/uk.js +99 -0
  182. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/vi.js +99 -0
  183. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/zh_CN.js +93 -0
  184. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/js/i18n/keynav/zh_TW.js +99 -0
  185. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/plugin.js +931 -0
  186. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/help/plugin.min.js +9 -0
  187. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/image/index.js +13 -0
  188. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/image/plugin.js +1513 -0
  189. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/image/plugin.min.js +9 -0
  190. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/importcss/index.js +13 -0
  191. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/importcss/plugin.js +350 -0
  192. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/importcss/plugin.min.js +9 -0
  193. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/insertdatetime/index.js +13 -0
  194. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/insertdatetime/plugin.js +192 -0
  195. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/insertdatetime/plugin.min.js +9 -0
  196. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/link/index.js +13 -0
  197. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/link/plugin.js +1337 -0
  198. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/link/plugin.min.js +9 -0
  199. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/lists/index.js +13 -0
  200. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/lists/plugin.js +2186 -0
  201. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/lists/plugin.min.js +9 -0
  202. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/media/index.js +13 -0
  203. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/media/plugin.js +1229 -0
  204. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/media/plugin.min.js +9 -0
  205. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/index.js +1 -0
  206. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/ar.js +12 -0
  207. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/bg_BG.js +12 -0
  208. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/ca.js +12 -0
  209. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/cs.js +12 -0
  210. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/da.js +12 -0
  211. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/de.js +12 -0
  212. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/el.js +12 -0
  213. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/es.js +12 -0
  214. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/eu.js +12 -0
  215. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/fa.js +12 -0
  216. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/fi.js +12 -0
  217. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/fr_FR.js +12 -0
  218. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/he_IL.js +12 -0
  219. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/hi.js +12 -0
  220. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/hr.js +12 -0
  221. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/hu_HU.js +12 -0
  222. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/id.js +12 -0
  223. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/it.js +12 -0
  224. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/ja.js +12 -0
  225. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/kk.js +12 -0
  226. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/ko_KR.js +12 -0
  227. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/ms.js +12 -0
  228. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/nb_NO.js +12 -0
  229. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/nl.js +12 -0
  230. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/pl.js +12 -0
  231. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/pt_BR.js +12 -0
  232. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/pt_PT.js +12 -0
  233. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/ro.js +12 -0
  234. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/ru.js +12 -0
  235. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/sk.js +12 -0
  236. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/sl_SI.js +12 -0
  237. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/sv_SE.js +12 -0
  238. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/th_TH.js +12 -0
  239. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/tr.js +12 -0
  240. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/uk.js +12 -0
  241. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/vi.js +12 -0
  242. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/zh_CN.js +12 -0
  243. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/langs/zh_TW.js +12 -0
  244. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/license.txt +5 -0
  245. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/plugin.js +10 -0
  246. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/plugin.min.js +10 -0
  247. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/readme.txt +10 -0
  248. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/mergetags/version.txt +1 -0
  249. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/nonbreaking/index.js +13 -0
  250. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/nonbreaking/plugin.js +128 -0
  251. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/nonbreaking/plugin.min.js +9 -0
  252. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/pagebreak/index.js +13 -0
  253. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/pagebreak/plugin.js +122 -0
  254. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/pagebreak/plugin.min.js +9 -0
  255. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/CHANGELOG.md +20 -0
  256. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/index.js +2 -0
  257. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/js/wordimport.js +23102 -0
  258. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/ar.js +19 -0
  259. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/bg_BG.js +19 -0
  260. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/ca.js +19 -0
  261. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/cs.js +19 -0
  262. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/da.js +19 -0
  263. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/de.js +19 -0
  264. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/el.js +19 -0
  265. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/es.js +19 -0
  266. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/eu.js +19 -0
  267. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/fa.js +19 -0
  268. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/fi.js +19 -0
  269. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/fr_FR.js +19 -0
  270. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/he_IL.js +19 -0
  271. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/hi.js +19 -0
  272. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/hr.js +19 -0
  273. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/hu_HU.js +19 -0
  274. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/id.js +19 -0
  275. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/it.js +19 -0
  276. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/ja.js +19 -0
  277. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/kk.js +19 -0
  278. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/ko_KR.js +19 -0
  279. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/ms.js +19 -0
  280. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/nb_NO.js +19 -0
  281. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/nl.js +19 -0
  282. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/pl.js +19 -0
  283. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/pt_BR.js +19 -0
  284. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/pt_PT.js +19 -0
  285. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/ro.js +19 -0
  286. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/ru.js +19 -0
  287. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/sk.js +19 -0
  288. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/sl_SI.js +19 -0
  289. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/sv_SE.js +19 -0
  290. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/th_TH.js +19 -0
  291. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/tr.js +19 -0
  292. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/uk.js +19 -0
  293. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/vi.js +19 -0
  294. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/zh_CN.js +19 -0
  295. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/langs/zh_TW.js +19 -0
  296. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/license.txt +5 -0
  297. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/plugin.js +10 -0
  298. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/plugin.min.js +10 -0
  299. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/readme.txt +17 -0
  300. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/powerpaste/version.txt +1 -0
  301. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/preview/index.js +13 -0
  302. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/preview/plugin.js +598 -0
  303. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/preview/plugin.min.js +9 -0
  304. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/quickbars/index.js +13 -0
  305. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/quickbars/plugin.js +463 -0
  306. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/quickbars/plugin.min.js +9 -0
  307. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/save/index.js +13 -0
  308. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/save/plugin.js +124 -0
  309. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/save/plugin.min.js +9 -0
  310. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/searchreplace/index.js +13 -0
  311. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/searchreplace/plugin.js +1103 -0
  312. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/searchreplace/plugin.min.js +9 -0
  313. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/table/index.js +13 -0
  314. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/table/plugin.js +3466 -0
  315. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/table/plugin.min.js +9 -0
  316. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/CHANGELOG.md +56 -0
  317. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/css/tinycomments.css +9 -0
  318. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/css/tinycomments.js +10 -0
  319. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/index.js +3 -0
  320. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/js/tinycomments-sidebar.js +10 -0
  321. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/js/tinycomments-sidebar.min.js +10 -0
  322. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/ar.js +58 -0
  323. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/bg_BG.js +58 -0
  324. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/ca.js +58 -0
  325. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/cs.js +58 -0
  326. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/da.js +58 -0
  327. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/de.js +58 -0
  328. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/el.js +58 -0
  329. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/es.js +58 -0
  330. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/eu.js +58 -0
  331. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/fa.js +58 -0
  332. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/fi.js +58 -0
  333. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/fr_FR.js +58 -0
  334. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/he_IL.js +58 -0
  335. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/hi.js +58 -0
  336. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/hr.js +58 -0
  337. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/hu_HU.js +58 -0
  338. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/id.js +58 -0
  339. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/it.js +58 -0
  340. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/ja.js +58 -0
  341. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/kk.js +58 -0
  342. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/ko_KR.js +58 -0
  343. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/ms.js +58 -0
  344. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/nb_NO.js +58 -0
  345. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/nl.js +58 -0
  346. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/pl.js +58 -0
  347. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/pt_BR.js +58 -0
  348. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/pt_PT.js +58 -0
  349. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/ro.js +58 -0
  350. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/ru.js +58 -0
  351. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/sk.js +58 -0
  352. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/sl_SI.js +58 -0
  353. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/sv_SE.js +58 -0
  354. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/th_TH.js +58 -0
  355. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/tr.js +58 -0
  356. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/uk.js +58 -0
  357. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/vi.js +58 -0
  358. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/zh_CN.js +58 -0
  359. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/langs/zh_TW.js +58 -0
  360. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/license.txt +5 -0
  361. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/plugin.js +10 -0
  362. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/plugin.min.js +10 -0
  363. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/readme.txt +10 -0
  364. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/tinycomments/version.txt +1 -0
  365. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/visualblocks/index.js +13 -0
  366. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/visualblocks/plugin.js +105 -0
  367. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/visualblocks/plugin.min.js +9 -0
  368. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/visualchars/index.js +13 -0
  369. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/visualchars/plugin.js +567 -0
  370. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/visualchars/plugin.min.js +9 -0
  371. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/wordcount/index.js +13 -0
  372. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/wordcount/plugin.js +420 -0
  373. package/src/sap/ui/richtexteditor/js/tiny_mce7/plugins/wordcount/plugin.min.js +9 -0
  374. package/src/sap/ui/richtexteditor/js/tiny_mce7/readme.txt +12 -0
  375. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/dark/content.css +72 -0
  376. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/dark/content.js +7 -0
  377. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/dark/content.min.css +7 -0
  378. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/default/content.css +67 -0
  379. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/default/content.js +7 -0
  380. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/default/content.min.css +7 -0
  381. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/document/content.css +72 -0
  382. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/document/content.js +7 -0
  383. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/document/content.min.css +7 -0
  384. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/tinymce-5/content.css +67 -0
  385. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/tinymce-5/content.js +7 -0
  386. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/tinymce-5/content.min.css +7 -0
  387. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/tinymce-5-dark/content.css +72 -0
  388. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/tinymce-5-dark/content.js +7 -0
  389. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/tinymce-5-dark/content.min.css +7 -0
  390. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/writer/content.css +68 -0
  391. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/writer/content.js +7 -0
  392. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/content/writer/content.min.css +7 -0
  393. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/content.css +890 -0
  394. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/content.inline.css +884 -0
  395. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/content.inline.js +7 -0
  396. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/content.inline.min.css +7 -0
  397. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/content.js +7 -0
  398. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/content.min.css +7 -0
  399. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/skin.css +4766 -0
  400. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/skin.js +7 -0
  401. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/skin.min.css +7 -0
  402. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/skin.shadowdom.css +36 -0
  403. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/skin.shadowdom.js +7 -0
  404. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide/skin.shadowdom.min.css +7 -0
  405. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/content.css +878 -0
  406. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/content.inline.css +884 -0
  407. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/content.inline.js +7 -0
  408. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/content.inline.min.css +7 -0
  409. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/content.js +7 -0
  410. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/content.min.css +7 -0
  411. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/skin.css +4769 -0
  412. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/skin.js +7 -0
  413. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/skin.min.css +7 -0
  414. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/skin.shadowdom.css +36 -0
  415. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/skin.shadowdom.js +7 -0
  416. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/oxide-dark/skin.shadowdom.min.css +7 -0
  417. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/content.css +890 -0
  418. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/content.inline.css +884 -0
  419. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/content.inline.js +7 -0
  420. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/content.inline.min.css +7 -0
  421. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/content.js +7 -0
  422. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/content.min.css +7 -0
  423. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/skin.css +4880 -0
  424. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/skin.js +7 -0
  425. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/skin.min.css +7 -0
  426. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/skin.shadowdom.css +36 -0
  427. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/skin.shadowdom.js +7 -0
  428. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5/skin.shadowdom.min.css +7 -0
  429. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/content.css +878 -0
  430. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/content.inline.css +884 -0
  431. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/content.inline.js +7 -0
  432. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/content.inline.min.css +7 -0
  433. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/content.js +7 -0
  434. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/content.min.css +7 -0
  435. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/skin.css +4880 -0
  436. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/skin.js +7 -0
  437. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/skin.min.css +7 -0
  438. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/skin.shadowdom.css +36 -0
  439. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/skin.shadowdom.js +7 -0
  440. package/src/sap/ui/richtexteditor/js/tiny_mce7/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +7 -0
  441. package/src/sap/ui/richtexteditor/js/tiny_mce7/themes/silver/index.js +13 -0
  442. package/src/sap/ui/richtexteditor/js/tiny_mce7/themes/silver/theme.js +31928 -0
  443. package/src/sap/ui/richtexteditor/js/tiny_mce7/themes/silver/theme.min.js +337 -0
  444. package/src/sap/ui/richtexteditor/js/tiny_mce7/tinymce.d.ts +3313 -0
  445. package/src/sap/ui/richtexteditor/js/tiny_mce7/tinymce.js +32267 -0
  446. package/src/sap/ui/richtexteditor/js/tiny_mce7/tinymce.min.js +336 -0
  447. package/src/sap/ui/richtexteditor/js/tiny_mce7/version.txt +1 -0
  448. package/src/sap/ui/richtexteditor/library.js +9 -3
@@ -0,0 +1,1103 @@
1
+ /*!
2
+ * TinyMCE
3
+ *
4
+ * Copyright (c) 2025 Ephox Corporation DBA Tiny Technologies, Inc.
5
+ * Licensed under the Tiny commercial license. See https://www.tiny.cloud/legal/
6
+ *
7
+ * Version: 7.7.2
8
+ */
9
+
10
+ (function () {
11
+ 'use strict';
12
+
13
+ const Cell = initial => {
14
+ let value = initial;
15
+ const get = () => {
16
+ return value;
17
+ };
18
+ const set = v => {
19
+ value = v;
20
+ };
21
+ return {
22
+ get,
23
+ set
24
+ };
25
+ };
26
+
27
+ var global$3 = tinymce.util.Tools.resolve('tinymce.PluginManager');
28
+
29
+ const hasProto = (v, constructor, predicate) => {
30
+ var _a;
31
+ if (predicate(v, constructor.prototype)) {
32
+ return true;
33
+ } else {
34
+ return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
35
+ }
36
+ };
37
+ const typeOf = x => {
38
+ const t = typeof x;
39
+ if (x === null) {
40
+ return 'null';
41
+ } else if (t === 'object' && Array.isArray(x)) {
42
+ return 'array';
43
+ } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
44
+ return 'string';
45
+ } else {
46
+ return t;
47
+ }
48
+ };
49
+ const isType$1 = type => value => typeOf(value) === type;
50
+ const isSimpleType = type => value => typeof value === type;
51
+ const isString = isType$1('string');
52
+ const isArray = isType$1('array');
53
+ const isBoolean = isSimpleType('boolean');
54
+ const isNullable = a => a === null || a === undefined;
55
+ const isNonNullable = a => !isNullable(a);
56
+ const isNumber = isSimpleType('number');
57
+
58
+ const noop = () => {
59
+ };
60
+ const constant = value => {
61
+ return () => {
62
+ return value;
63
+ };
64
+ };
65
+ const always = constant(true);
66
+
67
+ const punctuationStr = `[~\u2116|!-*+-\\/:;?@\\[-\`{}\u00A1\u00AB\u00B7\u00BB\u00BF;\u00B7\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1361-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u3008\u3009\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30\u2E31\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]`;
68
+
69
+ const punctuation$1 = constant(punctuationStr);
70
+
71
+ class Optional {
72
+ constructor(tag, value) {
73
+ this.tag = tag;
74
+ this.value = value;
75
+ }
76
+ static some(value) {
77
+ return new Optional(true, value);
78
+ }
79
+ static none() {
80
+ return Optional.singletonNone;
81
+ }
82
+ fold(onNone, onSome) {
83
+ if (this.tag) {
84
+ return onSome(this.value);
85
+ } else {
86
+ return onNone();
87
+ }
88
+ }
89
+ isSome() {
90
+ return this.tag;
91
+ }
92
+ isNone() {
93
+ return !this.tag;
94
+ }
95
+ map(mapper) {
96
+ if (this.tag) {
97
+ return Optional.some(mapper(this.value));
98
+ } else {
99
+ return Optional.none();
100
+ }
101
+ }
102
+ bind(binder) {
103
+ if (this.tag) {
104
+ return binder(this.value);
105
+ } else {
106
+ return Optional.none();
107
+ }
108
+ }
109
+ exists(predicate) {
110
+ return this.tag && predicate(this.value);
111
+ }
112
+ forall(predicate) {
113
+ return !this.tag || predicate(this.value);
114
+ }
115
+ filter(predicate) {
116
+ if (!this.tag || predicate(this.value)) {
117
+ return this;
118
+ } else {
119
+ return Optional.none();
120
+ }
121
+ }
122
+ getOr(replacement) {
123
+ return this.tag ? this.value : replacement;
124
+ }
125
+ or(replacement) {
126
+ return this.tag ? this : replacement;
127
+ }
128
+ getOrThunk(thunk) {
129
+ return this.tag ? this.value : thunk();
130
+ }
131
+ orThunk(thunk) {
132
+ return this.tag ? this : thunk();
133
+ }
134
+ getOrDie(message) {
135
+ if (!this.tag) {
136
+ throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
137
+ } else {
138
+ return this.value;
139
+ }
140
+ }
141
+ static from(value) {
142
+ return isNonNullable(value) ? Optional.some(value) : Optional.none();
143
+ }
144
+ getOrNull() {
145
+ return this.tag ? this.value : null;
146
+ }
147
+ getOrUndefined() {
148
+ return this.value;
149
+ }
150
+ each(worker) {
151
+ if (this.tag) {
152
+ worker(this.value);
153
+ }
154
+ }
155
+ toArray() {
156
+ return this.tag ? [this.value] : [];
157
+ }
158
+ toString() {
159
+ return this.tag ? `some(${ this.value })` : 'none()';
160
+ }
161
+ }
162
+ Optional.singletonNone = new Optional(false);
163
+
164
+ const punctuation = punctuation$1;
165
+
166
+ var global$2 = tinymce.util.Tools.resolve('tinymce.Env');
167
+
168
+ var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');
169
+
170
+ const nativeSlice = Array.prototype.slice;
171
+ const nativePush = Array.prototype.push;
172
+ const map = (xs, f) => {
173
+ const len = xs.length;
174
+ const r = new Array(len);
175
+ for (let i = 0; i < len; i++) {
176
+ const x = xs[i];
177
+ r[i] = f(x, i);
178
+ }
179
+ return r;
180
+ };
181
+ const each = (xs, f) => {
182
+ for (let i = 0, len = xs.length; i < len; i++) {
183
+ const x = xs[i];
184
+ f(x, i);
185
+ }
186
+ };
187
+ const eachr = (xs, f) => {
188
+ for (let i = xs.length - 1; i >= 0; i--) {
189
+ const x = xs[i];
190
+ f(x, i);
191
+ }
192
+ };
193
+ const groupBy = (xs, f) => {
194
+ if (xs.length === 0) {
195
+ return [];
196
+ } else {
197
+ let wasType = f(xs[0]);
198
+ const r = [];
199
+ let group = [];
200
+ for (let i = 0, len = xs.length; i < len; i++) {
201
+ const x = xs[i];
202
+ const type = f(x);
203
+ if (type !== wasType) {
204
+ r.push(group);
205
+ group = [];
206
+ }
207
+ wasType = type;
208
+ group.push(x);
209
+ }
210
+ if (group.length !== 0) {
211
+ r.push(group);
212
+ }
213
+ return r;
214
+ }
215
+ };
216
+ const foldl = (xs, f, acc) => {
217
+ each(xs, (x, i) => {
218
+ acc = f(acc, x, i);
219
+ });
220
+ return acc;
221
+ };
222
+ const flatten = xs => {
223
+ const r = [];
224
+ for (let i = 0, len = xs.length; i < len; ++i) {
225
+ if (!isArray(xs[i])) {
226
+ throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
227
+ }
228
+ nativePush.apply(r, xs[i]);
229
+ }
230
+ return r;
231
+ };
232
+ const bind = (xs, f) => flatten(map(xs, f));
233
+ const sort = (xs, comparator) => {
234
+ const copy = nativeSlice.call(xs, 0);
235
+ copy.sort(comparator);
236
+ return copy;
237
+ };
238
+
239
+ const hasOwnProperty = Object.hasOwnProperty;
240
+ const has = (obj, key) => hasOwnProperty.call(obj, key);
241
+
242
+ typeof window !== 'undefined' ? window : Function('return this;')();
243
+
244
+ const DOCUMENT = 9;
245
+ const DOCUMENT_FRAGMENT = 11;
246
+ const ELEMENT = 1;
247
+ const TEXT = 3;
248
+
249
+ const type = element => element.dom.nodeType;
250
+ const isType = t => element => type(element) === t;
251
+ const isText$1 = isType(TEXT);
252
+
253
+ const rawSet = (dom, key, value) => {
254
+ if (isString(value) || isBoolean(value) || isNumber(value)) {
255
+ dom.setAttribute(key, value + '');
256
+ } else {
257
+ console.error('Invalid call to Attribute.set. Key ', key, ':: Value ', value, ':: Element ', dom);
258
+ throw new Error('Attribute value was not simple');
259
+ }
260
+ };
261
+ const set = (element, key, value) => {
262
+ rawSet(element.dom, key, value);
263
+ };
264
+
265
+ const fromHtml = (html, scope) => {
266
+ const doc = scope || document;
267
+ const div = doc.createElement('div');
268
+ div.innerHTML = html;
269
+ if (!div.hasChildNodes() || div.childNodes.length > 1) {
270
+ const message = 'HTML does not have a single root node';
271
+ console.error(message, html);
272
+ throw new Error(message);
273
+ }
274
+ return fromDom(div.childNodes[0]);
275
+ };
276
+ const fromTag = (tag, scope) => {
277
+ const doc = scope || document;
278
+ const node = doc.createElement(tag);
279
+ return fromDom(node);
280
+ };
281
+ const fromText = (text, scope) => {
282
+ const doc = scope || document;
283
+ const node = doc.createTextNode(text);
284
+ return fromDom(node);
285
+ };
286
+ const fromDom = node => {
287
+ if (node === null || node === undefined) {
288
+ throw new Error('Node cannot be null or undefined');
289
+ }
290
+ return { dom: node };
291
+ };
292
+ const fromPoint = (docElm, x, y) => Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom);
293
+ const SugarElement = {
294
+ fromHtml,
295
+ fromTag,
296
+ fromText,
297
+ fromDom,
298
+ fromPoint
299
+ };
300
+
301
+ const bypassSelector = dom => dom.nodeType !== ELEMENT && dom.nodeType !== DOCUMENT && dom.nodeType !== DOCUMENT_FRAGMENT || dom.childElementCount === 0;
302
+ const all = (selector, scope) => {
303
+ const base = scope === undefined ? document : scope.dom;
304
+ return bypassSelector(base) ? [] : map(base.querySelectorAll(selector), SugarElement.fromDom);
305
+ };
306
+
307
+ const parent = element => Optional.from(element.dom.parentNode).map(SugarElement.fromDom);
308
+ const children = element => map(element.dom.childNodes, SugarElement.fromDom);
309
+ const spot = (element, offset) => ({
310
+ element,
311
+ offset
312
+ });
313
+ const leaf = (element, offset) => {
314
+ const cs = children(element);
315
+ return cs.length > 0 && offset < cs.length ? spot(cs[offset], 0) : spot(element, offset);
316
+ };
317
+
318
+ const before = (marker, element) => {
319
+ const parent$1 = parent(marker);
320
+ parent$1.each(v => {
321
+ v.dom.insertBefore(element.dom, marker.dom);
322
+ });
323
+ };
324
+ const append = (parent, element) => {
325
+ parent.dom.appendChild(element.dom);
326
+ };
327
+ const wrap = (element, wrapper) => {
328
+ before(element, wrapper);
329
+ append(wrapper, element);
330
+ };
331
+
332
+ const NodeValue = (is, name) => {
333
+ const get = element => {
334
+ if (!is(element)) {
335
+ throw new Error('Can only get ' + name + ' value of a ' + name + ' node');
336
+ }
337
+ return getOption(element).getOr('');
338
+ };
339
+ const getOption = element => is(element) ? Optional.from(element.dom.nodeValue) : Optional.none();
340
+ const set = (element, value) => {
341
+ if (!is(element)) {
342
+ throw new Error('Can only set raw ' + name + ' value of a ' + name + ' node');
343
+ }
344
+ element.dom.nodeValue = value;
345
+ };
346
+ return {
347
+ get,
348
+ getOption,
349
+ set
350
+ };
351
+ };
352
+
353
+ const api = NodeValue(isText$1, 'text');
354
+ const get$1 = element => api.get(element);
355
+
356
+ const compareDocumentPosition = (a, b, match) => {
357
+ return (a.compareDocumentPosition(b) & match) !== 0;
358
+ };
359
+ const documentPositionPreceding = (a, b) => {
360
+ return compareDocumentPosition(a, b, Node.DOCUMENT_POSITION_PRECEDING);
361
+ };
362
+
363
+ const descendants = (scope, selector) => all(selector, scope);
364
+
365
+ var global = tinymce.util.Tools.resolve('tinymce.dom.TreeWalker');
366
+
367
+ const isSimpleBoundary = (dom, node) => dom.isBlock(node) || has(dom.schema.getVoidElements(), node.nodeName);
368
+ const isContentEditableFalse = (dom, node) => !dom.isEditable(node);
369
+ const isContentEditableTrueInCef = (dom, node) => dom.getContentEditable(node) === 'true' && node.parentNode && !dom.isEditable(node.parentNode);
370
+ const isHidden = (dom, node) => !dom.isBlock(node) && has(dom.schema.getWhitespaceElements(), node.nodeName);
371
+ const isBoundary = (dom, node) => isSimpleBoundary(dom, node) || isContentEditableFalse(dom, node) || isHidden(dom, node) || isContentEditableTrueInCef(dom, node);
372
+ const isText = node => node.nodeType === 3;
373
+ const nuSection = () => ({
374
+ sOffset: 0,
375
+ fOffset: 0,
376
+ elements: []
377
+ });
378
+ const toLeaf = (node, offset) => leaf(SugarElement.fromDom(node), offset);
379
+ const walk = (dom, walkerFn, startNode, callbacks, endNode, skipStart = true) => {
380
+ let next = skipStart ? walkerFn(false) : startNode;
381
+ while (next) {
382
+ const isCefNode = isContentEditableFalse(dom, next);
383
+ if (isCefNode || isHidden(dom, next)) {
384
+ const stopWalking = isCefNode ? callbacks.cef(next) : callbacks.boundary(next);
385
+ if (stopWalking) {
386
+ break;
387
+ } else {
388
+ next = walkerFn(true);
389
+ continue;
390
+ }
391
+ } else if (isSimpleBoundary(dom, next)) {
392
+ if (callbacks.boundary(next)) {
393
+ break;
394
+ }
395
+ } else if (isText(next)) {
396
+ callbacks.text(next);
397
+ }
398
+ if (next === endNode) {
399
+ break;
400
+ } else {
401
+ next = walkerFn(false);
402
+ }
403
+ }
404
+ };
405
+ const collectTextToBoundary = (dom, section, node, rootNode, forwards) => {
406
+ var _a;
407
+ if (isBoundary(dom, node)) {
408
+ return;
409
+ }
410
+ const rootBlock = (_a = dom.getParent(rootNode, dom.isBlock)) !== null && _a !== void 0 ? _a : dom.getRoot();
411
+ const walker = new global(node, rootBlock);
412
+ const walkerFn = forwards ? walker.next.bind(walker) : walker.prev.bind(walker);
413
+ walk(dom, walkerFn, node, {
414
+ boundary: always,
415
+ cef: always,
416
+ text: next => {
417
+ if (forwards) {
418
+ section.fOffset += next.length;
419
+ } else {
420
+ section.sOffset += next.length;
421
+ }
422
+ section.elements.push(SugarElement.fromDom(next));
423
+ }
424
+ });
425
+ };
426
+ const collect = (dom, rootNode, startNode, endNode, callbacks, skipStart = true) => {
427
+ const walker = new global(startNode, rootNode);
428
+ const sections = [];
429
+ let current = nuSection();
430
+ collectTextToBoundary(dom, current, startNode, rootNode, false);
431
+ const finishSection = () => {
432
+ if (current.elements.length > 0) {
433
+ sections.push(current);
434
+ current = nuSection();
435
+ }
436
+ return false;
437
+ };
438
+ walk(dom, walker.next.bind(walker), startNode, {
439
+ boundary: finishSection,
440
+ cef: node => {
441
+ finishSection();
442
+ if (callbacks) {
443
+ sections.push(...callbacks.cef(node));
444
+ }
445
+ return false;
446
+ },
447
+ text: next => {
448
+ current.elements.push(SugarElement.fromDom(next));
449
+ if (callbacks) {
450
+ callbacks.text(next, current);
451
+ }
452
+ }
453
+ }, endNode, skipStart);
454
+ if (endNode) {
455
+ collectTextToBoundary(dom, current, endNode, rootNode, true);
456
+ }
457
+ finishSection();
458
+ return sections;
459
+ };
460
+ const collectRangeSections = (dom, rng) => {
461
+ const start = toLeaf(rng.startContainer, rng.startOffset);
462
+ const startNode = start.element.dom;
463
+ const end = toLeaf(rng.endContainer, rng.endOffset);
464
+ const endNode = end.element.dom;
465
+ return collect(dom, rng.commonAncestorContainer, startNode, endNode, {
466
+ text: (node, section) => {
467
+ if (node === endNode) {
468
+ section.fOffset += node.length - end.offset;
469
+ } else if (node === startNode) {
470
+ section.sOffset += start.offset;
471
+ }
472
+ },
473
+ cef: node => {
474
+ const sections = bind(descendants(SugarElement.fromDom(node), '*[contenteditable=true]'), e => {
475
+ const ceTrueNode = e.dom;
476
+ return collect(dom, ceTrueNode, ceTrueNode);
477
+ });
478
+ return sort(sections, (a, b) => documentPositionPreceding(a.elements[0].dom, b.elements[0].dom) ? 1 : -1);
479
+ }
480
+ }, false);
481
+ };
482
+ const fromRng = (dom, rng) => rng.collapsed ? [] : collectRangeSections(dom, rng);
483
+ const fromNode = (dom, node) => {
484
+ const rng = dom.createRng();
485
+ rng.selectNode(node);
486
+ return fromRng(dom, rng);
487
+ };
488
+ const fromNodes = (dom, nodes) => bind(nodes, node => fromNode(dom, node));
489
+
490
+ const find$2 = (text, pattern, start = 0, finish = text.length) => {
491
+ const regex = pattern.regex;
492
+ regex.lastIndex = start;
493
+ const results = [];
494
+ let match;
495
+ while (match = regex.exec(text)) {
496
+ const matchedText = match[pattern.matchIndex];
497
+ const matchStart = match.index + match[0].indexOf(matchedText);
498
+ const matchFinish = matchStart + matchedText.length;
499
+ if (matchFinish > finish) {
500
+ break;
501
+ }
502
+ results.push({
503
+ start: matchStart,
504
+ finish: matchFinish
505
+ });
506
+ regex.lastIndex = matchFinish;
507
+ }
508
+ return results;
509
+ };
510
+ const extract = (elements, matches) => {
511
+ const nodePositions = foldl(elements, (acc, element) => {
512
+ const content = get$1(element);
513
+ const start = acc.last;
514
+ const finish = start + content.length;
515
+ const positions = bind(matches, (match, matchIdx) => {
516
+ if (match.start < finish && match.finish > start) {
517
+ return [{
518
+ element,
519
+ start: Math.max(start, match.start) - start,
520
+ finish: Math.min(finish, match.finish) - start,
521
+ matchId: matchIdx
522
+ }];
523
+ } else {
524
+ return [];
525
+ }
526
+ });
527
+ return {
528
+ results: acc.results.concat(positions),
529
+ last: finish
530
+ };
531
+ }, {
532
+ results: [],
533
+ last: 0
534
+ }).results;
535
+ return groupBy(nodePositions, position => position.matchId);
536
+ };
537
+
538
+ const find$1 = (pattern, sections) => bind(sections, section => {
539
+ const elements = section.elements;
540
+ const content = map(elements, get$1).join('');
541
+ const positions = find$2(content, pattern, section.sOffset, content.length - section.fOffset);
542
+ return extract(elements, positions);
543
+ });
544
+ const mark = (matches, replacementNode) => {
545
+ eachr(matches, (match, idx) => {
546
+ eachr(match, pos => {
547
+ const wrapper = SugarElement.fromDom(replacementNode.cloneNode(false));
548
+ set(wrapper, 'data-mce-index', idx);
549
+ const textNode = pos.element.dom;
550
+ if (textNode.length === pos.finish && pos.start === 0) {
551
+ wrap(pos.element, wrapper);
552
+ } else {
553
+ if (textNode.length !== pos.finish) {
554
+ textNode.splitText(pos.finish);
555
+ }
556
+ const matchNode = textNode.splitText(pos.start);
557
+ wrap(SugarElement.fromDom(matchNode), wrapper);
558
+ }
559
+ });
560
+ });
561
+ };
562
+ const findAndMark = (dom, pattern, node, replacementNode) => {
563
+ const textSections = fromNode(dom, node);
564
+ const matches = find$1(pattern, textSections);
565
+ mark(matches, replacementNode);
566
+ return matches.length;
567
+ };
568
+ const findAndMarkInSelection = (dom, pattern, selection, replacementNode) => {
569
+ const bookmark = selection.getBookmark();
570
+ const nodes = dom.select('td[data-mce-selected],th[data-mce-selected]');
571
+ const textSections = nodes.length > 0 ? fromNodes(dom, nodes) : fromRng(dom, selection.getRng());
572
+ const matches = find$1(pattern, textSections);
573
+ mark(matches, replacementNode);
574
+ selection.moveToBookmark(bookmark);
575
+ return matches.length;
576
+ };
577
+
578
+ const getElmIndex = elm => {
579
+ return elm.getAttribute('data-mce-index');
580
+ };
581
+ const markAllMatches = (editor, currentSearchState, pattern, inSelection) => {
582
+ const marker = editor.dom.create('span', { 'data-mce-bogus': 1 });
583
+ marker.className = 'mce-match-marker';
584
+ const node = editor.getBody();
585
+ done(editor, currentSearchState, false);
586
+ if (inSelection) {
587
+ return findAndMarkInSelection(editor.dom, pattern, editor.selection, marker);
588
+ } else {
589
+ return findAndMark(editor.dom, pattern, node, marker);
590
+ }
591
+ };
592
+ const unwrap = node => {
593
+ var _a;
594
+ const parentNode = node.parentNode;
595
+ if (node.firstChild) {
596
+ parentNode.insertBefore(node.firstChild, node);
597
+ }
598
+ (_a = node.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(node);
599
+ };
600
+ const findSpansByIndex = (editor, index) => {
601
+ const spans = [];
602
+ const nodes = global$1.toArray(editor.getBody().getElementsByTagName('span'));
603
+ if (nodes.length) {
604
+ for (let i = 0; i < nodes.length; i++) {
605
+ const nodeIndex = getElmIndex(nodes[i]);
606
+ if (nodeIndex === null || !nodeIndex.length) {
607
+ continue;
608
+ }
609
+ if (nodeIndex === index.toString()) {
610
+ spans.push(nodes[i]);
611
+ }
612
+ }
613
+ }
614
+ return spans;
615
+ };
616
+ const moveSelection = (editor, currentSearchState, forward) => {
617
+ const searchState = currentSearchState.get();
618
+ let testIndex = searchState.index;
619
+ const dom = editor.dom;
620
+ if (forward) {
621
+ if (testIndex + 1 === searchState.count) {
622
+ testIndex = 0;
623
+ } else {
624
+ testIndex++;
625
+ }
626
+ } else {
627
+ if (testIndex - 1 === -1) {
628
+ testIndex = searchState.count - 1;
629
+ } else {
630
+ testIndex--;
631
+ }
632
+ }
633
+ dom.removeClass(findSpansByIndex(editor, searchState.index), 'mce-match-marker-selected');
634
+ const spans = findSpansByIndex(editor, testIndex);
635
+ if (spans.length) {
636
+ dom.addClass(findSpansByIndex(editor, testIndex), 'mce-match-marker-selected');
637
+ editor.selection.scrollIntoView(spans[0]);
638
+ return testIndex;
639
+ }
640
+ return -1;
641
+ };
642
+ const removeNode = (dom, node) => {
643
+ const parent = node.parentNode;
644
+ dom.remove(node);
645
+ if (parent && dom.isEmpty(parent)) {
646
+ dom.remove(parent);
647
+ }
648
+ };
649
+ const escapeSearchText = (text, wholeWord) => {
650
+ const escapedText = text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&').replace(/\s/g, '[^\\S\\r\\n\\uFEFF]');
651
+ const wordRegex = '(' + escapedText + ')';
652
+ return wholeWord ? `(?:^|\\s|${ punctuation() })` + wordRegex + `(?=$|\\s|${ punctuation() })` : wordRegex;
653
+ };
654
+ const find = (editor, currentSearchState, text, matchCase, wholeWord, inSelection) => {
655
+ const selection = editor.selection;
656
+ const escapedText = escapeSearchText(text, wholeWord);
657
+ const isForwardSelection = selection.isForward();
658
+ const pattern = {
659
+ regex: new RegExp(escapedText, matchCase ? 'g' : 'gi'),
660
+ matchIndex: 1
661
+ };
662
+ const count = markAllMatches(editor, currentSearchState, pattern, inSelection);
663
+ if (global$2.browser.isSafari()) {
664
+ selection.setRng(selection.getRng(), isForwardSelection);
665
+ }
666
+ if (count) {
667
+ const newIndex = moveSelection(editor, currentSearchState, true);
668
+ currentSearchState.set({
669
+ index: newIndex,
670
+ count,
671
+ text,
672
+ matchCase,
673
+ wholeWord,
674
+ inSelection
675
+ });
676
+ }
677
+ return count;
678
+ };
679
+ const next = (editor, currentSearchState) => {
680
+ const index = moveSelection(editor, currentSearchState, true);
681
+ currentSearchState.set({
682
+ ...currentSearchState.get(),
683
+ index
684
+ });
685
+ };
686
+ const prev = (editor, currentSearchState) => {
687
+ const index = moveSelection(editor, currentSearchState, false);
688
+ currentSearchState.set({
689
+ ...currentSearchState.get(),
690
+ index
691
+ });
692
+ };
693
+ const isMatchSpan = node => {
694
+ const matchIndex = getElmIndex(node);
695
+ return matchIndex !== null && matchIndex.length > 0;
696
+ };
697
+ const replace = (editor, currentSearchState, text, forward, all) => {
698
+ const searchState = currentSearchState.get();
699
+ const currentIndex = searchState.index;
700
+ let currentMatchIndex, nextIndex = currentIndex;
701
+ forward = forward !== false;
702
+ const node = editor.getBody();
703
+ const nodes = global$1.grep(global$1.toArray(node.getElementsByTagName('span')), isMatchSpan);
704
+ for (let i = 0; i < nodes.length; i++) {
705
+ const nodeIndex = getElmIndex(nodes[i]);
706
+ let matchIndex = currentMatchIndex = parseInt(nodeIndex, 10);
707
+ if (all || matchIndex === searchState.index) {
708
+ if (text.length) {
709
+ nodes[i].innerText = text;
710
+ unwrap(nodes[i]);
711
+ } else {
712
+ removeNode(editor.dom, nodes[i]);
713
+ }
714
+ while (nodes[++i]) {
715
+ matchIndex = parseInt(getElmIndex(nodes[i]), 10);
716
+ if (matchIndex === currentMatchIndex) {
717
+ removeNode(editor.dom, nodes[i]);
718
+ } else {
719
+ i--;
720
+ break;
721
+ }
722
+ }
723
+ if (forward) {
724
+ nextIndex--;
725
+ }
726
+ } else if (currentMatchIndex > currentIndex) {
727
+ nodes[i].setAttribute('data-mce-index', String(currentMatchIndex - 1));
728
+ }
729
+ }
730
+ currentSearchState.set({
731
+ ...searchState,
732
+ count: all ? 0 : searchState.count - 1,
733
+ index: nextIndex
734
+ });
735
+ if (forward) {
736
+ next(editor, currentSearchState);
737
+ } else {
738
+ prev(editor, currentSearchState);
739
+ }
740
+ return !all && currentSearchState.get().count > 0;
741
+ };
742
+ const done = (editor, currentSearchState, keepEditorSelection) => {
743
+ let startContainer;
744
+ let endContainer;
745
+ const searchState = currentSearchState.get();
746
+ const nodes = global$1.toArray(editor.getBody().getElementsByTagName('span'));
747
+ for (let i = 0; i < nodes.length; i++) {
748
+ const nodeIndex = getElmIndex(nodes[i]);
749
+ if (nodeIndex !== null && nodeIndex.length) {
750
+ if (nodeIndex === searchState.index.toString()) {
751
+ if (!startContainer) {
752
+ startContainer = nodes[i].firstChild;
753
+ }
754
+ endContainer = nodes[i].firstChild;
755
+ }
756
+ unwrap(nodes[i]);
757
+ }
758
+ }
759
+ currentSearchState.set({
760
+ ...searchState,
761
+ index: -1,
762
+ count: 0,
763
+ text: ''
764
+ });
765
+ if (startContainer && endContainer) {
766
+ const rng = editor.dom.createRng();
767
+ rng.setStart(startContainer, 0);
768
+ rng.setEnd(endContainer, endContainer.data.length);
769
+ if (keepEditorSelection !== false) {
770
+ editor.selection.setRng(rng);
771
+ }
772
+ return rng;
773
+ } else {
774
+ return undefined;
775
+ }
776
+ };
777
+ const hasNext = (editor, currentSearchState) => currentSearchState.get().count > 1;
778
+ const hasPrev = (editor, currentSearchState) => currentSearchState.get().count > 1;
779
+
780
+ const get = (editor, currentState) => {
781
+ const done$1 = keepEditorSelection => {
782
+ return done(editor, currentState, keepEditorSelection);
783
+ };
784
+ const find$1 = (text, matchCase, wholeWord, inSelection = false) => {
785
+ return find(editor, currentState, text, matchCase, wholeWord, inSelection);
786
+ };
787
+ const next$1 = () => {
788
+ return next(editor, currentState);
789
+ };
790
+ const prev$1 = () => {
791
+ return prev(editor, currentState);
792
+ };
793
+ const replace$1 = (text, forward, all) => {
794
+ return replace(editor, currentState, text, forward, all);
795
+ };
796
+ return {
797
+ done: done$1,
798
+ find: find$1,
799
+ next: next$1,
800
+ prev: prev$1,
801
+ replace: replace$1
802
+ };
803
+ };
804
+
805
+ const singleton = doRevoke => {
806
+ const subject = Cell(Optional.none());
807
+ const revoke = () => subject.get().each(doRevoke);
808
+ const clear = () => {
809
+ revoke();
810
+ subject.set(Optional.none());
811
+ };
812
+ const isSet = () => subject.get().isSome();
813
+ const get = () => subject.get();
814
+ const set = s => {
815
+ revoke();
816
+ subject.set(Optional.some(s));
817
+ };
818
+ return {
819
+ clear,
820
+ isSet,
821
+ get,
822
+ set
823
+ };
824
+ };
825
+ const value = () => {
826
+ const subject = singleton(noop);
827
+ const on = f => subject.get().each(f);
828
+ return {
829
+ ...subject,
830
+ on
831
+ };
832
+ };
833
+
834
+ const open = (editor, currentSearchState) => {
835
+ const dialogApi = value();
836
+ editor.undoManager.add();
837
+ const selectedText = global$1.trim(editor.selection.getContent({ format: 'text' }));
838
+ const updateButtonStates = api => {
839
+ api.setEnabled('next', hasNext(editor, currentSearchState));
840
+ api.setEnabled('prev', hasPrev(editor, currentSearchState));
841
+ };
842
+ const updateSearchState = api => {
843
+ const data = api.getData();
844
+ const current = currentSearchState.get();
845
+ currentSearchState.set({
846
+ ...current,
847
+ matchCase: data.matchcase,
848
+ wholeWord: data.wholewords,
849
+ inSelection: data.inselection
850
+ });
851
+ };
852
+ const disableAll = (api, disable) => {
853
+ const buttons = [
854
+ 'replace',
855
+ 'replaceall',
856
+ 'prev',
857
+ 'next'
858
+ ];
859
+ const toggle = name => api.setEnabled(name, !disable);
860
+ each(buttons, toggle);
861
+ };
862
+ const toggleNotFoundAlert = (isVisible, api) => {
863
+ api.redial(getDialogSpec(isVisible, api.getData()));
864
+ };
865
+ const focusButtonIfRequired = (api, name) => {
866
+ if (global$2.browser.isSafari() && global$2.deviceType.isTouch() && (name === 'find' || name === 'replace' || name === 'replaceall')) {
867
+ api.focus(name);
868
+ }
869
+ };
870
+ const reset = api => {
871
+ done(editor, currentSearchState, false);
872
+ disableAll(api, true);
873
+ updateButtonStates(api);
874
+ };
875
+ const doFind = api => {
876
+ const data = api.getData();
877
+ const last = currentSearchState.get();
878
+ if (!data.findtext.length) {
879
+ reset(api);
880
+ return;
881
+ }
882
+ if (last.text === data.findtext && last.matchCase === data.matchcase && last.wholeWord === data.wholewords) {
883
+ next(editor, currentSearchState);
884
+ } else {
885
+ const count = find(editor, currentSearchState, data.findtext, data.matchcase, data.wholewords, data.inselection);
886
+ if (count <= 0) {
887
+ toggleNotFoundAlert(true, api);
888
+ }
889
+ disableAll(api, count === 0);
890
+ }
891
+ updateButtonStates(api);
892
+ };
893
+ const initialState = currentSearchState.get();
894
+ const initialData = {
895
+ findtext: selectedText,
896
+ replacetext: '',
897
+ wholewords: initialState.wholeWord,
898
+ matchcase: initialState.matchCase,
899
+ inselection: initialState.inSelection
900
+ };
901
+ const getPanelItems = error => {
902
+ const items = [
903
+ {
904
+ type: 'label',
905
+ label: 'Find',
906
+ for: 'findtext',
907
+ items: [{
908
+ type: 'bar',
909
+ items: [
910
+ {
911
+ type: 'input',
912
+ name: 'findtext',
913
+ maximized: true,
914
+ inputMode: 'search'
915
+ },
916
+ {
917
+ type: 'button',
918
+ name: 'prev',
919
+ text: 'Previous',
920
+ icon: 'action-prev',
921
+ enabled: false,
922
+ borderless: true
923
+ },
924
+ {
925
+ type: 'button',
926
+ name: 'next',
927
+ text: 'Next',
928
+ icon: 'action-next',
929
+ enabled: false,
930
+ borderless: true
931
+ }
932
+ ]
933
+ }]
934
+ },
935
+ {
936
+ type: 'input',
937
+ name: 'replacetext',
938
+ label: 'Replace with',
939
+ inputMode: 'search'
940
+ }
941
+ ];
942
+ if (error) {
943
+ items.push({
944
+ type: 'alertbanner',
945
+ level: 'error',
946
+ text: 'Could not find the specified string.',
947
+ icon: 'warning'
948
+ });
949
+ }
950
+ return items;
951
+ };
952
+ const getDialogSpec = (showNoMatchesAlertBanner, initialData) => ({
953
+ title: 'Find and Replace',
954
+ size: 'normal',
955
+ body: {
956
+ type: 'panel',
957
+ items: getPanelItems(showNoMatchesAlertBanner)
958
+ },
959
+ buttons: [
960
+ {
961
+ type: 'menu',
962
+ name: 'options',
963
+ icon: 'preferences',
964
+ tooltip: 'Preferences',
965
+ align: 'start',
966
+ items: [
967
+ {
968
+ type: 'togglemenuitem',
969
+ name: 'matchcase',
970
+ text: 'Match case'
971
+ },
972
+ {
973
+ type: 'togglemenuitem',
974
+ name: 'wholewords',
975
+ text: 'Find whole words only'
976
+ },
977
+ {
978
+ type: 'togglemenuitem',
979
+ name: 'inselection',
980
+ text: 'Find in selection'
981
+ }
982
+ ]
983
+ },
984
+ {
985
+ type: 'custom',
986
+ name: 'find',
987
+ text: 'Find',
988
+ primary: true
989
+ },
990
+ {
991
+ type: 'custom',
992
+ name: 'replace',
993
+ text: 'Replace',
994
+ enabled: false
995
+ },
996
+ {
997
+ type: 'custom',
998
+ name: 'replaceall',
999
+ text: 'Replace all',
1000
+ enabled: false
1001
+ }
1002
+ ],
1003
+ initialData,
1004
+ onChange: (api, details) => {
1005
+ if (showNoMatchesAlertBanner) {
1006
+ toggleNotFoundAlert(false, api);
1007
+ }
1008
+ if (details.name === 'findtext' && currentSearchState.get().count > 0) {
1009
+ reset(api);
1010
+ }
1011
+ },
1012
+ onAction: (api, details) => {
1013
+ const data = api.getData();
1014
+ switch (details.name) {
1015
+ case 'find':
1016
+ doFind(api);
1017
+ break;
1018
+ case 'replace':
1019
+ if (!replace(editor, currentSearchState, data.replacetext)) {
1020
+ reset(api);
1021
+ } else {
1022
+ updateButtonStates(api);
1023
+ }
1024
+ break;
1025
+ case 'replaceall':
1026
+ replace(editor, currentSearchState, data.replacetext, true, true);
1027
+ reset(api);
1028
+ break;
1029
+ case 'prev':
1030
+ prev(editor, currentSearchState);
1031
+ updateButtonStates(api);
1032
+ break;
1033
+ case 'next':
1034
+ next(editor, currentSearchState);
1035
+ updateButtonStates(api);
1036
+ break;
1037
+ case 'matchcase':
1038
+ case 'wholewords':
1039
+ case 'inselection':
1040
+ toggleNotFoundAlert(false, api);
1041
+ updateSearchState(api);
1042
+ reset(api);
1043
+ break;
1044
+ }
1045
+ focusButtonIfRequired(api, details.name);
1046
+ },
1047
+ onSubmit: api => {
1048
+ doFind(api);
1049
+ focusButtonIfRequired(api, 'find');
1050
+ },
1051
+ onClose: () => {
1052
+ editor.focus();
1053
+ done(editor, currentSearchState);
1054
+ editor.undoManager.add();
1055
+ }
1056
+ });
1057
+ dialogApi.set(editor.windowManager.open(getDialogSpec(false, initialData), { inline: 'toolbar' }));
1058
+ };
1059
+
1060
+ const register$1 = (editor, currentSearchState) => {
1061
+ editor.addCommand('SearchReplace', () => {
1062
+ open(editor, currentSearchState);
1063
+ });
1064
+ };
1065
+
1066
+ const showDialog = (editor, currentSearchState) => () => {
1067
+ open(editor, currentSearchState);
1068
+ };
1069
+ const register = (editor, currentSearchState) => {
1070
+ editor.ui.registry.addMenuItem('searchreplace', {
1071
+ text: 'Find and replace...',
1072
+ shortcut: 'Meta+F',
1073
+ onAction: showDialog(editor, currentSearchState),
1074
+ icon: 'search'
1075
+ });
1076
+ editor.ui.registry.addButton('searchreplace', {
1077
+ tooltip: 'Find and replace',
1078
+ onAction: showDialog(editor, currentSearchState),
1079
+ icon: 'search',
1080
+ shortcut: 'Meta+F'
1081
+ });
1082
+ editor.shortcuts.add('Meta+F', '', showDialog(editor, currentSearchState));
1083
+ };
1084
+
1085
+ var Plugin = () => {
1086
+ global$3.add('searchreplace', editor => {
1087
+ const currentSearchState = Cell({
1088
+ index: -1,
1089
+ count: 0,
1090
+ text: '',
1091
+ matchCase: false,
1092
+ wholeWord: false,
1093
+ inSelection: false
1094
+ });
1095
+ register$1(editor, currentSearchState);
1096
+ register(editor, currentSearchState);
1097
+ return get(editor, currentSearchState);
1098
+ });
1099
+ };
1100
+
1101
+ Plugin();
1102
+
1103
+ })();