@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.
- package/CHANGELOG.md +1 -256
- package/build/comments.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/annotations/annotations.d.ts +1 -1
- package/dist/annotations/sidebar.d.ts +2 -2
- package/dist/annotations/view/annotationview.d.ts +4 -4
- package/dist/annotations/view/sidebaritemview.d.ts +7 -3
- package/dist/annotations/view/sidebarview.d.ts +25 -4
- package/dist/comments/commentsediting.d.ts +8 -0
- package/dist/comments/commentsrepository.d.ts +14 -2
- package/dist/comments/ui/view/basecommentthreadview.d.ts +32 -3
- package/dist/comments/ui/view/basecommentview.d.ts +41 -3
- package/dist/comments/ui/view/commentinputview.d.ts +17 -2
- package/dist/comments/ui/view/commentsarchiveview.d.ts +11 -3
- package/dist/comments/ui/view/commentslistview.d.ts +17 -5
- package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +25 -0
- package/dist/comments/ui/view/commentthreadheaderview.d.ts +29 -3
- package/dist/comments/ui/view/commentthreadinputview.d.ts +13 -2
- package/dist/comments/ui/view/commentthreadview.d.ts +11 -6
- package/dist/comments/ui/view/commentview.d.ts +9 -12
- package/dist/index-editor.css +33 -2
- package/dist/index.css +95 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/utils/common-translations.d.ts +1 -1
- package/lang/contexts.json +15 -0
- package/lang/translations/af.po +62 -0
- package/lang/translations/ar.po +68 -2
- package/lang/translations/bg.po +64 -2
- package/lang/translations/bn.po +64 -2
- package/lang/translations/bs.po +63 -0
- package/lang/translations/ca.po +64 -2
- package/lang/translations/cs.po +66 -2
- package/lang/translations/da.po +64 -2
- package/lang/translations/de-ch.po +62 -0
- package/lang/translations/de.po +64 -2
- package/lang/translations/el.po +64 -2
- package/lang/translations/en-au.po +62 -0
- package/lang/translations/en.po +64 -2
- package/lang/translations/es-co.po +63 -0
- package/lang/translations/es.po +65 -2
- package/lang/translations/et.po +64 -2
- package/lang/translations/fa.po +62 -0
- package/lang/translations/fi.po +64 -2
- package/lang/translations/fr.po +65 -2
- package/lang/translations/gl.po +64 -2
- package/lang/translations/he.po +65 -2
- package/lang/translations/hi.po +64 -2
- package/lang/translations/hr.po +63 -0
- package/lang/translations/hu.po +64 -2
- package/lang/translations/id.po +63 -2
- package/lang/translations/it.po +65 -2
- package/lang/translations/ja.po +63 -2
- package/lang/translations/jv.po +61 -0
- package/lang/translations/ko.po +63 -2
- package/lang/translations/lt.po +66 -2
- package/lang/translations/lv.po +65 -2
- package/lang/translations/ms.po +63 -2
- package/lang/translations/nl.po +64 -2
- package/lang/translations/no.po +64 -2
- package/lang/translations/pl.po +66 -2
- package/lang/translations/pt-br.po +65 -2
- package/lang/translations/pt.po +65 -2
- package/lang/translations/ro.po +65 -2
- package/lang/translations/ru.po +66 -2
- package/lang/translations/sk.po +66 -2
- package/lang/translations/sq.po +62 -0
- package/lang/translations/sr-latn.po +65 -2
- package/lang/translations/sr.po +65 -2
- package/lang/translations/sv.po +64 -2
- package/lang/translations/th.po +63 -2
- package/lang/translations/ti.po +62 -0
- package/lang/translations/tk.po +62 -0
- package/lang/translations/tr.po +64 -2
- package/lang/translations/tt.po +61 -0
- package/lang/translations/ug.po +64 -2
- package/lang/translations/uk.po +66 -2
- package/lang/translations/ur.po +62 -0
- package/lang/translations/vi.po +63 -2
- package/lang/translations/zh-cn.po +63 -2
- package/lang/translations/zh.po +63 -2
- package/package.json +14 -13
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +2 -2
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +4 -4
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +7 -3
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.d.ts +25 -4
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +8 -0
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +14 -2
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.d.ts +32 -3
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +41 -3
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.d.ts +17 -2
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +11 -3
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +17 -5
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.d.ts +21 -0
- package/src/comments/ui/view/commentthreadheadercontextview.js +23 -0
- package/src/comments/ui/view/commentthreadheaderview.d.ts +29 -3
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +13 -2
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +11 -6
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +9 -12
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/comment.css +6 -0
- 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
|
|
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 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 5 comments](https://ckeditor.com/collaboration/comments/) is a plugin that lets you add comments support to any CKEditor 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.
|