@ckeditor/ckeditor5-comments 47.6.1 → 48.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 (403) hide show
  1. package/LICENSE.md +1 -1
  2. package/ckeditor5-metadata.json +53 -53
  3. package/{src → dist}/annotations/annotation.d.ts +4 -4
  4. package/{src → dist}/annotations/annotationcollection.d.ts +2 -2
  5. package/{src → dist}/annotations/annotations.d.ts +3 -3
  6. package/{src → dist}/annotations/annotationsuis.d.ts +2 -2
  7. package/{src → dist}/annotations/editorannotations.d.ts +1 -1
  8. package/{src → dist}/annotations/inlineannotations.d.ts +2 -2
  9. package/{src → dist}/annotations/narrowsidebar.d.ts +2 -2
  10. package/{src → dist}/annotations/sidebar.d.ts +2 -2
  11. package/{src → dist}/annotations/view/annotationcounterbuttonview.d.ts +2 -2
  12. package/{src → dist}/annotations/view/annotationview.d.ts +2 -2
  13. package/{src → dist}/annotations/view/sidebaritemview.d.ts +2 -2
  14. package/{src → dist}/annotations/view/sidebarview.d.ts +2 -2
  15. package/{src → dist}/annotations/widesidebar.d.ts +1 -1
  16. package/{src → dist}/comments/addcommentthreadcommand.d.ts +2 -2
  17. package/{src → dist}/comments/commentsarchive.d.ts +2 -2
  18. package/{src → dist}/comments/commentsarchiveui.d.ts +2 -2
  19. package/{src → dist}/comments/commentsediting.d.ts +3 -3
  20. package/{src → dist}/comments/commentsrepository.d.ts +7 -7
  21. package/{src → dist}/comments/commentsui.d.ts +1 -1
  22. package/{src → dist}/comments/integrations/clipboard.d.ts +2 -2
  23. package/{src → dist}/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  24. package/{src → dist}/comments/integrations/importword.d.ts +1 -1
  25. package/{src → dist}/comments/integrations/showcommenthighlights.d.ts +1 -1
  26. package/{src → dist}/comments/ui/commenteditor/commenteditor.d.ts +3 -3
  27. package/{src → dist}/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
  28. package/{src → dist}/comments/ui/commenteditor/commenteditoruiview.d.ts +3 -3
  29. package/{src → dist}/comments/ui/commentthreadcontroller.d.ts +2 -2
  30. package/{src → dist}/comments/ui/view/basecommentthreadview.d.ts +3 -3
  31. package/{src → dist}/comments/ui/view/basecommentview.d.ts +3 -3
  32. package/{src → dist}/comments/ui/view/collapsedcommentsview.d.ts +2 -2
  33. package/{src → dist}/comments/ui/view/commentcontentview.d.ts +2 -2
  34. package/{src → dist}/comments/ui/view/commentinputview.d.ts +3 -3
  35. package/{src → dist}/comments/ui/view/commentsarchiveview.d.ts +2 -2
  36. package/{src → dist}/comments/ui/view/commentslistview.d.ts +2 -2
  37. package/{src → dist}/comments/ui/view/commentthreadheadercontextview.d.ts +2 -2
  38. package/{src → dist}/comments/ui/view/commentthreadheaderview.d.ts +2 -2
  39. package/{src → dist}/comments/ui/view/commentthreadinputview.d.ts +4 -4
  40. package/{src → dist}/comments/ui/view/commentthreadview.d.ts +4 -4
  41. package/{src → dist}/comments/ui/view/commentview.d.ts +5 -5
  42. package/{src → dist}/comments.d.ts +1 -1
  43. package/{src → dist}/commentsonly.d.ts +1 -1
  44. package/{src → dist}/config.d.ts +1 -1
  45. package/dist/index-content.css +15 -15
  46. package/dist/index-editor.css +468 -496
  47. package/dist/index.css +472 -736
  48. package/dist/index.js +11 -11
  49. package/dist/translations/af.js +1 -1
  50. package/dist/translations/af.umd.js +1 -1
  51. package/dist/translations/ar.js +1 -1
  52. package/dist/translations/ar.umd.js +1 -1
  53. package/dist/translations/ast.js +1 -1
  54. package/dist/translations/ast.umd.js +1 -1
  55. package/dist/translations/az.js +1 -1
  56. package/dist/translations/az.umd.js +1 -1
  57. package/dist/translations/be.js +1 -1
  58. package/dist/translations/be.umd.js +1 -1
  59. package/dist/translations/bg.js +1 -1
  60. package/dist/translations/bg.umd.js +1 -1
  61. package/dist/translations/bn.js +1 -1
  62. package/dist/translations/bn.umd.js +1 -1
  63. package/dist/translations/bs.js +1 -1
  64. package/dist/translations/bs.umd.js +1 -1
  65. package/dist/translations/ca.js +1 -1
  66. package/dist/translations/ca.umd.js +1 -1
  67. package/dist/translations/cs.js +1 -1
  68. package/dist/translations/cs.umd.js +1 -1
  69. package/dist/translations/da.js +1 -1
  70. package/dist/translations/da.umd.js +1 -1
  71. package/dist/translations/de-ch.js +1 -1
  72. package/dist/translations/de-ch.umd.js +1 -1
  73. package/dist/translations/de.js +1 -1
  74. package/dist/translations/de.umd.js +1 -1
  75. package/dist/translations/el.js +1 -1
  76. package/dist/translations/el.umd.js +1 -1
  77. package/dist/translations/en-au.js +1 -1
  78. package/dist/translations/en-au.umd.js +1 -1
  79. package/dist/translations/en-gb.js +1 -1
  80. package/dist/translations/en-gb.umd.js +1 -1
  81. package/dist/translations/en.js +1 -1
  82. package/dist/translations/en.umd.js +1 -1
  83. package/dist/translations/eo.js +1 -1
  84. package/dist/translations/eo.umd.js +1 -1
  85. package/dist/translations/es-co.js +1 -1
  86. package/dist/translations/es-co.umd.js +1 -1
  87. package/dist/translations/es.js +1 -1
  88. package/dist/translations/es.umd.js +1 -1
  89. package/dist/translations/et.js +1 -1
  90. package/dist/translations/et.umd.js +1 -1
  91. package/dist/translations/eu.js +1 -1
  92. package/dist/translations/eu.umd.js +1 -1
  93. package/dist/translations/fa.js +1 -1
  94. package/dist/translations/fa.umd.js +1 -1
  95. package/dist/translations/fi.js +1 -1
  96. package/dist/translations/fi.umd.js +1 -1
  97. package/dist/translations/fr.js +1 -1
  98. package/dist/translations/fr.umd.js +1 -1
  99. package/dist/translations/gl.js +1 -1
  100. package/dist/translations/gl.umd.js +1 -1
  101. package/dist/translations/gu.js +1 -1
  102. package/dist/translations/gu.umd.js +1 -1
  103. package/dist/translations/he.js +1 -1
  104. package/dist/translations/he.umd.js +1 -1
  105. package/dist/translations/hi.js +1 -1
  106. package/dist/translations/hi.umd.js +1 -1
  107. package/dist/translations/hr.js +1 -1
  108. package/dist/translations/hr.umd.js +1 -1
  109. package/dist/translations/hu.js +1 -1
  110. package/dist/translations/hu.umd.js +1 -1
  111. package/dist/translations/hy.js +1 -1
  112. package/dist/translations/hy.umd.js +1 -1
  113. package/dist/translations/id.js +1 -1
  114. package/dist/translations/id.umd.js +1 -1
  115. package/dist/translations/it.js +1 -1
  116. package/dist/translations/it.umd.js +1 -1
  117. package/dist/translations/ja.js +1 -1
  118. package/dist/translations/ja.umd.js +1 -1
  119. package/dist/translations/jv.js +1 -1
  120. package/dist/translations/jv.umd.js +1 -1
  121. package/dist/translations/kk.js +1 -1
  122. package/dist/translations/kk.umd.js +1 -1
  123. package/dist/translations/km.js +1 -1
  124. package/dist/translations/km.umd.js +1 -1
  125. package/dist/translations/kn.js +1 -1
  126. package/dist/translations/kn.umd.js +1 -1
  127. package/dist/translations/ko.js +1 -1
  128. package/dist/translations/ko.umd.js +1 -1
  129. package/dist/translations/ku.js +1 -1
  130. package/dist/translations/ku.umd.js +1 -1
  131. package/dist/translations/lt.js +1 -1
  132. package/dist/translations/lt.umd.js +1 -1
  133. package/dist/translations/lv.js +1 -1
  134. package/dist/translations/lv.umd.js +1 -1
  135. package/dist/translations/ms.js +1 -1
  136. package/dist/translations/ms.umd.js +1 -1
  137. package/dist/translations/nb.js +1 -1
  138. package/dist/translations/nb.umd.js +1 -1
  139. package/dist/translations/ne.js +1 -1
  140. package/dist/translations/ne.umd.js +1 -1
  141. package/dist/translations/nl.js +1 -1
  142. package/dist/translations/nl.umd.js +1 -1
  143. package/dist/translations/no.js +1 -1
  144. package/dist/translations/no.umd.js +1 -1
  145. package/dist/translations/oc.js +1 -1
  146. package/dist/translations/oc.umd.js +1 -1
  147. package/dist/translations/pl.js +1 -1
  148. package/dist/translations/pl.umd.js +1 -1
  149. package/dist/translations/pt-br.js +1 -1
  150. package/dist/translations/pt-br.umd.js +1 -1
  151. package/dist/translations/pt.js +1 -1
  152. package/dist/translations/pt.umd.js +1 -1
  153. package/dist/translations/ro.js +1 -1
  154. package/dist/translations/ro.umd.js +1 -1
  155. package/dist/translations/ru.js +1 -1
  156. package/dist/translations/ru.umd.js +1 -1
  157. package/dist/translations/si.js +1 -1
  158. package/dist/translations/si.umd.js +1 -1
  159. package/dist/translations/sk.js +1 -1
  160. package/dist/translations/sk.umd.js +1 -1
  161. package/dist/translations/sl.js +1 -1
  162. package/dist/translations/sl.umd.js +1 -1
  163. package/dist/translations/sq.js +1 -1
  164. package/dist/translations/sq.umd.js +1 -1
  165. package/dist/translations/sr-latn.js +1 -1
  166. package/dist/translations/sr-latn.umd.js +1 -1
  167. package/dist/translations/sr.js +1 -1
  168. package/dist/translations/sr.umd.js +1 -1
  169. package/dist/translations/sv.js +1 -1
  170. package/dist/translations/sv.umd.js +1 -1
  171. package/dist/translations/th.js +1 -1
  172. package/dist/translations/th.umd.js +1 -1
  173. package/dist/translations/ti.js +1 -1
  174. package/dist/translations/ti.umd.js +1 -1
  175. package/dist/translations/tk.js +1 -1
  176. package/dist/translations/tk.umd.js +1 -1
  177. package/dist/translations/tr.js +1 -1
  178. package/dist/translations/tr.umd.js +1 -1
  179. package/dist/translations/tt.js +1 -1
  180. package/dist/translations/tt.umd.js +1 -1
  181. package/dist/translations/ug.js +1 -1
  182. package/dist/translations/ug.umd.js +1 -1
  183. package/dist/translations/uk.js +1 -1
  184. package/dist/translations/uk.umd.js +1 -1
  185. package/dist/translations/ur.js +1 -1
  186. package/dist/translations/ur.umd.js +1 -1
  187. package/dist/translations/uz.js +1 -1
  188. package/dist/translations/uz.umd.js +1 -1
  189. package/dist/translations/vi.js +1 -1
  190. package/dist/translations/vi.umd.js +1 -1
  191. package/dist/translations/zh-cn.js +1 -1
  192. package/dist/translations/zh-cn.umd.js +1 -1
  193. package/dist/translations/zh.js +1 -1
  194. package/dist/translations/zh.umd.js +1 -1
  195. package/{src → dist}/utils/common-translations.d.ts +1 -1
  196. package/package.json +27 -52
  197. package/build/comments.js +0 -5
  198. package/build/translations/af.js +0 -1
  199. package/build/translations/ar.js +0 -1
  200. package/build/translations/ast.js +0 -1
  201. package/build/translations/az.js +0 -1
  202. package/build/translations/be.js +0 -1
  203. package/build/translations/bg.js +0 -1
  204. package/build/translations/bn.js +0 -1
  205. package/build/translations/bs.js +0 -1
  206. package/build/translations/ca.js +0 -1
  207. package/build/translations/cs.js +0 -1
  208. package/build/translations/da.js +0 -1
  209. package/build/translations/de-ch.js +0 -1
  210. package/build/translations/de.js +0 -1
  211. package/build/translations/el.js +0 -1
  212. package/build/translations/en-au.js +0 -1
  213. package/build/translations/en-gb.js +0 -1
  214. package/build/translations/eo.js +0 -1
  215. package/build/translations/es-co.js +0 -1
  216. package/build/translations/es.js +0 -1
  217. package/build/translations/et.js +0 -1
  218. package/build/translations/eu.js +0 -1
  219. package/build/translations/fa.js +0 -1
  220. package/build/translations/fi.js +0 -1
  221. package/build/translations/fr.js +0 -1
  222. package/build/translations/gl.js +0 -1
  223. package/build/translations/gu.js +0 -1
  224. package/build/translations/he.js +0 -1
  225. package/build/translations/hi.js +0 -1
  226. package/build/translations/hr.js +0 -1
  227. package/build/translations/hu.js +0 -1
  228. package/build/translations/hy.js +0 -1
  229. package/build/translations/id.js +0 -1
  230. package/build/translations/it.js +0 -1
  231. package/build/translations/ja.js +0 -1
  232. package/build/translations/jv.js +0 -1
  233. package/build/translations/kk.js +0 -1
  234. package/build/translations/km.js +0 -1
  235. package/build/translations/kn.js +0 -1
  236. package/build/translations/ko.js +0 -1
  237. package/build/translations/ku.js +0 -1
  238. package/build/translations/lt.js +0 -1
  239. package/build/translations/lv.js +0 -1
  240. package/build/translations/ms.js +0 -1
  241. package/build/translations/nb.js +0 -1
  242. package/build/translations/ne.js +0 -1
  243. package/build/translations/nl.js +0 -1
  244. package/build/translations/no.js +0 -1
  245. package/build/translations/oc.js +0 -1
  246. package/build/translations/pl.js +0 -1
  247. package/build/translations/pt-br.js +0 -1
  248. package/build/translations/pt.js +0 -1
  249. package/build/translations/ro.js +0 -1
  250. package/build/translations/ru.js +0 -1
  251. package/build/translations/si.js +0 -1
  252. package/build/translations/sk.js +0 -1
  253. package/build/translations/sl.js +0 -1
  254. package/build/translations/sq.js +0 -1
  255. package/build/translations/sr-latn.js +0 -1
  256. package/build/translations/sr.js +0 -1
  257. package/build/translations/sv.js +0 -1
  258. package/build/translations/th.js +0 -1
  259. package/build/translations/ti.js +0 -1
  260. package/build/translations/tk.js +0 -1
  261. package/build/translations/tr.js +0 -1
  262. package/build/translations/tt.js +0 -1
  263. package/build/translations/ug.js +0 -1
  264. package/build/translations/uk.js +0 -1
  265. package/build/translations/ur.js +0 -1
  266. package/build/translations/uz.js +0 -1
  267. package/build/translations/vi.js +0 -1
  268. package/build/translations/zh-cn.js +0 -1
  269. package/build/translations/zh.js +0 -1
  270. package/lang/contexts.json +0 -42
  271. package/lang/translations/af.po +0 -176
  272. package/lang/translations/ar.po +0 -184
  273. package/lang/translations/ast.po +0 -176
  274. package/lang/translations/az.po +0 -176
  275. package/lang/translations/be.po +0 -178
  276. package/lang/translations/bg.po +0 -176
  277. package/lang/translations/bn.po +0 -176
  278. package/lang/translations/bs.po +0 -178
  279. package/lang/translations/ca.po +0 -176
  280. package/lang/translations/cs.po +0 -178
  281. package/lang/translations/da.po +0 -176
  282. package/lang/translations/de-ch.po +0 -176
  283. package/lang/translations/de.po +0 -176
  284. package/lang/translations/el.po +0 -176
  285. package/lang/translations/en-au.po +0 -176
  286. package/lang/translations/en-gb.po +0 -176
  287. package/lang/translations/en.po +0 -176
  288. package/lang/translations/eo.po +0 -176
  289. package/lang/translations/es-co.po +0 -176
  290. package/lang/translations/es.po +0 -176
  291. package/lang/translations/et.po +0 -176
  292. package/lang/translations/eu.po +0 -176
  293. package/lang/translations/fa.po +0 -174
  294. package/lang/translations/fi.po +0 -176
  295. package/lang/translations/fr.po +0 -176
  296. package/lang/translations/gl.po +0 -176
  297. package/lang/translations/gu.po +0 -176
  298. package/lang/translations/he.po +0 -176
  299. package/lang/translations/hi.po +0 -176
  300. package/lang/translations/hr.po +0 -178
  301. package/lang/translations/hu.po +0 -176
  302. package/lang/translations/hy.po +0 -176
  303. package/lang/translations/id.po +0 -174
  304. package/lang/translations/it.po +0 -176
  305. package/lang/translations/ja.po +0 -174
  306. package/lang/translations/jv.po +0 -176
  307. package/lang/translations/kk.po +0 -176
  308. package/lang/translations/km.po +0 -174
  309. package/lang/translations/kn.po +0 -176
  310. package/lang/translations/ko.po +0 -174
  311. package/lang/translations/ku.po +0 -176
  312. package/lang/translations/lt.po +0 -178
  313. package/lang/translations/lv.po +0 -178
  314. package/lang/translations/ms.po +0 -174
  315. package/lang/translations/nb.po +0 -176
  316. package/lang/translations/ne.po +0 -176
  317. package/lang/translations/nl.po +0 -176
  318. package/lang/translations/no.po +0 -176
  319. package/lang/translations/oc.po +0 -176
  320. package/lang/translations/pl.po +0 -178
  321. package/lang/translations/pt-br.po +0 -176
  322. package/lang/translations/pt.po +0 -176
  323. package/lang/translations/ro.po +0 -178
  324. package/lang/translations/ru.po +0 -178
  325. package/lang/translations/si.po +0 -176
  326. package/lang/translations/sk.po +0 -178
  327. package/lang/translations/sl.po +0 -180
  328. package/lang/translations/sq.po +0 -176
  329. package/lang/translations/sr-latn.po +0 -178
  330. package/lang/translations/sr.po +0 -178
  331. package/lang/translations/sv.po +0 -176
  332. package/lang/translations/th.po +0 -174
  333. package/lang/translations/ti.po +0 -176
  334. package/lang/translations/tk.po +0 -176
  335. package/lang/translations/tr.po +0 -176
  336. package/lang/translations/tt.po +0 -174
  337. package/lang/translations/ug.po +0 -174
  338. package/lang/translations/uk.po +0 -178
  339. package/lang/translations/ur.po +0 -176
  340. package/lang/translations/uz.po +0 -176
  341. package/lang/translations/vi.po +0 -174
  342. package/lang/translations/zh-cn.po +0 -174
  343. package/lang/translations/zh.po +0 -174
  344. package/src/annotations/annotation.js +0 -24
  345. package/src/annotations/annotationcollection.js +0 -23
  346. package/src/annotations/annotations.js +0 -23
  347. package/src/annotations/annotationsuis.js +0 -23
  348. package/src/annotations/editorannotations.js +0 -23
  349. package/src/annotations/inlineannotations.js +0 -23
  350. package/src/annotations/narrowsidebar.js +0 -23
  351. package/src/annotations/sidebar.js +0 -23
  352. package/src/annotations/view/annotationcounterbuttonview.js +0 -23
  353. package/src/annotations/view/annotationview.js +0 -23
  354. package/src/annotations/view/sidebaritemview.js +0 -24
  355. package/src/annotations/view/sidebarview.js +0 -24
  356. package/src/annotations/widesidebar.js +0 -23
  357. package/src/augmentation.js +0 -23
  358. package/src/comments/addcommentthreadcommand.js +0 -23
  359. package/src/comments/commentsarchive.js +0 -23
  360. package/src/comments/commentsarchiveui.js +0 -23
  361. package/src/comments/commentsediting.js +0 -23
  362. package/src/comments/commentsrepository.js +0 -25
  363. package/src/comments/commentsui.js +0 -23
  364. package/src/comments/integrations/clipboard.js +0 -23
  365. package/src/comments/integrations/commentsrestrictededitingmode.js +0 -23
  366. package/src/comments/integrations/importword.js +0 -23
  367. package/src/comments/integrations/showcommenthighlights.js +0 -23
  368. package/src/comments/ui/commenteditor/commenteditor.js +0 -24
  369. package/src/comments/ui/commenteditor/commenteditorui.js +0 -23
  370. package/src/comments/ui/commenteditor/commenteditoruiview.js +0 -23
  371. package/src/comments/ui/commentthreadcontroller.js +0 -24
  372. package/src/comments/ui/view/basecommentthreadview.js +0 -23
  373. package/src/comments/ui/view/basecommentview.js +0 -23
  374. package/src/comments/ui/view/collapsedcommentsview.js +0 -23
  375. package/src/comments/ui/view/commentcontentview.js +0 -23
  376. package/src/comments/ui/view/commentinputview.js +0 -23
  377. package/src/comments/ui/view/commentsarchiveview.js +0 -23
  378. package/src/comments/ui/view/commentslistview.js +0 -23
  379. package/src/comments/ui/view/commentthreadheadercontextview.js +0 -23
  380. package/src/comments/ui/view/commentthreadheaderview.js +0 -23
  381. package/src/comments/ui/view/commentthreadinputview.js +0 -23
  382. package/src/comments/ui/view/commentthreadview.js +0 -24
  383. package/src/comments/ui/view/commentview.js +0 -24
  384. package/src/comments.js +0 -23
  385. package/src/commentsonly.js +0 -23
  386. package/src/config.js +0 -23
  387. package/src/index.js +0 -23
  388. package/src/utils/common-translations.js +0 -23
  389. package/src/utils/createmutationobserver.js +0 -23
  390. package/src/utils/splitmarkername.js +0 -23
  391. package/theme/annotation-inline.css +0 -50
  392. package/theme/annotation.css +0 -151
  393. package/theme/comment.css +0 -182
  394. package/theme/commentinput.css +0 -103
  395. package/theme/commentmarker.css +0 -45
  396. package/theme/commentsarchive.css +0 -49
  397. package/theme/commentthread.css +0 -256
  398. package/theme/sidebar-narrow.css +0 -91
  399. package/theme/sidebar.css +0 -72
  400. /package/{src → dist}/augmentation.d.ts +0 -0
  401. /package/{src → dist}/index.d.ts +0 -0
  402. /package/{src → dist}/utils/createmutationobserver.d.ts +0 -0
  403. /package/{src → dist}/utils/splitmarkername.d.ts +0 -0
package/theme/comment.css DELETED
@@ -1,182 +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/_shadow.css";
11
-
12
- :root {
13
- --ck-color-comment-background: hsl(210, 52%, 97%);
14
- --ck-color-comment-separator: hsl(210, 52%, 87%);
15
- --ck-color-comment-remove-background: var(--ck-color-light-red);
16
- --ck-color-comment-input-background: var(--ck-color-comment-background);
17
- /* Because of default content styles that are inherited from `.ck-content` are affecting the comment font family
18
- (it's not inherited from `body`) we need to set the `font-family` manually; similar situation is with:
19
- `font-size` and `color` properties.
20
- See https://github.com/ckeditor/ckeditor5/issues/18710 */
21
- --ck-comment-content-font-family: var(--ck-font-face);
22
- --ck-comment-content-font-size: var(--ck-font-size-base);
23
- --ck-comment-content-font-color: var(--ck-color-base-text);
24
- }
25
-
26
- .ck .ck-comment__wrapper {
27
- font-size: var(--ck-font-size-base);
28
- position: relative;
29
- outline: 0;
30
- transition: all 300ms linear;
31
-
32
- @media (prefers-reduced-motion: reduce) {
33
- transition: none;
34
- }
35
-
36
- &:first-of-type {
37
- border-top-right-radius: var(--ck-border-radius);
38
- border-top-left-radius: var(--ck-border-radius);
39
- }
40
-
41
- &:focus {
42
- background: var(--ck-color-button-default-hover-background);
43
- }
44
- }
45
-
46
- .ck .ck-comment {
47
- &::after {
48
- content: '';
49
- display: block;
50
- position: absolute;
51
- opacity: 1;
52
- top: calc( var(--ck-user-avatar-size) + var(--ck-spacing-small) );
53
- left: calc(
54
- var(--ck-spacing-standard) + ( var(--ck-user-avatar-size) / 2 )
55
-
56
- /* Half width of line. */
57
- - 2px
58
- );
59
- width: 4px;
60
- height: 100%;
61
- background-color: var(--ck-color-comment-separator);
62
- }
63
- }
64
-
65
- .ck .ck-comment--edit {
66
- background-color: var(--ck-color-comment-input-background);
67
-
68
- &::after {
69
- opacity: 0;
70
- }
71
-
72
- .ck-comment__input-actions {
73
- margin-top: var(--ck-spacing-standard);
74
- }
75
- }
76
-
77
- .ck .ck-comment__content {
78
- word-break: normal;
79
- overflow-wrap: anywhere;
80
- font-family: var(--ck-comment-content-font-family);
81
- color: var(--ck-comment-content-font-color);
82
- }
83
-
84
- .ck .ck-comment--info {
85
- & .ck-comment__content {
86
- font-style: italic;
87
- /* Override the default content styles that are inherited from `.ck-content`.
88
- See https://github.com/ckeditor/ckeditor5/issues/18710 */
89
- font-family: var(--ck-comment-content-font-family);
90
- font-size: var(--ck-comment-content-font-size);
91
- color: var(--ck-comment-content-font-color);
92
- }
93
- }
94
-
95
- /* Common styles for typography inside comment element and editable input.
96
- We are styling resetting list-style because of parent <ul> element. */
97
- .ck .ck-comment,
98
- .ck .ck-comment__input {
99
- & p {
100
- margin: 0;
101
- }
102
-
103
- & ul,
104
- & ol {
105
- padding-left: 10px;
106
- margin-left: 10px;
107
- }
108
-
109
- & ul {
110
- list-style: disc;
111
- margin-bottom: 5px;
112
- margin-top: 0;
113
-
114
- & ul {
115
- list-style: circle;
116
-
117
- & ul {
118
- list-style: square;
119
- }
120
- }
121
- }
122
- }
123
-
124
- .ck .ck-comment__main {
125
- & .ck-comment__input-wrapper {
126
- display: flex;
127
- flex-direction: column;
128
- position: relative;
129
- transition: all 300ms linear;
130
-
131
- & .ck-comment__input {
132
- padding: 0;
133
- }
134
- }
135
- }
136
-
137
- .ck .ck-comment__user {
138
- /* Display user above vertical line. */
139
- z-index: var(--ck-z-default);
140
- }
141
-
142
- /* We need specificity 030 to beat styles in `commentinput.css`. */
143
- .ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--submit {
144
- background: var(--ck-color-base-action);
145
- color: hsl(0, 0%, 100%);
146
-
147
- &:hover {
148
- background: var(--ck-color-button-save);
149
- }
150
- }
151
-
152
- .ck-comment__input-actions .ck.ck-button.ck-comment__input-actions--cancel {
153
- color: var(--ck-color-text);
154
- }
155
-
156
- .ck .ck-comment__external {
157
- font-style: italic;
158
- color: var(--ck-color-annotation-info);
159
- font-size: var(--ck-font-size-tiny);
160
- margin-top: var(--ck-spacing-standard);
161
- }
162
-
163
- .ck .ck-comment .ck-dropdown {
164
- & .ck-dropdown__arrow {
165
- display: none;
166
- }
167
-
168
- & .ck-list {
169
- margin: 0;
170
- padding: var(--ck-spacing-small) 0;
171
-
172
- & .ck-list__item {
173
- font-size: 1.2em;
174
- color: var(--ck-color-base-text);
175
- min-width: auto;
176
-
177
- & .ck-button {
178
- color: var(--ck-color-text);
179
- }
180
- }
181
- }
182
- }
@@ -1,103 +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
- .ck .ck-comment__input-container {
11
- /* Make avatar size in the comment smaller than in presence list. */
12
- --ck-user-avatar-size: 28px;
13
-
14
- font-size: var(--ck-font-size-base);
15
-
16
- display: none;
17
- padding: var(--ck-spacing-standard);
18
- background: var(--ck-color-comment-background);
19
- }
20
-
21
- .ck .ck-comment__input-container--active {
22
- display: flex;
23
- }
24
-
25
- .ck .ck-comment__input {
26
- padding: var(--ck-spacing-standard);
27
-
28
- /* To keep vertical align with avatar. */
29
- padding-top: var(--ck-spacing-medium);
30
-
31
- color: var(--ck-color-base-text);
32
- border-width: 0;
33
- resize: none;
34
- background-color: transparent;
35
- transition: color 300ms ease-in-out;
36
-
37
- @media (prefers-reduced-motion: reduce) {
38
- transition: none;
39
- }
40
-
41
- &:focus {
42
- outline: none;
43
- }
44
-
45
- & .ck-editor__editable_inline {
46
- /* Disable default outline and border in editable input. */
47
- --ck-focus-ring: none;
48
- --ck-inner-shadow: none;
49
-
50
- /* Override the default content styles that are inherited from `.ck-content`.
51
- See https://github.com/ckeditor/ckeditor5/issues/18710 */
52
- font-family: var(--ck-comment-content-font-family);
53
- font-size: var(--ck-comment-content-font-size);
54
- color: var(--ck-comment-content-font-color);
55
-
56
- padding: 0;
57
- overflow: visible;
58
- border: 0;
59
- background-color: transparent;
60
- word-break: normal;
61
- overflow-wrap: anywhere;
62
- }
63
- }
64
-
65
- /* Overwrite default CKEditor 5 margin of editable children.
66
- See: ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css. */
67
- .ck-comment__input-wrapper .ck.ck-editor__editable_inline *:first-child {
68
- margin-top: 0;
69
- }
70
- .ck-comment__input-wrapper .ck.ck-editor__editable_inline *:last-child {
71
- margin-bottom: 0;
72
- }
73
-
74
- .ck .ck-comment__input-actions {
75
- width: 100%;
76
- text-align: right;
77
- display: none;
78
-
79
- &.ck-comment__input-actions--active {
80
- display: block;
81
- }
82
-
83
- & .ck.ck-button {
84
- /* Overwrite CK5 button default styles. */
85
- display: inline-flex;
86
- justify-content: center;
87
- align-items: center;
88
- cursor: pointer;
89
- min-height: var(--ck-ui-component-min-height);
90
- min-width: 60px;
91
- font-size: var(--ck-annotation-button-size);
92
- margin-left: var(--ck-spacing-large);
93
- padding: 0 var(--ck-spacing-medium);
94
- }
95
-
96
- & .ck-button.ck-disabled {
97
- opacity: .3;
98
- }
99
- }
100
-
101
- .ck .ck-comment__input-textarea {
102
- display: block;
103
- }
@@ -1,45 +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-comment-marker: hsl(55, 98%, 83%);
12
- --ck-color-comment-marker-active: hsl(55, 98%, 68%);
13
- }
14
-
15
- .ck-content .ck-comment-marker {
16
- background: var(--ck-color-comment-marker);
17
-
18
- /* Match size with suggestion markers */
19
- border-top: 3px solid transparent;
20
- border-bottom: 3px solid transparent;
21
-
22
- /* #152. In the image case, we change marker background to border. */
23
- &.ck-widget {
24
- background-color: transparent;
25
- border: 3px solid var(--ck-color-comment-marker);
26
- }
27
- }
28
-
29
- .ck-content .ck-comment-marker--active {
30
- background: var(--ck-color-comment-marker-active);
31
-
32
- /* See #2469. Inactive comment marker inside an active one should be highlighted too. */
33
- & .ck-comment-marker {
34
- background: var(--ck-color-comment-marker-active);
35
- }
36
-
37
- &.ck-widget {
38
- border-color: var(--ck-color-comment-marker-active);
39
-
40
- /* See #2469. Inactive comment in a widget inside an active comment should not be highlighted. */
41
- & .ck-comment-marker {
42
- background-color: var(--ck-color-comment-marker);
43
- }
44
- }
45
- }
@@ -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
- .ck .ck-comments-archive-dropdown {
11
- &.ck-dropdown__panel {
12
- z-index: var( --ck-z-panel );
13
- }
14
- }
15
-
16
- .ck .ck-comments-archive {
17
- width: 400px;
18
- max-height: 450px;
19
- box-sizing: content-box;
20
-
21
- & .ck-annotation {
22
- animation: none;
23
- }
24
-
25
- & .ck-comments-archive__header, & .ck-comments-archive__content {
26
- overflow: auto;
27
- max-height: 410px;
28
- padding: var( --ck-spacing-large );
29
- }
30
-
31
- & .ck-comments-archive__header {
32
- max-height: 40px;
33
- line-height: var( --ck-font-size-base );
34
- font-weight: bold;
35
- border-bottom: 1px solid var( --ck-color-toolbar-border );
36
- }
37
-
38
- & .ck-comments-archive__content {
39
- & .ck-annotation-wrapper:not(:last-child) {
40
- margin-bottom: var( --ck-spacing-large );
41
- }
42
- }
43
-
44
- & .ck-comments-archive__info {
45
- text-align: center;
46
- font-style: italic;
47
- color: var( --ck-color-annotation-info );
48
- }
49
- }
@@ -1,256 +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-thread-remove-background: var(--ck-color-comment-remove-background);
16
- --ck-color-comment-count: hsl(210, 52%, 57%);
17
-
18
- --ck-color-thread-header-background: hsl(54, 88%, 93%);
19
- --ck-color-thread-header-active-background: hsl(52, 100%, 83%);
20
-
21
- --ck-color-unlinked-background: hsl(0, 0%, 96%);
22
- --ck-color-unlinked-active-background: hsl(0, 0%, 92%);
23
- }
24
-
25
- .ck .ck-thread {
26
- @mixin ck-rounded-corners;
27
-
28
- width: 100%;
29
- color: var(--ck-color-base-text);
30
- outline: 0;
31
- background-color: var(--ck-color-base-background);
32
- overflow: hidden;
33
-
34
- /*
35
- * Beware: Using "transition: all" breaks focus management (unable to obtain focus on show)
36
- * because the view is displayed in a dialog that gets toggled via "visibility" property.
37
- */
38
- transition-property: color, background-color, width, outline;
39
- transition-duration: 300ms;
40
- transition-timing-function: ease;
41
-
42
- @media (prefers-reduced-motion: reduce) {
43
- transition: none;
44
- }
45
-
46
- &:focus {
47
- /*
48
- * We cannot use the ck-focus-ring mixin here because it adds a border that would need to stay transparent
49
- * in non-focused state and create an odd space inside the surrounding annotation container.
50
- */
51
- outline: var(--ck-focus-ring);
52
-
53
- /*
54
- * We cannot use the ck-box-shadow mixin because we're using outline instead of border (see the comment above).
55
- * And the shadow size has to be custom because outline is rendered on top of the shadow.
56
- */
57
- box-shadow: 0 0 0 4px var(--ck-color-focus-outer-shadow);
58
- }
59
- }
60
-
61
- /*
62
- * In case of inline annotations, their focus styles get hoisted to the balloon panel to work around overflow that would
63
- * otherwise get them cropped..
64
- */
65
- .ck-balloon-panel:has( .ck-thread:focus ) {
66
- @mixin ck-focus-ring;
67
- @mixin ck-box-shadow var(--ck-drop-shadow), var(--ck-focus-outer-shadow);
68
- }
69
-
70
- .ck .ck-thread__header {
71
- display: flex;
72
- justify-content: space-between;
73
- line-height: 1.57;
74
- padding: var(--ck-spacing-standard);
75
- background-color: var(--ck-color-thread-header-background);
76
- font-size: var(--ck-font-size-base);
77
-
78
- & .ck-button {
79
- font-size: var(--ck-annotation-button-size);
80
- }
81
-
82
- & .ck-context-wrapper {
83
- display: inline-flex;
84
- width: 100%;
85
- min-width: 0;
86
- height: 25px;
87
- position: relative;
88
- padding-right: var(--ck-spacing-large);
89
- }
90
-
91
- & .ck-context {
92
- display: flex;
93
- white-space: nowrap;
94
- overflow: hidden;
95
- width: 100%;
96
- padding: var(--ck-spacing-small) var(--ck-spacing-medium);
97
-
98
- &.ck-context--quotes {
99
- &::after, &::before {
100
- display: inline-block;
101
- content: '"';
102
- }
103
- }
104
-
105
- & .ck-context__type {
106
- font-weight: bold;
107
- padding-right: var(--ck-spacing-standard);
108
- }
109
-
110
- & .ck-context__value {
111
- overflow: hidden;
112
- text-overflow: ellipsis;
113
- border: 1px solid transparent;
114
-
115
- &:focus {
116
- @mixin ck-focus-ring;
117
- @mixin ck-box-shadow var(--ck-focus-outer-shadow);
118
- }
119
- }
120
-
121
- &.overlay {
122
- display: inline-block;
123
- position: absolute;
124
- top: 0;
125
- z-index: 2;
126
-
127
- background: var(--ck-color-base-background);
128
- box-shadow: 0 2px 3px hsla(0, 0%, 100%, 0.2);
129
- border-radius: 2px;
130
- white-space: normal;
131
- box-sizing: border-box;
132
- }
133
- }
134
- }
135
-
136
- .ck .ck-thread__comment-count {
137
- /* Make avatar size in the comment smaller than in presence list. */
138
- --ck-user-avatar-size: 28px;
139
-
140
- padding-left: calc( var(--ck-user-avatar-size) + var(--ck-spacing-standard) * 2 );
141
-
142
- color: var(--ck-color-comment-count);
143
- font-size: var(--ck-font-size-base);
144
- font-weight: bold;
145
- cursor: pointer;
146
-
147
- /* Keep similar transition like `ck-annotation`. */
148
- transition: background-color 300ms ease;
149
-
150
- &::before {
151
- content: '\25BC';
152
- margin-right: var(--ck-spacing-small);
153
- }
154
- }
155
-
156
- .ck .ck-thread--remove {
157
- & .ck-comment {
158
- background-color: var(--ck-color-comment-remove-background);
159
- }
160
-
161
- & .ck-thread__input--active {
162
- background-color: var(--ck-color-base-background);
163
-
164
- &.ck-thread__input {
165
- background-color: var(--ck-color-comment-remove-background);
166
- }
167
- }
168
-
169
- & .ck-thread__comment-count {
170
- background-color: var(--ck-color-comment-remove-background);
171
- }
172
-
173
- /* Handle visibility of vertical line below avatars. */
174
- & .ck-comment__wrapper {
175
- & .ck-comment::after {
176
- opacity: 0;
177
- }
178
- }
179
- }
180
-
181
- /* Handle visibility of vertical line below avatars. */
182
- .ck .ck-thread__comments .ck-comment__wrapper {
183
- &:last-of-type {
184
- & .ck-comment::after {
185
- opacity: 0;
186
- }
187
- }
188
- }
189
-
190
- .ck .ck-thread__container {
191
- transition: transform 300ms ease;
192
-
193
- @media (prefers-reduced-motion: reduce) {
194
- transition: none;
195
- }
196
- }
197
-
198
- .ck .ck-thread__comments {
199
- position: relative;
200
- z-index: var(--ck-z-default);
201
- list-style: none;
202
- margin: 0;
203
- padding: 0;
204
- border-radius: var(--ck-border-radius);
205
- }
206
-
207
- .ck .ck-thread__user {
208
- font-size: 0.85em;
209
- }
210
-
211
- .ck .ck-thread__input {
212
- /* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
213
- width: calc( 100% - var(--ck-user-avatar-size) );
214
- white-space: normal;
215
-
216
- transition: background-color 200ms ease-in-out;
217
- border-radius: var(--ck-border-radius);
218
-
219
- /*
220
- This is equal to the height of the wrapper when the editor instance is loaded.
221
- Editor instance is loaded _after_ the comment view is created,
222
- so the min-height is set to avoid jitter.
223
- */
224
- min-height: 38px;
225
- }
226
-
227
- .ck .ck-thread--active {
228
- & .ck-comment__options.ck-dropdown {
229
- display: block;
230
- }
231
-
232
- & .ck-thread__input {
233
- display: block;
234
- background-color: var(--ck-color-comment-background);
235
- }
236
-
237
- & .ck-thread__header {
238
- background-color: var(--ck-color-thread-header-active-background);
239
- }
240
- }
241
-
242
- .ck .ck-thread--unlinked {
243
- --ck-color-comment-box-border: var(--ck-color-base-border);
244
-
245
- --ck-color-thread-header-background: var(--ck-color-unlinked-background);
246
- --ck-color-thread-header-active-background: var(--ck-color-unlinked-active-background);
247
- }
248
-
249
- /* We need specificity 020 to beat .ck.ck-button. */
250
- .ck.ck-button.ck-confirm-view-submit {
251
- color: var(--ck-color-button-save);
252
- }
253
-
254
- .ck.ck-button.ck-confirm-view-cancel {
255
- color: var(--ck-color-button-cancel);
256
- }