@ckeditor/ckeditor5-collaboration-core 47.6.1 → 48.0.0-alpha.1

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 (339) hide show
  1. package/{src → dist}/collaborationoperation.d.ts +1 -1
  2. package/{src → dist}/config.d.ts +3 -2
  3. package/{src → dist}/documentcompare.d.ts +2 -2
  4. package/dist/index-content.css +278 -307
  5. package/dist/index-editor.css +202 -365
  6. package/dist/index.css +453 -881
  7. package/{src → dist}/index.d.ts +1 -1
  8. package/dist/index.js +1 -1
  9. package/{src → dist}/permissions.d.ts +1 -1
  10. package/{src → dist}/suggestions/integrations/alignment.d.ts +1 -1
  11. package/{src → dist}/suggestions/integrations/basicstyles.d.ts +1 -1
  12. package/{src → dist}/suggestions/integrations/bookmark.d.ts +1 -1
  13. package/{src → dist}/suggestions/integrations/font.d.ts +1 -1
  14. package/{src → dist}/suggestions/integrations/footnotes.d.ts +1 -1
  15. package/{src → dist}/suggestions/integrations/highlight.d.ts +1 -1
  16. package/{src → dist}/suggestions/integrations/horizontalline.d.ts +1 -1
  17. package/{src → dist}/suggestions/integrations/htmlembed.d.ts +1 -1
  18. package/{src → dist}/suggestions/integrations/image.d.ts +1 -1
  19. package/{src → dist}/suggestions/integrations/indent.d.ts +1 -1
  20. package/{src → dist}/suggestions/integrations/lineheight.d.ts +1 -1
  21. package/{src → dist}/suggestions/integrations/link.d.ts +1 -1
  22. package/{src → dist}/suggestions/integrations/list.d.ts +1 -1
  23. package/{src → dist}/suggestions/integrations/listproperties.d.ts +1 -1
  24. package/{src → dist}/suggestions/integrations/mediaembed.d.ts +1 -1
  25. package/{src → dist}/suggestions/integrations/multilevellist.d.ts +1 -1
  26. package/{src → dist}/suggestions/integrations/shiftenter.d.ts +1 -1
  27. package/{src → dist}/suggestions/integrations/style.d.ts +1 -1
  28. package/{src → dist}/suggestions/integrations/table.d.ts +1 -1
  29. package/{src → dist}/suggestions/integrations/tablecellproperties.d.ts +1 -1
  30. package/dist/suggestions/integrations/tablefooters.d.ts +14 -0
  31. package/{src → dist}/suggestions/integrations/tableheadings.d.ts +1 -1
  32. package/{src → dist}/suggestions/integrations/tablelayout.d.ts +1 -1
  33. package/{src → dist}/suggestions/integrations/tableproperties.d.ts +1 -1
  34. package/{src → dist}/suggestions/integrations/uploadcare.d.ts +1 -1
  35. package/{src → dist}/suggestions/suggestionsconversion.d.ts +28 -2
  36. package/{src → dist}/suggestions/view/ariadescriptionview.d.ts +2 -2
  37. package/{src → dist}/suggestions/view/latefocusbuttonview.d.ts +1 -1
  38. package/dist/translations/af.js +1 -1
  39. package/dist/translations/af.umd.js +1 -1
  40. package/dist/translations/ar.js +1 -1
  41. package/dist/translations/ar.umd.js +1 -1
  42. package/dist/translations/ast.js +1 -1
  43. package/dist/translations/ast.umd.js +1 -1
  44. package/dist/translations/az.js +1 -1
  45. package/dist/translations/az.umd.js +1 -1
  46. package/dist/translations/be.js +1 -1
  47. package/dist/translations/be.umd.js +1 -1
  48. package/dist/translations/bg.js +1 -1
  49. package/dist/translations/bg.umd.js +1 -1
  50. package/dist/translations/bn.js +1 -1
  51. package/dist/translations/bn.umd.js +1 -1
  52. package/dist/translations/bs.js +1 -1
  53. package/dist/translations/bs.umd.js +1 -1
  54. package/dist/translations/ca.js +1 -1
  55. package/dist/translations/ca.umd.js +1 -1
  56. package/dist/translations/cs.js +1 -1
  57. package/dist/translations/cs.umd.js +1 -1
  58. package/dist/translations/da.js +1 -1
  59. package/dist/translations/da.umd.js +1 -1
  60. package/dist/translations/de-ch.js +1 -1
  61. package/dist/translations/de-ch.umd.js +1 -1
  62. package/dist/translations/de.js +1 -1
  63. package/dist/translations/de.umd.js +1 -1
  64. package/dist/translations/el.js +1 -1
  65. package/dist/translations/el.umd.js +1 -1
  66. package/dist/translations/en-au.js +1 -1
  67. package/dist/translations/en-au.umd.js +1 -1
  68. package/dist/translations/en-gb.js +1 -1
  69. package/dist/translations/en-gb.umd.js +1 -1
  70. package/dist/translations/en.js +1 -1
  71. package/dist/translations/en.umd.js +1 -1
  72. package/dist/translations/eo.js +1 -1
  73. package/dist/translations/eo.umd.js +1 -1
  74. package/dist/translations/es-co.js +1 -1
  75. package/dist/translations/es-co.umd.js +1 -1
  76. package/dist/translations/es.js +1 -1
  77. package/dist/translations/es.umd.js +1 -1
  78. package/dist/translations/et.js +1 -1
  79. package/dist/translations/et.umd.js +1 -1
  80. package/dist/translations/eu.js +1 -1
  81. package/dist/translations/eu.umd.js +1 -1
  82. package/dist/translations/fa.js +1 -1
  83. package/dist/translations/fa.umd.js +1 -1
  84. package/dist/translations/fi.js +1 -1
  85. package/dist/translations/fi.umd.js +1 -1
  86. package/dist/translations/fr.js +1 -1
  87. package/dist/translations/fr.umd.js +1 -1
  88. package/dist/translations/gl.js +1 -1
  89. package/dist/translations/gl.umd.js +1 -1
  90. package/dist/translations/gu.js +1 -1
  91. package/dist/translations/gu.umd.js +1 -1
  92. package/dist/translations/he.js +1 -1
  93. package/dist/translations/he.umd.js +1 -1
  94. package/dist/translations/hi.js +1 -1
  95. package/dist/translations/hi.umd.js +1 -1
  96. package/dist/translations/hr.js +1 -1
  97. package/dist/translations/hr.umd.js +1 -1
  98. package/dist/translations/hu.js +1 -1
  99. package/dist/translations/hu.umd.js +1 -1
  100. package/dist/translations/hy.js +1 -1
  101. package/dist/translations/hy.umd.js +1 -1
  102. package/dist/translations/id.js +1 -1
  103. package/dist/translations/id.umd.js +1 -1
  104. package/dist/translations/it.js +1 -1
  105. package/dist/translations/it.umd.js +1 -1
  106. package/dist/translations/ja.js +1 -1
  107. package/dist/translations/ja.umd.js +1 -1
  108. package/dist/translations/jv.js +1 -1
  109. package/dist/translations/jv.umd.js +1 -1
  110. package/dist/translations/kk.js +1 -1
  111. package/dist/translations/kk.umd.js +1 -1
  112. package/dist/translations/km.js +1 -1
  113. package/dist/translations/km.umd.js +1 -1
  114. package/dist/translations/kn.js +1 -1
  115. package/dist/translations/kn.umd.js +1 -1
  116. package/dist/translations/ko.js +1 -1
  117. package/dist/translations/ko.umd.js +1 -1
  118. package/dist/translations/ku.js +1 -1
  119. package/dist/translations/ku.umd.js +1 -1
  120. package/dist/translations/lt.js +1 -1
  121. package/dist/translations/lt.umd.js +1 -1
  122. package/dist/translations/lv.js +1 -1
  123. package/dist/translations/lv.umd.js +1 -1
  124. package/dist/translations/ms.js +1 -1
  125. package/dist/translations/ms.umd.js +1 -1
  126. package/dist/translations/nb.js +1 -1
  127. package/dist/translations/nb.umd.js +1 -1
  128. package/dist/translations/ne.js +1 -1
  129. package/dist/translations/ne.umd.js +1 -1
  130. package/dist/translations/nl.js +1 -1
  131. package/dist/translations/nl.umd.js +1 -1
  132. package/dist/translations/no.js +1 -1
  133. package/dist/translations/no.umd.js +1 -1
  134. package/dist/translations/oc.js +1 -1
  135. package/dist/translations/oc.umd.js +1 -1
  136. package/dist/translations/pl.js +1 -1
  137. package/dist/translations/pl.umd.js +1 -1
  138. package/dist/translations/pt-br.js +1 -1
  139. package/dist/translations/pt-br.umd.js +1 -1
  140. package/dist/translations/pt.js +1 -1
  141. package/dist/translations/pt.umd.js +1 -1
  142. package/dist/translations/ro.js +1 -1
  143. package/dist/translations/ro.umd.js +1 -1
  144. package/dist/translations/ru.js +1 -1
  145. package/dist/translations/ru.umd.js +1 -1
  146. package/dist/translations/si.js +1 -1
  147. package/dist/translations/si.umd.js +1 -1
  148. package/dist/translations/sk.js +1 -1
  149. package/dist/translations/sk.umd.js +1 -1
  150. package/dist/translations/sl.js +1 -1
  151. package/dist/translations/sl.umd.js +1 -1
  152. package/dist/translations/sq.js +1 -1
  153. package/dist/translations/sq.umd.js +1 -1
  154. package/dist/translations/sr-latn.js +1 -1
  155. package/dist/translations/sr-latn.umd.js +1 -1
  156. package/dist/translations/sr.js +1 -1
  157. package/dist/translations/sr.umd.js +1 -1
  158. package/dist/translations/sv.js +1 -1
  159. package/dist/translations/sv.umd.js +1 -1
  160. package/dist/translations/th.js +1 -1
  161. package/dist/translations/th.umd.js +1 -1
  162. package/dist/translations/ti.js +1 -1
  163. package/dist/translations/ti.umd.js +1 -1
  164. package/dist/translations/tk.js +1 -1
  165. package/dist/translations/tk.umd.js +1 -1
  166. package/dist/translations/tr.js +1 -1
  167. package/dist/translations/tr.umd.js +1 -1
  168. package/dist/translations/tt.js +1 -1
  169. package/dist/translations/tt.umd.js +1 -1
  170. package/dist/translations/ug.js +1 -1
  171. package/dist/translations/ug.umd.js +1 -1
  172. package/dist/translations/uk.js +1 -1
  173. package/dist/translations/uk.umd.js +1 -1
  174. package/dist/translations/ur.js +1 -1
  175. package/dist/translations/ur.umd.js +1 -1
  176. package/dist/translations/uz.js +1 -1
  177. package/dist/translations/uz.umd.js +1 -1
  178. package/dist/translations/vi.js +1 -1
  179. package/dist/translations/vi.umd.js +1 -1
  180. package/dist/translations/zh-cn.js +1 -1
  181. package/dist/translations/zh-cn.umd.js +1 -1
  182. package/dist/translations/zh.js +1 -1
  183. package/dist/translations/zh.umd.js +1 -1
  184. package/{src → dist}/users/view/userview.d.ts +2 -2
  185. package/{src → dist}/users.d.ts +10 -2
  186. package/{src → dist}/utils/common-translations.d.ts +1 -1
  187. package/{src → dist}/utils/confirmmixin.d.ts +2 -2
  188. package/{src → dist}/utils/confirmview.d.ts +2 -2
  189. package/{src → dist}/utils/getdatetimeformatter.d.ts +3 -2
  190. package/{src → dist}/utils/getmarkerdomelement.d.ts +1 -1
  191. package/{src → dist}/utils/sanitizeEditorConfig.d.ts +1 -1
  192. package/{src → dist}/utils/setupthreadkeyboardnavigation.d.ts +1 -1
  193. package/{src → dist}/utils/suggestionmarkerutils.d.ts +1 -1
  194. package/{src → dist}/utils/surroundingmarkersdetector.d.ts +1 -1
  195. package/package.json +21 -42
  196. package/lang/contexts.json +0 -16
  197. package/lang/translations/af.po +0 -68
  198. package/lang/translations/ar.po +0 -68
  199. package/lang/translations/ast.po +0 -68
  200. package/lang/translations/az.po +0 -68
  201. package/lang/translations/be.po +0 -68
  202. package/lang/translations/bg.po +0 -68
  203. package/lang/translations/bn.po +0 -68
  204. package/lang/translations/bs.po +0 -68
  205. package/lang/translations/ca.po +0 -68
  206. package/lang/translations/cs.po +0 -68
  207. package/lang/translations/da.po +0 -68
  208. package/lang/translations/de-ch.po +0 -68
  209. package/lang/translations/de.po +0 -68
  210. package/lang/translations/el.po +0 -68
  211. package/lang/translations/en-au.po +0 -68
  212. package/lang/translations/en-gb.po +0 -68
  213. package/lang/translations/en.po +0 -68
  214. package/lang/translations/eo.po +0 -68
  215. package/lang/translations/es-co.po +0 -68
  216. package/lang/translations/es.po +0 -68
  217. package/lang/translations/et.po +0 -68
  218. package/lang/translations/eu.po +0 -68
  219. package/lang/translations/fa.po +0 -68
  220. package/lang/translations/fi.po +0 -68
  221. package/lang/translations/fr.po +0 -68
  222. package/lang/translations/gl.po +0 -68
  223. package/lang/translations/gu.po +0 -68
  224. package/lang/translations/he.po +0 -68
  225. package/lang/translations/hi.po +0 -68
  226. package/lang/translations/hr.po +0 -68
  227. package/lang/translations/hu.po +0 -68
  228. package/lang/translations/hy.po +0 -68
  229. package/lang/translations/id.po +0 -68
  230. package/lang/translations/it.po +0 -68
  231. package/lang/translations/ja.po +0 -68
  232. package/lang/translations/jv.po +0 -68
  233. package/lang/translations/kk.po +0 -68
  234. package/lang/translations/km.po +0 -68
  235. package/lang/translations/kn.po +0 -68
  236. package/lang/translations/ko.po +0 -68
  237. package/lang/translations/ku.po +0 -68
  238. package/lang/translations/lt.po +0 -68
  239. package/lang/translations/lv.po +0 -68
  240. package/lang/translations/ms.po +0 -68
  241. package/lang/translations/nb.po +0 -68
  242. package/lang/translations/ne.po +0 -68
  243. package/lang/translations/nl.po +0 -68
  244. package/lang/translations/no.po +0 -68
  245. package/lang/translations/oc.po +0 -68
  246. package/lang/translations/pl.po +0 -68
  247. package/lang/translations/pt-br.po +0 -68
  248. package/lang/translations/pt.po +0 -68
  249. package/lang/translations/ro.po +0 -68
  250. package/lang/translations/ru.po +0 -68
  251. package/lang/translations/si.po +0 -68
  252. package/lang/translations/sk.po +0 -68
  253. package/lang/translations/sl.po +0 -68
  254. package/lang/translations/sq.po +0 -68
  255. package/lang/translations/sr-latn.po +0 -68
  256. package/lang/translations/sr.po +0 -68
  257. package/lang/translations/sv.po +0 -68
  258. package/lang/translations/th.po +0 -68
  259. package/lang/translations/ti.po +0 -68
  260. package/lang/translations/tk.po +0 -68
  261. package/lang/translations/tr.po +0 -68
  262. package/lang/translations/tt.po +0 -68
  263. package/lang/translations/ug.po +0 -68
  264. package/lang/translations/uk.po +0 -68
  265. package/lang/translations/ur.po +0 -68
  266. package/lang/translations/uz.po +0 -68
  267. package/lang/translations/vi.po +0 -68
  268. package/lang/translations/zh-cn.po +0 -68
  269. package/lang/translations/zh.po +0 -68
  270. package/src/augmentation.js +0 -23
  271. package/src/collaborationhistory.js +0 -23
  272. package/src/collaborationoperation.js +0 -23
  273. package/src/config.js +0 -23
  274. package/src/documentcompare.js +0 -23
  275. package/src/index.js +0 -23
  276. package/src/legacyerrors.js +0 -23
  277. package/src/permissions.js +0 -23
  278. package/src/suggestions/integrations/alignment.js +0 -23
  279. package/src/suggestions/integrations/basicstyles.js +0 -23
  280. package/src/suggestions/integrations/bookmark.js +0 -23
  281. package/src/suggestions/integrations/font.js +0 -23
  282. package/src/suggestions/integrations/footnotes.js +0 -23
  283. package/src/suggestions/integrations/highlight.js +0 -23
  284. package/src/suggestions/integrations/horizontalline.js +0 -23
  285. package/src/suggestions/integrations/htmlembed.js +0 -23
  286. package/src/suggestions/integrations/image.js +0 -23
  287. package/src/suggestions/integrations/indent.js +0 -23
  288. package/src/suggestions/integrations/lineheight.js +0 -23
  289. package/src/suggestions/integrations/link.js +0 -23
  290. package/src/suggestions/integrations/list.js +0 -23
  291. package/src/suggestions/integrations/listproperties.js +0 -23
  292. package/src/suggestions/integrations/mediaembed.js +0 -23
  293. package/src/suggestions/integrations/multilevellist.js +0 -23
  294. package/src/suggestions/integrations/shiftenter.js +0 -23
  295. package/src/suggestions/integrations/style.js +0 -23
  296. package/src/suggestions/integrations/table.js +0 -23
  297. package/src/suggestions/integrations/tablecellproperties.js +0 -23
  298. package/src/suggestions/integrations/tableheadings.js +0 -23
  299. package/src/suggestions/integrations/tablelayout.js +0 -23
  300. package/src/suggestions/integrations/tableproperties.js +0 -23
  301. package/src/suggestions/integrations/uploadcare.js +0 -23
  302. package/src/suggestions/suggestionsconversion.js +0 -23
  303. package/src/suggestions/view/ariadescriptionview.js +0 -23
  304. package/src/suggestions/view/latefocusbuttonview.js +0 -23
  305. package/src/suggestionstyles.js +0 -23
  306. package/src/users/view/userview.js +0 -23
  307. package/src/users.js +0 -23
  308. package/src/utils/common-translations.js +0 -23
  309. package/src/utils/confirmmixin.js +0 -23
  310. package/src/utils/confirmview.js +0 -23
  311. package/src/utils/getdatetimeformatter.js +0 -23
  312. package/src/utils/getmarkerdomelement.js +0 -23
  313. package/src/utils/hashobject.js +0 -23
  314. package/src/utils/sanitizeEditorConfig.js +0 -23
  315. package/src/utils/setupthreadkeyboardnavigation.js +0 -23
  316. package/src/utils/suggestionmarkerutils.js +0 -23
  317. package/src/utils/surroundingmarkersdetector.js +0 -23
  318. package/src/utils/trim-html.js +0 -23
  319. package/theme/ariadescription.css +0 -12
  320. package/theme/confirm.css +0 -52
  321. package/theme/integrations/codeblock.css +0 -17
  322. package/theme/integrations/footnotes.css +0 -24
  323. package/theme/integrations/horizontalline.css +0 -24
  324. package/theme/integrations/image.css +0 -66
  325. package/theme/integrations/mediaembed.css +0 -28
  326. package/theme/integrations/mergefields.css +0 -67
  327. package/theme/integrations/pagebreak.css +0 -24
  328. package/theme/integrations/table.css +0 -207
  329. package/theme/suggestion.css +0 -131
  330. package/theme/suggestionmarker.css +0 -162
  331. package/theme/usercolormixin.css +0 -41
  332. package/theme/usercolors.css +0 -49
  333. package/theme/users.css +0 -110
  334. /package/{src → dist}/augmentation.d.ts +0 -0
  335. /package/{src → dist}/collaborationhistory.d.ts +0 -0
  336. /package/{src → dist}/legacyerrors.d.ts +0 -0
  337. /package/{src → dist}/suggestionstyles.d.ts +0 -0
  338. /package/{src → dist}/utils/hashobject.d.ts +0 -0
  339. /package/{src → dist}/utils/trim-html.d.ts +0 -0
@@ -1,131 +0,0 @@
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-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
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
-
14
- :root {
15
- --ck-color-comment-box-border: hsl(55, 98%, 48%);
16
- --ck-color-suggestion-box-deletion-border: hsl(345, 62%, 60%);
17
- --ck-color-suggestion-box-insertion-border: hsl(128, 62%, 60%);
18
- --ck-color-suggestion-box-format-border: hsl(191, 62%, 60%);
19
- }
20
-
21
- .ck .ck-suggestion {
22
- border-top-left-radius: var(--ck-border-radius);
23
-
24
- &:focus {
25
- background: var(--ck-color-button-default-hover-background);
26
- outline: none;
27
- }
28
- }
29
-
30
- .ck .ck-annotation {
31
- border-left: 3px solid transparent;
32
- }
33
-
34
-
35
- /* See: #3683.
36
- * Inline Suggestion annotations that can't be commented on contains a scrollbar by default */
37
- .ck .ck-suggestion--disabled-comments .ck-annotation {
38
- min-height: 80px;
39
- }
40
-
41
- /* See: #2459.
42
- With track-changes feature enabled, we need to distinguish various types of annotations (comments and suggestions). */
43
- .ck .ck-comment,
44
- .ck .ck-thread__comment-count,
45
- .ck .ck-comment__input-container,
46
- .ck .ck-thread__header {
47
- border-left: 3px solid var(--ck-color-comment-box-border);
48
- }
49
-
50
- .ck .ck-suggestion-insertion .ck-suggestion {
51
- border-left-color: var(--ck-color-suggestion-box-insertion-border);
52
- }
53
-
54
- .ck .ck-suggestion-deletion .ck-suggestion {
55
- border-left-color: var(--ck-color-suggestion-box-deletion-border);
56
- }
57
-
58
- .ck .ck-suggestion-replace .ck-suggestion {
59
- border-left-color: var(--ck-color-suggestion-box-insertion-border);
60
- }
61
-
62
- .ck .ck-suggestion-format .ck-suggestion {
63
- border-left-color: var(--ck-color-suggestion-box-format-border);
64
- }
65
-
66
- .ck .ck-suggestion-wrapper {
67
- @mixin ck-rounded-corners;
68
-
69
- overflow: hidden;
70
-
71
- &:focus {
72
- /*
73
- * We cannot use the ck-focus-ring mixin here because it adds a border that would need to stay transparent
74
- * in non-focused state and create an odd space inside the surrounding annotation container.
75
- */
76
- outline: var(--ck-focus-ring);
77
-
78
- /*
79
- * We cannot use the ck-box-shadow mixin because we're using outline instead of border (see the comment above).
80
- * And the shadow size has to be custom because outline is rendered on top of the shadow.
81
- */
82
- box-shadow: 0 0 0 4px var(--ck-color-focus-outer-shadow);
83
- }
84
- }
85
-
86
- /*
87
- * In case of inline annotations, their focus styles get hoisted to the balloon panel to work around overflow that would
88
- * otherwise get them cropped..
89
- */
90
- .ck-balloon-panel:has( .ck-suggestion-wrapper:focus ) {
91
- @mixin ck-focus-ring;
92
- @mixin ck-box-shadow var(--ck-drop-shadow), var(--ck-focus-outer-shadow);
93
- }
94
-
95
- .ck .ck-suggestion-type {
96
- font-weight: bold;
97
- }
98
-
99
- .ck .ck-suggestion-color {
100
- display: inline-block;
101
- width: 14px;
102
- height: 14px;
103
- border-radius: 14px;
104
- vertical-align: text-bottom;
105
- margin: 0 5px;
106
- box-shadow: 0 0 0 1px hsl(0, 0%, 27%);
107
- }
108
-
109
- /* Comments inside suggestion. */
110
-
111
- /* Handle comments inside suggestion keep same border-color. */
112
- .ck .ck-suggestion-insertion .ck-comment,
113
- .ck .ck-suggestion-insertion .ck-thread__comment-count,
114
- .ck .ck-suggestion-insertion .ck-comment__input-container,
115
- .ck .ck-suggestion-replace .ck-comment,
116
- .ck .ck-suggestion-replace .ck-thread__comment-count,
117
- .ck .ck-suggestion-replace .ck-comment__input-container {
118
- border-left-color: var(--ck-color-suggestion-box-insertion-border);
119
- }
120
-
121
- .ck .ck-suggestion-deletion .ck-comment,
122
- .ck .ck-suggestion-deletion .ck-thread__comment-count,
123
- .ck .ck-suggestion-deletion .ck-comment__input-container {
124
- border-left-color: var(--ck-color-suggestion-box-deletion-border);
125
- }
126
-
127
- .ck .ck-suggestion-format .ck-comment,
128
- .ck .ck-suggestion-format .ck-thread__comment-count,
129
- .ck .ck-suggestion-format .ck-comment__input-container {
130
- border-left-color: var(--ck-color-suggestion-box-format-border);
131
- }
@@ -1,162 +0,0 @@
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-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
-
10
- :root {
11
- --ck-color-suggestion-marker-insertion-border: hsla(128, 71%, 40%, .35);
12
- --ck-color-suggestion-marker-insertion-border-active: hsla(128, 71%, 25%, .5);
13
- --ck-color-suggestion-marker-insertion-background: hsla(128, 71%, 65%, .35);
14
- --ck-color-suggestion-marker-insertion-background-active: hsla(128, 71%, 50%, .5);
15
-
16
- --ck-color-suggestion-marker-deletion-border: hsla(345, 71%, 40%, .35);
17
- --ck-color-suggestion-marker-deletion-border-active: hsla(345, 71%, 25%, .5);
18
- --ck-color-suggestion-marker-deletion-background: hsla(345, 71%, 65%, .35);
19
- --ck-color-suggestion-marker-deletion-background-active: hsla(345, 71%, 50%, .5);
20
- --ck-color-suggestion-marker-deletion-stroke: hsla(345, 71%, 20%, .5);
21
-
22
- --ck-color-suggestion-marker-format-border: hsla(191, 60%, 75%, 1);
23
- --ck-color-suggestion-marker-format-border-active: hsla(191, 60%, 60%, 1);
24
-
25
- --ck-color-suggestion-widget-insertion-background: hsla(128, 71%, 65%, .05);
26
- --ck-color-suggestion-widget-insertion-background-active: hsla(128, 71%, 50%, .07);
27
-
28
- --ck-color-suggestion-widget-deletion-background: hsla(345, 71%, 65%, .05);
29
- --ck-color-suggestion-widget-deletion-background-active: hsla(345, 71%, 45%, .07);
30
-
31
- --ck-color-suggestion-widget-format-background: hsla(191, 90%, 40%, .09);
32
- --ck-color-suggestion-widget-format-background-active: hsla(191, 90%, 40%, .16);
33
- }
34
-
35
- .ck-content .ck-suggestion-marker-insertion {
36
- border-top: 3px solid var(--ck-color-suggestion-marker-insertion-border);
37
- border-bottom: 3px solid var(--ck-color-suggestion-marker-insertion-border);
38
- background: var(--ck-color-suggestion-marker-insertion-background);
39
-
40
- &.ck-suggestion-marker--active {
41
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
42
- background: var(--ck-color-suggestion-marker-insertion-background-active);
43
- }
44
-
45
- /* Disable background of marker inside widget. */
46
- &.ck-widget {
47
- background: none;
48
- text-decoration: none;
49
- border: 3px solid var(--ck-color-suggestion-marker-insertion-border);
50
-
51
- &.ck-suggestion-marker--active {
52
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
53
- }
54
- }
55
- }
56
-
57
- .ck-content .ck-suggestion-marker-deletion {
58
- border-top: 3px solid var(--ck-color-suggestion-marker-deletion-border);
59
- border-bottom: 3px solid var(--ck-color-suggestion-marker-deletion-border);
60
-
61
- /* #2810. Safari doesn't support combined text-decoration values. */
62
- text-decoration: line-through;
63
- text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
64
- text-decoration-thickness: 3px;
65
-
66
- background: var(--ck-color-suggestion-marker-deletion-background);
67
-
68
- &.ck-suggestion-marker--active {
69
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
70
- background: var(--ck-color-suggestion-marker-deletion-background-active);
71
- }
72
-
73
- /* Disable background of marker inside widget. */
74
- &.ck-widget {
75
- background: none;
76
- text-decoration: none;
77
- border: 3px solid var(--ck-color-suggestion-marker-deletion-border);
78
-
79
- &.ck-suggestion-marker--active {
80
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
81
- }
82
- }
83
- }
84
-
85
- .ck-content .ck-suggestion-marker-merge {
86
- &::after {
87
- border-top: 3px solid var(--ck-color-suggestion-marker-deletion-border);
88
- border-bottom: 3px solid var(--ck-color-suggestion-marker-deletion-border);
89
-
90
- /* #2810. Safari doesn't support combined text-decoration values. */
91
- text-decoration: line-through;
92
- text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
93
-
94
- background: var(--ck-color-suggestion-marker-deletion-background);
95
- color: var(--ck-color-suggestion-marker-deletion-stroke);
96
- content: '¶';
97
- }
98
-
99
- &.ck-suggestion-marker--active::after {
100
- border-color: var(--ck-color-suggestion-marker-deletion-border-active);
101
- background: var(--ck-color-suggestion-marker-deletion-background-active);
102
- }
103
- }
104
-
105
- .ck-content .ck-suggestion-marker-split {
106
- &::after {
107
- border-top: 3px solid var(--ck-color-suggestion-marker-insertion-border);
108
- border-bottom: 3px solid var(--ck-color-suggestion-marker-insertion-border);
109
- background: var(--ck-color-suggestion-marker-insertion-background);
110
- color: var(--ck-color-suggestion-marker-insertion-border);
111
- content: '¶';
112
- }
113
-
114
- &.ck-suggestion-marker--active::after {
115
- border-color: var(--ck-color-suggestion-marker-insertion-border-active);
116
- background: var(--ck-color-suggestion-marker-insertion-background-active);
117
- }
118
- }
119
-
120
- .ck-content .ck-suggestion-marker-formatInline {
121
- border-top: 3px solid var(--ck-color-suggestion-marker-format-border);
122
- border-bottom: 3px solid var(--ck-color-suggestion-marker-format-border);
123
-
124
- &.ck-suggestion-marker--active {
125
- border-color: var(--ck-color-suggestion-marker-format-border-active);
126
- }
127
-
128
- &.ck-widget {
129
- background: none;
130
- border: 3px solid var(--ck-color-suggestion-marker-format-border);
131
-
132
- &.ck-suggestion-marker--active {
133
- border-color: var(--ck-color-suggestion-marker-format-border-active);
134
- }
135
- }
136
- }
137
-
138
- /* This is a tricky case.
139
- * We can't use `border-left` because sticky marker to the element looks kinda ugly.
140
- * We can't use `::before` pseudoelement because it requires `position: relative` of parent, which breaks side-image.
141
- * We can't use `outline` because it's impossible to display only left side of outline.
142
- * So... we need to use power of CSS hacks <3 and use doubled box-shadow.
143
- */
144
-
145
- .ck-content .ck-suggestion-marker-formatBlock {
146
- border: 0;
147
- background: none;
148
- box-shadow: -7px 0 0 0 var(--ck-color-base-background), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
149
-
150
- &.ck-suggestion-marker--active {
151
- box-shadow: -5px 0 0 0 var(--ck-color-base-background), -8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
152
- }
153
- }
154
-
155
- .ck-content ul .ck-suggestion-marker-formatBlock,
156
- .ck-content ol .ck-suggestion-marker-formatBlock {
157
- box-shadow: -2px 0 0 0 var(--ck-color-base-background), -5px 0 0 0 var(--ck-color-suggestion-marker-format-border);
158
-
159
- &.ck-suggestion-marker--active {
160
- box-shadow: -2px 0 0 0 var(--ck-color-base-background), -5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active);
161
- }
162
- }
@@ -1,41 +0,0 @@
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-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
-
10
- @define-mixin userColor $color, $colorAlpha, $number {
11
- .ck .ck-user__color--$(number) {
12
- color: $color;
13
- }
14
-
15
- .ck .ck-user__bg-color--$(number) {
16
- background-color: $color;
17
- }
18
-
19
- .ck .ck-user__selection--$(number) {
20
- background-color: $colorAlpha;
21
-
22
- &.ck-widget {
23
- background-color: transparent;
24
- border: 3px solid $color;
25
- }
26
- }
27
-
28
- .ck .ck-user__marker--$(number) {
29
- &,
30
- & .ck-user__marker-tooltip,
31
- & .ck-user__marker-dot {
32
- &, &::selection {
33
- background-color: $color;
34
- }
35
- }
36
-
37
- & .ck-user__marker-line {
38
- border: 1px solid $color;
39
- }
40
- }
41
- }
@@ -1,49 +0,0 @@
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-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
-
10
- @import "./usercolormixin.css";
11
-
12
- :root {
13
- --ck-user-colors--0: hsla(235, 73%, 67%, 1);
14
- --ck-user-colors--0-alpha: hsla(235, 73%, 67%, 0.15);
15
-
16
- --ck-user-colors--1: hsla(173, 100%, 24%, 1);
17
- --ck-user-colors--1-alpha: hsla(173, 100%, 24%, 0.15);
18
-
19
- --ck-user-colors--2: hsla(0, 46%, 50%, 1);
20
- --ck-user-colors--2-alpha: hsla(0, 46%, 50%, 0.15);
21
-
22
- --ck-user-colors--3: hsla(256, 54%, 45%, 1);
23
- --ck-user-colors--3-alpha: hsla(256, 54%, 45%, 0.15);
24
-
25
- --ck-user-colors--4: hsla(95, 50%, 36%, 1);
26
- --ck-user-colors--4-alpha: hsla(95, 50%, 36%, 0.15);
27
-
28
- --ck-user-colors--5: hsla(336, 78%, 43%, 1);
29
- --ck-user-colors--5-alpha: hsla(336, 78%, 43%, 0.15);
30
-
31
- --ck-user-colors--6: hsla(0, 80%, 59%, 1);
32
- --ck-user-colors--6-alpha: hsla(0, 80%, 59%, 0.15);
33
-
34
- --ck-user-colors--7: hsla(184, 90%, 43%, 1);
35
- --ck-user-colors--7-alpha: hsla(184, 90%, 43%, 0.15);
36
-
37
- --ck-user-dot-size: 6px;
38
- }
39
-
40
- /* We are using mixins here because of lack of PostCSS loop plugin. */
41
-
42
- @mixin userColor var(--ck-user-colors--0), var(--ck-user-colors--0-alpha), 0;
43
- @mixin userColor var(--ck-user-colors--1), var(--ck-user-colors--1-alpha), 1;
44
- @mixin userColor var(--ck-user-colors--2), var(--ck-user-colors--2-alpha), 2;
45
- @mixin userColor var(--ck-user-colors--3), var(--ck-user-colors--3-alpha), 3;
46
- @mixin userColor var(--ck-user-colors--4), var(--ck-user-colors--4-alpha), 4;
47
- @mixin userColor var(--ck-user-colors--5), var(--ck-user-colors--5-alpha), 5;
48
- @mixin userColor var(--ck-user-colors--6), var(--ck-user-colors--6-alpha), 6;
49
- @mixin userColor var(--ck-user-colors--7), var(--ck-user-colors--7-alpha), 7;
package/theme/users.css DELETED
@@ -1,110 +0,0 @@
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-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
-
10
- @import '@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css';
11
-
12
- :root {
13
- --ck-user-avatar-size: 40px;
14
- --ck-user-avatar-background: hsl(210, 52%, 44%);
15
- --ck-user-avatar-color: hsl(0, 0%, 100%);
16
- --ck-user-me-border-color: hsl(0, 0%, 100%);
17
- }
18
-
19
- .ck.ck-user {
20
- display: flex;
21
- justify-content: center;
22
- align-items: center;
23
- position: relative;
24
- border-radius: 50%;
25
- background-color: var(--ck-user-avatar-background);
26
- box-sizing: border-box;
27
- height: var(--ck-user-avatar-size);
28
- width: var(--ck-user-avatar-size);
29
- min-width: var(--ck-user-avatar-size);
30
- min-height: var(--ck-user-avatar-size);
31
- line-height: 100%;
32
- margin: 2px;
33
-
34
- &.ck-user_me {
35
- border: 2px solid var(--ck-user-me-border-color);
36
- outline: 2px solid var(--ck-user-avatar-background);
37
- }
38
- }
39
-
40
- .ck.ck-user__name {
41
- color: var(--ck-user-avatar-color);
42
- cursor: default;
43
- @mixin ck-unselectable;
44
-
45
- &.ck-user__name--hidden {
46
- display: none;
47
- }
48
- }
49
-
50
- .ck.ck-user__img {
51
- display: none;
52
- width: 100%;
53
- height: 100%;
54
- background-position: center center;
55
- background-repeat: no-repeat;
56
- background-size: cover;
57
- background-color: var(--ck-user-avatar-background);
58
- border-radius: 50%;
59
- border: none;
60
-
61
- &.ck-user__anonymous {
62
- display: block;
63
- background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%0A%20%20%3Cpath%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M9.8%2020H2c0-5.7%205-5.7%206-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5%200-2.8%202-5.2%204.3-5.2S14%204.4%2014%207.3c0%202.2-1%204-2.6%205l.2.6c1.2%201.3%206%201.4%206%207H9.8z%22%2F%3E%0A%3C%2Fsvg%3E);
64
-
65
- /* Do not display initials when user is anonymous. */
66
- & + .ck-user__name {
67
- display: none;
68
- }
69
- }
70
-
71
- &.ck-user__avatar {
72
- display: block;
73
-
74
- /* In case if avatar is transparent make background white. */
75
- background-color: hsl(0, 0%, 100%);
76
- }
77
-
78
- &.ck-user__img--hidden {
79
- display: none;
80
- }
81
- }
82
-
83
- .ck.ck-user__notification {
84
- display: flex;
85
- width: 15px;
86
- height: 15px;
87
- justify-content: center;
88
- align-items: center;
89
- background: var(--ck-color-base-background);
90
- border: 2px solid var(--ck-color-base-background);
91
- border-radius: 50%;
92
- box-sizing: content-box;
93
-
94
- position: absolute;
95
- top: -8px;
96
- right: -7px;
97
- overflow: hidden;
98
- transform: translateZ(0);
99
-
100
- & .ck-user__icon {
101
- color: var(--ck-color-annotation-info);
102
- background: var(--ck-color-base-background);
103
- width: 19px;
104
- height: 19px;
105
- max-width: 19px;
106
- max-height: 19px;
107
- min-width: 19px;
108
- min-height: 19px;
109
- }
110
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes