@ckeditor/ckeditor5-comments 42.0.2 → 43.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/CHANGELOG.md +1 -256
  2. package/build/comments.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/bs.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de-ch.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/es-co.js +1 -1
  16. package/build/translations/es.js +1 -1
  17. package/build/translations/et.js +1 -1
  18. package/build/translations/fa.js +1 -1
  19. package/build/translations/fi.js +1 -1
  20. package/build/translations/fr.js +1 -1
  21. package/build/translations/gl.js +1 -1
  22. package/build/translations/he.js +1 -1
  23. package/build/translations/hi.js +1 -1
  24. package/build/translations/hr.js +1 -1
  25. package/build/translations/hu.js +1 -1
  26. package/build/translations/id.js +1 -1
  27. package/build/translations/it.js +1 -1
  28. package/build/translations/ja.js +1 -1
  29. package/build/translations/jv.js +1 -1
  30. package/build/translations/ko.js +1 -1
  31. package/build/translations/lt.js +1 -1
  32. package/build/translations/lv.js +1 -1
  33. package/build/translations/ms.js +1 -1
  34. package/build/translations/nl.js +1 -1
  35. package/build/translations/no.js +1 -1
  36. package/build/translations/pl.js +1 -1
  37. package/build/translations/pt-br.js +1 -1
  38. package/build/translations/pt.js +1 -1
  39. package/build/translations/ro.js +1 -1
  40. package/build/translations/ru.js +1 -1
  41. package/build/translations/sk.js +1 -1
  42. package/build/translations/sq.js +1 -1
  43. package/build/translations/sr-latn.js +1 -1
  44. package/build/translations/sr.js +1 -1
  45. package/build/translations/sv.js +1 -1
  46. package/build/translations/th.js +1 -1
  47. package/build/translations/ti.js +1 -1
  48. package/build/translations/tk.js +1 -1
  49. package/build/translations/tr.js +1 -1
  50. package/build/translations/tt.js +1 -1
  51. package/build/translations/ug.js +1 -1
  52. package/build/translations/uk.js +1 -1
  53. package/build/translations/ur.js +1 -1
  54. package/build/translations/vi.js +1 -1
  55. package/build/translations/zh-cn.js +1 -1
  56. package/build/translations/zh.js +1 -1
  57. package/dist/annotations/annotations.d.ts +1 -1
  58. package/dist/annotations/sidebar.d.ts +2 -2
  59. package/dist/annotations/view/annotationview.d.ts +4 -4
  60. package/dist/annotations/view/sidebaritemview.d.ts +7 -3
  61. package/dist/annotations/view/sidebarview.d.ts +25 -4
  62. package/dist/comments/commentsediting.d.ts +8 -0
  63. package/dist/comments/commentsrepository.d.ts +14 -2
  64. package/dist/comments/ui/view/basecommentthreadview.d.ts +32 -3
  65. package/dist/comments/ui/view/basecommentview.d.ts +41 -3
  66. package/dist/comments/ui/view/commentinputview.d.ts +17 -2
  67. package/dist/comments/ui/view/commentsarchiveview.d.ts +11 -3
  68. package/dist/comments/ui/view/commentslistview.d.ts +17 -5
  69. package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +25 -0
  70. package/dist/comments/ui/view/commentthreadheaderview.d.ts +29 -3
  71. package/dist/comments/ui/view/commentthreadinputview.d.ts +13 -2
  72. package/dist/comments/ui/view/commentthreadview.d.ts +11 -6
  73. package/dist/comments/ui/view/commentview.d.ts +9 -12
  74. package/dist/index-editor.css +33 -2
  75. package/dist/index.css +95 -2
  76. package/dist/index.d.ts +1 -0
  77. package/dist/index.js +9 -9
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/bg.js +1 -1
  83. package/dist/translations/bg.umd.js +1 -1
  84. package/dist/translations/bn.js +1 -1
  85. package/dist/translations/bn.umd.js +1 -1
  86. package/dist/translations/bs.js +1 -1
  87. package/dist/translations/bs.umd.js +1 -1
  88. package/dist/translations/ca.js +1 -1
  89. package/dist/translations/ca.umd.js +1 -1
  90. package/dist/translations/cs.js +1 -1
  91. package/dist/translations/cs.umd.js +1 -1
  92. package/dist/translations/da.js +1 -1
  93. package/dist/translations/da.umd.js +1 -1
  94. package/dist/translations/de-ch.js +1 -1
  95. package/dist/translations/de-ch.umd.js +1 -1
  96. package/dist/translations/de.js +1 -1
  97. package/dist/translations/de.umd.js +1 -1
  98. package/dist/translations/el.js +1 -1
  99. package/dist/translations/el.umd.js +1 -1
  100. package/dist/translations/en-au.js +1 -1
  101. package/dist/translations/en-au.umd.js +1 -1
  102. package/dist/translations/en.js +1 -1
  103. package/dist/translations/en.umd.js +1 -1
  104. package/dist/translations/es-co.js +1 -1
  105. package/dist/translations/es-co.umd.js +1 -1
  106. package/dist/translations/es.js +1 -1
  107. package/dist/translations/es.umd.js +1 -1
  108. package/dist/translations/et.js +1 -1
  109. package/dist/translations/et.umd.js +1 -1
  110. package/dist/translations/fa.js +1 -1
  111. package/dist/translations/fa.umd.js +1 -1
  112. package/dist/translations/fi.js +1 -1
  113. package/dist/translations/fi.umd.js +1 -1
  114. package/dist/translations/fr.js +1 -1
  115. package/dist/translations/fr.umd.js +1 -1
  116. package/dist/translations/gl.js +1 -1
  117. package/dist/translations/gl.umd.js +1 -1
  118. package/dist/translations/he.js +1 -1
  119. package/dist/translations/he.umd.js +1 -1
  120. package/dist/translations/hi.js +1 -1
  121. package/dist/translations/hi.umd.js +1 -1
  122. package/dist/translations/hr.js +1 -1
  123. package/dist/translations/hr.umd.js +1 -1
  124. package/dist/translations/hu.js +1 -1
  125. package/dist/translations/hu.umd.js +1 -1
  126. package/dist/translations/id.js +1 -1
  127. package/dist/translations/id.umd.js +1 -1
  128. package/dist/translations/it.js +1 -1
  129. package/dist/translations/it.umd.js +1 -1
  130. package/dist/translations/ja.js +1 -1
  131. package/dist/translations/ja.umd.js +1 -1
  132. package/dist/translations/jv.js +1 -1
  133. package/dist/translations/jv.umd.js +1 -1
  134. package/dist/translations/ko.js +1 -1
  135. package/dist/translations/ko.umd.js +1 -1
  136. package/dist/translations/lt.js +1 -1
  137. package/dist/translations/lt.umd.js +1 -1
  138. package/dist/translations/lv.js +1 -1
  139. package/dist/translations/lv.umd.js +1 -1
  140. package/dist/translations/ms.js +1 -1
  141. package/dist/translations/ms.umd.js +1 -1
  142. package/dist/translations/nl.js +1 -1
  143. package/dist/translations/nl.umd.js +1 -1
  144. package/dist/translations/no.js +1 -1
  145. package/dist/translations/no.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/sk.js +1 -1
  157. package/dist/translations/sk.umd.js +1 -1
  158. package/dist/translations/sq.js +1 -1
  159. package/dist/translations/sq.umd.js +1 -1
  160. package/dist/translations/sr-latn.js +1 -1
  161. package/dist/translations/sr-latn.umd.js +1 -1
  162. package/dist/translations/sr.js +1 -1
  163. package/dist/translations/sr.umd.js +1 -1
  164. package/dist/translations/sv.js +1 -1
  165. package/dist/translations/sv.umd.js +1 -1
  166. package/dist/translations/th.js +1 -1
  167. package/dist/translations/th.umd.js +1 -1
  168. package/dist/translations/ti.js +1 -1
  169. package/dist/translations/ti.umd.js +1 -1
  170. package/dist/translations/tk.js +1 -1
  171. package/dist/translations/tk.umd.js +1 -1
  172. package/dist/translations/tr.js +1 -1
  173. package/dist/translations/tr.umd.js +1 -1
  174. package/dist/translations/tt.js +1 -1
  175. package/dist/translations/tt.umd.js +1 -1
  176. package/dist/translations/ug.js +1 -1
  177. package/dist/translations/ug.umd.js +1 -1
  178. package/dist/translations/uk.js +1 -1
  179. package/dist/translations/uk.umd.js +1 -1
  180. package/dist/translations/ur.js +1 -1
  181. package/dist/translations/ur.umd.js +1 -1
  182. package/dist/translations/vi.js +1 -1
  183. package/dist/translations/vi.umd.js +1 -1
  184. package/dist/translations/zh-cn.js +1 -1
  185. package/dist/translations/zh-cn.umd.js +1 -1
  186. package/dist/translations/zh.js +1 -1
  187. package/dist/translations/zh.umd.js +1 -1
  188. package/dist/utils/common-translations.d.ts +1 -1
  189. package/lang/contexts.json +15 -0
  190. package/lang/translations/af.po +62 -0
  191. package/lang/translations/ar.po +68 -2
  192. package/lang/translations/bg.po +64 -2
  193. package/lang/translations/bn.po +64 -2
  194. package/lang/translations/bs.po +63 -0
  195. package/lang/translations/ca.po +64 -2
  196. package/lang/translations/cs.po +66 -2
  197. package/lang/translations/da.po +64 -2
  198. package/lang/translations/de-ch.po +62 -0
  199. package/lang/translations/de.po +64 -2
  200. package/lang/translations/el.po +64 -2
  201. package/lang/translations/en-au.po +62 -0
  202. package/lang/translations/en.po +64 -2
  203. package/lang/translations/es-co.po +63 -0
  204. package/lang/translations/es.po +65 -2
  205. package/lang/translations/et.po +64 -2
  206. package/lang/translations/fa.po +62 -0
  207. package/lang/translations/fi.po +64 -2
  208. package/lang/translations/fr.po +65 -2
  209. package/lang/translations/gl.po +64 -2
  210. package/lang/translations/he.po +65 -2
  211. package/lang/translations/hi.po +64 -2
  212. package/lang/translations/hr.po +63 -0
  213. package/lang/translations/hu.po +64 -2
  214. package/lang/translations/id.po +63 -2
  215. package/lang/translations/it.po +65 -2
  216. package/lang/translations/ja.po +63 -2
  217. package/lang/translations/jv.po +61 -0
  218. package/lang/translations/ko.po +63 -2
  219. package/lang/translations/lt.po +66 -2
  220. package/lang/translations/lv.po +65 -2
  221. package/lang/translations/ms.po +63 -2
  222. package/lang/translations/nl.po +64 -2
  223. package/lang/translations/no.po +64 -2
  224. package/lang/translations/pl.po +66 -2
  225. package/lang/translations/pt-br.po +65 -2
  226. package/lang/translations/pt.po +65 -2
  227. package/lang/translations/ro.po +65 -2
  228. package/lang/translations/ru.po +66 -2
  229. package/lang/translations/sk.po +66 -2
  230. package/lang/translations/sq.po +62 -0
  231. package/lang/translations/sr-latn.po +65 -2
  232. package/lang/translations/sr.po +65 -2
  233. package/lang/translations/sv.po +64 -2
  234. package/lang/translations/th.po +63 -2
  235. package/lang/translations/ti.po +62 -0
  236. package/lang/translations/tk.po +62 -0
  237. package/lang/translations/tr.po +64 -2
  238. package/lang/translations/tt.po +61 -0
  239. package/lang/translations/ug.po +64 -2
  240. package/lang/translations/uk.po +66 -2
  241. package/lang/translations/ur.po +62 -0
  242. package/lang/translations/vi.po +63 -2
  243. package/lang/translations/zh-cn.po +63 -2
  244. package/lang/translations/zh.po +63 -2
  245. package/package.json +14 -13
  246. package/src/annotations/annotation.js +2 -2
  247. package/src/annotations/annotationcollection.js +1 -1
  248. package/src/annotations/annotations.d.ts +1 -1
  249. package/src/annotations/annotations.js +1 -1
  250. package/src/annotations/annotationsuis.js +1 -1
  251. package/src/annotations/editorannotations.js +1 -1
  252. package/src/annotations/inlineannotations.js +1 -1
  253. package/src/annotations/narrowsidebar.js +1 -1
  254. package/src/annotations/sidebar.d.ts +2 -2
  255. package/src/annotations/sidebar.js +1 -1
  256. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  257. package/src/annotations/view/annotationview.d.ts +4 -4
  258. package/src/annotations/view/annotationview.js +1 -1
  259. package/src/annotations/view/sidebaritemview.d.ts +7 -3
  260. package/src/annotations/view/sidebaritemview.js +1 -1
  261. package/src/annotations/view/sidebarview.d.ts +25 -4
  262. package/src/annotations/view/sidebarview.js +1 -1
  263. package/src/annotations/widesidebar.js +1 -1
  264. package/src/comments/addcommentthreadcommand.js +1 -1
  265. package/src/comments/commentsarchive.js +1 -1
  266. package/src/comments/commentsarchiveui.js +1 -1
  267. package/src/comments/commentsediting.d.ts +8 -0
  268. package/src/comments/commentsediting.js +1 -1
  269. package/src/comments/commentsrepository.d.ts +14 -2
  270. package/src/comments/commentsrepository.js +3 -3
  271. package/src/comments/commentsui.js +1 -1
  272. package/src/comments/integrations/clipboard.js +1 -1
  273. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  274. package/src/comments/integrations/importword.js +1 -1
  275. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  276. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  277. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  278. package/src/comments/ui/commentthreadcontroller.js +2 -2
  279. package/src/comments/ui/view/basecommentthreadview.d.ts +32 -3
  280. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  281. package/src/comments/ui/view/basecommentview.d.ts +41 -3
  282. package/src/comments/ui/view/basecommentview.js +1 -1
  283. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  284. package/src/comments/ui/view/commentcontentview.js +1 -1
  285. package/src/comments/ui/view/commentinputview.d.ts +17 -2
  286. package/src/comments/ui/view/commentinputview.js +1 -1
  287. package/src/comments/ui/view/commentsarchiveview.d.ts +11 -3
  288. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  289. package/src/comments/ui/view/commentslistview.d.ts +17 -5
  290. package/src/comments/ui/view/commentslistview.js +1 -1
  291. package/src/comments/ui/view/commentthreadheadercontextview.d.ts +21 -0
  292. package/src/comments/ui/view/commentthreadheadercontextview.js +23 -0
  293. package/src/comments/ui/view/commentthreadheaderview.d.ts +29 -3
  294. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  295. package/src/comments/ui/view/commentthreadinputview.d.ts +13 -2
  296. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  297. package/src/comments/ui/view/commentthreadview.d.ts +11 -6
  298. package/src/comments/ui/view/commentthreadview.js +2 -2
  299. package/src/comments/ui/view/commentview.d.ts +9 -12
  300. package/src/comments/ui/view/commentview.js +2 -2
  301. package/src/comments.js +1 -1
  302. package/src/commentsonly.js +1 -1
  303. package/src/index.d.ts +1 -0
  304. package/src/index.js +1 -1
  305. package/src/utils/common-translations.d.ts +1 -1
  306. package/src/utils/common-translations.js +1 -1
  307. package/src/utils/createmutationobserver.js +1 -1
  308. package/theme/comment.css +6 -0
  309. package/theme/commentthread.css +43 -2
package/CHANGELOG.md CHANGED
@@ -1,259 +1,4 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- All changes in the package are documented at https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
5
-
6
- Changes for the past releases are available below.
7
-
8
-
9
- ## 23.0.0 (September 25, 2020)
10
-
11
- ### Bug fixes
12
-
13
- * Fixed crash that happened when an editor with multiple annotations was destroyed.
14
-
15
-
16
- ## 22.0.0 (August 25, 2020)
17
-
18
- ### Features
19
-
20
- * Introduced `sidebar.preventScrollOutOfView` configuration option that prevents sidebar items from being moved out of sight (above the sidebar top edge).
21
-
22
- ### Other
23
-
24
- * Changed annotations positioning algorithms.
25
-
26
-
27
- ## 21.0.0 (July 24, 2020)
28
-
29
- ### BREAKING CHANGES
30
-
31
- * The comments feature now uses the recently introduced marker-to-data conversion. This means that comment markers included in the document data returned from the editor will be different than before. The change is backward compatible with regards to old documents that you have already saved in your database. These documents will be correctly processed by the editor, however, upon saving, the document data will be returned in the new format.
32
-
33
- ### Bug fixes
34
-
35
- * Passing `Rect` or a callback returning `Rect` as an annotation target should work now correctly.
36
-
37
- ### Other changes
38
-
39
- * Switched from marker-to-element conversion to marker-to-data conversion.
40
-
41
-
42
- ## 20.0.1 (June 26, 2020)
43
-
44
- ### Features
45
-
46
- * Introduced support for multi-range comments (multi-cell comments in tables).
47
-
48
-
49
- ### Bug fixes
50
-
51
- * Incorrect comment was activated after creating a second comment on the same element or range.
52
-
53
-
54
- ## 19.0.2 (May 25, 2020)
55
-
56
- Internal changes only (updated dependencies, documentation, etc.).
57
-
58
-
59
- ## 19.0.1 (April 30, 2020)
60
-
61
- ### BREAKING CHANGES
62
-
63
- * `AnnotationView#active` was renamed to `#isActive`.
64
- * `AnnotationView#hasChanges` was renamed to `#isDirty`.
65
- * Due to changes in how comments are loaded for suggestions, comments now need to be loaded before suggestions in the ["load and save" integration](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-integration.html#a-simple-load-and-save-integration) type (non-adapter integration).
66
-
67
- ### Features
68
-
69
- * Introduced customizable comment views.
70
- * Localized the UI for comments.
71
-
72
- ### Bug fixes
73
-
74
- * Improved logic that activates balloon annotations.
75
- * Resolved a race condition issue happening when fetching comment data and causing an editor crash.
76
-
77
- ### Other changes
78
-
79
- * Removed the `Comments` plugin API.
80
-
81
-
82
- ## 18.0.0 (March 19, 2020)
83
-
84
- ### Features
85
-
86
- * Introduced `skipEmpty` parameter in `CommentsRepository#getCommentThreads()`.
87
-
88
- ### Bug fixes
89
-
90
- * Fixed contextual balloon glitches happening when switching from inline annotations to sidebar UI while displaying a comment.
91
- * Fixed editor crashing in some scenarios involving track changes adapter during initial data load.
92
- * Fixed incorrectly highlighted suggestions for table row/column insertion and deletion.
93
- * Fixed a bug causing new comments to be added with "Invalid date."
94
- * Comment threads for suggestions will now be correctly returned by `CommentsRepository#getCommentThreads()`.
95
-
96
-
97
- ## 17.0.0 (February 20, 2020)
98
-
99
- ### BREAKING CHANGES
100
-
101
- * The following commands were removed:
102
- * `addComment`,
103
- * `removeComment`,
104
- * `removeCommentThread`,
105
- * `updateComment`.
106
-
107
- The only editor command used by the comments feature is `addCommentThread`. Now, it is the responsibility of `CommentsRepository` to operate on comments. If your integration extended the removed commands, you should now integrate with the `CommentsRepository` API.
108
- * The previous API available for the `Comments` plugin was deprecated and will be removed in the next release. The `CommentsRepository` API should be used instead.
109
- * The comments feature now expects the `config.collaboration.channelId` configuration parameter. The previously used `config.cloudServices.documentId` was deprecated and will be removed in the next release.
110
- * The comments adapter now requires the `removeCommentThread()` method, which should remove the entire comment thread. If you use a custom comments adapter and would like to support comments outside the editor, you will need to provide this method.
111
- * If you use `Context` in your application, context plugins should be added to the context configuration instead of the editor configuration. The following plugins were changed to context plugins:
112
- * `Annotations`,
113
- * `CommentsRepository`,
114
- * `WideSidebar`,
115
- * `NarrowSidebar`.
116
-
117
- ### Known issues
118
-
119
- * `Comments#getCommentThreads()` and `CommentsRepository#getCommentThreads( { skipNotAttached: true } )` are not returning comment threads added to suggestions. Instead, use `CommentsRepository#getCommentThreads( { skipNotAttached: false } )` and filter comment threads by their ids, comparing them to ids returned by `TrackChanges#getSuggestions()`.
120
-
121
- ### Features
122
-
123
- * Opened the comments feature API. Enabled creating comments on form fields and other DOM elements outside the editor. Please refer to the documentation to learn about all introduced changes.
124
- * Introduced `CommentsRepository` which is a context plugin that handles comments. It introduces the API to operate on comments and can be used outside or without an editor instance. See the documentation to learn more about the new API.
125
- * Annotations became a context plugin and can be used outside or without an editor instance. See the documentation to learn more about the new API.
126
-
127
-
128
- ## 16.0.0 (December 2, 2019)
129
-
130
- ### Bug fixes
131
-
132
- * `SidebarView#minHeight` will now be cleared when the sidebar becomes empty.
133
-
134
-
135
- ## 15.0.1 (October 24, 2019)
136
-
137
- Internal changes only (updated dependencies, documentation, etc.).
138
-
139
-
140
- ## 15.0.0 (October 23, 2019)
141
-
142
- ### Features
143
-
144
- * Enabled comments in the title element.
145
- * Introduced the possibility to [provide a custom date-time format](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments.html#custom-date-format) for the comment balloons.
146
-
147
- ### Bug fixes
148
-
149
- * Fixed incorrect button type in the narrow toolbar.
150
-
151
- ### Other changes
152
-
153
- * Improved annotation positioning by using the DOM element position instead of the markers' order.
154
-
155
-
156
- ## 4.0.0 (August 22, 2019)
157
-
158
- ### Features
159
-
160
- * Added the comment ID, the author ID, and the comment thread ID as data attributes to annotation DOM elements.
161
- * Annotations with an unfinished editing process will now be marked in the narrow sidebar.
162
- * Provided an API to enable and disable the "comments-only" mode. The comments-only plugin is now required by default by the comments plugin but needs to be enabled using the [`commentsOnly` configuration option](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-only-mode.html).
163
-
164
- ### Bug fixes
165
-
166
- * Sidebar items position is now aligned correctly on window resize.
167
- * Prevented item collisions inside the sidebar.
168
- * Safari does not freeze when rejecting a comment thread that was being added.
169
-
170
- ### Other changes
171
-
172
- * Removed crash events and made the code throw a `CKEditorError` instead.
173
-
174
- ### BREAKING CHANGES
175
-
176
- * The comments-only plugin needs to be enabled using the [`commentsOnly` configuration option](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-only-mode.html).
177
-
178
- ## 3.2.0 (July 4, 2019)
179
-
180
- ### Features
181
-
182
- * Introduced the [narrow sidebar](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-display-mode.html#narrow-sidebar) display mode.
183
- * It is now possible to close the annotations balloon on pressing <kbd>Esc</kbd>.
184
-
185
- ### Bug fixes
186
-
187
- * Fixed UI glitches in inline comments panel animation.
188
-
189
- ### Other changes
190
-
191
- * Improved the visibility of the annotation counter in the narrow sidebar.
192
- * Replaced `trim-html` dependencies with an internal implementation.
193
- * Introduced the support for mobile environments: Android and iOS.
194
-
195
- ## 3.1.0 (June 5, 2019)
196
-
197
- ### Features
198
-
199
- * Introduced inline comments as a separate [display mode](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-display-mode.html). It is possible to switch between sidebar and inline comments dynamically.
200
- * Introduced the [`comments.editorConfig` configuration option](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments.html#comment-editor-customization) to define a custom configuration for the comment editor.
201
-
202
- ### Bug fixes
203
-
204
- * Prevented comments from overflowing the sidebar element. The sidebar element changes its `min-height` property when comments are added or removed.
205
- * Improved toggling of the collapsed state of comments.
206
-
207
-
208
- ## 3.0.0 (April 4, 2019)
209
-
210
- ### Features
211
-
212
- * Introduced the `editorConfig.commentsOnly` property. Thanks to it, one build can be used in two modes depending on the editor configuration.
213
- * Added support for [multi-root editor](https://github.com/ckeditor/ckeditor5-collaboration-samples/tree/master/multi-root-editor-with-real-time-collaboration).
214
- * Prepared comments to be displayed inside suggestions.
215
- * Introduced a comment length limit. It is not possible to submit a comment longer than 4000 characters.
216
- * Improved getting the marker top offset to be more layout-independent.
217
-
218
- ### BREAKING CHANGES
219
-
220
- * Starting from this release, it is not enough to add the `CommentsOnly` plugin to enable the comments-only mode. The `editorConfig.commentsOnly` configuration option needs to be set to `true`, too.
221
-
222
-
223
- ## 2.0.0 (February 5, 2019)
224
-
225
- ### Features
226
-
227
- * Improvements in the sidebar plugin to support the track changes feature.
228
-
229
- ### Bug fixes
230
-
231
- * Properly display inactive markers inside an active one.
232
- * Refresh an active sidebar item after all editor changes.
233
- * Set the local creation date for the editor comments.
234
-
235
- ### Other changes
236
-
237
- * Improved the difference between an active and inactive state of annotations.
238
- * Aligned `CommentEditor` to changes in the CKEditor&nbsp;5 core, release 12.0.0.
239
- * The `adapter.addComment()` method can now return an object with a `createAt` property to synchronize the comment creation date with the server. See the [documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-integration.html#comments-api) to learn more.
240
-
241
- ### BREAKING CHANGES
242
-
243
- * Renamed `Comments#getVisibleCommentThreads()` to `Comments#getCommentThreads()` to unify comments and track changes API naming.
244
- * ` Comments#state` was dropped from the API.
245
- * Renamed `author` to `authorId` in the comment JSON format to unify comments and track changes API naming.
246
-
247
- ## 1.0.1 (December 6, 2018)
248
-
249
- ### Bug fixes
250
-
251
- * Update dependencies versions.
252
-
253
- ## 1.0.0 (December 6, 2018)
254
-
255
- The initialization of this repository. [CKEditor&nbsp;5 comments](https://ckeditor.com/collaboration/comments/) is a plugin that lets you add comments support to any CKEditor&nbsp;5 build. It provides the API to integrate comments with your application (load the comments data from your database and save them to it).
256
-
257
- This package is also the base for the comments handling in [real-time collaborative editing](https://www.npmjs.com/package/@ckeditor/ckeditor5-real-time-collaboration).
258
-
259
- There is also a new `CommentsOnly` plugin introduced which allows you to turn the editor to the [comments-only mode](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-only-mode.html), where the users can add comments to the document but are not allowed to edit its content directly.
4
+ All changes in the package are documented in https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.