@ckeditor/ckeditor5-comments 44.0.0 → 44.1.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 (295) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/annotations/annotation.d.ts +1 -1
  3. package/dist/annotations/annotationcollection.d.ts +1 -1
  4. package/dist/annotations/annotations.d.ts +1 -1
  5. package/dist/annotations/annotationsuis.d.ts +1 -1
  6. package/dist/annotations/editorannotations.d.ts +1 -1
  7. package/dist/annotations/inlineannotations.d.ts +1 -1
  8. package/dist/annotations/narrowsidebar.d.ts +1 -1
  9. package/dist/annotations/sidebar.d.ts +1 -1
  10. package/dist/annotations/view/annotationcounterbuttonview.d.ts +1 -1
  11. package/dist/annotations/view/annotationview.d.ts +1 -1
  12. package/dist/annotations/view/sidebaritemview.d.ts +1 -1
  13. package/dist/annotations/view/sidebarview.d.ts +1 -1
  14. package/dist/annotations/widesidebar.d.ts +1 -1
  15. package/dist/augmentation.d.ts +1 -1
  16. package/dist/comments/addcommentthreadcommand.d.ts +1 -1
  17. package/dist/comments/commentsarchive.d.ts +1 -1
  18. package/dist/comments/commentsarchiveui.d.ts +1 -1
  19. package/dist/comments/commentsediting.d.ts +3 -2
  20. package/dist/comments/commentsrepository.d.ts +1 -1
  21. package/dist/comments/commentsui.d.ts +1 -1
  22. package/dist/comments/integrations/clipboard.d.ts +1 -1
  23. package/dist/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  24. package/dist/comments/integrations/importword.d.ts +1 -1
  25. package/dist/comments/integrations/showcommenthighlights.d.ts +23 -0
  26. package/dist/comments/ui/commenteditor/commenteditor.d.ts +1 -1
  27. package/dist/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
  28. package/dist/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
  29. package/dist/comments/ui/commentthreadcontroller.d.ts +1 -1
  30. package/dist/comments/ui/view/basecommentthreadview.d.ts +1 -1
  31. package/dist/comments/ui/view/basecommentview.d.ts +1 -1
  32. package/dist/comments/ui/view/collapsedcommentsview.d.ts +1 -1
  33. package/dist/comments/ui/view/commentcontentview.d.ts +1 -1
  34. package/dist/comments/ui/view/commentinputview.d.ts +1 -1
  35. package/dist/comments/ui/view/commentsarchiveview.d.ts +1 -1
  36. package/dist/comments/ui/view/commentslistview.d.ts +1 -1
  37. package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
  38. package/dist/comments/ui/view/commentthreadheaderview.d.ts +1 -1
  39. package/dist/comments/ui/view/commentthreadinputview.d.ts +1 -1
  40. package/dist/comments/ui/view/commentthreadview.d.ts +1 -1
  41. package/dist/comments/ui/view/commentview.d.ts +1 -1
  42. package/dist/comments.d.ts +1 -1
  43. package/dist/commentsonly.d.ts +1 -1
  44. package/dist/config.d.ts +1 -1
  45. package/dist/index-content.css +30 -0
  46. package/dist/index-editor.css +0 -27
  47. package/dist/index.css +19 -19
  48. package/dist/index.d.ts +1 -1
  49. package/dist/index.js +9 -9
  50. package/dist/translations/af.js +1 -1
  51. package/dist/translations/af.umd.js +1 -1
  52. package/dist/translations/ar.js +1 -1
  53. package/dist/translations/ar.umd.js +1 -1
  54. package/dist/translations/ast.js +1 -1
  55. package/dist/translations/ast.umd.js +1 -1
  56. package/dist/translations/az.js +1 -1
  57. package/dist/translations/az.umd.js +1 -1
  58. package/dist/translations/bg.js +1 -1
  59. package/dist/translations/bg.umd.js +1 -1
  60. package/dist/translations/bn.js +1 -1
  61. package/dist/translations/bn.umd.js +1 -1
  62. package/dist/translations/bs.js +1 -1
  63. package/dist/translations/bs.umd.js +1 -1
  64. package/dist/translations/ca.js +1 -1
  65. package/dist/translations/ca.umd.js +1 -1
  66. package/dist/translations/cs.js +1 -1
  67. package/dist/translations/cs.umd.js +1 -1
  68. package/dist/translations/da.js +1 -1
  69. package/dist/translations/da.umd.js +1 -1
  70. package/dist/translations/de-ch.js +1 -1
  71. package/dist/translations/de-ch.umd.js +1 -1
  72. package/dist/translations/de.js +1 -1
  73. package/dist/translations/de.umd.js +1 -1
  74. package/dist/translations/el.js +1 -1
  75. package/dist/translations/el.umd.js +1 -1
  76. package/dist/translations/en-au.js +1 -1
  77. package/dist/translations/en-au.umd.js +1 -1
  78. package/dist/translations/en-gb.js +1 -1
  79. package/dist/translations/en-gb.umd.js +1 -1
  80. package/dist/translations/en.js +1 -1
  81. package/dist/translations/en.umd.js +1 -1
  82. package/dist/translations/eo.js +1 -1
  83. package/dist/translations/eo.umd.js +1 -1
  84. package/dist/translations/es-co.js +1 -1
  85. package/dist/translations/es-co.umd.js +1 -1
  86. package/dist/translations/es.js +1 -1
  87. package/dist/translations/es.umd.js +1 -1
  88. package/dist/translations/et.js +1 -1
  89. package/dist/translations/et.umd.js +1 -1
  90. package/dist/translations/eu.js +1 -1
  91. package/dist/translations/eu.umd.js +1 -1
  92. package/dist/translations/fa.js +1 -1
  93. package/dist/translations/fa.umd.js +1 -1
  94. package/dist/translations/fi.js +1 -1
  95. package/dist/translations/fi.umd.js +1 -1
  96. package/dist/translations/fr.js +1 -1
  97. package/dist/translations/fr.umd.js +1 -1
  98. package/dist/translations/gl.js +1 -1
  99. package/dist/translations/gl.umd.js +1 -1
  100. package/dist/translations/gu.js +1 -1
  101. package/dist/translations/gu.umd.js +1 -1
  102. package/dist/translations/he.js +1 -1
  103. package/dist/translations/he.umd.js +1 -1
  104. package/dist/translations/hi.js +1 -1
  105. package/dist/translations/hi.umd.js +1 -1
  106. package/dist/translations/hr.js +1 -1
  107. package/dist/translations/hr.umd.js +1 -1
  108. package/dist/translations/hu.js +1 -1
  109. package/dist/translations/hu.umd.js +1 -1
  110. package/dist/translations/hy.js +1 -1
  111. package/dist/translations/hy.umd.js +1 -1
  112. package/dist/translations/id.js +1 -1
  113. package/dist/translations/id.umd.js +1 -1
  114. package/dist/translations/it.js +1 -1
  115. package/dist/translations/it.umd.js +1 -1
  116. package/dist/translations/ja.js +1 -1
  117. package/dist/translations/ja.umd.js +1 -1
  118. package/dist/translations/jv.js +1 -1
  119. package/dist/translations/jv.umd.js +1 -1
  120. package/dist/translations/kk.js +1 -1
  121. package/dist/translations/kk.umd.js +1 -1
  122. package/dist/translations/km.js +1 -1
  123. package/dist/translations/km.umd.js +1 -1
  124. package/dist/translations/kn.js +1 -1
  125. package/dist/translations/kn.umd.js +1 -1
  126. package/dist/translations/ko.js +1 -1
  127. package/dist/translations/ko.umd.js +1 -1
  128. package/dist/translations/ku.js +1 -1
  129. package/dist/translations/ku.umd.js +1 -1
  130. package/dist/translations/lt.js +1 -1
  131. package/dist/translations/lt.umd.js +1 -1
  132. package/dist/translations/lv.js +1 -1
  133. package/dist/translations/lv.umd.js +1 -1
  134. package/dist/translations/ms.js +1 -1
  135. package/dist/translations/ms.umd.js +1 -1
  136. package/dist/translations/nb.js +1 -1
  137. package/dist/translations/nb.umd.js +1 -1
  138. package/dist/translations/ne.js +1 -1
  139. package/dist/translations/ne.umd.js +1 -1
  140. package/dist/translations/nl.js +1 -1
  141. package/dist/translations/nl.umd.js +1 -1
  142. package/dist/translations/no.js +1 -1
  143. package/dist/translations/no.umd.js +1 -1
  144. package/dist/translations/oc.js +1 -1
  145. package/dist/translations/oc.umd.js +1 -1
  146. package/dist/translations/pl.js +1 -1
  147. package/dist/translations/pl.umd.js +1 -1
  148. package/dist/translations/pt-br.js +1 -1
  149. package/dist/translations/pt-br.umd.js +1 -1
  150. package/dist/translations/pt.js +1 -1
  151. package/dist/translations/pt.umd.js +1 -1
  152. package/dist/translations/ro.js +1 -1
  153. package/dist/translations/ro.umd.js +1 -1
  154. package/dist/translations/ru.js +1 -1
  155. package/dist/translations/ru.umd.js +1 -1
  156. package/dist/translations/si.js +1 -1
  157. package/dist/translations/si.umd.js +1 -1
  158. package/dist/translations/sk.js +1 -1
  159. package/dist/translations/sk.umd.js +1 -1
  160. package/dist/translations/sl.js +1 -1
  161. package/dist/translations/sl.umd.js +1 -1
  162. package/dist/translations/sq.js +1 -1
  163. package/dist/translations/sq.umd.js +1 -1
  164. package/dist/translations/sr-latn.js +1 -1
  165. package/dist/translations/sr-latn.umd.js +1 -1
  166. package/dist/translations/sr.js +1 -1
  167. package/dist/translations/sr.umd.js +1 -1
  168. package/dist/translations/sv.js +1 -1
  169. package/dist/translations/sv.umd.js +1 -1
  170. package/dist/translations/th.js +1 -1
  171. package/dist/translations/th.umd.js +1 -1
  172. package/dist/translations/ti.js +1 -1
  173. package/dist/translations/ti.umd.js +1 -1
  174. package/dist/translations/tk.js +1 -1
  175. package/dist/translations/tk.umd.js +1 -1
  176. package/dist/translations/tr.js +1 -1
  177. package/dist/translations/tr.umd.js +1 -1
  178. package/dist/translations/tt.js +1 -1
  179. package/dist/translations/tt.umd.js +1 -1
  180. package/dist/translations/ug.js +1 -1
  181. package/dist/translations/ug.umd.js +1 -1
  182. package/dist/translations/uk.js +1 -1
  183. package/dist/translations/uk.umd.js +1 -1
  184. package/dist/translations/ur.js +1 -1
  185. package/dist/translations/ur.umd.js +1 -1
  186. package/dist/translations/uz.js +1 -1
  187. package/dist/translations/uz.umd.js +1 -1
  188. package/dist/translations/vi.js +1 -1
  189. package/dist/translations/vi.umd.js +1 -1
  190. package/dist/translations/zh-cn.js +1 -1
  191. package/dist/translations/zh-cn.umd.js +1 -1
  192. package/dist/translations/zh.js +1 -1
  193. package/dist/translations/zh.umd.js +1 -1
  194. package/dist/utils/common-translations.d.ts +1 -1
  195. package/dist/utils/createmutationobserver.d.ts +1 -1
  196. package/package.json +16 -15
  197. package/src/annotations/annotation.d.ts +1 -1
  198. package/src/annotations/annotation.js +2 -2
  199. package/src/annotations/annotationcollection.d.ts +1 -1
  200. package/src/annotations/annotationcollection.js +1 -1
  201. package/src/annotations/annotations.d.ts +1 -1
  202. package/src/annotations/annotations.js +1 -1
  203. package/src/annotations/annotationsuis.d.ts +1 -1
  204. package/src/annotations/annotationsuis.js +1 -1
  205. package/src/annotations/editorannotations.d.ts +1 -1
  206. package/src/annotations/editorannotations.js +1 -1
  207. package/src/annotations/inlineannotations.d.ts +1 -1
  208. package/src/annotations/inlineannotations.js +1 -1
  209. package/src/annotations/narrowsidebar.d.ts +1 -1
  210. package/src/annotations/narrowsidebar.js +1 -1
  211. package/src/annotations/sidebar.d.ts +1 -1
  212. package/src/annotations/sidebar.js +1 -1
  213. package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
  214. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  215. package/src/annotations/view/annotationview.d.ts +1 -1
  216. package/src/annotations/view/annotationview.js +1 -1
  217. package/src/annotations/view/sidebaritemview.d.ts +1 -1
  218. package/src/annotations/view/sidebaritemview.js +1 -1
  219. package/src/annotations/view/sidebarview.d.ts +1 -1
  220. package/src/annotations/view/sidebarview.js +1 -1
  221. package/src/annotations/widesidebar.d.ts +1 -1
  222. package/src/annotations/widesidebar.js +1 -1
  223. package/src/augmentation.d.ts +1 -1
  224. package/src/comments/addcommentthreadcommand.d.ts +1 -1
  225. package/src/comments/addcommentthreadcommand.js +1 -1
  226. package/src/comments/commentsarchive.d.ts +1 -1
  227. package/src/comments/commentsarchive.js +1 -1
  228. package/src/comments/commentsarchiveui.d.ts +1 -1
  229. package/src/comments/commentsarchiveui.js +1 -1
  230. package/src/comments/commentsediting.d.ts +3 -2
  231. package/src/comments/commentsediting.js +1 -1
  232. package/src/comments/commentsrepository.d.ts +1 -1
  233. package/src/comments/commentsrepository.js +3 -3
  234. package/src/comments/commentsui.d.ts +1 -1
  235. package/src/comments/commentsui.js +1 -1
  236. package/src/comments/integrations/clipboard.d.ts +1 -1
  237. package/src/comments/integrations/clipboard.js +1 -1
  238. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  239. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  240. package/src/comments/integrations/importword.d.ts +1 -1
  241. package/src/comments/integrations/importword.js +1 -1
  242. package/src/comments/integrations/showcommenthighlights.d.ts +19 -0
  243. package/src/comments/integrations/showcommenthighlights.js +23 -0
  244. package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
  245. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  246. package/src/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
  247. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  248. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
  249. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  250. package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
  251. package/src/comments/ui/commentthreadcontroller.js +2 -2
  252. package/src/comments/ui/view/basecommentthreadview.d.ts +1 -1
  253. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  254. package/src/comments/ui/view/basecommentview.d.ts +1 -1
  255. package/src/comments/ui/view/basecommentview.js +1 -1
  256. package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
  257. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  258. package/src/comments/ui/view/commentcontentview.d.ts +1 -1
  259. package/src/comments/ui/view/commentcontentview.js +1 -1
  260. package/src/comments/ui/view/commentinputview.d.ts +1 -1
  261. package/src/comments/ui/view/commentinputview.js +1 -1
  262. package/src/comments/ui/view/commentsarchiveview.d.ts +1 -1
  263. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  264. package/src/comments/ui/view/commentslistview.d.ts +1 -1
  265. package/src/comments/ui/view/commentslistview.js +1 -1
  266. package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
  267. package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
  268. package/src/comments/ui/view/commentthreadheaderview.d.ts +1 -1
  269. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  270. package/src/comments/ui/view/commentthreadinputview.d.ts +1 -1
  271. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  272. package/src/comments/ui/view/commentthreadview.d.ts +1 -1
  273. package/src/comments/ui/view/commentthreadview.js +2 -2
  274. package/src/comments/ui/view/commentview.d.ts +1 -1
  275. package/src/comments/ui/view/commentview.js +2 -2
  276. package/src/comments.d.ts +1 -1
  277. package/src/comments.js +1 -1
  278. package/src/commentsonly.d.ts +1 -1
  279. package/src/commentsonly.js +1 -1
  280. package/src/config.d.ts +1 -1
  281. package/src/index.d.ts +1 -1
  282. package/src/index.js +1 -1
  283. package/src/utils/common-translations.d.ts +1 -1
  284. package/src/utils/common-translations.js +1 -1
  285. package/src/utils/createmutationobserver.d.ts +1 -1
  286. package/src/utils/createmutationobserver.js +1 -1
  287. package/theme/annotation-inline.css +1 -1
  288. package/theme/annotation.css +1 -1
  289. package/theme/comment.css +1 -1
  290. package/theme/commentinput.css +1 -1
  291. package/theme/commentmarker.css +3 -3
  292. package/theme/commentsarchive.css +1 -1
  293. package/theme/commentthread.css +1 -1
  294. package/theme/sidebar-narrow.css +1 -1
  295. package/theme/sidebar.css +1 -1
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/annotation
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/annotationcollection
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/annotations
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/annotationsuis
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/editorannotations
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/inlineannotations
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/narrowsidebar
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/sidebar
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/view/annotationcounterbuttonview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/view/annotationview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/view/sidebaritemview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/view/sidebarview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/annotations/widesidebar
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import type { CommentsConfig, SidebarConfig, Annotations, AnnotationsUIs, EditorAnnotations, InlineAnnotations, WideSidebar, NarrowSidebar, Comments, CommentsRepository, CommentsUI, CommentsOnly, CommentsArchive, CommentsArchiveUI } from './index.js';
10
10
  declare module '@ckeditor/ckeditor5-core' {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/addcommentthreadcommand
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/commentsarchive
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/commentsarchiveui
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/commentsediting
@@ -17,6 +17,7 @@ import EditorAnnotations from '../annotations/editorannotations.js';
17
17
  import CommentsRestrictedEditingMode from './integrations/commentsrestrictededitingmode.js';
18
18
  import CommentsImportWord from './integrations/importword.js';
19
19
  import CommentsClipboard from './integrations/clipboard.js';
20
+ import ShowCommentHighlights from './integrations/showcommenthighlights.js';
20
21
  import '../../theme/commentmarker.css';
21
22
  /**
22
23
  * Plugin that keeps in sync comments in {@link module:comments/comments/commentsrepository~CommentsRepository} with
@@ -46,7 +47,7 @@ export default class CommentsEditing extends Plugin {
46
47
  /**
47
48
  * @inheritDoc
48
49
  */
49
- static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof Users, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord, typeof CommentsClipboard];
50
+ static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof Users, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord, typeof CommentsClipboard, typeof ShowCommentHighlights];
50
51
  /**
51
52
  * @inheritDoc
52
53
  */
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/commentsrepository
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/commentsui
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/integrations/clipboard
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/integrations/commentsrestrictededitingmode
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/integrations/importword
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
+ */
9
+ /**
10
+ * @module comments/integrations/showcommenthighlights
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * Provides integrations for getting editor data with `showCommentHightlights` option enabled for the features that need it.
15
+ * Some of them are similar or duplicates from the `showSuggestionHighlights` option handling in the track changes feature.
16
+ * Unfortunately, for now there's no single place where they could be shared and reused, so both plugins have to add them separately.
17
+ */
18
+ export default class ShowCommentHighlights extends Plugin {
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ init(): void;
23
+ }
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/commenteditor/commenteditor
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/commenteditor/commenteditorui
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/commenteditor/commenteditoruiview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import type { CommentThread } from '../commentsrepository.js';
10
10
  import type { default as BaseCommentThreadView } from './view/basecommentthreadview.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/basecommentthreadview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/basecommentview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/collapsedcommentsview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/commentcontentview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/commentinputview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/commentslistview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/commentslistview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  import { View, type FocusableView } from 'ckeditor5/src/ui.js';
10
10
  import type { Locale } from 'ckeditor5/src/utils.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/commentthreadheaderview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/commentthreadinputview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/commentthreadview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments/ui/view/commentview
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/comments
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/commentsonly
package/dist/config.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /**
6
6
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
  /**
10
10
  * @module comments/config
@@ -2,4 +2,34 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
+ :root{
6
+ --ck-color-comment-marker:hsl(55, 98%, 83%);
7
+ --ck-color-comment-marker-active:hsl(55, 98%, 68%);
8
+ }
5
9
 
10
+ .ck-content .ck-comment-marker{
11
+ background:var(--ck-color-comment-marker);
12
+ border-top:3px solid transparent;
13
+ border-bottom:3px solid transparent;
14
+ }
15
+
16
+ .ck-content .ck-comment-marker.ck-widget{
17
+ background-color:transparent;
18
+ border:3px solid var(--ck-color-comment-marker);
19
+ }
20
+
21
+ .ck-content .ck-comment-marker--active{
22
+ background:var(--ck-color-comment-marker-active);
23
+ }
24
+
25
+ .ck-content .ck-comment-marker--active .ck-comment-marker{
26
+ background:var(--ck-color-comment-marker-active);
27
+ }
28
+
29
+ .ck-content .ck-comment-marker--active.ck-widget{
30
+ border-color:var(--ck-color-comment-marker-active);
31
+ }
32
+
33
+ .ck-content .ck-comment-marker--active.ck-widget .ck-comment-marker{
34
+ background-color:var(--ck-color-comment-marker);
35
+ }
@@ -7,33 +7,6 @@
7
7
  --ck-color-comment-marker-active:hsl(55, 98%, 68%);
8
8
  }
9
9
 
10
- .ck-comment-marker{
11
- background:var(--ck-color-comment-marker);
12
- border-top:3px solid transparent;
13
- border-bottom:3px solid transparent;
14
- }
15
-
16
- .ck-comment-marker.ck-widget{
17
- background-color:transparent;
18
- border:3px solid var(--ck-color-comment-marker);
19
- }
20
-
21
- .ck-comment-marker--active{
22
- background:var(--ck-color-comment-marker-active);
23
- }
24
-
25
- .ck-comment-marker--active .ck-comment-marker{
26
- background:var(--ck-color-comment-marker-active);
27
- }
28
-
29
- .ck-comment-marker--active.ck-widget{
30
- border-color:var(--ck-color-comment-marker-active);
31
- }
32
-
33
- .ck-comment-marker--active.ck-widget .ck-comment-marker{
34
- background-color:var(--ck-color-comment-marker);
35
- }
36
-
37
10
  :root{
38
11
  --ck-color-comment-background:hsl(210, 52%, 97%);
39
12
  --ck-color-comment-separator:hsl(210, 52%, 87%);