@ckeditor/ckeditor5-collaboration-core 42.0.2 → 43.0.0-alpha.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 (153) hide show
  1. package/CHANGELOG.md +1 -101
  2. package/dist/index-content.css +49 -0
  3. package/dist/index-editor.css +23 -1
  4. package/dist/index.css +143 -1
  5. package/dist/index.d.ts +4 -1
  6. package/dist/index.js +1 -1
  7. package/dist/suggestions/view/ariadescriptionview.d.ts +27 -0
  8. package/dist/suggestions/view/latefocusbuttonview.d.ts +41 -0
  9. package/dist/suggestionstyles.d.ts +2 -0
  10. package/dist/translations/af.js +1 -1
  11. package/dist/translations/af.umd.js +1 -1
  12. package/dist/translations/ar.js +1 -1
  13. package/dist/translations/ar.umd.js +1 -1
  14. package/dist/translations/az.js +1 -1
  15. package/dist/translations/az.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/fa.js +1 -1
  44. package/dist/translations/fa.umd.js +1 -1
  45. package/dist/translations/fi.js +1 -1
  46. package/dist/translations/fi.umd.js +1 -1
  47. package/dist/translations/fr.js +1 -1
  48. package/dist/translations/fr.umd.js +1 -1
  49. package/dist/translations/gl.js +1 -1
  50. package/dist/translations/gl.umd.js +1 -1
  51. package/dist/translations/he.js +1 -1
  52. package/dist/translations/he.umd.js +1 -1
  53. package/dist/translations/hi.js +1 -1
  54. package/dist/translations/hi.umd.js +1 -1
  55. package/dist/translations/hr.js +1 -1
  56. package/dist/translations/hr.umd.js +1 -1
  57. package/dist/translations/hu.js +1 -1
  58. package/dist/translations/hu.umd.js +1 -1
  59. package/dist/translations/id.js +1 -1
  60. package/dist/translations/id.umd.js +1 -1
  61. package/dist/translations/it.js +1 -1
  62. package/dist/translations/it.umd.js +1 -1
  63. package/dist/translations/ja.js +1 -1
  64. package/dist/translations/ja.umd.js +1 -1
  65. package/dist/translations/jv.js +1 -1
  66. package/dist/translations/jv.umd.js +1 -1
  67. package/dist/translations/ko.js +1 -1
  68. package/dist/translations/ko.umd.js +1 -1
  69. package/dist/translations/lt.js +1 -1
  70. package/dist/translations/lt.umd.js +1 -1
  71. package/dist/translations/lv.js +1 -1
  72. package/dist/translations/lv.umd.js +1 -1
  73. package/dist/translations/ms.js +1 -1
  74. package/dist/translations/ms.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/tk.js +1 -1
  100. package/dist/translations/tk.umd.js +1 -1
  101. package/dist/translations/tr.js +1 -1
  102. package/dist/translations/tr.umd.js +1 -1
  103. package/dist/translations/tt.js +1 -1
  104. package/dist/translations/tt.umd.js +1 -1
  105. package/dist/translations/ug.js +1 -1
  106. package/dist/translations/ug.umd.js +1 -1
  107. package/dist/translations/uk.js +1 -1
  108. package/dist/translations/uk.umd.js +1 -1
  109. package/dist/translations/ur.js +1 -1
  110. package/dist/translations/ur.umd.js +1 -1
  111. package/dist/translations/vi.js +1 -1
  112. package/dist/translations/vi.umd.js +1 -1
  113. package/dist/translations/zh-cn.js +1 -1
  114. package/dist/translations/zh-cn.umd.js +1 -1
  115. package/dist/translations/zh.js +1 -1
  116. package/dist/translations/zh.umd.js +1 -1
  117. package/dist/utils/confirmmixin.d.ts +5 -1
  118. package/dist/utils/confirmview.d.ts +20 -4
  119. package/dist/utils/hashobject.d.ts +1 -1
  120. package/dist/utils/sanitizeEditorConfig.d.ts +1 -1
  121. package/dist/utils/setupthreadkeyboardnavigation.d.ts +49 -0
  122. package/dist/utils/trim-html.d.ts +3 -0
  123. package/package.json +6 -5
  124. package/src/index.d.ts +4 -1
  125. package/src/index.js +1 -1
  126. package/src/permissions.js +1 -1
  127. package/src/suggestions/view/ariadescriptionview.d.ts +23 -0
  128. package/src/suggestions/view/ariadescriptionview.js +23 -0
  129. package/src/suggestions/view/latefocusbuttonview.d.ts +37 -0
  130. package/src/suggestions/view/latefocusbuttonview.js +23 -0
  131. package/src/suggestionstyles.d.ts +2 -0
  132. package/src/suggestionstyles.js +1 -1
  133. package/src/users/view/userview.js +1 -1
  134. package/src/users.js +1 -1
  135. package/src/utils/common-translations.js +1 -1
  136. package/src/utils/confirmmixin.d.ts +5 -1
  137. package/src/utils/confirmmixin.js +1 -1
  138. package/src/utils/confirmview.d.ts +20 -4
  139. package/src/utils/confirmview.js +1 -1
  140. package/src/utils/getdatetimeformatter.js +1 -1
  141. package/src/utils/getmarkerdomelement.js +1 -1
  142. package/src/utils/hashobject.d.ts +1 -1
  143. package/src/utils/hashobject.js +1 -1
  144. package/src/utils/sanitizeEditorConfig.d.ts +1 -1
  145. package/src/utils/sanitizeEditorConfig.js +1 -1
  146. package/src/utils/setupthreadkeyboardnavigation.d.ts +45 -0
  147. package/src/utils/setupthreadkeyboardnavigation.js +23 -0
  148. package/src/utils/surroundingmarkersdetector.js +1 -1
  149. package/src/utils/trim-html.d.ts +3 -0
  150. package/src/utils/trim-html.js +1 -1
  151. package/theme/ariadescription.css +12 -0
  152. package/theme/integrations/mergefields.css +67 -0
  153. package/theme/suggestion.css +29 -1
@@ -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 _0x2130f1=_0x45ae;function _0x45ae(_0x469b9a,_0x1552b1){const _0xc5cd05=_0xc5cd();return _0x45ae=function(_0x45ae24,_0x37f90c){_0x45ae24=_0x45ae24-0xf4;let _0x5b5da7=_0xc5cd05[_0x45ae24];return _0x5b5da7;},_0x45ae(_0x469b9a,_0x1552b1);}(function(_0x1cc6b1,_0x296d81){const _0x280f5a=_0x45ae,_0x414f4f=_0x1cc6b1();while(!![]){try{const _0x3bc51c=-parseInt(_0x280f5a(0x110))/0x1+-parseInt(_0x280f5a(0x100))/0x2*(-parseInt(_0x280f5a(0xf9))/0x3)+-parseInt(_0x280f5a(0xfb))/0x4*(parseInt(_0x280f5a(0x10e))/0x5)+-parseInt(_0x280f5a(0x118))/0x6+parseInt(_0x280f5a(0xfe))/0x7+-parseInt(_0x280f5a(0x116))/0x8*(-parseInt(_0x280f5a(0xf6))/0x9)+parseInt(_0x280f5a(0xfd))/0xa*(-parseInt(_0x280f5a(0x119))/0xb);if(_0x3bc51c===_0x296d81)break;else _0x414f4f['push'](_0x414f4f['shift']());}catch(_0xcd7f8c){_0x414f4f['push'](_0x414f4f['shift']());}}}(_0xc5cd,0x346d9));import{isViewWithFocusCycler as _0x107ff3}from'ckeditor5/src/ui.js';export const ENTER_THREAD_KEYSTROKE=_0x2130f1(0x11b);export default function T(_0x1cbfaf,_0xeef003){const _0x30cf21=_0x2130f1,_0x561df7=_0x1cbfaf[_0x30cf21(0xfa)];_0x1cbfaf[_0x30cf21(0xf7)][_0x30cf21(0x102)](_0x561df7);for(const _0x4508c1 of _0xeef003)K(_0x1cbfaf,_0x4508c1);_0xeef003['on'](_0x30cf21(0x103),(_0x46fb23,_0x170589)=>{const _0x1f2b82=_0x30cf21;for(const _0x4a1e09 of _0x170589[_0x1f2b82(0x107)])_(_0x1cbfaf,_0x4a1e09);for(const _0x1c34ff of Array[_0x1f2b82(0x101)](_0x170589[_0x1f2b82(0x10a)])[_0x1f2b82(0x11a)]())K(_0x1cbfaf,_0x1c34ff);}),_0x1cbfaf[_0x30cf21(0xf7)][_0x30cf21(0x113)](_0x30cf21(0x114),(_0x31ea14,_0x4ecbf9)=>{const _0x1f8220=_0x30cf21;_0x561df7===_0x31ea14[_0x1f8220(0x109)]&&(_0x1cbfaf[_0x1f8220(0x10f)][_0x1f8220(0x10b)](),_0x4ecbf9());},{'filter':_0x12cbc4=>_0x12cbc4[_0x30cf21(0x109)]===_0x561df7}),_0x1cbfaf[_0x30cf21(0xf7)][_0x30cf21(0x113)](_0x30cf21(0x104),(_0x2ba2d8,_0x7e2bd2)=>{const _0x156368=_0x30cf21;_0x561df7!==_0x2ba2d8[_0x156368(0x109)]?_0x1cbfaf[_0x156368(0x111)]():_0x1cbfaf[_0x156368(0xf5)](_0x156368(0xfc)),_0x7e2bd2();}),_0x1cbfaf[_0x30cf21(0xf7)][_0x30cf21(0x113)](_0x30cf21(0x117),(_0x1b8f80,_0x1d81d5)=>{const _0x486cf8=_0x30cf21;_0x561df7===_0x1b8f80[_0x486cf8(0x109)]&&(_0x1cbfaf[_0x486cf8(0xf5)](_0x486cf8(0x117)),_0x1d81d5());}),_0x1cbfaf[_0x30cf21(0xf7)][_0x30cf21(0x113)](_0x30cf21(0xf4),(_0x1399d5,_0x354ed1)=>{const _0x19323c=_0x30cf21;_0x561df7===_0x1399d5[_0x19323c(0x109)]&&(_0x1cbfaf[_0x19323c(0xf5)](_0x19323c(0xf4)),_0x354ed1());});}function K(_0x5cd315,_0x15f34f){const _0x3837d2=_0x2130f1;_0x15f34f[_0x3837d2(0x106)]&&(_0x5cd315[_0x3837d2(0xf8)][_0x3837d2(0x105)](_0x15f34f[_0x3837d2(0xfa)]),_0x5cd315[_0x3837d2(0xf7)][_0x3837d2(0x102)](_0x15f34f[_0x3837d2(0xfa)]),_0x107ff3(_0x15f34f)&&function(_0x5071fc,_0x2556ea){const _0x8bb32c=_0x3837d2,_0xbf39ed=_0x5071fc[_0x8bb32c(0x108)],_0x34d95b=_0x2556ea[_0x8bb32c(0x108)];for(const _0x4e42aa of Object[_0x8bb32c(0x115)](_0xbf39ed))if(_0x4e42aa in _0x34d95b&&_0xbf39ed[_0x4e42aa]!==_0x34d95b[_0x4e42aa])return!0x1;return!0x0;}(_0x5cd315[_0x3837d2(0x10f)],_0x15f34f[_0x3837d2(0x10f)])&&_0x5cd315[_0x3837d2(0x10f)][_0x3837d2(0x10d)](_0x15f34f[_0x3837d2(0x10f)]));}function _(_0x403519,_0x176737){const _0x19b087=_0x2130f1;_0x403519[_0x19b087(0xf8)][_0x19b087(0xff)](_0x176737[_0x19b087(0xfa)]),_0x403519[_0x19b087(0xf7)][_0x19b087(0x10c)](_0x176737[_0x19b087(0xfa)]),_0x107ff3(_0x176737)&&_0x403519[_0x19b087(0x10f)][_0x19b087(0x112)](_0x176737[_0x19b087(0x10f)]);}function _0xc5cd(){const _0x1c1961=['9BnmMMw','element','4JLBevb','escape','66180WkYuaN','991067HCgzwc','remove','100072ZJnFOh','from','listenTo','change','esc','add','isRendered','removed','actions','target','added','focusFirst','stopListening','chain','115fwRdLu','focusCycler','176138yQYBEK','focus','unchain','set','enter','keys','2104ueBoCv','arrowdown','711690whPQYm','319vGZGTY','reverse','Ctrl+Shift+E','arrowup','fire','14022uMyMIW','keystrokes','focusTracker'];_0xc5cd=function(){return _0x1c1961;};return _0xc5cd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x28466f,_0x4baefe){const _0x23781a=_0x22fa,_0x31d8f4=_0x28466f();while(!![]){try{const _0x413c84=parseInt(_0x23781a(0x1bd))/0x1*(-parseInt(_0x23781a(0x1b2))/0x2)+-parseInt(_0x23781a(0x1af))/0x3*(-parseInt(_0x23781a(0x1b3))/0x4)+parseInt(_0x23781a(0x1b6))/0x5+-parseInt(_0x23781a(0x1b9))/0x6+parseInt(_0x23781a(0x1b1))/0x7+-parseInt(_0x23781a(0x1bb))/0x8+-parseInt(_0x23781a(0x1b4))/0x9*(-parseInt(_0x23781a(0x1be))/0xa);if(_0x413c84===_0x4baefe)break;else _0x31d8f4['push'](_0x31d8f4['shift']());}catch(_0x1846b7){_0x31d8f4['push'](_0x31d8f4['shift']());}}}(_0x2b2a,0x9acef));function _0x22fa(_0x348a9a,_0x1225b6){const _0x2b2a3c=_0x2b2a();return _0x22fa=function(_0x22fabe,_0x1dd57f){_0x22fabe=_0x22fabe-0x1ad;let _0x1fdba4=_0x2b2a3c[_0x22fabe];return _0x1fdba4;},_0x22fa(_0x348a9a,_0x1225b6);}export default function z(_0x12d001,_0xe25409){const _0x41fd3c=_0x22fa,_0x28426f=[];_0x12d001[_0x41fd3c(0x1b0)][_0x41fd3c(0x1b7)]['on'](_0x41fd3c(0x1ba),()=>{const _0x54e15f=_0x41fd3c,_0x379f38=function(_0x4ccb3a,_0x37b545){const _0x27156c=_0x22fa,_0x89902=[];for(const _0x1c5671 of _0x4ccb3a[_0x27156c(0x1ae)]){const _0x41658f=_0x1c5671[_0x27156c(0x1c1)]();(_0x41658f[_0x27156c(0x1ad)](_0x37b545)||_0x41658f[_0x27156c(0x1bf)][_0x27156c(0x1bc)](_0x37b545)||_0x41658f[_0x27156c(0x1c2)][_0x27156c(0x1bc)](_0x37b545))&&_0x89902[_0x27156c(0x1b8)](_0x1c5671);}return _0x89902;}(_0x12d001,_0x12d001[_0x54e15f(0x1b0)][_0x54e15f(0x1b7)][_0x54e15f(0x1c3)]),_0x3bb030=[],_0x19f242=[],_0x5bb973=[];for(const _0x31ceeb of _0x28426f)_0x379f38[_0x54e15f(0x1c0)](_0x31ceeb)||_0x3bb030[_0x54e15f(0x1b8)](_0x31ceeb);for(const _0x3319a4 of _0x379f38)_0x28426f[_0x54e15f(0x1c0)](_0x3319a4)||_0x19f242[_0x54e15f(0x1b8)](_0x3319a4),_0x5bb973[_0x54e15f(0x1b8)](_0x3319a4);(_0x3bb030[_0x54e15f(0x1b5)]||_0x19f242[_0x54e15f(0x1b5)])&&_0xe25409({'left':_0x3bb030,'entered':_0x19f242}),_0x28426f[_0x54e15f(0x1b5)]=0x0,_0x28426f[_0x54e15f(0x1b8)](..._0x5bb973);});}function _0x2b2a(){const _0x1a166e=['selection','push','5694174ylPQhw','change:range','8890224aNxGHi','isEqual','1gCnKgj','22697350zyYnwD','start','includes','getRange','end','focus','containsPosition','markers','41694CVImWK','document','1620752IgFZvj','26380ObQExQ','28iKOLPn','9lkoaGN','length','545175GGJxxj'];_0x2b2a=function(){return _0x1a166e;};return _0x2b2a();}
23
+ function _0x1247(_0x54582b,_0x10068d){const _0x2db7d9=_0x2db7();return _0x1247=function(_0x1247ec,_0x569c9a){_0x1247ec=_0x1247ec-0x1a7;let _0xbd1985=_0x2db7d9[_0x1247ec];return _0xbd1985;},_0x1247(_0x54582b,_0x10068d);}function _0x2db7(){const _0x56599f=['isEqual','350HBBBbv','getRange','1212MgCwdx','document','focus','337216iBzLUP','135738gSztks','markers','length','change:range','872952mWWZqv','push','1197455cJBbzE','end','containsPosition','81426VXOTZp','441pHzuZi','8oPETOs','includes','selection','start','1515045vrEapN'];_0x2db7=function(){return _0x56599f;};return _0x2db7();}(function(_0x10d708,_0x1b5999){const _0x387771=_0x1247,_0x17e3af=_0x10d708();while(!![]){try{const _0x4b45e3=-parseInt(_0x387771(0x1ae))/0x1+-parseInt(_0x387771(0x1b8))/0x2+-parseInt(_0x387771(0x1b9))/0x3*(-parseInt(_0x387771(0x1ab))/0x4)+parseInt(_0x387771(0x1a7))/0x5+-parseInt(_0x387771(0x1b3))/0x6+parseInt(_0x387771(0x1b5))/0x7*(-parseInt(_0x387771(0x1ba))/0x8)+parseInt(_0x387771(0x1af))/0x9*(parseInt(_0x387771(0x1a9))/0xa);if(_0x4b45e3===_0x1b5999)break;else _0x17e3af['push'](_0x17e3af['shift']());}catch(_0x1ebb28){_0x17e3af['push'](_0x17e3af['shift']());}}}(_0x2db7,0x2c2c6));export default function B(_0x2f4f8e,_0x317325){const _0x5e1872=_0x1247,_0x36304d=[];_0x2f4f8e[_0x5e1872(0x1ac)][_0x5e1872(0x1bc)]['on'](_0x5e1872(0x1b2),()=>{const _0x4a6eff=_0x5e1872,_0x81cd51=function(_0x3a3581,_0x57283b){const _0xa896b3=_0x1247,_0x122603=[];for(const _0x24b61b of _0x3a3581[_0xa896b3(0x1b0)]){const _0x1fe780=_0x24b61b[_0xa896b3(0x1aa)]();(_0x1fe780[_0xa896b3(0x1b7)](_0x57283b)||_0x1fe780[_0xa896b3(0x1bd)][_0xa896b3(0x1a8)](_0x57283b)||_0x1fe780[_0xa896b3(0x1b6)][_0xa896b3(0x1a8)](_0x57283b))&&_0x122603[_0xa896b3(0x1b4)](_0x24b61b);}return _0x122603;}(_0x2f4f8e,_0x2f4f8e[_0x4a6eff(0x1ac)][_0x4a6eff(0x1bc)][_0x4a6eff(0x1ad)]),_0xc649a7=[],_0x2df29c=[],_0x4329e6=[];for(const _0x9dd725 of _0x36304d)_0x81cd51[_0x4a6eff(0x1bb)](_0x9dd725)||_0xc649a7[_0x4a6eff(0x1b4)](_0x9dd725);for(const _0x4f1a76 of _0x81cd51)_0x36304d[_0x4a6eff(0x1bb)](_0x4f1a76)||_0x2df29c[_0x4a6eff(0x1b4)](_0x4f1a76),_0x4329e6[_0x4a6eff(0x1b4)](_0x4f1a76);(_0xc649a7[_0x4a6eff(0x1b1)]||_0x2df29c[_0x4a6eff(0x1b1)])&&_0x317325({'left':_0xc649a7,'entered':_0x2df29c}),_0x36304d[_0x4a6eff(0x1b1)]=0x0,_0x36304d[_0x4a6eff(0x1b4)](..._0x4329e6);});}
@@ -2,6 +2,9 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
+ /**
6
+ * @module collaboration-core/utils/trim-html
7
+ */
5
8
  /**
6
9
  * Trims text inside a html tags and takes care of all closing tags.
7
10
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2227a8=_0x1ce2;(function(_0xe72aa1,_0x167cf0){const _0x25f724=_0x1ce2,_0x50796a=_0xe72aa1();while(!![]){try{const _0x59d010=-parseInt(_0x25f724(0x1d7))/0x1*(-parseInt(_0x25f724(0x1dc))/0x2)+-parseInt(_0x25f724(0x1e1))/0x3+-parseInt(_0x25f724(0x1d9))/0x4+parseInt(_0x25f724(0x1d6))/0x5*(-parseInt(_0x25f724(0x1cd))/0x6)+parseInt(_0x25f724(0x1d1))/0x7*(-parseInt(_0x25f724(0x1d2))/0x8)+-parseInt(_0x25f724(0x1de))/0x9+-parseInt(_0x25f724(0x1dd))/0xa*(-parseInt(_0x25f724(0x1df))/0xb);if(_0x59d010===_0x167cf0)break;else _0x50796a['push'](_0x50796a['shift']());}catch(_0x3c8f0f){_0x50796a['push'](_0x50796a['shift']());}}}(_0x5136,0xca0cf));export default function Z(_0x1d8a0f,{limit:_0x103532,suffix:_0x5c0490=_0x2227a8(0x1e2)}){const _0x41cb2b=_0x2227a8,_0x4b596d=[];let _0x3cc2ba=0x0;const _0x4e7017=_0x1d8a0f[_0x41cb2b(0x1d3)](/</g,'\x0a<')[_0x41cb2b(0x1d3)](/>/g,'>\x0a')[_0x41cb2b(0x1d3)](/^\n/g,'')[_0x41cb2b(0x1d3)](/\n$/g,'')[_0x41cb2b(0x1d4)]('\x0a');for(let _0xf9fd60=0x0;_0xf9fd60<_0x4e7017[_0x41cb2b(0x1d5)];_0xf9fd60++){let _0x440459=_0x4e7017[_0xf9fd60];const _0x32650a=$(_0x440459);if(_0x440459[_0x41cb2b(0x1db)]('<')){if(_0x3cc2ba>=_0x103532){const _0x19f7f6=_0x440459[_0x41cb2b(0x1ce)](/[a-zA-Z]+/);if(!_0x19f7f6){_0x4e7017[_0xf9fd60]='';continue;}const _0x394d33=_0x19f7f6[0x0];_0x440459[_0x41cb2b(0x1db)]('</')?(_0x4b596d[_0x41cb2b(0x1d5)]&&(_0x440459=''),_0x4b596d[_0x41cb2b(0x1e0)]()):(_0x4b596d[_0x41cb2b(0x1e3)](_0x394d33),_0x440459='');}}else{if(_0x3cc2ba>=_0x103532)_0x440459='';else{if(_0x3cc2ba+_0x32650a[_0x41cb2b(0x1d5)]>=_0x103532){let _0x12929b=_0x103532-_0x3cc2ba;if('\x20'===_0x32650a[_0x12929b-0x1])_0x12929b--;else{const _0x357a9c=_0x32650a[_0x41cb2b(0x1cf)](_0x12929b)[_0x41cb2b(0x1d0)]('\x20');-0x1!==_0x357a9c?_0x12929b+=_0x357a9c:_0x12929b=_0x440459[_0x41cb2b(0x1d5)];}_0x440459=_0x32650a[_0x41cb2b(0x1cf)](0x0,_0x12929b)[_0x41cb2b(0x1da)]('')+_0x5c0490,_0x3cc2ba=_0x103532;}else _0x3cc2ba+=_0x32650a[_0x41cb2b(0x1d5)];}}_0x4e7017[_0xf9fd60]=_0x440459;}return _0x4e7017[_0x41cb2b(0x1da)]('\x0a')[_0x41cb2b(0x1d3)](/\n/g,'');}function $(_0x579974){const _0x2cbd88=_0x2227a8,_0x420583=[];for(let _0xa5e7f7=0x0;_0xa5e7f7<_0x579974[_0x2cbd88(0x1d5)];_0xa5e7f7++){const _0x162048=_0x579974[_0x2cbd88(0x1d8)](_0xa5e7f7)[_0x2cbd88(0x1ce)](/^&[a-z0-9#]+;/);if(_0x162048){const _0x1e88a5=_0x162048[0x0];_0x420583[_0x2cbd88(0x1e3)](_0x1e88a5),_0xa5e7f7+=_0x1e88a5[_0x2cbd88(0x1d5)]-0x1;}else _0x420583[_0x2cbd88(0x1e3)](_0x579974[_0xa5e7f7]);}return _0x420583;}function _0x1ce2(_0xdb63a5,_0x5ee1e6){const _0x513645=_0x5136();return _0x1ce2=function(_0x1ce2b5,_0x27049a){_0x1ce2b5=_0x1ce2b5-0x1cd;let _0x3aa472=_0x513645[_0x1ce2b5];return _0x3aa472;},_0x1ce2(_0xdb63a5,_0x5ee1e6);}function _0x5136(){const _0x1d4fde=['...','push','222FOkNaQ','match','slice','indexOf','5417874iSLCmw','8QYwGNY','replace','split','length','207345LfPEKU','5GADutC','substring','4822544oqfkSl','join','startsWith','634982QiyArm','44570490rJGUxh','11431674oVTMur','11uDkCuz','pop','1298244eRlsWf'];_0x5136=function(){return _0x1d4fde;};return _0x5136();}
23
+ function _0x28c3(){const _0x4797f7=['10SUIwYA','200baACPn','1092YrxuuI','122788ZaZATk','114825uluAAZ','62500kPiBUq','startsWith','indexOf','241590KWhMcF','push','...','length','replace','slice','66jGovkA','split','pop','match','271104kfGsMy','substring','2875848PFLMum','135djHJOV','33152vEqfPu','join'];_0x28c3=function(){return _0x4797f7;};return _0x28c3();}const _0x528769=_0x225d;(function(_0x5d68c0,_0x28fb1f){const _0x396a4a=_0x225d,_0x5237ec=_0x5d68c0();while(!![]){try{const _0x355d27=-parseInt(_0x396a4a(0x12f))/0x1*(parseInt(_0x396a4a(0x12c))/0x2)+parseInt(_0x396a4a(0x130))/0x3+parseInt(_0x396a4a(0x131))/0x4*(-parseInt(_0x396a4a(0x12d))/0x5)+-parseInt(_0x396a4a(0x12e))/0x6*(-parseInt(_0x396a4a(0x12a))/0x7)+parseInt(_0x396a4a(0x128))/0x8+-parseInt(_0x396a4a(0x129))/0x9*(-parseInt(_0x396a4a(0x11c))/0xa)+-parseInt(_0x396a4a(0x122))/0xb*(-parseInt(_0x396a4a(0x126))/0xc);if(_0x355d27===_0x28fb1f)break;else _0x5237ec['push'](_0x5237ec['shift']());}catch(_0x1f25ea){_0x5237ec['push'](_0x5237ec['shift']());}}}(_0x28c3,0x7ea31));export default function Z(_0x6746ef,{limit:_0x1b4e2a,suffix:_0x1eeefa=_0x528769(0x11e)}){const _0x33ba1b=_0x528769,_0x2a86e8=[];let _0x5d8dae=0x0;const _0x5e4d3f=_0x6746ef[_0x33ba1b(0x120)](/</g,'\x0a<')[_0x33ba1b(0x120)](/>/g,'>\x0a')[_0x33ba1b(0x120)](/^\n/g,'')[_0x33ba1b(0x120)](/\n$/g,'')[_0x33ba1b(0x123)]('\x0a');for(let _0x414d79=0x0;_0x414d79<_0x5e4d3f[_0x33ba1b(0x11f)];_0x414d79++){let _0x5f159a=_0x5e4d3f[_0x414d79];const _0x14a72f=$(_0x5f159a);if(_0x5f159a[_0x33ba1b(0x132)]('<')){if(_0x5d8dae>=_0x1b4e2a){const _0x4ea01b=_0x5f159a[_0x33ba1b(0x125)](/[a-zA-Z]+/);if(!_0x4ea01b){_0x5e4d3f[_0x414d79]='';continue;}const _0x2fe8a4=_0x4ea01b[0x0];_0x5f159a[_0x33ba1b(0x132)]('</')?(_0x2a86e8[_0x33ba1b(0x11f)]&&(_0x5f159a=''),_0x2a86e8[_0x33ba1b(0x124)]()):(_0x2a86e8[_0x33ba1b(0x11d)](_0x2fe8a4),_0x5f159a='');}}else{if(_0x5d8dae>=_0x1b4e2a)_0x5f159a='';else{if(_0x5d8dae+_0x14a72f[_0x33ba1b(0x11f)]>=_0x1b4e2a){let _0x40aea6=_0x1b4e2a-_0x5d8dae;if('\x20'===_0x14a72f[_0x40aea6-0x1])_0x40aea6--;else{const _0x15725b=_0x14a72f[_0x33ba1b(0x121)](_0x40aea6)[_0x33ba1b(0x11b)]('\x20');-0x1!==_0x15725b?_0x40aea6+=_0x15725b:_0x40aea6=_0x5f159a[_0x33ba1b(0x11f)];}_0x5f159a=_0x14a72f[_0x33ba1b(0x121)](0x0,_0x40aea6)[_0x33ba1b(0x12b)]('')+_0x1eeefa,_0x5d8dae=_0x1b4e2a;}else _0x5d8dae+=_0x14a72f[_0x33ba1b(0x11f)];}}_0x5e4d3f[_0x414d79]=_0x5f159a;}return _0x5e4d3f[_0x33ba1b(0x12b)]('\x0a')[_0x33ba1b(0x120)](/\n/g,'');}function _0x225d(_0x180e3b,_0x4156fe){const _0x28c398=_0x28c3();return _0x225d=function(_0x225d81,_0x57b555){_0x225d81=_0x225d81-0x11b;let _0x193496=_0x28c398[_0x225d81];return _0x193496;},_0x225d(_0x180e3b,_0x4156fe);}function $(_0x22f7f6){const _0xd8a51=_0x528769,_0x14ca65=[];for(let _0x225e8f=0x0;_0x225e8f<_0x22f7f6[_0xd8a51(0x11f)];_0x225e8f++){const _0x36ac97=_0x22f7f6[_0xd8a51(0x127)](_0x225e8f)[_0xd8a51(0x125)](/^&[a-z0-9#]+;/);if(_0x36ac97){const _0x4deab1=_0x36ac97[0x0];_0x14ca65[_0xd8a51(0x11d)](_0x4deab1),_0x225e8f+=_0x4deab1[_0xd8a51(0x11f)]-0x1;}else _0x14ca65[_0xd8a51(0x11d)](_0x22f7f6[_0x225e8f]);}return _0x14ca65;}
@@ -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,67 @@
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.ck-widget.ck-merge-field,
11
+ .ck-content .ck-comment-marker.ck-widget.ck-merge-field {
12
+ /* Note that comments markers have transparent border to be better aligned with suggestions markers. */
13
+ border-width: 2px;
14
+ border-left: none;
15
+ border-right: none;
16
+ padding-top: 0;
17
+ padding-bottom: 0;
18
+ }
19
+
20
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field {
21
+ border-top-color: var(--ck-color-suggestion-marker-deletion-border);
22
+ border-bottom-color: var(--ck-color-suggestion-marker-deletion-border);
23
+
24
+ background: var(--ck-color-suggestion-marker-deletion-background);
25
+
26
+ & :not(.ck-merge-field__affix),
27
+ &.ck-merge-field_with-value,
28
+ &.ck-merge-field_with-warning {
29
+ text-decoration: line-through;
30
+ text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
31
+ text-decoration-thickness: 3px;
32
+ }
33
+
34
+ &.ck-suggestion-marker--active {
35
+ background-color: var(--ck-color-suggestion-marker-deletion-background-active);
36
+ }
37
+ }
38
+
39
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field {
40
+ background-color: var(--ck-color-suggestion-marker-insertion-background);
41
+
42
+ &.ck-suggestion-marker--active {
43
+ background-color: var(--ck-color-suggestion-marker-insertion-background-active);
44
+ }
45
+ }
46
+
47
+ .ck-content .ck-comment-marker.ck-widget.ck-merge-field {
48
+ background: var(--ck-color-comment-marker);
49
+
50
+ &.ck-comment-marker--active {
51
+ background: var(--ck-color-comment-marker-active);
52
+ }
53
+ }
54
+
55
+ /*
56
+ This is a hack for a specific situation. The selector targets all regular markers made on text that are just before
57
+ a merge field (also in marker). This is a common situation. For example, if you have some text and a merge field
58
+ just after and all that is in a suggestion. Without this hack, there is a 1px spacing between the span and the merge
59
+ field, because the merge field has margin. The margin is needed because otherwise caret does not display. To
60
+ "remove" the spacing, we extend the span before the merge field by 1px using padding, but we need to compensate
61
+ by using negative margin, so that the whole content does not change its position.
62
+ */
63
+ .ck-content span.ck-comment-marker:has(+.ck-comment-marker.ck-widget.ck-merge-field),
64
+ .ck-content span.ck-suggestion-marker:has(+.ck-suggestion-marker.ck-widget.ck-merge-field) {
65
+ padding-right: 1px;
66
+ margin-right: -1px;
67
+ }
@@ -7,6 +7,10 @@
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
10
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_focus.css";
11
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";
12
+ @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";
13
+
10
14
  :root {
11
15
  --ck-color-comment-box-border: hsl(55, 98%, 48%);
12
16
  --ck-color-suggestion-box-deletion-border: hsl(345, 62%, 60%);
@@ -55,8 +59,32 @@ With track-changes feature enabled, we need to distinguish various types of anno
55
59
  }
56
60
 
57
61
  .ck .ck-suggestion-wrapper {
58
- outline: 0;
62
+ @mixin ck-rounded-corners;
63
+
59
64
  overflow: hidden;
65
+
66
+ &:focus {
67
+ /*
68
+ * We cannot use the ck-focus-ring mixin here because it adds a border that would need to stay transparent
69
+ * in non-focused state and create an odd space inside the surrounding annotation container.
70
+ */
71
+ outline: var(--ck-focus-ring);
72
+
73
+ /*
74
+ * We cannot use the ck-box-shadow mixin because we're using outline instead of border (see the comment above).
75
+ * And the shadow size has to be custom because outline is rendered on top of the shadow.
76
+ */
77
+ box-shadow: 0 0 0 4px var(--ck-color-focus-outer-shadow);
78
+ }
79
+ }
80
+
81
+ /*
82
+ * In case of inline annotations, their focus styles get hoisted to the balloon panel to work around overflow that would
83
+ * otherwise get them cropped..
84
+ */
85
+ .ck-balloon-panel:has( .ck-suggestion-wrapper:focus ) {
86
+ @mixin ck-focus-ring;
87
+ @mixin ck-box-shadow var(--ck-drop-shadow), var(--ck-focus-outer-shadow);
60
88
  }
61
89
 
62
90
  .ck .ck-suggestion-type {