@ckeditor/ckeditor5-collaboration-core 0.0.0-internal-20241017.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +23 -0
  3. package/README.md +35 -0
  4. package/dist/augmentation.d.ts +42 -0
  5. package/dist/collaborationhistory.d.ts +25 -0
  6. package/dist/collaborationoperation.d.ts +32 -0
  7. package/dist/config.d.ts +106 -0
  8. package/dist/index-content.css +470 -0
  9. package/dist/index-editor.css +426 -0
  10. package/dist/index.css +1080 -0
  11. package/dist/index.d.ts +26 -0
  12. package/dist/index.js +23 -0
  13. package/dist/legacyerrors.d.ts +33 -0
  14. package/dist/permissions.d.ts +58 -0
  15. package/dist/suggestions/view/ariadescriptionview.d.ts +27 -0
  16. package/dist/suggestions/view/latefocusbuttonview.d.ts +41 -0
  17. package/dist/suggestionstyles.d.ts +18 -0
  18. package/dist/translations/af.d.ts +8 -0
  19. package/dist/translations/af.js +23 -0
  20. package/dist/translations/af.umd.js +23 -0
  21. package/dist/translations/ar.d.ts +8 -0
  22. package/dist/translations/ar.js +23 -0
  23. package/dist/translations/ar.umd.js +23 -0
  24. package/dist/translations/az.d.ts +8 -0
  25. package/dist/translations/az.js +23 -0
  26. package/dist/translations/az.umd.js +23 -0
  27. package/dist/translations/bg.d.ts +8 -0
  28. package/dist/translations/bg.js +23 -0
  29. package/dist/translations/bg.umd.js +23 -0
  30. package/dist/translations/bn.d.ts +8 -0
  31. package/dist/translations/bn.js +23 -0
  32. package/dist/translations/bn.umd.js +23 -0
  33. package/dist/translations/bs.d.ts +8 -0
  34. package/dist/translations/bs.js +23 -0
  35. package/dist/translations/bs.umd.js +23 -0
  36. package/dist/translations/ca.d.ts +8 -0
  37. package/dist/translations/ca.js +23 -0
  38. package/dist/translations/ca.umd.js +23 -0
  39. package/dist/translations/cs.d.ts +8 -0
  40. package/dist/translations/cs.js +23 -0
  41. package/dist/translations/cs.umd.js +23 -0
  42. package/dist/translations/da.d.ts +8 -0
  43. package/dist/translations/da.js +23 -0
  44. package/dist/translations/da.umd.js +23 -0
  45. package/dist/translations/de-ch.d.ts +8 -0
  46. package/dist/translations/de-ch.js +23 -0
  47. package/dist/translations/de-ch.umd.js +23 -0
  48. package/dist/translations/de.d.ts +8 -0
  49. package/dist/translations/de.js +23 -0
  50. package/dist/translations/de.umd.js +23 -0
  51. package/dist/translations/el.d.ts +8 -0
  52. package/dist/translations/el.js +23 -0
  53. package/dist/translations/el.umd.js +23 -0
  54. package/dist/translations/en-au.d.ts +8 -0
  55. package/dist/translations/en-au.js +23 -0
  56. package/dist/translations/en-au.umd.js +23 -0
  57. package/dist/translations/en.d.ts +8 -0
  58. package/dist/translations/en.js +23 -0
  59. package/dist/translations/en.umd.js +23 -0
  60. package/dist/translations/es-co.d.ts +8 -0
  61. package/dist/translations/es-co.js +23 -0
  62. package/dist/translations/es-co.umd.js +23 -0
  63. package/dist/translations/es.d.ts +8 -0
  64. package/dist/translations/es.js +23 -0
  65. package/dist/translations/es.umd.js +23 -0
  66. package/dist/translations/et.d.ts +8 -0
  67. package/dist/translations/et.js +23 -0
  68. package/dist/translations/et.umd.js +23 -0
  69. package/dist/translations/fa.d.ts +8 -0
  70. package/dist/translations/fa.js +23 -0
  71. package/dist/translations/fa.umd.js +23 -0
  72. package/dist/translations/fi.d.ts +8 -0
  73. package/dist/translations/fi.js +23 -0
  74. package/dist/translations/fi.umd.js +23 -0
  75. package/dist/translations/fr.d.ts +8 -0
  76. package/dist/translations/fr.js +23 -0
  77. package/dist/translations/fr.umd.js +23 -0
  78. package/dist/translations/gl.d.ts +8 -0
  79. package/dist/translations/gl.js +23 -0
  80. package/dist/translations/gl.umd.js +23 -0
  81. package/dist/translations/he.d.ts +8 -0
  82. package/dist/translations/he.js +23 -0
  83. package/dist/translations/he.umd.js +23 -0
  84. package/dist/translations/hi.d.ts +8 -0
  85. package/dist/translations/hi.js +23 -0
  86. package/dist/translations/hi.umd.js +23 -0
  87. package/dist/translations/hr.d.ts +8 -0
  88. package/dist/translations/hr.js +23 -0
  89. package/dist/translations/hr.umd.js +23 -0
  90. package/dist/translations/hu.d.ts +8 -0
  91. package/dist/translations/hu.js +23 -0
  92. package/dist/translations/hu.umd.js +23 -0
  93. package/dist/translations/id.d.ts +8 -0
  94. package/dist/translations/id.js +23 -0
  95. package/dist/translations/id.umd.js +23 -0
  96. package/dist/translations/it.d.ts +8 -0
  97. package/dist/translations/it.js +23 -0
  98. package/dist/translations/it.umd.js +23 -0
  99. package/dist/translations/ja.d.ts +8 -0
  100. package/dist/translations/ja.js +23 -0
  101. package/dist/translations/ja.umd.js +23 -0
  102. package/dist/translations/jv.d.ts +8 -0
  103. package/dist/translations/jv.js +23 -0
  104. package/dist/translations/jv.umd.js +23 -0
  105. package/dist/translations/ko.d.ts +8 -0
  106. package/dist/translations/ko.js +23 -0
  107. package/dist/translations/ko.umd.js +23 -0
  108. package/dist/translations/lt.d.ts +8 -0
  109. package/dist/translations/lt.js +23 -0
  110. package/dist/translations/lt.umd.js +23 -0
  111. package/dist/translations/lv.d.ts +8 -0
  112. package/dist/translations/lv.js +23 -0
  113. package/dist/translations/lv.umd.js +23 -0
  114. package/dist/translations/ms.d.ts +8 -0
  115. package/dist/translations/ms.js +23 -0
  116. package/dist/translations/ms.umd.js +23 -0
  117. package/dist/translations/nl.d.ts +8 -0
  118. package/dist/translations/nl.js +23 -0
  119. package/dist/translations/nl.umd.js +23 -0
  120. package/dist/translations/no.d.ts +8 -0
  121. package/dist/translations/no.js +23 -0
  122. package/dist/translations/no.umd.js +23 -0
  123. package/dist/translations/pl.d.ts +8 -0
  124. package/dist/translations/pl.js +23 -0
  125. package/dist/translations/pl.umd.js +23 -0
  126. package/dist/translations/pt-br.d.ts +8 -0
  127. package/dist/translations/pt-br.js +23 -0
  128. package/dist/translations/pt-br.umd.js +23 -0
  129. package/dist/translations/pt.d.ts +8 -0
  130. package/dist/translations/pt.js +23 -0
  131. package/dist/translations/pt.umd.js +23 -0
  132. package/dist/translations/ro.d.ts +8 -0
  133. package/dist/translations/ro.js +23 -0
  134. package/dist/translations/ro.umd.js +23 -0
  135. package/dist/translations/ru.d.ts +8 -0
  136. package/dist/translations/ru.js +23 -0
  137. package/dist/translations/ru.umd.js +23 -0
  138. package/dist/translations/sk.d.ts +8 -0
  139. package/dist/translations/sk.js +23 -0
  140. package/dist/translations/sk.umd.js +23 -0
  141. package/dist/translations/sr-latn.d.ts +8 -0
  142. package/dist/translations/sr-latn.js +23 -0
  143. package/dist/translations/sr-latn.umd.js +23 -0
  144. package/dist/translations/sr.d.ts +8 -0
  145. package/dist/translations/sr.js +23 -0
  146. package/dist/translations/sr.umd.js +23 -0
  147. package/dist/translations/sv.d.ts +8 -0
  148. package/dist/translations/sv.js +23 -0
  149. package/dist/translations/sv.umd.js +23 -0
  150. package/dist/translations/th.d.ts +8 -0
  151. package/dist/translations/th.js +23 -0
  152. package/dist/translations/th.umd.js +23 -0
  153. package/dist/translations/tk.d.ts +8 -0
  154. package/dist/translations/tk.js +23 -0
  155. package/dist/translations/tk.umd.js +23 -0
  156. package/dist/translations/tr.d.ts +8 -0
  157. package/dist/translations/tr.js +23 -0
  158. package/dist/translations/tr.umd.js +23 -0
  159. package/dist/translations/tt.d.ts +8 -0
  160. package/dist/translations/tt.js +23 -0
  161. package/dist/translations/tt.umd.js +23 -0
  162. package/dist/translations/ug.d.ts +8 -0
  163. package/dist/translations/ug.js +23 -0
  164. package/dist/translations/ug.umd.js +23 -0
  165. package/dist/translations/uk.d.ts +8 -0
  166. package/dist/translations/uk.js +23 -0
  167. package/dist/translations/uk.umd.js +23 -0
  168. package/dist/translations/ur.d.ts +8 -0
  169. package/dist/translations/ur.js +23 -0
  170. package/dist/translations/ur.umd.js +23 -0
  171. package/dist/translations/vi.d.ts +8 -0
  172. package/dist/translations/vi.js +23 -0
  173. package/dist/translations/vi.umd.js +23 -0
  174. package/dist/translations/zh-cn.d.ts +8 -0
  175. package/dist/translations/zh-cn.js +23 -0
  176. package/dist/translations/zh-cn.umd.js +23 -0
  177. package/dist/translations/zh.d.ts +8 -0
  178. package/dist/translations/zh.js +23 -0
  179. package/dist/translations/zh.umd.js +23 -0
  180. package/dist/users/view/userview.d.ts +20 -0
  181. package/dist/users.d.ts +172 -0
  182. package/dist/utils/common-translations.d.ts +13 -0
  183. package/dist/utils/confirmmixin.d.ts +28 -0
  184. package/dist/utils/confirmview.d.ts +33 -0
  185. package/dist/utils/getdatetimeformatter.d.ts +33 -0
  186. package/dist/utils/getmarkerdomelement.d.ts +26 -0
  187. package/dist/utils/hashobject.d.ts +12 -0
  188. package/dist/utils/sanitizeEditorConfig.d.ts +19 -0
  189. package/dist/utils/setupthreadkeyboardnavigation.d.ts +49 -0
  190. package/dist/utils/surroundingmarkersdetector.d.ts +20 -0
  191. package/dist/utils/trim-html.d.ts +23 -0
  192. package/lang/contexts.json +6 -0
  193. package/lang/translations/af.po +34 -0
  194. package/lang/translations/ar.po +34 -0
  195. package/lang/translations/az.po +34 -0
  196. package/lang/translations/bg.po +34 -0
  197. package/lang/translations/bn.po +34 -0
  198. package/lang/translations/bs.po +34 -0
  199. package/lang/translations/ca.po +34 -0
  200. package/lang/translations/cs.po +34 -0
  201. package/lang/translations/da.po +34 -0
  202. package/lang/translations/de-ch.po +34 -0
  203. package/lang/translations/de.po +34 -0
  204. package/lang/translations/el.po +34 -0
  205. package/lang/translations/en-au.po +34 -0
  206. package/lang/translations/en.po +34 -0
  207. package/lang/translations/es-co.po +34 -0
  208. package/lang/translations/es.po +34 -0
  209. package/lang/translations/et.po +34 -0
  210. package/lang/translations/fa.po +34 -0
  211. package/lang/translations/fi.po +34 -0
  212. package/lang/translations/fr.po +34 -0
  213. package/lang/translations/gl.po +34 -0
  214. package/lang/translations/he.po +34 -0
  215. package/lang/translations/hi.po +34 -0
  216. package/lang/translations/hr.po +34 -0
  217. package/lang/translations/hu.po +34 -0
  218. package/lang/translations/id.po +34 -0
  219. package/lang/translations/it.po +34 -0
  220. package/lang/translations/ja.po +34 -0
  221. package/lang/translations/jv.po +34 -0
  222. package/lang/translations/ko.po +34 -0
  223. package/lang/translations/lt.po +34 -0
  224. package/lang/translations/lv.po +34 -0
  225. package/lang/translations/ms.po +34 -0
  226. package/lang/translations/nl.po +34 -0
  227. package/lang/translations/no.po +34 -0
  228. package/lang/translations/pl.po +34 -0
  229. package/lang/translations/pt-br.po +34 -0
  230. package/lang/translations/pt.po +34 -0
  231. package/lang/translations/ro.po +34 -0
  232. package/lang/translations/ru.po +34 -0
  233. package/lang/translations/sk.po +34 -0
  234. package/lang/translations/sr-latn.po +34 -0
  235. package/lang/translations/sr.po +34 -0
  236. package/lang/translations/sv.po +34 -0
  237. package/lang/translations/th.po +34 -0
  238. package/lang/translations/tk.po +34 -0
  239. package/lang/translations/tr.po +34 -0
  240. package/lang/translations/tt.po +34 -0
  241. package/lang/translations/ug.po +34 -0
  242. package/lang/translations/uk.po +34 -0
  243. package/lang/translations/ur.po +34 -0
  244. package/lang/translations/vi.po +34 -0
  245. package/lang/translations/zh-cn.po +34 -0
  246. package/lang/translations/zh.po +34 -0
  247. package/package.json +52 -0
  248. package/src/augmentation.d.ts +38 -0
  249. package/src/augmentation.js +23 -0
  250. package/src/collaborationhistory.d.ts +21 -0
  251. package/src/collaborationhistory.js +23 -0
  252. package/src/collaborationoperation.d.ts +28 -0
  253. package/src/collaborationoperation.js +23 -0
  254. package/src/config.d.ts +102 -0
  255. package/src/config.js +23 -0
  256. package/src/index.d.ts +22 -0
  257. package/src/index.js +23 -0
  258. package/src/legacyerrors.d.ts +29 -0
  259. package/src/legacyerrors.js +23 -0
  260. package/src/permissions.d.ts +54 -0
  261. package/src/permissions.js +23 -0
  262. package/src/suggestions/view/ariadescriptionview.d.ts +23 -0
  263. package/src/suggestions/view/ariadescriptionview.js +23 -0
  264. package/src/suggestions/view/latefocusbuttonview.d.ts +37 -0
  265. package/src/suggestions/view/latefocusbuttonview.js +23 -0
  266. package/src/suggestionstyles.d.ts +14 -0
  267. package/src/suggestionstyles.js +23 -0
  268. package/src/users/view/userview.d.ts +16 -0
  269. package/src/users/view/userview.js +23 -0
  270. package/src/users.d.ts +168 -0
  271. package/src/users.js +23 -0
  272. package/src/utils/common-translations.d.ts +9 -0
  273. package/src/utils/common-translations.js +23 -0
  274. package/src/utils/confirmmixin.d.ts +24 -0
  275. package/src/utils/confirmmixin.js +23 -0
  276. package/src/utils/confirmview.d.ts +29 -0
  277. package/src/utils/confirmview.js +23 -0
  278. package/src/utils/getdatetimeformatter.d.ts +29 -0
  279. package/src/utils/getdatetimeformatter.js +23 -0
  280. package/src/utils/getmarkerdomelement.d.ts +22 -0
  281. package/src/utils/getmarkerdomelement.js +23 -0
  282. package/src/utils/hashobject.d.ts +8 -0
  283. package/src/utils/hashobject.js +23 -0
  284. package/src/utils/sanitizeEditorConfig.d.ts +15 -0
  285. package/src/utils/sanitizeEditorConfig.js +23 -0
  286. package/src/utils/setupthreadkeyboardnavigation.d.ts +45 -0
  287. package/src/utils/setupthreadkeyboardnavigation.js +23 -0
  288. package/src/utils/surroundingmarkersdetector.d.ts +16 -0
  289. package/src/utils/surroundingmarkersdetector.js +23 -0
  290. package/src/utils/trim-html.d.ts +19 -0
  291. package/src/utils/trim-html.js +23 -0
  292. package/theme/ariadescription.css +12 -0
  293. package/theme/icons/notification.svg +11 -0
  294. package/theme/integrations/codeblock.css +17 -0
  295. package/theme/integrations/horizontalline.css +24 -0
  296. package/theme/integrations/image.css +66 -0
  297. package/theme/integrations/mediaembed.css +28 -0
  298. package/theme/integrations/mergefields.css +67 -0
  299. package/theme/integrations/pagebreak.css +24 -0
  300. package/theme/integrations/table.css +200 -0
  301. package/theme/suggestion.css +131 -0
  302. package/theme/suggestionmarker.css +162 -0
  303. package/theme/usercolormixin.css +41 -0
  304. package/theme/usercolors.css +49 -0
  305. package/theme/users.css +110 -0
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x1a44(){const _0x26d566=['render','div','focusables','1068255KtqqkX','focus','Are\x20you\x20sure?','ck-thread__remove-confirm-actions','605868iDxREx','label','check','add','shift+tab','ck-thread__remove-confirm','set','14qDhuzx','execute','bindTemplate','forEach','submitView','setTemplate','2765160DOhhAx','cancelView','219677hRksOi','50038ZVqbMy','icon','fire','focusTracker','focusCycler','54024KYYCiK','cancel','submit','ck-thread__remove-confirm-','createCollection','_createButtonView','keystrokes','extendTemplate','_setupKeyboardNavigation','message','esc','element','presentation','tab','alertdialog','6lcPMVy','Yes','listenTo','ck-thread__remove-confirm-inner','60ISsmmi','2162665dcUhBo'];_0x1a44=function(){return _0x26d566;};return _0x1a44();}const _0x5da2e6=_0xc9f0;(function(_0x38834a,_0x50598b){const _0x21f06e=_0xc9f0,_0x3c1fcd=_0x38834a();while(!![]){try{const _0x40f118=-parseInt(_0x21f06e(0x164))/0x1+-parseInt(_0x21f06e(0x165))/0x2*(-parseInt(_0x21f06e(0x17d))/0x3)+parseInt(_0x21f06e(0x186))/0x4+parseInt(_0x21f06e(0x17e))/0x5*(-parseInt(_0x21f06e(0x179))/0x6)+parseInt(_0x21f06e(0x15c))/0x7*(-parseInt(_0x21f06e(0x16a))/0x8)+parseInt(_0x21f06e(0x182))/0x9+parseInt(_0x21f06e(0x162))/0xa;if(_0x40f118===_0x50598b)break;else _0x3c1fcd['push'](_0x3c1fcd['shift']());}catch(_0x1a370b){_0x3c1fcd['push'](_0x3c1fcd['shift']());}}}(_0x1a44,0x5d19e));import{View as _0x1e9df5,ButtonView as _0x42f32c,FocusCycler as _0x24e9ce}from'ckeditor5/src/ui.js';import{icons as _0x2c4c53}from'ckeditor5/src/core.js';function _0xc9f0(_0x37096d,_0x408fcb){const _0x1a448d=_0x1a44();return _0xc9f0=function(_0xc9f0a8,_0x22c5cc){_0xc9f0a8=_0xc9f0a8-0x15c;let _0x23ef00=_0x1a448d[_0xc9f0a8];return _0x23ef00;},_0xc9f0(_0x37096d,_0x408fcb);}import{FocusTracker as _0x11da45,KeystrokeHandler as _0x543c7c}from'ckeditor5/src/utils.js';import{getTranslation as _0x523b4c}from'./common-translations.js';export default class m extends _0x1e9df5{constructor(_0x3dc200){const _0x434cd2=_0xc9f0;super(_0x3dc200);const _0x541a04=this[_0x434cd2(0x15e)];this[_0x434cd2(0x18c)](_0x434cd2(0x173),_0x523b4c(_0x3dc200,_0x434cd2(0x184))),this[_0x434cd2(0x160)]=this[_0x434cd2(0x16f)](_0x3dc200,_0x523b4c(_0x3dc200,_0x434cd2(0x17a)),_0x2c4c53[_0x434cd2(0x188)],_0x434cd2(0x16c)),this[_0x434cd2(0x163)]=this[_0x434cd2(0x16f)](_0x3dc200,_0x523b4c(_0x3dc200,'No'),_0x2c4c53[_0x434cd2(0x16b)],_0x434cd2(0x16b)),this[_0x434cd2(0x181)]=this[_0x434cd2(0x16e)]([this[_0x434cd2(0x160)],this[_0x434cd2(0x163)]]),this[_0x434cd2(0x168)]=new _0x11da45(),this[_0x434cd2(0x170)]=new _0x543c7c(),this[_0x434cd2(0x169)]=new _0x24e9ce({'focusables':this[_0x434cd2(0x181)],'focusTracker':this[_0x434cd2(0x168)],'keystrokeHandler':this[_0x434cd2(0x170)],'actions':{'focusPrevious':_0x434cd2(0x18a),'focusNext':_0x434cd2(0x177)}}),this[_0x434cd2(0x161)]({'tag':_0x434cd2(0x180),'attributes':{'class':['ck',_0x434cd2(0x18b)],'tabindex':-0x1,'role':_0x434cd2(0x178)},'children':[{'tag':_0x434cd2(0x180),'attributes':{'class':_0x434cd2(0x17c),'role':_0x434cd2(0x176)},'children':[{'tag':'p','children':[{'text':_0x541a04['to'](_0x434cd2(0x173))}]},{'tag':_0x434cd2(0x180),'attributes':{'class':_0x434cd2(0x185)},'children':[this[_0x434cd2(0x160)],this[_0x434cd2(0x163)]]}]}]});}[_0x5da2e6(0x17f)](){const _0x51161f=_0x5da2e6;super[_0x51161f(0x17f)](),this[_0x51161f(0x172)]();}[_0x5da2e6(0x183)](){const _0x12bb0c=_0x5da2e6;this[_0x12bb0c(0x163)][_0x12bb0c(0x175)][_0x12bb0c(0x183)]({'preventScroll':!0x0});}[_0x5da2e6(0x16f)](_0x63f89d,_0x3846a5,_0x471872,_0x2b3628){const _0x23a86d=_0x5da2e6,_0x5d5c89=new _0x42f32c(_0x63f89d);return _0x5d5c89[_0x23a86d(0x187)]=_0x3846a5,_0x5d5c89[_0x23a86d(0x166)]=_0x471872,_0x5d5c89[_0x23a86d(0x171)]({'attributes':{'class':_0x23a86d(0x16d)+_0x2b3628}}),_0x5d5c89['on'](_0x23a86d(0x15d),()=>this[_0x23a86d(0x167)](_0x2b3628)),_0x5d5c89;}[_0x5da2e6(0x172)](){const _0x47f79f=_0x5da2e6;this[_0x47f79f(0x181)][_0x47f79f(0x15f)](_0x4f6e1e=>{const _0x52a3d6=_0x47f79f;this[_0x52a3d6(0x170)][_0x52a3d6(0x17b)](_0x4f6e1e[_0x52a3d6(0x175)]),this[_0x52a3d6(0x168)][_0x52a3d6(0x189)](_0x4f6e1e[_0x52a3d6(0x175)]);}),this[_0x47f79f(0x170)][_0x47f79f(0x18c)](_0x47f79f(0x174),(_0x5a2b6d,_0x379f37)=>{const _0x421fe5=_0x47f79f;this[_0x421fe5(0x167)](_0x421fe5(0x16b)),_0x379f37();});}}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { LocaleConfig } from '../config.js';
6
+ /**
7
+ * Returns a function that formats the date to the set format.
8
+ *
9
+ * The default formatting can be changed by setting a custom formatting function to `config.locale.dateTimeFormat`.
10
+ *
11
+ * ```ts
12
+ * import format from 'date-fns/format';
13
+ *
14
+ * ClassicEditor
15
+ * .create( document.querySelector( '#editor' ), {
16
+ * toolbar: {
17
+ * items: [ 'bold', 'italic', '|', 'comment' ]
18
+ * },
19
+ * sidebar: {
20
+ * container: document.querySelector( '#sidebar' )
21
+ * },
22
+ * locale: {
23
+ * dateTimeFormat: date => format( date, 'dd/MM/yyyy' )
24
+ * }
25
+ * } )
26
+ * .catch( error => console.error( error ) );
27
+ * ```
28
+ */
29
+ export default function getDateTimeFormatter(localeConfig?: LocaleConfig): (date: Date | string) => string;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x568d(){const _0x4ccb9d=['3327JwQlMW','\x27Yesterday\x27\x20hh:mma','\x27Last\x27\x20EEEE\x20hh:mma','2860Zoityg','144LpapJC','1839192JDrHHl','dateTimeFormat','1955580taGrjl','348204WqbMkC','91VSYFGr','5143010FnRsZv','MM-dd-yyyy\x20hh:mma','1082043aAoTyP','\x27Today\x27\x20hh:mma','12029104GSSXVV','string','function','invalid-date-time-format'];_0x568d=function(){return _0x4ccb9d;};return _0x568d();}function _0x173b(_0x133253,_0x50bad1){const _0x568d71=_0x568d();return _0x173b=function(_0x173be1,_0x2c27b4){_0x173be1=_0x173be1-0xa8;let _0x20d2de=_0x568d71[_0x173be1];return _0x20d2de;},_0x173b(_0x133253,_0x50bad1);}(function(_0x91dacd,_0x43d537){const _0x43e344=_0x173b,_0x4bf91b=_0x91dacd();while(!![]){try{const _0x58b6ea=parseInt(_0x43e344(0xab))/0x1+-parseInt(_0x43e344(0xb6))/0x2+parseInt(_0x43e344(0xb1))/0x3*(parseInt(_0x43e344(0xb4))/0x4)+-parseInt(_0x43e344(0xa9))/0x5+-parseInt(_0x43e344(0xb9))/0x6*(parseInt(_0x43e344(0xa8))/0x7)+-parseInt(_0x43e344(0xad))/0x8+parseInt(_0x43e344(0xb5))/0x9*(parseInt(_0x43e344(0xb8))/0xa);if(_0x58b6ea===_0x43d537)break;else _0x4bf91b['push'](_0x4bf91b['shift']());}catch(_0x2cb38d){_0x4bf91b['push'](_0x4bf91b['shift']());}}}(_0x568d,0xc2bbc));import _0x5c3f79 from'date-fns/format/index.js';import _0xf05126 from'date-fns/parseISO/index.js';import _0xb61697 from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x5c1882}from'ckeditor5/src/utils.js';export default function E(_0x3500f7={}){const _0x143aa0=_0x173b;if(void 0x0!==_0x3500f7[_0x143aa0(0xb7)]&&_0x143aa0(0xaf)!=typeof _0x3500f7[_0x143aa0(0xb7)])throw new _0x5c1882(_0x143aa0(0xb0));return _0x17f054=>{const _0x3845b1=_0x143aa0,_0x198591=_0x3845b1(0xae)==typeof _0x17f054?_0xf05126(_0x17f054):_0x17f054,_0x1ce3f3=new Date(),_0x4eb07d=_0xb61697(_0x1ce3f3,_0x198591);return _0x3500f7[_0x3845b1(0xb7)]?_0x3500f7[_0x3845b1(0xb7)](_0x198591):_0x5c3f79(_0x198591,0x0===_0x4eb07d?_0x3845b1(0xac):0x1===_0x4eb07d?_0x3845b1(0xb2):_0x4eb07d<0x7?_0x3845b1(0xb3):_0x3845b1(0xaa));};}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { EditingController, Marker } from 'ckeditor5/src/engine.js';
6
+ /**
7
+ * Returns a first DOM element mapped with the marker.
8
+ *
9
+ * @param editing Editing controller instance.
10
+ * @param marker Marker instance.
11
+ */
12
+ export default function getMarkerDomElement(editing: EditingController, marker: Marker): HTMLElement | null;
13
+ /**
14
+ * Returns all DOM elements mapped with all given markers. DOM elements are sorted by their client rects in top-most, left-most order.
15
+ * Returns `null` if `markers` is empty or there are no DOM elements bound with the markers.
16
+ *
17
+ * Note, that markers should not intersect.
18
+ *
19
+ * @param editing Editing controller instance.
20
+ * @param markers Markers instances.
21
+ */
22
+ export declare function getAllMarkersDomElementsSorted(editing: EditingController, markers: Array<Marker>): Array<HTMLElement> | null;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x424e(){const _0x19aa65=['11815ieMmRq','values','604771OIDLCg','14fZRRhQ','filter','mapper','map','sort','mapViewToDom','domConverter','from','549LjjyHG','domElement','view','44497460tWKTDy','push','1542cQNrJw','394005bQHwHU','3700970FjDuWN','length','item','7262908tgflIw','getClientRects','name','markerNameToElements','31936XefWwZ'];_0x424e=function(){return _0x19aa65;};return _0x424e();}function _0x3bc5(_0x5764ac,_0x3403d8){const _0x424e58=_0x424e();return _0x3bc5=function(_0x3bc59c,_0x173a15){_0x3bc59c=_0x3bc59c-0x12d;let _0x16664d=_0x424e58[_0x3bc59c];return _0x16664d;},_0x3bc5(_0x5764ac,_0x3403d8);}(function(_0x1787f5,_0x3fc779){const _0x18af61=_0x3bc5,_0x1bf5fd=_0x1787f5();while(!![]){try{const _0x1ce4ba=parseInt(_0x18af61(0x135))/0x1+-parseInt(_0x18af61(0x136))/0x2*(parseInt(_0x18af61(0x144))/0x3)+-parseInt(_0x18af61(0x12e))/0x4+parseInt(_0x18af61(0x133))/0x5*(-parseInt(_0x18af61(0x143))/0x6)+-parseInt(_0x18af61(0x145))/0x7+-parseInt(_0x18af61(0x132))/0x8*(parseInt(_0x18af61(0x13e))/0x9)+parseInt(_0x18af61(0x141))/0xa;if(_0x1ce4ba===_0x3fc779)break;else _0x1bf5fd['push'](_0x1bf5fd['shift']());}catch(_0x39d143){_0x1bf5fd['push'](_0x1bf5fd['shift']());}}}(_0x424e,0xe579c));import{first as _0x515e40}from'ckeditor5/src/utils.js';export default function g(_0x388d15,_0x395cec){const _0x2b9327=_0x3bc5,_0x39b171=_0x388d15[_0x2b9327(0x138)][_0x2b9327(0x131)](_0x395cec[_0x2b9327(0x130)]);if(!_0x39b171)return null;const _0x4a3727=_0x515e40(_0x39b171[_0x2b9327(0x134)]());return _0x388d15[_0x2b9327(0x140)][_0x2b9327(0x13c)][_0x2b9327(0x13b)](_0x4a3727)||null;}export function getAllMarkersDomElementsSorted(_0x5be2ec,_0x2e585c){const _0x5d10a1=_0x3bc5;if(0x0===_0x2e585c[_0x5d10a1(0x146)])return null;const _0x1573d2=[],_0x4902cc=_0x5be2ec[_0x5d10a1(0x140)][_0x5d10a1(0x13c)];for(const _0x4827d1 of _0x2e585c){const _0xe0302b=_0x5be2ec[_0x5d10a1(0x138)][_0x5d10a1(0x131)](_0x4827d1[_0x5d10a1(0x130)]);if(!_0xe0302b)continue;const _0x43df42=Array[_0x5d10a1(0x13d)](_0xe0302b)[_0x5d10a1(0x139)](_0x2a4e70=>_0x4902cc[_0x5d10a1(0x13b)](_0x2a4e70))[_0x5d10a1(0x137)](_0x1fdc10=>!!_0x1fdc10);_0x1573d2[_0x5d10a1(0x142)](..._0x43df42);}if(0x0===_0x1573d2[_0x5d10a1(0x146)])return null;const _0x16c6ec=[];for(const _0x286a32 of _0x1573d2){const _0x1c8039=_0x286a32[_0x5d10a1(0x12f)]()[_0x5d10a1(0x12d)](0x0);_0x1c8039&&_0x16c6ec[_0x5d10a1(0x142)]({'x':_0x1c8039['x'],'y':_0x1c8039['y'],'domElement':_0x286a32});}return 0x0===_0x16c6ec[_0x5d10a1(0x146)]?null:(_0x16c6ec[_0x5d10a1(0x13a)]((_0x3fc76a,_0x257bd3)=>_0x3fc76a['y']-_0x257bd3['y']||_0x3fc76a['x']-_0x257bd3['x']),_0x16c6ec[_0x5d10a1(0x139)](_0x3dab18=>_0x3dab18[_0x5d10a1(0x13f)]));}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module collaboration-core/utils/hashobject
7
+ */
8
+ export default function hashObject(obj: Record<string, unknown>): string;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x3f033c,_0x20e24b){const _0x32ed4e=_0x1c89,_0x2e69fe=_0x3f033c();while(!![]){try{const _0x5e2a7c=-parseInt(_0x32ed4e(0x6d))/0x1*(-parseInt(_0x32ed4e(0x74))/0x2)+-parseInt(_0x32ed4e(0x6c))/0x3+-parseInt(_0x32ed4e(0x67))/0x4*(parseInt(_0x32ed4e(0x6a))/0x5)+-parseInt(_0x32ed4e(0x6b))/0x6+parseInt(_0x32ed4e(0x6e))/0x7+parseInt(_0x32ed4e(0x73))/0x8+parseInt(_0x32ed4e(0x68))/0x9*(parseInt(_0x32ed4e(0x6f))/0xa);if(_0x5e2a7c===_0x20e24b)break;else _0x2e69fe['push'](_0x2e69fe['shift']());}catch(_0x39389d){_0x2e69fe['push'](_0x2e69fe['shift']());}}}(_0x33da,0x85880));export default function M(_0x1d0dfb){let _0x458933=0x0,_0xe802bd=0x0;for(const _0x276243 of q(_0x1d0dfb))_0x458933=(_0x458933<<0x5)-_0x458933+_0x276243,_0x458933|=0x0,[_0x458933,_0xe802bd]=[_0xe802bd,_0x458933];return z(_0x458933)+z(_0xe802bd);}function*O(_0x2d2f1a){const _0x2c85da=_0x1c89;null==_0x2d2f1a||null==_0x2d2f1a?yield 0x12b9b0a1:0x0===_0x2d2f1a||!0x1===_0x2d2f1a?yield 0x0:0x1===_0x2d2f1a||0x1==_0x2d2f1a?yield 0x1:Array[_0x2c85da(0x77)](_0x2d2f1a)?yield*function*(_0x459380){for(const _0x33eb4a of _0x459380)yield*O(_0x33eb4a);}(_0x2d2f1a):_0x2c85da(0x76)==typeof _0x2d2f1a?yield*q(_0x2d2f1a):_0x2c85da(0x72)==typeof _0x2d2f1a?yield*v(_0x2d2f1a):_0x2c85da(0x75)==typeof _0x2d2f1a&&(yield _0x2d2f1a);}function*q(_0x2d3a41){const _0x49feda=_0x1c89;if(yield w('{'),_0x2d3a41){const _0x425e52=Object[_0x49feda(0x66)](_0x2d3a41)[_0x49feda(0x70)]();for(const _0x29e294 of _0x425e52){yield*v(_0x29e294),yield w(':');const _0x1daa5b=_0x2d3a41[_0x29e294];yield*O(_0x1daa5b);}}yield w('}');}function _0x33da(){const _0x15a777=['object','isArray','charCodeAt','keys','385828gkwhTn','4572081jFCHnM','sign','25WSBnVR','6136566pzcOiU','1296984dPxFPC','529961bZbqMx','837137vgxcxe','20zuvwZR','sort','toString','string','6549984AIuIxP','2uItlxN','number'];_0x33da=function(){return _0x15a777;};return _0x33da();}function _0x1c89(_0x562d7b,_0x27913c){const _0x33da7f=_0x33da();return _0x1c89=function(_0x1c8989,_0x3d1ba7){_0x1c8989=_0x1c8989-0x66;let _0x1fe048=_0x33da7f[_0x1c8989];return _0x1fe048;},_0x1c89(_0x562d7b,_0x27913c);}function*v(_0x58351f){yield w('\x22');for(const _0x5cf8ec of _0x58351f)yield w(_0x5cf8ec);yield w('\x22');}function w(_0x10acaa){const _0x15d809=_0x1c89;return _0x10acaa[_0x15d809(0x78)](0x0);}function z(_0x19a2fc){const _0x33dc80=_0x1c89;return(_0x19a2fc*=Math[_0x33dc80(0x69)](_0x19a2fc))[_0x33dc80(0x71)](0x24);}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module collaboration-core/utils/sanitizeditorconfig
7
+ */
8
+ import type { Editor, EditorConfig } from 'ckeditor5/src/core.js';
9
+ /**
10
+ * A function that prepares config for internal editors removing all unnecessary plugins like RTC.
11
+ *
12
+ * @param editor The instance of the source editor.
13
+ * @param extraBlackListedPlugins Additional list of plugins that should not be added to the config.
14
+ */
15
+ export default function sanitizeEditorConfig(editor: Editor, extraBlackListedPlugins?: Array<string>): EditorConfig;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x3eb6(_0x2729c2,_0x5d675d){const _0x31f22b=_0x31f2();return _0x3eb6=function(_0x3eb6de,_0x4e3ec6){_0x3eb6de=_0x3eb6de-0x1e6;let _0x2824cf=_0x31f22b[_0x3eb6de];return _0x2824cf;},_0x3eb6(_0x2729c2,_0x5d675d);}const _0x1597a5=_0x3eb6;(function(_0x2dd3b8,_0x4b2678){const _0x105e1e=_0x3eb6,_0x2b25dc=_0x2dd3b8();while(!![]){try{const _0x3c0830=parseInt(_0x105e1e(0x1ea))/0x1*(-parseInt(_0x105e1e(0x1e6))/0x2)+-parseInt(_0x105e1e(0x1fd))/0x3*(-parseInt(_0x105e1e(0x20d))/0x4)+parseInt(_0x105e1e(0x1f6))/0x5+-parseInt(_0x105e1e(0x209))/0x6*(-parseInt(_0x105e1e(0x1ec))/0x7)+parseInt(_0x105e1e(0x204))/0x8*(-parseInt(_0x105e1e(0x208))/0x9)+parseInt(_0x105e1e(0x20f))/0xa+-parseInt(_0x105e1e(0x1fb))/0xb;if(_0x3c0830===_0x4b2678)break;else _0x2b25dc['push'](_0x2b25dc['shift']());}catch(_0x86e8d8){_0x2b25dc['push'](_0x2b25dc['shift']());}}}(_0x31f2,0x47897));const W=[_0x1597a5(0x1f3),_0x1597a5(0x1fe),_0x1597a5(0x210),_0x1597a5(0x1ed)],D=[_0x1597a5(0x1ee),_0x1597a5(0x207),_0x1597a5(0x203),_0x1597a5(0x200),_0x1597a5(0x201),_0x1597a5(0x20a)];function S(_0x52e704,_0x27ec6e,_0x5e45a9,_0x45a0d6=[]){const _0x25a1c2=_0x1597a5,_0x3e68ad=_0x25a1c2(0x20b)==typeof _0x52e704?_0x5e45a9[_0x25a1c2(0x211)](_0x52e704)[_0x25a1c2(0x1f8)]:_0x52e704[_0x25a1c2(0x205)][_0x25a1c2(0x1f8)];if(_0x27ec6e[_0x25a1c2(0x206)](_0x3e68ad))return _0x27ec6e[_0x25a1c2(0x211)](_0x3e68ad);_0x27ec6e[_0x25a1c2(0x1fa)](_0x3e68ad,!0x0);const _0x3ff60e=[...D,..._0x45a0d6][_0x25a1c2(0x1fc)](_0x26d24f=>{const _0x2068d0=_0x25a1c2;if(_0x5e45a9[_0x2068d0(0x206)](_0x26d24f))return _0x5e45a9[_0x2068d0(0x211)](_0x26d24f)[_0x2068d0(0x1f8)];})[_0x25a1c2(0x1f2)](_0x3b8fab=>_0x3b8fab);if(_0x3e68ad&&_0x3ff60e[_0x25a1c2(0x1f9)](_0x3e68ad))return _0x27ec6e[_0x25a1c2(0x1fa)](_0x3e68ad,!0x1),!0x1;if(!_0x3e68ad[_0x25a1c2(0x1e9)])return _0x27ec6e[_0x25a1c2(0x1fa)](_0x3e68ad,!0x0),!0x0;const _0x4ab836=_0x3e68ad[_0x25a1c2(0x1e9)][_0x25a1c2(0x1ef)](_0x3dd2f4=>S(_0x3dd2f4,_0x27ec6e,_0x5e45a9,_0x45a0d6));return _0x27ec6e[_0x25a1c2(0x1fa)](_0x3e68ad,_0x4ab836),_0x4ab836;}export default function C(_0x57b5ba,_0x55cd04){const _0x47e8af=_0x1597a5,_0x2a3709={};for(const _0x15c235 of _0x57b5ba[_0x47e8af(0x1eb)][_0x47e8af(0x1f0)]())W[_0x47e8af(0x1f9)](_0x15c235)||(_0x2a3709[_0x15c235]=_0x57b5ba[_0x47e8af(0x1eb)][_0x47e8af(0x211)](_0x15c235));const _0x209f4a=_0x2a3709[_0x47e8af(0x1f5)]||[],_0x3ffec5=_0x57b5ba[_0x47e8af(0x1f8)][_0x47e8af(0x1f1)]||[],_0x3fb025=_0x209f4a[_0x47e8af(0x1e8)]?_0x209f4a:_0x3ffec5,_0x567747=_0x2a3709[_0x47e8af(0x20c)]||[];delete _0x2a3709[_0x47e8af(0x20c)];const _0x84b64b=_0x2a3709[_0x47e8af(0x1ff)]||[];delete _0x2a3709[_0x47e8af(0x1ff)];const _0x3558a3=_0x57b5ba[_0x47e8af(0x202)][_0x47e8af(0x1eb)][_0x47e8af(0x211)](_0x47e8af(0x1f5))||[],_0x8f1b23=_0x3fb025[_0x47e8af(0x20e)](_0x567747)[_0x47e8af(0x20e)](_0x3558a3)[_0x47e8af(0x1fc)](_0x33f1f0=>_0x47e8af(0x20b)==typeof _0x33f1f0?_0x3ffec5[_0x47e8af(0x1e7)](_0x110610=>_0x110610[_0x47e8af(0x1f4)]==_0x33f1f0):_0x33f1f0)[_0x47e8af(0x1f2)](_0x878899=>!_0x84b64b[_0x47e8af(0x1f9)](_0x878899)&&!_0x84b64b[_0x47e8af(0x1f9)](_0x878899[_0x47e8af(0x1f4)])),_0x1f3656=Array[_0x47e8af(0x1f7)](new Set(_0x8f1b23)),_0x258966=new Map();return _0x2a3709[_0x47e8af(0x1f5)]=_0x1f3656[_0x47e8af(0x1f2)](_0x162269=>S(_0x162269,_0x258966,_0x57b5ba[_0x47e8af(0x1f5)],_0x55cd04)),_0x2a3709;}function _0x31f2(){const _0x24aff8=['requires','1pdzeiE','config','3507oSJzML','rootsAttributes','WebSocketGateway','every','names','builtinPlugins','filter','initialData','pluginName','plugins','2232735vTvZRL','from','constructor','includes','set','3658094NqQnvA','map','2388QHwDef','context','removePlugins','WordCount','DocumentOutline','_context','Autosave','3408GXhcgW','prototype','has','RevisionTracker','5157XgQgzX','3282Qgvnie','WProofreader','string','extraPlugins','1932tCEVnr','concat','3295460iGRXkJ','toolbar','get','1129882sPFHHu','find','length'];_0x31f2=function(){return _0x24aff8;};return _0x31f2();}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import { type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
6
+ import type { BaseCommentThreadView } from '@ckeditor/ckeditor5-comments';
7
+ import type { BaseSuggestionThreadView } from '@ckeditor/ckeditor5-track-changes';
8
+ /**
9
+ * A keystroke used to move focus from the editor content to a current annotation that has a marker
10
+ * under user's selection.
11
+ */
12
+ export declare const FOCUS_ANNOTATION_KEYSTROKE: "Ctrl+Shift+E";
13
+ /**
14
+ * This helper initializes focus navigation within a thread using a keyboard.
15
+ *
16
+ * * It takes care of added and removed (dynamic) views in the thread.
17
+ * * It takes care of the Enter key support (entering a thread).
18
+ * * It takes care of the Esc key support (leaving a thread or whole sidebar).
19
+ * * It takes care of the arrow key events being fired for the sidebar to navigate between individual threads.
20
+ *
21
+ * @param threadView A thread view in which the keyboard navigation will be enabled.
22
+ * @param focusCycleableViews A collection of focusable views withing a thread.
23
+ */
24
+ export default function setupThreadKeyboardNavigation(threadView: BaseCommentThreadView | BaseSuggestionThreadView, focusCycleableViews: ViewCollection<FocusableView>): void;
25
+ /**
26
+ * An event fired when the user presses the Esc key while the entire thread is focused.
27
+ */
28
+ export type ThreadEscapeEvent = {
29
+ name: 'escape';
30
+ args: [];
31
+ };
32
+ /**
33
+ * An event fired when the user presses the arrow up key while the entire thread is focused.
34
+ */
35
+ export type ThreadArrowUpEvent = {
36
+ name: 'arrowup';
37
+ args: [];
38
+ };
39
+ /**
40
+ * An event fired when the user presses the arrow down key while the entire thread is focused.
41
+ */
42
+ export type ThreadArrowDownEvent = {
43
+ name: 'arrowdown';
44
+ args: [];
45
+ };
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x4cc6e7=_0xb898;(function(_0x743beb,_0x45756b){const _0x3cc83c=_0xb898,_0x10f1fe=_0x743beb();while(!![]){try{const _0x55543e=-parseInt(_0x3cc83c(0xd0))/0x1*(-parseInt(_0x3cc83c(0xb7))/0x2)+-parseInt(_0x3cc83c(0xc1))/0x3*(-parseInt(_0x3cc83c(0xc0))/0x4)+-parseInt(_0x3cc83c(0xb3))/0x5+-parseInt(_0x3cc83c(0xab))/0x6*(parseInt(_0x3cc83c(0xb6))/0x7)+parseInt(_0x3cc83c(0xac))/0x8+parseInt(_0x3cc83c(0xb0))/0x9+parseInt(_0x3cc83c(0xd2))/0xa*(parseInt(_0x3cc83c(0xcc))/0xb);if(_0x55543e===_0x45756b)break;else _0x10f1fe['push'](_0x10f1fe['shift']());}catch(_0x1bd954){_0x10f1fe['push'](_0x10f1fe['shift']());}}}(_0x5dda,0x3296f));import{isViewWithFocusCycler as _0x3959d1}from'ckeditor5/src/ui.js';export const FOCUS_ANNOTATION_KEYSTROKE=_0x4cc6e7(0xc5);export default function T(_0x15b2cc,_0x1bc59f){const _0x4ad25c=_0x4cc6e7,_0x5a91e5=_0x15b2cc[_0x4ad25c(0xad)];_0x15b2cc[_0x4ad25c(0xcd)][_0x4ad25c(0xb5)](_0x5a91e5);for(const _0x2e6af4 of _0x1bc59f)K(_0x15b2cc,_0x2e6af4);_0x1bc59f['on'](_0x4ad25c(0xc8),(_0x17260e,_0x277e4b)=>{const _0x40f91b=_0x4ad25c;for(const _0x5430f1 of _0x277e4b[_0x40f91b(0xc7)])_(_0x15b2cc,_0x5430f1);for(const _0x57cbda of Array[_0x40f91b(0xaf)](_0x277e4b[_0x40f91b(0xbd)])[_0x40f91b(0xce)]())K(_0x15b2cc,_0x57cbda);}),_0x15b2cc[_0x4ad25c(0xcd)][_0x4ad25c(0xd1)](_0x4ad25c(0xb9),(_0x5f0237,_0x20193c)=>{const _0x72f584=_0x4ad25c;_0x5a91e5===_0x5f0237[_0x72f584(0xbb)]&&(_0x15b2cc[_0x72f584(0xba)][_0x72f584(0xc4)](),_0x20193c());},{'filter':_0x50fa96=>_0x50fa96[_0x4ad25c(0xbb)]===_0x5a91e5}),_0x15b2cc[_0x4ad25c(0xcd)][_0x4ad25c(0xd1)](_0x4ad25c(0xc9),(_0x399635,_0x468e24)=>{const _0x5cce10=_0x4ad25c;_0x5a91e5!==_0x399635[_0x5cce10(0xbb)]?_0x15b2cc[_0x5cce10(0xb2)]():_0x15b2cc[_0x5cce10(0xbe)](_0x5cce10(0xbc)),_0x468e24();}),_0x15b2cc[_0x4ad25c(0xcd)][_0x4ad25c(0xd1)](_0x4ad25c(0xb4),(_0x373b56,_0x51826c)=>{const _0x7d279b=_0x4ad25c;_0x5a91e5===_0x373b56[_0x7d279b(0xbb)]&&(_0x15b2cc[_0x7d279b(0xbe)](_0x7d279b(0xb4)),_0x51826c());}),_0x15b2cc[_0x4ad25c(0xcd)][_0x4ad25c(0xd1)](_0x4ad25c(0xae),(_0x3f1e63,_0x5775a2)=>{const _0x3ce39c=_0x4ad25c;_0x5a91e5===_0x3f1e63[_0x3ce39c(0xbb)]&&(_0x15b2cc[_0x3ce39c(0xbe)](_0x3ce39c(0xae)),_0x5775a2());});}function _0x5dda(){const _0x2e880e=['stopListening','focusFirst','Ctrl+Shift+E','isRendered','removed','change','esc','focusTracker','remove','374BAonRm','keystrokes','reverse','unchain','2325OOJYJp','set','36690oAZuuD','6RCRpfo','779016OkqBkA','element','arrowup','from','2169684XyqWoq','add','focus','983275RJEPDU','arrowdown','listenTo','2634149TBMHIK','182usmdnq','actions','enter','focusCycler','target','escape','added','fire','chain','421612ZfLWJW','3aWHHyB','keys'];_0x5dda=function(){return _0x2e880e;};return _0x5dda();}function K(_0x23ae9a,_0xf15bf2){const _0x5b09b0=_0x4cc6e7;_0xf15bf2[_0x5b09b0(0xc6)]&&(_0x23ae9a[_0x5b09b0(0xca)][_0x5b09b0(0xb1)](_0xf15bf2[_0x5b09b0(0xad)]),_0x23ae9a[_0x5b09b0(0xcd)][_0x5b09b0(0xb5)](_0xf15bf2[_0x5b09b0(0xad)]),_0x3959d1(_0xf15bf2)&&function(_0x219918,_0x556a9f){const _0xa16de7=_0x5b09b0,_0x5b4112=_0x219918[_0xa16de7(0xb8)],_0x1b6eec=_0x556a9f[_0xa16de7(0xb8)];for(const _0xd5f732 of Object[_0xa16de7(0xc2)](_0x5b4112))if(_0xd5f732 in _0x1b6eec&&_0x5b4112[_0xd5f732]!==_0x1b6eec[_0xd5f732])return!0x1;return!0x0;}(_0x23ae9a[_0x5b09b0(0xba)],_0xf15bf2[_0x5b09b0(0xba)])&&_0x23ae9a[_0x5b09b0(0xba)][_0x5b09b0(0xbf)](_0xf15bf2[_0x5b09b0(0xba)]));}function _0xb898(_0x3eccc5,_0x29e53c){const _0x5dda70=_0x5dda();return _0xb898=function(_0xb898e3,_0x3da897){_0xb898e3=_0xb898e3-0xab;let _0x13ca66=_0x5dda70[_0xb898e3];return _0x13ca66;},_0xb898(_0x3eccc5,_0x29e53c);}function _(_0x1169cb,_0x191be1){const _0x2d9667=_0x4cc6e7;_0x1169cb[_0x2d9667(0xca)][_0x2d9667(0xcb)](_0x191be1[_0x2d9667(0xad)]),_0x1169cb[_0x2d9667(0xcd)][_0x2d9667(0xc3)](_0x191be1[_0x2d9667(0xad)]),_0x3959d1(_0x191be1)&&_0x1169cb[_0x2d9667(0xba)][_0x2d9667(0xcf)](_0x191be1[_0x2d9667(0xba)]);}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module collaboration-core/utils/surroundingmarkersdetector
7
+ */
8
+ import type { Marker, Model } from 'ckeditor5/src/engine.js';
9
+ /**
10
+ * A utility that responds to range changes in the document selection and detects which markers' ranges
11
+ * touch or contain (surround) the document selection's focus.
12
+ */
13
+ export default function surroundingMarkersDetector(model: Model, onMarkersChange: (changedMarkers: {
14
+ left: Array<Marker>;
15
+ entered: Array<Marker>;
16
+ }) => void): void;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0xc0b264,_0x523bc1){const _0x2abadb=_0x5ddf,_0x55f7b5=_0xc0b264();while(!![]){try{const _0x493e04=-parseInt(_0x2abadb(0x1be))/0x1*(parseInt(_0x2abadb(0x1c3))/0x2)+-parseInt(_0x2abadb(0x1c2))/0x3*(parseInt(_0x2abadb(0x1b7))/0x4)+parseInt(_0x2abadb(0x1b2))/0x5+parseInt(_0x2abadb(0x1b3))/0x6+-parseInt(_0x2abadb(0x1c5))/0x7*(parseInt(_0x2abadb(0x1c1))/0x8)+-parseInt(_0x2abadb(0x1b6))/0x9*(parseInt(_0x2abadb(0x1b4))/0xa)+-parseInt(_0x2abadb(0x1b5))/0xb*(-parseInt(_0x2abadb(0x1bb))/0xc);if(_0x493e04===_0x523bc1)break;else _0x55f7b5['push'](_0x55f7b5['shift']());}catch(_0x496448){_0x55f7b5['push'](_0x55f7b5['shift']());}}}(_0x105e,0xd41b3));function _0x5ddf(_0x56124e,_0x381197){const _0x105ef9=_0x105e();return _0x5ddf=function(_0x5ddf00,_0xb10cac){_0x5ddf00=_0x5ddf00-0x1b1;let _0x30425f=_0x105ef9[_0x5ddf00];return _0x30425f;},_0x5ddf(_0x56124e,_0x381197);}function _0x105e(){const _0x3756c1=['push','1141NOMTZG','includes','change:range','getRange','length','containsPosition','6723700iTvzpx','5452362DlIZGA','84830PuzvcO','11vJtGzC','207vlWKhJ','1056GvxbtT','focus','end','start','16758276dDBYiT','markers','selection','2073WlJkvc','document','isEqual','37976VRvUib','15954EQbxGZ','394xddztG'];_0x105e=function(){return _0x3756c1;};return _0x105e();}export default function B(_0x2c041c,_0xa0ef9e){const _0x3f5d34=_0x5ddf,_0x4aca75=[];_0x2c041c[_0x3f5d34(0x1bf)][_0x3f5d34(0x1bd)]['on'](_0x3f5d34(0x1c7),()=>{const _0x380482=_0x3f5d34,_0x29b362=function(_0x5cce14,_0x2e942a){const _0x1a3db4=_0x5ddf,_0x68dcb1=[];for(const _0x4a08a of _0x5cce14[_0x1a3db4(0x1bc)]){const _0x273bb9=_0x4a08a[_0x1a3db4(0x1c8)]();(_0x273bb9[_0x1a3db4(0x1b1)](_0x2e942a)||_0x273bb9[_0x1a3db4(0x1ba)][_0x1a3db4(0x1c0)](_0x2e942a)||_0x273bb9[_0x1a3db4(0x1b9)][_0x1a3db4(0x1c0)](_0x2e942a))&&_0x68dcb1[_0x1a3db4(0x1c4)](_0x4a08a);}return _0x68dcb1;}(_0x2c041c,_0x2c041c[_0x380482(0x1bf)][_0x380482(0x1bd)][_0x380482(0x1b8)]),_0xfbafe=[],_0x2d66b4=[],_0x9431c6=[];for(const _0x4b73a2 of _0x4aca75)_0x29b362[_0x380482(0x1c6)](_0x4b73a2)||_0xfbafe[_0x380482(0x1c4)](_0x4b73a2);for(const _0x299e78 of _0x29b362)_0x4aca75[_0x380482(0x1c6)](_0x299e78)||_0x2d66b4[_0x380482(0x1c4)](_0x299e78),_0x9431c6[_0x380482(0x1c4)](_0x299e78);(_0xfbafe[_0x380482(0x1c9)]||_0x2d66b4[_0x380482(0x1c9)])&&_0xa0ef9e({'left':_0xfbafe,'entered':_0x2d66b4}),_0x4aca75[_0x380482(0x1c9)]=0x0,_0x4aca75[_0x380482(0x1c4)](..._0x9431c6);});}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module collaboration-core/utils/trim-html
7
+ */
8
+ /**
9
+ * Trims text inside a html tags and takes care of all closing tags.
10
+ *
11
+ * @param html
12
+ * @param options
13
+ * @param limit Limit of the characters.
14
+ * @param suffix
15
+ */
16
+ export default function trimHtml(html: string, { limit, suffix }: {
17
+ limit: number;
18
+ suffix?: string;
19
+ }): string;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x152e(_0x99a662,_0x428a02){const _0x52cb49=_0x52cb();return _0x152e=function(_0x152e1b,_0x2d9dcc){_0x152e1b=_0x152e1b-0x103;let _0x2be029=_0x52cb49[_0x152e1b];return _0x2be029;},_0x152e(_0x99a662,_0x428a02);}const _0x528213=_0x152e;(function(_0x2d467a,_0x1e1e40){const _0x168a7d=_0x152e,_0x3c37bb=_0x2d467a();while(!![]){try{const _0x1477b7=parseInt(_0x168a7d(0x110))/0x1+parseInt(_0x168a7d(0x109))/0x2*(-parseInt(_0x168a7d(0x106))/0x3)+-parseInt(_0x168a7d(0x118))/0x4*(parseInt(_0x168a7d(0x119))/0x5)+-parseInt(_0x168a7d(0x107))/0x6+parseInt(_0x168a7d(0x113))/0x7+-parseInt(_0x168a7d(0x10c))/0x8*(-parseInt(_0x168a7d(0x105))/0x9)+-parseInt(_0x168a7d(0x114))/0xa*(-parseInt(_0x168a7d(0x10a))/0xb);if(_0x1477b7===_0x1e1e40)break;else _0x3c37bb['push'](_0x3c37bb['shift']());}catch(_0x3c266d){_0x3c37bb['push'](_0x3c37bb['shift']());}}}(_0x52cb,0xdfcd4));export default function Z(_0x3716c6,{limit:_0xbaab9f,suffix:_0x4112d7=_0x528213(0x112)}){const _0x20095f=_0x528213,_0x52384e=[];let _0x2aa44e=0x0;const _0xb89c70=_0x3716c6[_0x20095f(0x10b)](/</g,'\x0a<')[_0x20095f(0x10b)](/>/g,'>\x0a')[_0x20095f(0x10b)](/^\n/g,'')[_0x20095f(0x10b)](/\n$/g,'')[_0x20095f(0x104)]('\x0a');for(let _0x5acb23=0x0;_0x5acb23<_0xb89c70[_0x20095f(0x117)];_0x5acb23++){let _0x54dc33=_0xb89c70[_0x5acb23];const _0x3234e9=$(_0x54dc33);if(_0x54dc33[_0x20095f(0x116)]('<')){if(_0x2aa44e>=_0xbaab9f){const _0x35d62c=_0x54dc33[_0x20095f(0x103)](/[a-zA-Z]+/);if(!_0x35d62c){_0xb89c70[_0x5acb23]='';continue;}const _0x5160cb=_0x35d62c[0x0];_0x54dc33[_0x20095f(0x116)]('</')?(_0x52384e[_0x20095f(0x117)]&&(_0x54dc33=''),_0x52384e[_0x20095f(0x10f)]()):(_0x52384e[_0x20095f(0x10e)](_0x5160cb),_0x54dc33='');}}else{if(_0x2aa44e>=_0xbaab9f)_0x54dc33='';else{if(_0x2aa44e+_0x3234e9[_0x20095f(0x117)]>=_0xbaab9f){let _0x11a998=_0xbaab9f-_0x2aa44e;if('\x20'===_0x3234e9[_0x11a998-0x1])_0x11a998--;else{const _0x5b8887=_0x3234e9[_0x20095f(0x108)](_0x11a998)[_0x20095f(0x10d)]('\x20');-0x1!==_0x5b8887?_0x11a998+=_0x5b8887:_0x11a998=_0x54dc33[_0x20095f(0x117)];}_0x54dc33=_0x3234e9[_0x20095f(0x108)](0x0,_0x11a998)[_0x20095f(0x111)]('')+_0x4112d7,_0x2aa44e=_0xbaab9f;}else _0x2aa44e+=_0x3234e9[_0x20095f(0x117)];}}_0xb89c70[_0x5acb23]=_0x54dc33;}return _0xb89c70[_0x20095f(0x111)]('\x0a')[_0x20095f(0x10b)](/\n/g,'');}function _0x52cb(){const _0x5bb0de=['13895rHTNTD','match','split','9pQZZeq','88707nvTOux','9040290ShbgSp','slice','24xyTuEk','3641CuUuDW','replace','6581624OEancW','indexOf','push','pop','363557IBgiRc','join','...','8624903DWsYPN','13810vSRUZA','substring','startsWith','length','140OQnHEC'];_0x52cb=function(){return _0x5bb0de;};return _0x52cb();}function $(_0x1ed5b9){const _0x1349bc=_0x528213,_0x3c05b5=[];for(let _0x598683=0x0;_0x598683<_0x1ed5b9[_0x1349bc(0x117)];_0x598683++){const _0x34ae68=_0x1ed5b9[_0x1349bc(0x115)](_0x598683)[_0x1349bc(0x103)](/^&[a-z0-9#]+;/);if(_0x34ae68){const _0x47c212=_0x34ae68[0x0];_0x3c05b5[_0x1349bc(0x10e)](_0x47c212),_0x598683+=_0x47c212[_0x1349bc(0x117)]-0x1;}else _0x3c05b5[_0x1349bc(0x10e)](_0x1ed5b9[_0x598683]);}return _0x3c05b5;}
@@ -0,0 +1,12 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+
10
+ .ck.ck-aria-description {
11
+ display: none;
12
+ }
@@ -0,0 +1,11 @@
1
+ <!--
2
+
3
+ What you're currently looking at is the source code of a legally protected, proprietary software.
4
+ CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
+ all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
+
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
+
9
+ !-->
10
+
11
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm1 15H9v-2h2v2zm0-4H9V5h2v6z"/></svg>
@@ -0,0 +1,17 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+
10
+ .ck-content pre > code.ck-suggestion-marker-formatBlock {
11
+ display: block;
12
+ box-shadow: -7px 0 0 0 hsl(0deg 0% 93%), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
13
+
14
+ &.ck-suggestion-marker--active {
15
+ box-shadow: -5px 0 0 0 hsl(0deg 0% 93%), -8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
16
+ }
17
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+
10
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line {
11
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
12
+
13
+ &.ck-suggestion-marker--active {
14
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
15
+ }
16
+ }
17
+
18
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line {
19
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
20
+
21
+ &.ck-suggestion-marker--active {
22
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
23
+ }
24
+ }
@@ -0,0 +1,66 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+
10
+ .ck-content .ck-widget.image > figcaption {
11
+ &.ck-suggestion-marker-deletion {
12
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
13
+ border: none;
14
+
15
+ &.ck-suggestion-marker--active {
16
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
17
+ }
18
+ }
19
+
20
+ &.ck-suggestion-marker-insertion {
21
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
22
+ border: none;
23
+
24
+ &.ck-suggestion-marker--active {
25
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
26
+ }
27
+ }
28
+ }
29
+
30
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.image {
31
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
32
+
33
+ & img {
34
+ opacity: 0.6;
35
+ }
36
+
37
+ & figcaption {
38
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
39
+ }
40
+
41
+ &.ck-suggestion-marker--active {
42
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
43
+
44
+ & figcaption {
45
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
46
+ }
47
+ }
48
+ }
49
+
50
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.image {
51
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
52
+
53
+ /* stylelint-disable no-descending-specificity */
54
+ & figcaption {
55
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
56
+ }
57
+ /* stylelint-enable no-descending-specificity */
58
+
59
+ &.ck-suggestion-marker--active {
60
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
61
+
62
+ & figcaption {
63
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,28 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+
10
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.media {
11
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
12
+
13
+ & .ck-media__wrapper {
14
+ opacity: 0.6;
15
+ }
16
+
17
+ &.ck-suggestion-marker--active {
18
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
19
+ }
20
+ }
21
+
22
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.media {
23
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
24
+
25
+ &.ck-suggestion-marker--active {
26
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
27
+ }
28
+ }