@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,1062 @@
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
+ var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');
14
+
15
+ const random = () => window.crypto.getRandomValues(new Uint32Array(1))[0] / 4294967295;
16
+
17
+ let unique = 0;
18
+ const generate = prefix => {
19
+ const date = new Date();
20
+ const time = date.getTime();
21
+ const random$1 = Math.floor(random() * 1000000000);
22
+ unique++;
23
+ return prefix + '_' + random$1 + unique + String(time);
24
+ };
25
+
26
+ const hasProto = (v, constructor, predicate) => {
27
+ var _a;
28
+ if (predicate(v, constructor.prototype)) {
29
+ return true;
30
+ } else {
31
+ return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
32
+ }
33
+ };
34
+ const typeOf = x => {
35
+ const t = typeof x;
36
+ if (x === null) {
37
+ return 'null';
38
+ } else if (t === 'object' && Array.isArray(x)) {
39
+ return 'array';
40
+ } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
41
+ return 'string';
42
+ } else {
43
+ return t;
44
+ }
45
+ };
46
+ const isType$1 = type => value => typeOf(value) === type;
47
+ const isSimpleType = type => value => typeof value === type;
48
+ const isString = isType$1('string');
49
+ const isBoolean = isSimpleType('boolean');
50
+ const isNullable = a => a === null || a === undefined;
51
+ const isNonNullable = a => !isNullable(a);
52
+ const isFunction = isSimpleType('function');
53
+ const isNumber = isSimpleType('number');
54
+
55
+ const compose1 = (fbc, fab) => a => fbc(fab(a));
56
+ const constant = value => {
57
+ return () => {
58
+ return value;
59
+ };
60
+ };
61
+ const tripleEquals = (a, b) => {
62
+ return a === b;
63
+ };
64
+ const never = constant(false);
65
+
66
+ class Optional {
67
+ constructor(tag, value) {
68
+ this.tag = tag;
69
+ this.value = value;
70
+ }
71
+ static some(value) {
72
+ return new Optional(true, value);
73
+ }
74
+ static none() {
75
+ return Optional.singletonNone;
76
+ }
77
+ fold(onNone, onSome) {
78
+ if (this.tag) {
79
+ return onSome(this.value);
80
+ } else {
81
+ return onNone();
82
+ }
83
+ }
84
+ isSome() {
85
+ return this.tag;
86
+ }
87
+ isNone() {
88
+ return !this.tag;
89
+ }
90
+ map(mapper) {
91
+ if (this.tag) {
92
+ return Optional.some(mapper(this.value));
93
+ } else {
94
+ return Optional.none();
95
+ }
96
+ }
97
+ bind(binder) {
98
+ if (this.tag) {
99
+ return binder(this.value);
100
+ } else {
101
+ return Optional.none();
102
+ }
103
+ }
104
+ exists(predicate) {
105
+ return this.tag && predicate(this.value);
106
+ }
107
+ forall(predicate) {
108
+ return !this.tag || predicate(this.value);
109
+ }
110
+ filter(predicate) {
111
+ if (!this.tag || predicate(this.value)) {
112
+ return this;
113
+ } else {
114
+ return Optional.none();
115
+ }
116
+ }
117
+ getOr(replacement) {
118
+ return this.tag ? this.value : replacement;
119
+ }
120
+ or(replacement) {
121
+ return this.tag ? this : replacement;
122
+ }
123
+ getOrThunk(thunk) {
124
+ return this.tag ? this.value : thunk();
125
+ }
126
+ orThunk(thunk) {
127
+ return this.tag ? this : thunk();
128
+ }
129
+ getOrDie(message) {
130
+ if (!this.tag) {
131
+ throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
132
+ } else {
133
+ return this.value;
134
+ }
135
+ }
136
+ static from(value) {
137
+ return isNonNullable(value) ? Optional.some(value) : Optional.none();
138
+ }
139
+ getOrNull() {
140
+ return this.tag ? this.value : null;
141
+ }
142
+ getOrUndefined() {
143
+ return this.value;
144
+ }
145
+ each(worker) {
146
+ if (this.tag) {
147
+ worker(this.value);
148
+ }
149
+ }
150
+ toArray() {
151
+ return this.tag ? [this.value] : [];
152
+ }
153
+ toString() {
154
+ return this.tag ? `some(${ this.value })` : 'none()';
155
+ }
156
+ }
157
+ Optional.singletonNone = new Optional(false);
158
+
159
+ const nativeIndexOf = Array.prototype.indexOf;
160
+ const rawIndexOf = (ts, t) => nativeIndexOf.call(ts, t);
161
+ const contains = (xs, x) => rawIndexOf(xs, x) > -1;
162
+ const map = (xs, f) => {
163
+ const len = xs.length;
164
+ const r = new Array(len);
165
+ for (let i = 0; i < len; i++) {
166
+ const x = xs[i];
167
+ r[i] = f(x, i);
168
+ }
169
+ return r;
170
+ };
171
+ const each$1 = (xs, f) => {
172
+ for (let i = 0, len = xs.length; i < len; i++) {
173
+ const x = xs[i];
174
+ f(x, i);
175
+ }
176
+ };
177
+ const filter = (xs, pred) => {
178
+ const r = [];
179
+ for (let i = 0, len = xs.length; i < len; i++) {
180
+ const x = xs[i];
181
+ if (pred(x, i)) {
182
+ r.push(x);
183
+ }
184
+ }
185
+ return r;
186
+ };
187
+ const foldl = (xs, f, acc) => {
188
+ each$1(xs, (x, i) => {
189
+ acc = f(acc, x, i);
190
+ });
191
+ return acc;
192
+ };
193
+
194
+ const keys = Object.keys;
195
+ const each = (obj, f) => {
196
+ const props = keys(obj);
197
+ for (let k = 0, len = props.length; k < len; k++) {
198
+ const i = props[k];
199
+ const x = obj[i];
200
+ f(x, i);
201
+ }
202
+ };
203
+
204
+ typeof window !== 'undefined' ? window : Function('return this;')();
205
+
206
+ const COMMENT = 8;
207
+ const DOCUMENT = 9;
208
+ const DOCUMENT_FRAGMENT = 11;
209
+ const ELEMENT = 1;
210
+ const TEXT = 3;
211
+
212
+ const name = element => {
213
+ const r = element.dom.nodeName;
214
+ return r.toLowerCase();
215
+ };
216
+ const type = element => element.dom.nodeType;
217
+ const isType = t => element => type(element) === t;
218
+ const isComment = element => type(element) === COMMENT || name(element) === '#comment';
219
+ const isElement = isType(ELEMENT);
220
+ const isText = isType(TEXT);
221
+ const isDocument = isType(DOCUMENT);
222
+ const isDocumentFragment = isType(DOCUMENT_FRAGMENT);
223
+
224
+ const rawSet = (dom, key, value) => {
225
+ if (isString(value) || isBoolean(value) || isNumber(value)) {
226
+ dom.setAttribute(key, value + '');
227
+ } else {
228
+ console.error('Invalid call to Attribute.set. Key ', key, ':: Value ', value, ':: Element ', dom);
229
+ throw new Error('Attribute value was not simple');
230
+ }
231
+ };
232
+ const set$2 = (element, key, value) => {
233
+ rawSet(element.dom, key, value);
234
+ };
235
+ const setAll = (element, attrs) => {
236
+ const dom = element.dom;
237
+ each(attrs, (v, k) => {
238
+ rawSet(dom, k, v);
239
+ });
240
+ };
241
+ const get$2 = (element, key) => {
242
+ const v = element.dom.getAttribute(key);
243
+ return v === null ? undefined : v;
244
+ };
245
+ const getOpt = (element, key) => Optional.from(get$2(element, key));
246
+ const remove$2 = (element, key) => {
247
+ element.dom.removeAttribute(key);
248
+ };
249
+ const clone = element => foldl(element.dom.attributes, (acc, attr) => {
250
+ acc[attr.name] = attr.value;
251
+ return acc;
252
+ }, {});
253
+
254
+ const fromHtml = (html, scope) => {
255
+ const doc = scope || document;
256
+ const div = doc.createElement('div');
257
+ div.innerHTML = html;
258
+ if (!div.hasChildNodes() || div.childNodes.length > 1) {
259
+ const message = 'HTML does not have a single root node';
260
+ console.error(message, html);
261
+ throw new Error(message);
262
+ }
263
+ return fromDom(div.childNodes[0]);
264
+ };
265
+ const fromTag = (tag, scope) => {
266
+ const doc = scope || document;
267
+ const node = doc.createElement(tag);
268
+ return fromDom(node);
269
+ };
270
+ const fromText = (text, scope) => {
271
+ const doc = scope || document;
272
+ const node = doc.createTextNode(text);
273
+ return fromDom(node);
274
+ };
275
+ const fromDom = node => {
276
+ if (node === null || node === undefined) {
277
+ throw new Error('Node cannot be null or undefined');
278
+ }
279
+ return { dom: node };
280
+ };
281
+ const fromPoint = (docElm, x, y) => Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom);
282
+ const SugarElement = {
283
+ fromHtml,
284
+ fromTag,
285
+ fromText,
286
+ fromDom,
287
+ fromPoint
288
+ };
289
+
290
+ const is$2 = (element, selector) => {
291
+ const dom = element.dom;
292
+ if (dom.nodeType !== ELEMENT) {
293
+ return false;
294
+ } else {
295
+ const elem = dom;
296
+ if (elem.matches !== undefined) {
297
+ return elem.matches(selector);
298
+ } else if (elem.msMatchesSelector !== undefined) {
299
+ return elem.msMatchesSelector(selector);
300
+ } else if (elem.webkitMatchesSelector !== undefined) {
301
+ return elem.webkitMatchesSelector(selector);
302
+ } else if (elem.mozMatchesSelector !== undefined) {
303
+ return elem.mozMatchesSelector(selector);
304
+ } else {
305
+ throw new Error('Browser lacks native selectors');
306
+ }
307
+ }
308
+ };
309
+ const bypassSelector = dom => dom.nodeType !== ELEMENT && dom.nodeType !== DOCUMENT && dom.nodeType !== DOCUMENT_FRAGMENT || dom.childElementCount === 0;
310
+ const all = (selector, scope) => {
311
+ const base = scope === undefined ? document : scope.dom;
312
+ return bypassSelector(base) ? [] : map(base.querySelectorAll(selector), SugarElement.fromDom);
313
+ };
314
+ const one = (selector, scope) => {
315
+ const base = scope === undefined ? document : scope.dom;
316
+ return bypassSelector(base) ? Optional.none() : Optional.from(base.querySelector(selector)).map(SugarElement.fromDom);
317
+ };
318
+
319
+ const eq = (e1, e2) => e1.dom === e2.dom;
320
+ const is$1 = is$2;
321
+
322
+ const is = (lhs, rhs, comparator = tripleEquals) => lhs.exists(left => comparator(left, rhs));
323
+
324
+ const blank = r => s => s.replace(r, '');
325
+ const trim = blank(/^\s+|\s+$/g);
326
+
327
+ const isSupported = dom => dom.style !== undefined && isFunction(dom.style.getPropertyValue);
328
+
329
+ const owner = element => SugarElement.fromDom(element.dom.ownerDocument);
330
+ const documentOrOwner = dos => isDocument(dos) ? dos : owner(dos);
331
+ const parent = element => Optional.from(element.dom.parentNode).map(SugarElement.fromDom);
332
+ const parents = (element, isRoot) => {
333
+ const stop = isFunction(isRoot) ? isRoot : never;
334
+ let dom = element.dom;
335
+ const ret = [];
336
+ while (dom.parentNode !== null && dom.parentNode !== undefined) {
337
+ const rawParent = dom.parentNode;
338
+ const p = SugarElement.fromDom(rawParent);
339
+ ret.push(p);
340
+ if (stop(p) === true) {
341
+ break;
342
+ } else {
343
+ dom = rawParent;
344
+ }
345
+ }
346
+ return ret;
347
+ };
348
+ const prevSibling = element => Optional.from(element.dom.previousSibling).map(SugarElement.fromDom);
349
+ const nextSibling = element => Optional.from(element.dom.nextSibling).map(SugarElement.fromDom);
350
+ const children = element => map(element.dom.childNodes, SugarElement.fromDom);
351
+ const child = (element, index) => {
352
+ const cs = element.dom.childNodes;
353
+ return Optional.from(cs[index]).map(SugarElement.fromDom);
354
+ };
355
+ const firstChild = element => child(element, 0);
356
+
357
+ const isShadowRoot = dos => isDocumentFragment(dos) && isNonNullable(dos.dom.host);
358
+ const getRootNode = e => SugarElement.fromDom(e.dom.getRootNode());
359
+ const getShadowRoot = e => {
360
+ const r = getRootNode(e);
361
+ return isShadowRoot(r) ? Optional.some(r) : Optional.none();
362
+ };
363
+ const getShadowHost = e => SugarElement.fromDom(e.dom.host);
364
+
365
+ const inBody = element => {
366
+ const dom = isText(element) ? element.dom.parentNode : element.dom;
367
+ if (dom === undefined || dom === null || dom.ownerDocument === null) {
368
+ return false;
369
+ }
370
+ const doc = dom.ownerDocument;
371
+ return getShadowRoot(SugarElement.fromDom(dom)).fold(() => doc.body.contains(dom), compose1(inBody, getShadowHost));
372
+ };
373
+
374
+ const internalSet = (dom, property, value) => {
375
+ if (!isString(value)) {
376
+ console.error('Invalid call to CSS.set. Property ', property, ':: Value ', value, ':: Element ', dom);
377
+ throw new Error('CSS value must be a string: ' + value);
378
+ }
379
+ if (isSupported(dom)) {
380
+ dom.style.setProperty(property, value);
381
+ }
382
+ };
383
+ const internalRemove = (dom, property) => {
384
+ if (isSupported(dom)) {
385
+ dom.style.removeProperty(property);
386
+ }
387
+ };
388
+ const set$1 = (element, property, value) => {
389
+ const dom = element.dom;
390
+ internalSet(dom, property, value);
391
+ };
392
+ const get$1 = (element, property) => {
393
+ const dom = element.dom;
394
+ const styles = window.getComputedStyle(dom);
395
+ const r = styles.getPropertyValue(property);
396
+ return r === '' && !inBody(element) ? getUnsafeProperty(dom, property) : r;
397
+ };
398
+ const getUnsafeProperty = (dom, property) => isSupported(dom) ? dom.style.getPropertyValue(property) : '';
399
+ const getRaw = (element, property) => {
400
+ const dom = element.dom;
401
+ const raw = getUnsafeProperty(dom, property);
402
+ return Optional.from(raw).filter(r => r.length > 0);
403
+ };
404
+ const remove$1 = (element, property) => {
405
+ const dom = element.dom;
406
+ internalRemove(dom, property);
407
+ if (is(getOpt(element, 'style').map(trim), '')) {
408
+ remove$2(element, 'style');
409
+ }
410
+ };
411
+
412
+ const before = (marker, element) => {
413
+ const parent$1 = parent(marker);
414
+ parent$1.each(v => {
415
+ v.dom.insertBefore(element.dom, marker.dom);
416
+ });
417
+ };
418
+ const after$1 = (marker, element) => {
419
+ const sibling = nextSibling(marker);
420
+ sibling.fold(() => {
421
+ const parent$1 = parent(marker);
422
+ parent$1.each(v => {
423
+ append$1(v, element);
424
+ });
425
+ }, v => {
426
+ before(v, element);
427
+ });
428
+ };
429
+ const prepend = (parent, element) => {
430
+ const firstChild$1 = firstChild(parent);
431
+ firstChild$1.fold(() => {
432
+ append$1(parent, element);
433
+ }, v => {
434
+ parent.dom.insertBefore(element.dom, v.dom);
435
+ });
436
+ };
437
+ const append$1 = (parent, element) => {
438
+ parent.dom.appendChild(element.dom);
439
+ };
440
+ const wrap = (element, wrapper) => {
441
+ before(element, wrapper);
442
+ append$1(wrapper, element);
443
+ };
444
+
445
+ const after = (marker, elements) => {
446
+ each$1(elements, (x, i) => {
447
+ const e = i === 0 ? marker : elements[i - 1];
448
+ after$1(e, x);
449
+ });
450
+ };
451
+ const append = (parent, elements) => {
452
+ each$1(elements, x => {
453
+ append$1(parent, x);
454
+ });
455
+ };
456
+
457
+ const descendants$1 = (scope, predicate) => {
458
+ let result = [];
459
+ each$1(children(scope), x => {
460
+ if (predicate(x)) {
461
+ result = result.concat([x]);
462
+ }
463
+ result = result.concat(descendants$1(x, predicate));
464
+ });
465
+ return result;
466
+ };
467
+
468
+ var ClosestOrAncestor = (is, ancestor, scope, a, isRoot) => {
469
+ if (is(scope, a)) {
470
+ return Optional.some(scope);
471
+ } else if (isFunction(isRoot) && isRoot(scope)) {
472
+ return Optional.none();
473
+ } else {
474
+ return ancestor(scope, a, isRoot);
475
+ }
476
+ };
477
+
478
+ const ancestor$1 = (scope, predicate, isRoot) => {
479
+ let element = scope.dom;
480
+ const stop = isFunction(isRoot) ? isRoot : never;
481
+ while (element.parentNode) {
482
+ element = element.parentNode;
483
+ const el = SugarElement.fromDom(element);
484
+ if (predicate(el)) {
485
+ return Optional.some(el);
486
+ } else if (stop(el)) {
487
+ break;
488
+ }
489
+ }
490
+ return Optional.none();
491
+ };
492
+
493
+ const remove = element => {
494
+ const dom = element.dom;
495
+ if (dom.parentNode !== null) {
496
+ dom.parentNode.removeChild(dom);
497
+ }
498
+ };
499
+ const unwrap = wrapper => {
500
+ const children$1 = children(wrapper);
501
+ if (children$1.length > 0) {
502
+ after(wrapper, children$1);
503
+ }
504
+ remove(wrapper);
505
+ };
506
+
507
+ const descendants = (scope, selector) => all(selector, scope);
508
+
509
+ const ancestor = (scope, selector, isRoot) => ancestor$1(scope, e => is$2(e, selector), isRoot);
510
+ const descendant = (scope, selector) => one(selector, scope);
511
+ const closest = (scope, selector, isRoot) => {
512
+ const is = (element, selector) => is$2(element, selector);
513
+ return ClosestOrAncestor(is, ancestor, scope, selector, isRoot);
514
+ };
515
+
516
+ const NodeValue = (is, name) => {
517
+ const get = element => {
518
+ if (!is(element)) {
519
+ throw new Error('Can only get ' + name + ' value of a ' + name + ' node');
520
+ }
521
+ return getOption(element).getOr('');
522
+ };
523
+ const getOption = element => is(element) ? Optional.from(element.dom.nodeValue) : Optional.none();
524
+ const set = (element, value) => {
525
+ if (!is(element)) {
526
+ throw new Error('Can only set raw ' + name + ' value of a ' + name + ' node');
527
+ }
528
+ element.dom.nodeValue = value;
529
+ };
530
+ return {
531
+ get,
532
+ getOption,
533
+ set
534
+ };
535
+ };
536
+
537
+ const api = NodeValue(isText, 'text');
538
+ const get = element => api.get(element);
539
+ const set = (element, value) => api.set(element, value);
540
+
541
+ var TagBoundaries = [
542
+ 'body',
543
+ 'p',
544
+ 'div',
545
+ 'article',
546
+ 'aside',
547
+ 'figcaption',
548
+ 'figure',
549
+ 'footer',
550
+ 'header',
551
+ 'nav',
552
+ 'section',
553
+ 'ol',
554
+ 'ul',
555
+ 'li',
556
+ 'table',
557
+ 'thead',
558
+ 'tbody',
559
+ 'tfoot',
560
+ 'caption',
561
+ 'tr',
562
+ 'td',
563
+ 'th',
564
+ 'h1',
565
+ 'h2',
566
+ 'h3',
567
+ 'h4',
568
+ 'h5',
569
+ 'h6',
570
+ 'blockquote',
571
+ 'pre',
572
+ 'address'
573
+ ];
574
+
575
+ var DomUniverse = () => {
576
+ const clone$1 = element => {
577
+ return SugarElement.fromDom(element.dom.cloneNode(false));
578
+ };
579
+ const document = element => documentOrOwner(element).dom;
580
+ const isBoundary = element => {
581
+ if (!isElement(element)) {
582
+ return false;
583
+ }
584
+ if (name(element) === 'body') {
585
+ return true;
586
+ }
587
+ return contains(TagBoundaries, name(element));
588
+ };
589
+ const isEmptyTag = element => {
590
+ if (!isElement(element)) {
591
+ return false;
592
+ }
593
+ return contains([
594
+ 'br',
595
+ 'img',
596
+ 'hr',
597
+ 'input'
598
+ ], name(element));
599
+ };
600
+ const isNonEditable = element => isElement(element) && get$2(element, 'contenteditable') === 'false';
601
+ const comparePosition = (element, other) => {
602
+ return element.dom.compareDocumentPosition(other.dom);
603
+ };
604
+ const copyAttributesTo = (source, destination) => {
605
+ const as = clone(source);
606
+ setAll(destination, as);
607
+ };
608
+ const isSpecial = element => {
609
+ const tag = name(element);
610
+ return contains([
611
+ 'script',
612
+ 'noscript',
613
+ 'iframe',
614
+ 'noframes',
615
+ 'noembed',
616
+ 'title',
617
+ 'style',
618
+ 'textarea',
619
+ 'xmp'
620
+ ], tag);
621
+ };
622
+ const getLanguage = element => isElement(element) ? getOpt(element, 'lang') : Optional.none();
623
+ return {
624
+ up: constant({
625
+ selector: ancestor,
626
+ closest: closest,
627
+ predicate: ancestor$1,
628
+ all: parents
629
+ }),
630
+ down: constant({
631
+ selector: descendants,
632
+ predicate: descendants$1
633
+ }),
634
+ styles: constant({
635
+ get: get$1,
636
+ getRaw: getRaw,
637
+ set: set$1,
638
+ remove: remove$1
639
+ }),
640
+ attrs: constant({
641
+ get: get$2,
642
+ set: set$2,
643
+ remove: remove$2,
644
+ copyTo: copyAttributesTo
645
+ }),
646
+ insert: constant({
647
+ before: before,
648
+ after: after$1,
649
+ afterAll: after,
650
+ append: append$1,
651
+ appendAll: append,
652
+ prepend: prepend,
653
+ wrap: wrap
654
+ }),
655
+ remove: constant({
656
+ unwrap: unwrap,
657
+ remove: remove
658
+ }),
659
+ create: constant({
660
+ nu: SugarElement.fromTag,
661
+ clone: clone$1,
662
+ text: SugarElement.fromText
663
+ }),
664
+ query: constant({
665
+ comparePosition,
666
+ prevSibling: prevSibling,
667
+ nextSibling: nextSibling
668
+ }),
669
+ property: constant({
670
+ children: children,
671
+ name: name,
672
+ parent: parent,
673
+ document,
674
+ isText: isText,
675
+ isComment: isComment,
676
+ isElement: isElement,
677
+ isSpecial,
678
+ getLanguage,
679
+ getText: get,
680
+ setText: set,
681
+ isBoundary,
682
+ isEmptyTag,
683
+ isNonEditable
684
+ }),
685
+ eq: eq,
686
+ is: is$1
687
+ };
688
+ };
689
+
690
+ const point = (element, offset) => ({
691
+ element,
692
+ offset
693
+ });
694
+
695
+ const scan = (universe, element, direction) => {
696
+ if (universe.property().isText(element) && universe.property().getText(element).trim().length === 0 || universe.property().isComment(element)) {
697
+ return direction(element).bind(elem => {
698
+ return scan(universe, elem, direction).orThunk(() => {
699
+ return Optional.some(elem);
700
+ });
701
+ });
702
+ } else {
703
+ return Optional.none();
704
+ }
705
+ };
706
+ const toEnd = (universe, element) => {
707
+ if (universe.property().isText(element)) {
708
+ return universe.property().getText(element).length;
709
+ }
710
+ const children = universe.property().children(element);
711
+ return children.length;
712
+ };
713
+ const freefallRtl$2 = (universe, element) => {
714
+ const candidate = scan(universe, element, universe.query().prevSibling).getOr(element);
715
+ if (universe.property().isText(candidate)) {
716
+ return point(candidate, toEnd(universe, candidate));
717
+ }
718
+ const children = universe.property().children(candidate);
719
+ return children.length > 0 ? freefallRtl$2(universe, children[children.length - 1]) : point(candidate, toEnd(universe, candidate));
720
+ };
721
+
722
+ const freefallRtl$1 = freefallRtl$2;
723
+
724
+ const universe = DomUniverse();
725
+ const freefallRtl = element => {
726
+ return freefallRtl$1(universe, element);
727
+ };
728
+
729
+ const fireToggleAccordionEvent = (editor, element, state) => editor.dispatch('ToggledAccordion', {
730
+ element,
731
+ state
732
+ });
733
+ const fireToggleAllAccordionsEvent = (editor, elements, state) => editor.dispatch('ToggledAllAccordions', {
734
+ elements,
735
+ state
736
+ });
737
+
738
+ const accordionTag = 'details';
739
+ const accordionDetailsClass = 'mce-accordion';
740
+ const accordionSummaryClass = 'mce-accordion-summary';
741
+ const accordionBodyWrapperClass = 'mce-accordion-body';
742
+ const accordionBodyWrapperTag = 'div';
743
+
744
+ var global$3 = tinymce.util.Tools.resolve('tinymce.util.Tools');
745
+
746
+ const isSummary = node => (node === null || node === void 0 ? void 0 : node.nodeName) === 'SUMMARY';
747
+ const isDetails = node => (node === null || node === void 0 ? void 0 : node.nodeName) === 'DETAILS';
748
+ const isOpen = details => details.hasAttribute('open');
749
+ const isInSummary = editor => {
750
+ const node = editor.selection.getNode();
751
+ return isSummary(node) || Boolean(editor.dom.getParent(node, isSummary));
752
+ };
753
+ const isAtDetailsStart = editor => {
754
+ const rng = editor.selection.getRng();
755
+ return isDetails(rng.startContainer) && rng.collapsed && rng.startOffset === 0;
756
+ };
757
+ const isInsertAllowed = editor => !isInSummary(editor) && editor.dom.isEditable(editor.selection.getNode()) && !editor.mode.isReadOnly();
758
+ const getSelectedDetails = editor => Optional.from(editor.dom.getParent(editor.selection.getNode(), isDetails));
759
+ const isDetailsSelected = editor => getSelectedDetails(editor).isSome();
760
+ const insertBogus = element => {
761
+ element.innerHTML = '<br data-mce-bogus="1" />';
762
+ return element;
763
+ };
764
+ const createParagraph = editor => insertBogus(editor.dom.create('p'));
765
+ const createSummary = editor => insertBogus(editor.dom.create('summary'));
766
+ const insertAndSelectParagraphAfter = (editor, target) => {
767
+ const paragraph = createParagraph(editor);
768
+ target.insertAdjacentElement('afterend', paragraph);
769
+ editor.selection.setCursorLocation(paragraph, 0);
770
+ };
771
+ const normalizeContent = (editor, accordion) => {
772
+ if (isSummary(accordion === null || accordion === void 0 ? void 0 : accordion.lastChild)) {
773
+ const paragraph = createParagraph(editor);
774
+ accordion.appendChild(paragraph);
775
+ editor.selection.setCursorLocation(paragraph, 0);
776
+ }
777
+ };
778
+ const normalizeSummary = (editor, accordion) => {
779
+ if (!isSummary(accordion === null || accordion === void 0 ? void 0 : accordion.firstChild)) {
780
+ const summary = createSummary(editor);
781
+ accordion.prepend(summary);
782
+ editor.selection.setCursorLocation(summary, 0);
783
+ }
784
+ };
785
+ const normalizeAccordion = editor => accordion => {
786
+ normalizeContent(editor, accordion);
787
+ normalizeSummary(editor, accordion);
788
+ };
789
+ const normalizeDetails = editor => {
790
+ global$3.each(global$3.grep(editor.dom.select('details', editor.getBody())), normalizeAccordion(editor));
791
+ };
792
+
793
+ const insertAccordion = editor => {
794
+ if (!isInsertAllowed(editor)) {
795
+ return;
796
+ }
797
+ const editorBody = SugarElement.fromDom(editor.getBody());
798
+ const uid = generate('acc');
799
+ const summaryText = editor.dom.encode(editor.selection.getRng().toString() || editor.translate('Accordion summary...'));
800
+ const bodyText = editor.dom.encode(editor.translate('Accordion body...'));
801
+ const accordionSummaryHtml = `<summary class="${ accordionSummaryClass }">${ summaryText }</summary>`;
802
+ const accordionBodyHtml = `<${ accordionBodyWrapperTag } class="${ accordionBodyWrapperClass }"><p>${ bodyText }</p></${ accordionBodyWrapperTag }>`;
803
+ editor.undoManager.transact(() => {
804
+ editor.insertContent([
805
+ `<details data-mce-id="${ uid }" class="${ accordionDetailsClass }" open="open">`,
806
+ accordionSummaryHtml,
807
+ accordionBodyHtml,
808
+ `</details>`
809
+ ].join(''));
810
+ descendant(editorBody, `[data-mce-id="${ uid }"]`).each(detailsElm => {
811
+ remove$2(detailsElm, 'data-mce-id');
812
+ descendant(detailsElm, `summary`).each(summaryElm => {
813
+ const rng = editor.dom.createRng();
814
+ const des = freefallRtl(summaryElm);
815
+ rng.setStart(des.element.dom, des.offset);
816
+ rng.setEnd(des.element.dom, des.offset);
817
+ editor.selection.setRng(rng);
818
+ });
819
+ });
820
+ });
821
+ };
822
+ const toggleDetailsElement = (details, state) => {
823
+ const shouldOpen = state !== null && state !== void 0 ? state : !isOpen(details);
824
+ if (shouldOpen) {
825
+ details.setAttribute('open', 'open');
826
+ } else {
827
+ details.removeAttribute('open');
828
+ }
829
+ return shouldOpen;
830
+ };
831
+ const toggleAccordion = (editor, state) => {
832
+ getSelectedDetails(editor).each(details => {
833
+ fireToggleAccordionEvent(editor, details, toggleDetailsElement(details, state));
834
+ });
835
+ };
836
+ const removeAccordion = editor => {
837
+ if (!editor.mode.isReadOnly()) {
838
+ getSelectedDetails(editor).each(details => {
839
+ const {nextSibling} = details;
840
+ if (nextSibling) {
841
+ editor.selection.select(nextSibling, true);
842
+ editor.selection.collapse(true);
843
+ } else {
844
+ insertAndSelectParagraphAfter(editor, details);
845
+ }
846
+ details.remove();
847
+ });
848
+ }
849
+ };
850
+ const toggleAllAccordions = (editor, state) => {
851
+ const accordions = Array.from(editor.getBody().querySelectorAll('details'));
852
+ if (accordions.length === 0) {
853
+ return;
854
+ }
855
+ each$1(accordions, accordion => toggleDetailsElement(accordion, state !== null && state !== void 0 ? state : !isOpen(accordion)));
856
+ fireToggleAllAccordionsEvent(editor, accordions, state);
857
+ };
858
+
859
+ const register$1 = editor => {
860
+ editor.addCommand('InsertAccordion', () => insertAccordion(editor));
861
+ editor.addCommand('ToggleAccordion', (_ui, value) => toggleAccordion(editor, value));
862
+ editor.addCommand('ToggleAllAccordions', (_ui, value) => toggleAllAccordions(editor, value));
863
+ editor.addCommand('RemoveAccordion', () => removeAccordion(editor));
864
+ };
865
+
866
+ var global$2 = tinymce.util.Tools.resolve('tinymce.html.Node');
867
+
868
+ const getClassList = node => {
869
+ var _a, _b;
870
+ return (_b = (_a = node.attr('class')) === null || _a === void 0 ? void 0 : _a.split(' ')) !== null && _b !== void 0 ? _b : [];
871
+ };
872
+ const addClasses = (node, classes) => {
873
+ const classListSet = new Set([
874
+ ...getClassList(node),
875
+ ...classes
876
+ ]);
877
+ const newClassList = Array.from(classListSet);
878
+ if (newClassList.length > 0) {
879
+ node.attr('class', newClassList.join(' '));
880
+ }
881
+ };
882
+ const removeClasses = (node, classes) => {
883
+ const newClassList = filter(getClassList(node), clazz => !classes.has(clazz));
884
+ node.attr('class', newClassList.length > 0 ? newClassList.join(' ') : null);
885
+ };
886
+ const isAccordionDetailsNode = node => node.name === accordionTag && contains(getClassList(node), accordionDetailsClass);
887
+ const isAccordionBodyWrapperNode = node => node.name === accordionBodyWrapperTag && contains(getClassList(node), accordionBodyWrapperClass);
888
+ const getAccordionChildren = accordionNode => {
889
+ const children = accordionNode.children();
890
+ let summaryNode;
891
+ let wrapperNode;
892
+ const otherNodes = [];
893
+ for (let i = 0; i < children.length; i++) {
894
+ const child = children[i];
895
+ if (child.name === 'summary' && isNullable(summaryNode)) {
896
+ summaryNode = child;
897
+ } else if (isAccordionBodyWrapperNode(child) && isNullable(wrapperNode)) {
898
+ wrapperNode = child;
899
+ } else {
900
+ otherNodes.push(child);
901
+ }
902
+ }
903
+ return {
904
+ summaryNode,
905
+ wrapperNode,
906
+ otherNodes
907
+ };
908
+ };
909
+ const padInputNode = node => {
910
+ const br = new global$2('br', 1);
911
+ br.attr('data-mce-bogus', '1');
912
+ node.empty();
913
+ node.append(br);
914
+ };
915
+ const setup$2 = editor => {
916
+ editor.on('PreInit', () => {
917
+ const {serializer, parser} = editor;
918
+ parser.addNodeFilter(accordionTag, nodes => {
919
+ for (let i = 0; i < nodes.length; i++) {
920
+ const node = nodes[i];
921
+ if (isAccordionDetailsNode(node)) {
922
+ const accordionNode = node;
923
+ const {summaryNode, wrapperNode, otherNodes} = getAccordionChildren(accordionNode);
924
+ const hasSummaryNode = isNonNullable(summaryNode);
925
+ const newSummaryNode = hasSummaryNode ? summaryNode : new global$2('summary', 1);
926
+ if (isNullable(newSummaryNode.firstChild)) {
927
+ padInputNode(newSummaryNode);
928
+ }
929
+ addClasses(newSummaryNode, [accordionSummaryClass]);
930
+ if (!hasSummaryNode) {
931
+ if (isNonNullable(accordionNode.firstChild)) {
932
+ accordionNode.insert(newSummaryNode, accordionNode.firstChild, true);
933
+ } else {
934
+ accordionNode.append(newSummaryNode);
935
+ }
936
+ }
937
+ const hasWrapperNode = isNonNullable(wrapperNode);
938
+ const newWrapperNode = hasWrapperNode ? wrapperNode : new global$2(accordionBodyWrapperTag, 1);
939
+ newWrapperNode.attr('data-mce-bogus', '1');
940
+ addClasses(newWrapperNode, [accordionBodyWrapperClass]);
941
+ if (otherNodes.length > 0) {
942
+ for (let j = 0; j < otherNodes.length; j++) {
943
+ const otherNode = otherNodes[j];
944
+ newWrapperNode.append(otherNode);
945
+ }
946
+ }
947
+ if (isNullable(newWrapperNode.firstChild)) {
948
+ const pNode = new global$2('p', 1);
949
+ padInputNode(pNode);
950
+ newWrapperNode.append(pNode);
951
+ }
952
+ if (!hasWrapperNode) {
953
+ accordionNode.append(newWrapperNode);
954
+ }
955
+ }
956
+ }
957
+ });
958
+ serializer.addNodeFilter(accordionTag, nodes => {
959
+ const summaryClassRemoveSet = new Set([accordionSummaryClass]);
960
+ for (let i = 0; i < nodes.length; i++) {
961
+ const node = nodes[i];
962
+ if (isAccordionDetailsNode(node)) {
963
+ const accordionNode = node;
964
+ const {summaryNode, wrapperNode} = getAccordionChildren(accordionNode);
965
+ if (isNonNullable(summaryNode)) {
966
+ removeClasses(summaryNode, summaryClassRemoveSet);
967
+ }
968
+ if (isNonNullable(wrapperNode)) {
969
+ wrapperNode.unwrap();
970
+ }
971
+ }
972
+ }
973
+ });
974
+ });
975
+ };
976
+
977
+ var global$1 = tinymce.util.Tools.resolve('tinymce.util.VK');
978
+
979
+ const setupEnterKeyInSummary = editor => {
980
+ editor.on('keydown', event => {
981
+ if (!event.shiftKey && event.keyCode === global$1.ENTER && isInSummary(editor) || isAtDetailsStart(editor)) {
982
+ event.preventDefault();
983
+ editor.execCommand('ToggleAccordion');
984
+ }
985
+ });
986
+ };
987
+ const setup$1 = editor => {
988
+ setupEnterKeyInSummary(editor);
989
+ editor.on('ExecCommand', e => {
990
+ const cmd = e.command.toLowerCase();
991
+ if ((cmd === 'delete' || cmd === 'forwarddelete') && isDetailsSelected(editor)) {
992
+ normalizeDetails(editor);
993
+ }
994
+ });
995
+ };
996
+
997
+ var global = tinymce.util.Tools.resolve('tinymce.Env');
998
+
999
+ const setup = editor => {
1000
+ if (global.browser.isSafari()) {
1001
+ editor.on('click', e => {
1002
+ if (isSummary(e.target)) {
1003
+ const summary = e.target;
1004
+ const rng = editor.selection.getRng();
1005
+ if (rng.collapsed && rng.startContainer === summary.parentNode && rng.startOffset === 0) {
1006
+ editor.selection.setCursorLocation(summary, 0);
1007
+ }
1008
+ }
1009
+ });
1010
+ }
1011
+ };
1012
+
1013
+ const onSetup = editor => buttonApi => {
1014
+ const onNodeChange = () => buttonApi.setEnabled(isInsertAllowed(editor));
1015
+ editor.on('NodeChange', onNodeChange);
1016
+ return () => editor.off('NodeChange', onNodeChange);
1017
+ };
1018
+ const register = editor => {
1019
+ const onAction = () => editor.execCommand('InsertAccordion');
1020
+ editor.ui.registry.addButton('accordion', {
1021
+ icon: 'accordion',
1022
+ tooltip: 'Insert accordion',
1023
+ onSetup: onSetup(editor),
1024
+ onAction
1025
+ });
1026
+ editor.ui.registry.addMenuItem('accordion', {
1027
+ icon: 'accordion',
1028
+ text: 'Accordion',
1029
+ onSetup: onSetup(editor),
1030
+ onAction
1031
+ });
1032
+ editor.ui.registry.addToggleButton('accordiontoggle', {
1033
+ icon: 'accordion-toggle',
1034
+ tooltip: 'Toggle accordion',
1035
+ onAction: () => editor.execCommand('ToggleAccordion')
1036
+ });
1037
+ editor.ui.registry.addToggleButton('accordionremove', {
1038
+ icon: 'remove',
1039
+ tooltip: 'Delete accordion',
1040
+ onAction: () => editor.execCommand('RemoveAccordion')
1041
+ });
1042
+ editor.ui.registry.addContextToolbar('accordion', {
1043
+ predicate: accordion => editor.dom.is(accordion, 'details') && editor.getBody().contains(accordion) && editor.dom.isEditable(accordion.parentNode),
1044
+ items: 'accordiontoggle accordionremove',
1045
+ scope: 'node',
1046
+ position: 'node'
1047
+ });
1048
+ };
1049
+
1050
+ var Plugin = () => {
1051
+ global$4.add('accordion', editor => {
1052
+ register(editor);
1053
+ register$1(editor);
1054
+ setup$1(editor);
1055
+ setup$2(editor);
1056
+ setup(editor);
1057
+ });
1058
+ };
1059
+
1060
+ Plugin();
1061
+
1062
+ })();