@ckeditor/ckeditor5-collaboration-core 39.0.1 → 40.0.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 (98) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/LICENSE.md +6 -6
  3. package/README.md +9 -9
  4. package/lang/translations/af.po +1 -0
  5. package/lang/translations/ar.po +1 -0
  6. package/lang/translations/az.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/bs.po +1 -0
  10. package/lang/translations/ca.po +1 -0
  11. package/lang/translations/cs.po +1 -0
  12. package/lang/translations/da.po +1 -0
  13. package/lang/translations/de-ch.po +1 -0
  14. package/lang/translations/de.po +1 -0
  15. package/lang/translations/el.po +1 -0
  16. package/lang/translations/en-au.po +1 -0
  17. package/lang/translations/en.po +1 -0
  18. package/lang/translations/es-co.po +1 -0
  19. package/lang/translations/es.po +1 -0
  20. package/lang/translations/et.po +1 -0
  21. package/lang/translations/fa.po +1 -0
  22. package/lang/translations/fi.po +1 -0
  23. package/lang/translations/fr.po +1 -0
  24. package/lang/translations/gl.po +1 -0
  25. package/lang/translations/he.po +1 -0
  26. package/lang/translations/hi.po +1 -0
  27. package/lang/translations/hr.po +1 -0
  28. package/lang/translations/hu.po +1 -0
  29. package/lang/translations/id.po +1 -0
  30. package/lang/translations/it.po +1 -0
  31. package/lang/translations/ja.po +1 -0
  32. package/lang/translations/jv.po +1 -0
  33. package/lang/translations/ko.po +1 -0
  34. package/lang/translations/lt.po +1 -0
  35. package/lang/translations/lv.po +1 -0
  36. package/lang/translations/ms.po +1 -0
  37. package/lang/translations/nl.po +1 -0
  38. package/lang/translations/no.po +1 -0
  39. package/lang/translations/pl.po +1 -0
  40. package/lang/translations/pt-br.po +1 -0
  41. package/lang/translations/pt.po +1 -0
  42. package/lang/translations/ro.po +1 -0
  43. package/lang/translations/ru.po +1 -0
  44. package/lang/translations/sk.po +1 -0
  45. package/lang/translations/sr-latn.po +1 -0
  46. package/lang/translations/sr.po +1 -0
  47. package/lang/translations/sv.po +1 -0
  48. package/lang/translations/th.po +1 -0
  49. package/lang/translations/tk.po +1 -0
  50. package/lang/translations/tr.po +1 -0
  51. package/lang/translations/tt.po +1 -0
  52. package/lang/translations/ug.po +1 -0
  53. package/lang/translations/uk.po +1 -0
  54. package/lang/translations/ur.po +1 -0
  55. package/lang/translations/vi.po +1 -0
  56. package/lang/translations/zh-cn.po +1 -0
  57. package/lang/translations/zh.po +1 -0
  58. package/package.json +2 -6
  59. package/src/augmentation.d.ts +38 -38
  60. package/src/collaborationhistory.d.ts +21 -21
  61. package/src/collaborationoperation.d.ts +28 -28
  62. package/src/config.d.ts +102 -102
  63. package/src/index.d.ts +18 -18
  64. package/src/permissions.d.ts +45 -45
  65. package/src/permissions.js +1 -1
  66. package/src/suggestionstyles.d.ts +12 -12
  67. package/src/users/view/userview.d.ts +16 -16
  68. package/src/users/view/userview.js +1 -1
  69. package/src/users.d.ts +161 -150
  70. package/src/users.js +1 -1
  71. package/src/utils/common-translations.d.ts +9 -9
  72. package/src/utils/common-translations.js +1 -1
  73. package/src/utils/confirmmixin.d.ts +20 -20
  74. package/src/utils/confirmmixin.js +1 -1
  75. package/src/utils/confirmview.d.ts +13 -13
  76. package/src/utils/confirmview.js +1 -1
  77. package/src/utils/getdatetimeformatter.d.ts +29 -29
  78. package/src/utils/getdatetimeformatter.js +1 -1
  79. package/src/utils/getmarkerdomelement.d.ts +22 -22
  80. package/src/utils/getmarkerdomelement.js +1 -1
  81. package/src/utils/hashobject.d.ts +8 -8
  82. package/src/utils/hashobject.js +1 -1
  83. package/src/utils/sanitizeEditorConfig.d.ts +15 -15
  84. package/src/utils/sanitizeEditorConfig.js +1 -1
  85. package/src/utils/trim-html.d.ts +16 -16
  86. package/src/utils/trim-html.js +1 -1
  87. package/theme/icons/notification.svg +1 -1
  88. package/theme/integrations/codeblock.css +9 -0
  89. package/theme/integrations/horizontalline.css +9 -0
  90. package/theme/integrations/image.css +31 -20
  91. package/theme/integrations/mediaembed.css +9 -0
  92. package/theme/integrations/pagebreak.css +9 -0
  93. package/theme/integrations/table.css +32 -23
  94. package/theme/suggestion.css +10 -1
  95. package/theme/suggestionmarker.css +2 -1
  96. package/theme/usercolormixin.css +10 -1
  97. package/theme/usercolors.css +2 -1
  98. package/theme/users.css +5 -4
@@ -1,22 +1,22 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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';
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;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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';
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;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1104=['domConverter','length','name','sort','filter','push','values','domElement','mapper','item','view','map','getClientRects','mapViewToDom'];(function(_0xfcfb3a,_0x11049d){const _0x20a1f2=function(_0x1f1fa7){while(--_0x1f1fa7){_0xfcfb3a['push'](_0xfcfb3a['shift']());}};_0x20a1f2(++_0x11049d);}(_0x1104,0xa6));const _0x20a1=function(_0xfcfb3a,_0x11049d){_0xfcfb3a=_0xfcfb3a-0x0;let _0x20a1f2=_0x1104[_0xfcfb3a];return _0x20a1f2;};import{first as _0x39828e}from'ckeditor5/src/utils';export default function k(_0x1ab420,_0x536057){const _0x14761b=_0x1ab420[_0x20a1('0xa')]['markerNameToElements'](_0x536057[_0x20a1('0x4')]);if(!_0x14761b)return null;const _0x4a6967=_0x39828e(_0x14761b[_0x20a1('0x8')]());return _0x1ab420[_0x20a1('0xc')][_0x20a1('0x2')][_0x20a1('0x1')](_0x4a6967)||null;}export function getAllMarkersDomElementsSorted(_0x5e80af,_0x5ab756){if(0x0===_0x5ab756['length'])return null;const _0x16a46b=[],_0x457d22=_0x5e80af[_0x20a1('0xc')][_0x20a1('0x2')];for(const _0x23864f of _0x5ab756){const _0x4dbea3=_0x5e80af['mapper']['markerNameToElements'](_0x23864f[_0x20a1('0x4')]);if(!_0x4dbea3)continue;const _0x2e1628=Array['from'](_0x4dbea3)[_0x20a1('0xd')](_0x30e355=>_0x457d22[_0x20a1('0x1')](_0x30e355))[_0x20a1('0x6')](_0x5471f8=>!!_0x5471f8);_0x16a46b['push'](..._0x2e1628);}if(0x0===_0x16a46b[_0x20a1('0x3')])return null;const _0x4c6f1f=[];for(const _0x41ecdc of _0x16a46b){const _0x3be2ee=_0x41ecdc[_0x20a1('0x0')]()[_0x20a1('0xb')](0x0);_0x3be2ee&&_0x4c6f1f[_0x20a1('0x7')]({'x':_0x3be2ee['x'],'y':_0x3be2ee['y'],'domElement':_0x41ecdc});}return 0x0===_0x4c6f1f[_0x20a1('0x3')]?null:(_0x4c6f1f[_0x20a1('0x5')]((_0xc0647,_0x5e1cf3)=>_0xc0647['y']-_0x5e1cf3['y']||_0xc0647['x']-_0x5e1cf3['x']),_0x4c6f1f[_0x20a1('0xd')](_0x4c6d6c=>_0x4c6d6c[_0x20a1('0x9')]));}
23
+ const _0x2d0c=['view','values','name','push','markerNameToElements','domElement','mapViewToDom','length','mapper','map'];(function(_0x561b4d,_0x2d0c5e){const _0x443363=function(_0x20b47a){while(--_0x20b47a){_0x561b4d['push'](_0x561b4d['shift']());}};_0x443363(++_0x2d0c5e);}(_0x2d0c,0x1ce));const _0x4433=function(_0x561b4d,_0x2d0c5e){_0x561b4d=_0x561b4d-0x0;let _0x443363=_0x2d0c[_0x561b4d];return _0x443363;};import{first as _0x273264}from'ckeditor5/src/utils';export default function k(_0x57e8fb,_0x1a3bc7){const _0x5a1069=_0x57e8fb[_0x4433('0x6')][_0x4433('0x2')](_0x1a3bc7['name']);if(!_0x5a1069)return null;const _0x3d6e57=_0x273264(_0x5a1069[_0x4433('0x9')]());return _0x57e8fb[_0x4433('0x8')]['domConverter'][_0x4433('0x4')](_0x3d6e57)||null;}export function getAllMarkersDomElementsSorted(_0x361b63,_0x288e20){if(0x0===_0x288e20['length'])return null;const _0x4fbcf1=[],_0x2a89c1=_0x361b63[_0x4433('0x8')]['domConverter'];for(const _0x6c07dd of _0x288e20){const _0x5d280b=_0x361b63[_0x4433('0x6')]['markerNameToElements'](_0x6c07dd[_0x4433('0x0')]);if(!_0x5d280b)continue;const _0x1ffa78=Array['from'](_0x5d280b)[_0x4433('0x7')](_0x3a7a6e=>_0x2a89c1['mapViewToDom'](_0x3a7a6e))['filter'](_0xab2d83=>!!_0xab2d83);_0x4fbcf1['push'](..._0x1ffa78);}if(0x0===_0x4fbcf1[_0x4433('0x5')])return null;const _0x37f1ee=[];for(const _0x3dc6c7 of _0x4fbcf1){const _0x131f73=_0x3dc6c7['getClientRects']()['item'](0x0);_0x131f73&&_0x37f1ee[_0x4433('0x1')]({'x':_0x131f73['x'],'y':_0x131f73['y'],'domElement':_0x3dc6c7});}return 0x0===_0x37f1ee[_0x4433('0x5')]?null:(_0x37f1ee['sort']((_0x496a58,_0x4d7619)=>_0x496a58['y']-_0x4d7619['y']||_0x496a58['x']-_0x4d7619['x']),_0x37f1ee[_0x4433('0x7')](_0x18d26c=>_0x18d26c[_0x4433('0x3')]));}
@@ -1,8 +1,8 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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 track-changes/utils/hashobject
7
- */
8
- export default function hashObject(obj: Record<string, unknown>): string;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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 track-changes/utils/hashobject
7
+ */
8
+ export default function hashObject(obj: Record<string, unknown>): string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6f37=['sign','keys','sort','string','isArray','number','object'];(function(_0x3f536d,_0x6f3739){const _0x223a1e=function(_0x3fffe9){while(--_0x3fffe9){_0x3f536d['push'](_0x3f536d['shift']());}};_0x223a1e(++_0x6f3739);}(_0x6f37,0x16e));const _0x223a=function(_0x3f536d,_0x6f3739){_0x3f536d=_0x3f536d-0x0;let _0x223a1e=_0x6f37[_0x3f536d];return _0x223a1e;};export default function b(_0x536cf0){let _0x34befc=0x0,_0x545005=0x0;for(const _0x34ce71 of g(_0x536cf0))_0x34befc=(_0x34befc<<0x5)-_0x34befc+_0x34ce71,_0x34befc&=_0x34befc,[_0x34befc,_0x545005]=[_0x545005,_0x34befc];return O(_0x34befc)+O(_0x545005);}function*j(_0x1b4f28){_0x1b4f28?'boolean'==typeof _0x1b4f28?yield 0x1:Array[_0x223a('0x2')](_0x1b4f28)?yield*function*(_0x1ab0a0){for(const _0x203ccc of _0x1ab0a0)yield*j(_0x203ccc);}(_0x1b4f28):_0x223a('0x4')==typeof _0x1b4f28?yield*g(_0x1b4f28):_0x223a('0x1')==typeof _0x1b4f28?yield*A(_0x1b4f28):_0x223a('0x3')==typeof _0x1b4f28&&(yield _0x1b4f28):yield 0x0;}function*g(_0x1364a1){if(yield M('{'),_0x1364a1){const _0x4e3c06=Object[_0x223a('0x6')](_0x1364a1)[_0x223a('0x0')]();for(const _0x485e2b of _0x4e3c06){yield*A(_0x485e2b),yield M(':');const _0x310d8e=_0x1364a1[_0x485e2b];yield*j(_0x310d8e);}}yield M('}');}function*A(_0x5b3f58){yield M('\x22');for(const _0x24dbfa of _0x5b3f58)yield M(_0x24dbfa);yield M('\x22');}function M(_0x326f3a){return _0x326f3a['charCodeAt'](0x0);}function O(_0x40647a){return(_0x40647a*=Math[_0x223a('0x5')](_0x40647a))['toString'](0x24);}
23
+ const _0x89a8=['sign','toString','object','string','number','charCodeAt','sort','keys','boolean'];(function(_0x330128,_0x89a8b0){const _0x5e6d23=function(_0x3c848a){while(--_0x3c848a){_0x330128['push'](_0x330128['shift']());}};_0x5e6d23(++_0x89a8b0);}(_0x89a8,0x13a));const _0x5e6d=function(_0x330128,_0x89a8b0){_0x330128=_0x330128-0x0;let _0x5e6d23=_0x89a8[_0x330128];return _0x5e6d23;};export default function b(_0x2a4601){let _0x23ded6=0x0,_0x91676f=0x0;for(const _0x5883ea of g(_0x2a4601))_0x23ded6=(_0x23ded6<<0x5)-_0x23ded6+_0x5883ea,_0x23ded6&=_0x23ded6,[_0x23ded6,_0x91676f]=[_0x91676f,_0x23ded6];return O(_0x23ded6)+O(_0x91676f);}function*j(_0x1c765c){_0x1c765c?_0x5e6d('0x0')==typeof _0x1c765c?yield 0x1:Array['isArray'](_0x1c765c)?yield*function*(_0x3a3aa4){for(const _0x455145 of _0x3a3aa4)yield*j(_0x455145);}(_0x1c765c):_0x5e6d('0x3')==typeof _0x1c765c?yield*g(_0x1c765c):_0x5e6d('0x4')==typeof _0x1c765c?yield*A(_0x1c765c):_0x5e6d('0x5')==typeof _0x1c765c&&(yield _0x1c765c):yield 0x0;}function*g(_0x11662a){if(yield M('{'),_0x11662a){const _0x52d43e=Object[_0x5e6d('0x8')](_0x11662a)[_0x5e6d('0x7')]();for(const _0x2034af of _0x52d43e){yield*A(_0x2034af),yield M(':');const _0x501b59=_0x11662a[_0x2034af];yield*j(_0x501b59);}}yield M('}');}function*A(_0x1d1e35){yield M('\x22');for(const _0x5da9a6 of _0x1d1e35)yield M(_0x5da9a6);yield M('\x22');}function M(_0x196420){return _0x196420[_0x5e6d('0x6')](0x0);}function O(_0x141024){return(_0x141024*=Math[_0x5e6d('0x1')](_0x141024))[_0x5e6d('0x2')](0x24);}
@@ -1,15 +1,15 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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/common-translations
7
- */
8
- import type { Editor, EditorConfig } from 'ckeditor5/src/core';
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;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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/common-translations
7
+ */
8
+ import type { Editor, EditorConfig } from 'ckeditor5/src/core';
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;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a2f=['get','initialData','extraPlugins','length','WebSocketGateway','name','rootsAttributes','string','filter','DocumentOutline','toolbar','constructor','_context','requires','map','Autosave','removePlugins','config','WProofreader','WordCount','every','concat','includes','from','pluginName','names','plugins','set'];(function(_0x55e54b,_0x4a2f49){const _0x317169=function(_0x3c6228){while(--_0x3c6228){_0x55e54b['push'](_0x55e54b['shift']());}};_0x317169(++_0x4a2f49);}(_0x4a2f,0x1cd));const _0x3171=function(_0x55e54b,_0x4a2f49){_0x55e54b=_0x55e54b-0x0;let _0x317169=_0x4a2f[_0x55e54b];return _0x317169;};const w=[_0x3171('0x10'),'context',_0x3171('0x19'),_0x3171('0x15')],W=[_0x3171('0x13'),'RevisionTracker',_0x3171('0x2'),_0x3171('0x6'),_0x3171('0x18'),_0x3171('0x5')];function v(_0x31e67a,_0x535a83,_0x32e84d,_0x5921c8=[]){const _0x46f0ea='string'==typeof _0x31e67a?_0x32e84d[_0x3171('0xf')](_0x31e67a)['constructor']:_0x31e67a,_0x3b364b=_0x46f0ea[_0x3171('0xb')]||_0x46f0ea[_0x3171('0x14')];if(_0x535a83['has'](_0x3b364b))return _0x535a83['get'](_0x3b364b);if(_0x535a83['set'](_0x3b364b,!0x0),_0x3b364b&&W[_0x3171('0x8')](_0x5921c8)[_0x3171('0x9')](_0x3b364b))return _0x535a83[_0x3171('0xe')](_0x3b364b,!0x1),!0x1;if(!_0x46f0ea[_0x3171('0x0')])return _0x535a83[_0x3171('0xe')](_0x3b364b,!0x0),!0x0;const _0x142741=_0x46f0ea[_0x3171('0x0')][_0x3171('0x7')](_0x2e462a=>v(_0x2e462a,_0x535a83,_0x32e84d,_0x5921c8));return _0x535a83['set'](_0x3b364b,_0x142741),_0x142741;}export default function D(_0x81ff3f,_0x3b45ef){const _0x1df824={};for(const _0x65da3a of _0x81ff3f[_0x3171('0x4')][_0x3171('0xc')]())w[_0x3171('0x9')](_0x65da3a)||(_0x1df824[_0x65da3a]=_0x81ff3f[_0x3171('0x4')][_0x3171('0xf')](_0x65da3a));const _0x4039af=_0x1df824[_0x3171('0xd')]||[],_0x2cde18=_0x81ff3f[_0x3171('0x1a')]['builtinPlugins']||[],_0x4a746d=_0x4039af[_0x3171('0x12')]?_0x4039af:_0x2cde18,_0x2f1fa0=_0x1df824[_0x3171('0x11')]||[];delete _0x1df824['extraPlugins'];const _0x5c7daa=_0x1df824[_0x3171('0x3')]||[];delete _0x1df824[_0x3171('0x3')];const _0x3f51d2=_0x81ff3f[_0x3171('0x1b')]['config'][_0x3171('0xf')](_0x3171('0xd'))||[],_0x4494fd=_0x4a746d[_0x3171('0x8')](_0x2f1fa0)[_0x3171('0x8')](_0x3f51d2)[_0x3171('0x1')](_0x170473=>_0x3171('0x16')==typeof _0x170473?_0x2cde18['find'](_0x35ec97=>_0x35ec97[_0x3171('0xb')]==_0x170473):_0x170473)[_0x3171('0x17')](_0x4c9797=>!_0x5c7daa['includes'](_0x4c9797)),_0xee56d8=Array[_0x3171('0xa')](new Set(_0x4494fd)),_0x8ba3d4=new Map();return _0x1df824[_0x3171('0xd')]=_0xee56d8[_0x3171('0x17')](_0x381d9d=>v(_0x381d9d,_0x8ba3d4,_0x81ff3f[_0x3171('0xd')],_0x3b45ef)),_0x1df824;}
23
+ const _0x53da=['requires','set','length','concat','DocumentOutline','rootsAttributes','string','includes','plugins','extraPlugins','map','RevisionTracker','config','filter','_context','find','initialData','toolbar','has','removePlugins','name','names','pluginName','builtinPlugins','constructor','get'];(function(_0x327841,_0x53da8f){const _0xcf91a1=function(_0x5aba51){while(--_0x5aba51){_0x327841['push'](_0x327841['shift']());}};_0xcf91a1(++_0x53da8f);}(_0x53da,0x138));const _0xcf91=function(_0x327841,_0x53da8f){_0x327841=_0x327841-0x0;let _0xcf91a1=_0x53da[_0x327841];return _0xcf91a1;};const w=[_0xcf91('0x10'),'context',_0xcf91('0x11'),_0xcf91('0x5')],W=['WebSocketGateway',_0xcf91('0xb'),'Autosave','WordCount',_0xcf91('0x4'),'WProofreader'];function v(_0x572ae6,_0x307586,_0x128d08,_0x3d2aa3=[]){const _0x31b0c8=_0xcf91('0x6')==typeof _0x572ae6?_0x128d08[_0xcf91('0x19')](_0x572ae6)['constructor']:_0x572ae6,_0x10a1c6=_0x31b0c8[_0xcf91('0x16')]||_0x31b0c8[_0xcf91('0x14')];if(_0x307586[_0xcf91('0x12')](_0x10a1c6))return _0x307586[_0xcf91('0x19')](_0x10a1c6);if(_0x307586[_0xcf91('0x1')](_0x10a1c6,!0x0),_0x10a1c6&&W[_0xcf91('0x3')](_0x3d2aa3)[_0xcf91('0x7')](_0x10a1c6))return _0x307586[_0xcf91('0x1')](_0x10a1c6,!0x1),!0x1;if(!_0x31b0c8[_0xcf91('0x0')])return _0x307586[_0xcf91('0x1')](_0x10a1c6,!0x0),!0x0;const _0x15f424=_0x31b0c8[_0xcf91('0x0')]['every'](_0x2b9b58=>v(_0x2b9b58,_0x307586,_0x128d08,_0x3d2aa3));return _0x307586[_0xcf91('0x1')](_0x10a1c6,_0x15f424),_0x15f424;}export default function D(_0x88f503,_0x5653d4){const _0x5d5251={};for(const _0x572886 of _0x88f503[_0xcf91('0xc')][_0xcf91('0x15')]())w[_0xcf91('0x7')](_0x572886)||(_0x5d5251[_0x572886]=_0x88f503[_0xcf91('0xc')]['get'](_0x572886));const _0x1d0f7e=_0x5d5251['plugins']||[],_0x2a809d=_0x88f503[_0xcf91('0x18')][_0xcf91('0x17')]||[],_0x66607e=_0x1d0f7e[_0xcf91('0x2')]?_0x1d0f7e:_0x2a809d,_0x54f84f=_0x5d5251[_0xcf91('0x9')]||[];delete _0x5d5251[_0xcf91('0x9')];const _0x27f208=_0x5d5251[_0xcf91('0x13')]||[];delete _0x5d5251['removePlugins'];const _0x3774b9=_0x88f503[_0xcf91('0xe')][_0xcf91('0xc')][_0xcf91('0x19')](_0xcf91('0x8'))||[],_0x3a1ff8=_0x66607e[_0xcf91('0x3')](_0x54f84f)['concat'](_0x3774b9)[_0xcf91('0xa')](_0x15fbe4=>_0xcf91('0x6')==typeof _0x15fbe4?_0x2a809d[_0xcf91('0xf')](_0x28f19b=>_0x28f19b['pluginName']==_0x15fbe4):_0x15fbe4)[_0xcf91('0xd')](_0x47b926=>!_0x27f208['includes'](_0x47b926)),_0x266887=Array['from'](new Set(_0x3a1ff8)),_0x22c76e=new Map();return _0x5d5251[_0xcf91('0x8')]=_0x266887['filter'](_0x5356e0=>v(_0x5356e0,_0x22c76e,_0x88f503[_0xcf91('0x8')],_0x5653d4)),_0x5d5251;}
@@ -1,16 +1,16 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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
- * Trims text inside a html tags and takes care of all closing tags.
7
- *
8
- * @param html
9
- * @param options
10
- * @param limit Limit of the characters.
11
- * @param suffix
12
- */
13
- export default function trimHtml(html: string, { limit, suffix }: {
14
- limit: number;
15
- suffix?: string;
16
- }): string;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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
+ * Trims text inside a html tags and takes care of all closing tags.
7
+ *
8
+ * @param html
9
+ * @param options
10
+ * @param limit Limit of the characters.
11
+ * @param suffix
12
+ */
13
+ export default function trimHtml(html: string, { limit, suffix }: {
14
+ limit: number;
15
+ suffix?: string;
16
+ }): string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb59b=['join','push','match','split','indexOf','replace','slice','substring','length','pop','...'];(function(_0x1213ab,_0xb59b5c){const _0x23f5b9=function(_0x3261dd){while(--_0x3261dd){_0x1213ab['push'](_0x1213ab['shift']());}};_0x23f5b9(++_0xb59b5c);}(_0xb59b,0xaf));const _0x23f5=function(_0x1213ab,_0xb59b5c){_0x1213ab=_0x1213ab-0x0;let _0x23f5b9=_0xb59b[_0x1213ab];return _0x23f5b9;};export default function z(_0x1cf72f,{limit:_0x23d656,suffix:_0xcfa9c3=_0x23f5('0x0')}){const _0x3d6a66=[];let _0x42e238=0x0;const _0x47d274=_0x1cf72f[_0x23f5('0x6')](/</g,'\x0a<')[_0x23f5('0x6')](/>/g,'>\x0a')[_0x23f5('0x6')](/^\n/g,'')[_0x23f5('0x6')](/\n$/g,'')[_0x23f5('0x4')]('\x0a');for(let _0x157dc7=0x0;_0x157dc7<_0x47d274[_0x23f5('0x9')];_0x157dc7++){let _0x375e2d=_0x47d274[_0x157dc7];const _0x1a7b88=Z(_0x375e2d);if(_0x375e2d['startsWith']('<')){if(_0x42e238>=_0x23d656){const _0x5654d9=_0x375e2d[_0x23f5('0x3')](/[a-zA-Z]+/);if(!_0x5654d9){_0x47d274[_0x157dc7]='';continue;}const _0x4728d1=_0x5654d9[0x0];_0x375e2d['startsWith']('</')?(_0x3d6a66['length']&&(_0x375e2d=''),_0x3d6a66[_0x23f5('0xa')]()):(_0x3d6a66[_0x23f5('0x2')](_0x4728d1),_0x375e2d='');}}else{if(_0x42e238>=_0x23d656)_0x375e2d='';else{if(_0x42e238+_0x1a7b88[_0x23f5('0x9')]>=_0x23d656){let _0x236db6=_0x23d656-_0x42e238;if('\x20'===_0x1a7b88[_0x236db6-0x1])_0x236db6--;else{const _0x3e69c3=_0x1a7b88[_0x23f5('0x7')](_0x236db6)[_0x23f5('0x5')]('\x20');-0x1!==_0x3e69c3?_0x236db6+=_0x3e69c3:_0x236db6=_0x375e2d[_0x23f5('0x9')];}_0x375e2d=_0x1a7b88['slice'](0x0,_0x236db6)[_0x23f5('0x1')]('')+_0xcfa9c3,_0x42e238=_0x23d656;}else _0x42e238+=_0x1a7b88[_0x23f5('0x9')];}}_0x47d274[_0x157dc7]=_0x375e2d;}return _0x47d274[_0x23f5('0x1')]('\x0a')['replace'](/\n/g,'');}function Z(_0x4eab7e){const _0x19263b=[];for(let _0x563621=0x0;_0x563621<_0x4eab7e[_0x23f5('0x9')];_0x563621++){const _0x43207a=_0x4eab7e[_0x23f5('0x8')](_0x563621)[_0x23f5('0x3')](/^&[a-z0-9#]+;/);if(_0x43207a){const _0x5e42ac=_0x43207a[0x0];_0x19263b['push'](_0x5e42ac),_0x563621+=_0x5e42ac[_0x23f5('0x9')]-0x1;}else _0x19263b[_0x23f5('0x2')](_0x4eab7e[_0x563621]);}return _0x19263b;}
23
+ const _0x11fc=['replace','split','indexOf','startsWith','length','slice','push','match','...','substring','join','pop'];(function(_0x209efe,_0x11fc52){const _0xd5da3=function(_0x58b1da){while(--_0x58b1da){_0x209efe['push'](_0x209efe['shift']());}};_0xd5da3(++_0x11fc52);}(_0x11fc,0xed));const _0xd5da=function(_0x209efe,_0x11fc52){_0x209efe=_0x209efe-0x0;let _0xd5da3=_0x11fc[_0x209efe];return _0xd5da3;};export default function z(_0x1cf12c,{limit:_0x2a138c,suffix:_0x10f8b8=_0xd5da('0xb')}){const _0x5b092f=[];let _0x169d00=0x0;const _0x4aa9b6=_0x1cf12c['replace'](/</g,'\x0a<')[_0xd5da('0x3')](/>/g,'>\x0a')[_0xd5da('0x3')](/^\n/g,'')[_0xd5da('0x3')](/\n$/g,'')[_0xd5da('0x4')]('\x0a');for(let _0x4c9e64=0x0;_0x4c9e64<_0x4aa9b6[_0xd5da('0x7')];_0x4c9e64++){let _0x1c5019=_0x4aa9b6[_0x4c9e64];const _0x4ea49a=Z(_0x1c5019);if(_0x1c5019['startsWith']('<')){if(_0x169d00>=_0x2a138c){const _0x3b0440=_0x1c5019[_0xd5da('0xa')](/[a-zA-Z]+/);if(!_0x3b0440){_0x4aa9b6[_0x4c9e64]='';continue;}const _0x202126=_0x3b0440[0x0];_0x1c5019[_0xd5da('0x6')]('</')?(_0x5b092f['length']&&(_0x1c5019=''),_0x5b092f[_0xd5da('0x2')]()):(_0x5b092f[_0xd5da('0x9')](_0x202126),_0x1c5019='');}}else{if(_0x169d00>=_0x2a138c)_0x1c5019='';else{if(_0x169d00+_0x4ea49a['length']>=_0x2a138c){let _0x1c5514=_0x2a138c-_0x169d00;if('\x20'===_0x4ea49a[_0x1c5514-0x1])_0x1c5514--;else{const _0xb0f3be=_0x4ea49a['slice'](_0x1c5514)[_0xd5da('0x5')]('\x20');-0x1!==_0xb0f3be?_0x1c5514+=_0xb0f3be:_0x1c5514=_0x1c5019[_0xd5da('0x7')];}_0x1c5019=_0x4ea49a[_0xd5da('0x8')](0x0,_0x1c5514)[_0xd5da('0x1')]('')+_0x10f8b8,_0x169d00=_0x2a138c;}else _0x169d00+=_0x4ea49a['length'];}}_0x4aa9b6[_0x4c9e64]=_0x1c5019;}return _0x4aa9b6[_0xd5da('0x1')]('\x0a')['replace'](/\n/g,'');}function Z(_0x32aee5){const _0x488b4a=[];for(let _0x340840=0x0;_0x340840<_0x32aee5[_0xd5da('0x7')];_0x340840++){const _0x1946b2=_0x32aee5[_0xd5da('0x0')](_0x340840)['match'](/^&[a-z0-9#]+;/);if(_0x1946b2){const _0x331605=_0x1946b2[0x0];_0x488b4a[_0xd5da('0x9')](_0x331605),_0x340840+=_0x331605[_0xd5da('0x7')]-0x1;}else _0x488b4a[_0xd5da('0x9')](_0x32aee5[_0x340840]);}return _0x488b4a;}
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -1,3 +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-2023, 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
+
1
10
  .ck-content pre > code.ck-suggestion-marker-formatBlock {
2
11
  display: block;
3
12
  box-shadow: -7px 0 0 0 hsl(0deg 0% 93%), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
@@ -1,3 +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-2023, 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
+
1
10
  .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line {
2
11
  background-color: var(--ck-color-suggestion-widget-deletion-background);
3
12
 
@@ -1,3 +1,32 @@
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-2023, 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
+
1
30
  .ck-content .ck-suggestion-marker-deletion.ck-widget.image {
2
31
  background-color: var(--ck-color-suggestion-widget-deletion-background);
3
32
 
@@ -21,9 +50,11 @@
21
50
  .ck-content .ck-suggestion-marker-insertion.ck-widget.image {
22
51
  background-color: var(--ck-color-suggestion-widget-insertion-background);
23
52
 
53
+ /* stylelint-disable no-descending-specificity */
24
54
  & figcaption {
25
55
  background-color: var(--ck-color-suggestion-widget-insertion-background);
26
56
  }
57
+ /* stylelint-enable no-descending-specificity */
27
58
 
28
59
  &.ck-suggestion-marker--active {
29
60
  background-color: var(--ck-color-suggestion-widget-insertion-background-active);
@@ -33,23 +64,3 @@
33
64
  }
34
65
  }
35
66
  }
36
-
37
- .ck-content .ck-widget.image > figcaption {
38
- &.ck-suggestion-marker-deletion {
39
- background-color: var(--ck-color-suggestion-widget-deletion-background);
40
- border: none;
41
-
42
- &.ck-suggestion-marker--active {
43
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
44
- }
45
- }
46
-
47
- &.ck-suggestion-marker-insertion {
48
- background-color: var(--ck-color-suggestion-widget-insertion-background);
49
- border: none;
50
-
51
- &.ck-suggestion-marker--active {
52
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
53
- }
54
- }
55
- }
@@ -1,3 +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-2023, 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
+
1
10
  .ck-content .ck-suggestion-marker-deletion.ck-widget.media {
2
11
  background-color: var(--ck-color-suggestion-widget-deletion-background);
3
12
 
@@ -1,3 +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-2023, 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
+
1
10
  .ck-content .ck-suggestion-marker-deletion.ck-widget.page-break {
2
11
  background-color: var(--ck-color-suggestion-widget-deletion-background);
3
12
 
@@ -1,3 +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-2023, 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
+
1
10
  :root {
2
11
  --ck-color-suggestion-widget-th-insertion-background: hsla(128, 71%, 65%, .12);
3
12
  --ck-color-suggestion-widget-th-insertion-background-active: hsla(128, 71%, 50%, .14);
@@ -14,6 +23,26 @@
14
23
  }
15
24
  }
16
25
 
26
+ .ck-content .ck-widget.table > figcaption {
27
+ &.ck-suggestion-marker-deletion {
28
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
29
+ border: none;
30
+
31
+ &.ck-suggestion-marker--active {
32
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
33
+ }
34
+ }
35
+
36
+ &.ck-suggestion-marker-insertion {
37
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
38
+ border: none;
39
+
40
+ &.ck-suggestion-marker--active {
41
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
42
+ }
43
+ }
44
+ }
45
+
17
46
  .ck-content .ck-suggestion-marker-insertion.table {
18
47
  border-color: var(--ck-color-suggestion-marker-insertion-border);
19
48
 
@@ -21,7 +50,7 @@
21
50
  background-color: var(--ck-color-suggestion-widget-insertion-background);
22
51
  }
23
52
 
24
- & > table {
53
+ & > table {
25
54
  & > tbody > tr > th {
26
55
  background-color: var(--ck-color-suggestion-widget-th-insertion-background);
27
56
  border-color: var(--ck-color-suggestion-marker-insertion-border);
@@ -89,7 +118,7 @@
89
118
  border-color: var(--ck-color-suggestion-marker-deletion-border);
90
119
  text-decoration: none;
91
120
  }
92
- }
121
+ }
93
122
  }
94
123
 
95
124
  .ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table {
@@ -99,7 +128,7 @@
99
128
  background-color: var(--ck-color-suggestion-widget-deletion-background-active);
100
129
  }
101
130
 
102
- & > table {
131
+ & > table {
103
132
  & > tbody > tr > th {
104
133
  background-color: var(--ck-color-suggestion-widget-th-deletion-background-active);
105
134
  border-color: var(--ck-color-suggestion-marker-deletion-border-active);
@@ -117,26 +146,6 @@
117
146
  }
118
147
  }
119
148
 
120
- .ck-content .ck-widget.table > figcaption {
121
- &.ck-suggestion-marker-deletion {
122
- background-color: var(--ck-color-suggestion-widget-deletion-background);
123
- border: none;
124
-
125
- &.ck-suggestion-marker--active {
126
- background-color: var(--ck-color-suggestion-widget-deletion-background-active);
127
- }
128
- }
129
-
130
- &.ck-suggestion-marker-insertion {
131
- background-color: var(--ck-color-suggestion-widget-insertion-background);
132
- border: none;
133
-
134
- &.ck-suggestion-marker--active {
135
- background-color: var(--ck-color-suggestion-widget-insertion-background-active);
136
- }
137
- }
138
- }
139
-
140
149
  /*
141
150
  * We need here at least 022 CSS Specificity because of table styles like `.ck-content .table table th { background: ... }
142
151
  * See: https://github.com/ckeditor/ckeditor5-table/blob/master/theme/table.css#L29
@@ -1,3 +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-2023, 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
+
1
10
  :root {
2
11
  --ck-color-comment-box-border: hsl(55, 98%, 48%);
3
12
  --ck-color-suggestion-box-deletion-border: hsl(345, 62%, 60%);
@@ -61,7 +70,7 @@ With track-changes feature enabled, we need to distinguish various types of anno
61
70
  border-radius: 14px;
62
71
  vertical-align: text-bottom;
63
72
  margin: 0 5px;
64
- box-shadow: 0 0 0 1px #444;
73
+ box-shadow: 0 0 0 1px hsl(0, 0%, 27%);
65
74
  }
66
75
 
67
76
  /* Comments inside suggestion. */
@@ -3,7 +3,8 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  :root {
@@ -1,3 +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-2023, 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
+
1
10
  @define-mixin userColor $color, $colorAlpha, $number {
2
11
  .ck .ck-user__color--$(number) {
3
12
  color: $color;
@@ -27,4 +36,4 @@
27
36
  border: 1px solid $color;
28
37
  }
29
38
  }
30
- }
39
+ }
@@ -3,7 +3,8 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  @import "./usercolormixin.css";
package/theme/users.css CHANGED
@@ -3,7 +3,8 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  @import '@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css';
@@ -77,8 +78,8 @@
77
78
  height: 15px;
78
79
  justify-content: center;
79
80
  align-items: center;
80
- background: white;
81
- border: 2px solid white;
81
+ background: var(--ck-color-base-background);
82
+ border: 2px solid var(--ck-color-base-background);
82
83
  border-radius: 50%;
83
84
  box-sizing: content-box;
84
85
 
@@ -90,7 +91,7 @@
90
91
 
91
92
  & .ck-user__icon {
92
93
  color: var(--ck-color-annotation-info);
93
- background: white;
94
+ background: var(--ck-color-base-background);
94
95
  width: 19px;
95
96
  height: 19px;
96
97
  max-width: 19px;