@ckeditor/ckeditor5-comments 39.0.1 → 40.0.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 +2 -2
- package/LICENSE.md +6 -6
- package/README.md +14 -14
- package/build/comments.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/lang/translations/af.po +1 -0
- package/lang/translations/ar.po +1 -0
- package/lang/translations/bg.po +1 -0
- package/lang/translations/bn.po +1 -0
- package/lang/translations/bs.po +1 -0
- package/lang/translations/ca.po +1 -0
- package/lang/translations/cs.po +1 -0
- package/lang/translations/da.po +1 -0
- package/lang/translations/de-ch.po +1 -0
- package/lang/translations/de.po +1 -0
- package/lang/translations/el.po +1 -0
- package/lang/translations/en-au.po +1 -0
- package/lang/translations/en.po +1 -0
- package/lang/translations/es-co.po +1 -0
- package/lang/translations/es.po +1 -0
- package/lang/translations/et.po +1 -0
- package/lang/translations/fa.po +10 -9
- package/lang/translations/fi.po +1 -0
- package/lang/translations/fr.po +1 -0
- package/lang/translations/gl.po +1 -0
- package/lang/translations/he.po +1 -0
- package/lang/translations/hi.po +1 -0
- package/lang/translations/hr.po +1 -0
- package/lang/translations/hu.po +1 -0
- package/lang/translations/id.po +1 -0
- package/lang/translations/it.po +1 -0
- package/lang/translations/ja.po +1 -0
- package/lang/translations/jv.po +1 -0
- package/lang/translations/ko.po +1 -0
- package/lang/translations/lt.po +1 -0
- package/lang/translations/lv.po +1 -0
- package/lang/translations/ms.po +1 -0
- package/lang/translations/nl.po +1 -0
- package/lang/translations/no.po +1 -0
- package/lang/translations/pl.po +1 -0
- package/lang/translations/pt-br.po +4 -3
- package/lang/translations/pt.po +1 -0
- package/lang/translations/ro.po +1 -0
- package/lang/translations/ru.po +1 -0
- package/lang/translations/sk.po +1 -0
- package/lang/translations/sq.po +1 -0
- package/lang/translations/sr-latn.po +1 -0
- package/lang/translations/sr.po +1 -0
- package/lang/translations/sv.po +1 -0
- package/lang/translations/th.po +1 -0
- package/lang/translations/tk.po +1 -0
- package/lang/translations/tr.po +1 -0
- package/lang/translations/tt.po +1 -0
- package/lang/translations/ug.po +1 -0
- package/lang/translations/uk.po +1 -0
- package/lang/translations/ur.po +1 -0
- package/lang/translations/vi.po +1 -0
- package/lang/translations/zh-cn.po +1 -0
- package/lang/translations/zh.po +1 -0
- package/package.json +3 -7
- package/src/annotations/annotation.d.ts +90 -90
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.d.ts +98 -98
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +154 -154
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +232 -232
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +67 -67
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +90 -90
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +85 -85
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +100 -100
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.d.ts +29 -29
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +90 -90
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +55 -55
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.d.ts +32 -32
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.d.ts +77 -77
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +52 -52
- package/src/comments/addcommentthreadcommand.d.ts +35 -35
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +31 -31
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +38 -38
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +79 -79
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1129 -1105
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.d.ts +33 -33
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +17 -17
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.d.ts +21 -21
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.d.ts +36 -36
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +31 -31
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +36 -36
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +64 -64
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.d.ts +119 -112
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +112 -112
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.d.ts +13 -13
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.d.ts +14 -14
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.d.ts +86 -86
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +38 -38
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +100 -100
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.d.ts +50 -50
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +41 -41
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +118 -117
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.d.ts +243 -243
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.d.ts +35 -35
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +33 -33
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +176 -176
- package/src/index.d.ts +24 -24
- package/src/utils/common-translations.d.ts +9 -9
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.d.ts +14 -14
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation-inline.css +2 -1
- package/theme/annotation.css +2 -3
- package/theme/comment.css +39 -38
- package/theme/commentinput.css +2 -1
- package/theme/commentmarker.css +7 -6
- package/theme/commentsarchive.css +2 -1
- package/theme/commentthread.css +68 -57
- package/theme/icons/add-comment.svg +1 -1
- package/theme/icons/comments-archive.svg +1 -1
- package/theme/icons/edit-comment.svg +1 -1
- package/theme/icons/remove-comment.svg +1 -1
- package/theme/sidebar-narrow.css +4 -3
- package/theme/sidebar.css +13 -12
package/CHANGELOG.md
CHANGED
|
@@ -235,7 +235,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
235
235
|
### Other changes
|
|
236
236
|
|
|
237
237
|
* Improved the difference between an active and inactive state of annotations.
|
|
238
|
-
* Aligned `CommentEditor` to changes in the CKEditor
|
|
238
|
+
* Aligned `CommentEditor` to changes in the CKEditor 5 core, release 12.0.0.
|
|
239
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
240
|
|
|
241
241
|
### BREAKING CHANGES
|
|
@@ -252,7 +252,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
252
252
|
|
|
253
253
|
## 1.0.0 (2018-12-06)
|
|
254
254
|
|
|
255
|
-
The initialization of this repository. [CKEditor
|
|
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
256
|
|
|
257
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
258
|
|
package/LICENSE.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
Software License Agreement
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
|
-
**CKEditor
|
|
5
|
-
Copyright (c) 2003-
|
|
4
|
+
**CKEditor 5 comments** (https://ckeditor.com/collaboration/comments/)<br>
|
|
5
|
+
Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
6
6
|
|
|
7
|
-
CKEditor
|
|
7
|
+
CKEditor 5 comments feature is licensed under a commercial license and is protected by copyright law.
|
|
8
8
|
For more details about available licensing options please contact us at sales@cksource.com.
|
|
9
9
|
|
|
10
|
-
Sources of Intellectual Property Included in CKEditor
|
|
10
|
+
Sources of Intellectual Property Included in CKEditor 5 comments
|
|
11
11
|
----------------------------------------------------------------
|
|
12
12
|
|
|
13
|
-
Where not otherwise indicated, all CKEditor
|
|
13
|
+
Where not otherwise indicated, all CKEditor 5 comments content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
14
14
|
|
|
15
|
-
The following libraries are included in CKEditor
|
|
15
|
+
The following libraries are included in CKEditor 5 comments under the [MIT license](https://opensource.org/licenses/MIT):
|
|
16
16
|
|
|
17
17
|
* date-fns - Copyright (c) Sasha Koss.
|
|
18
18
|
* Lo-Dash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas.
|
package/README.md
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
# CKEditor
|
|
1
|
+
# CKEditor 5 comments
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-comments)
|
|
4
4
|
|
|
5
|
-
[CKEditor
|
|
5
|
+
[CKEditor 5 comments](https://ckeditor.com/collaboration/comments/) is a collaboration feature that makes it possible to add comments to any part of rich text content in CKEditor 5 WYSIWYG editor, including text and block elements such as embedded media or images.
|
|
6
6
|
|
|
7
7
|
Comments can be added, edited, deleted and replied to, allowing the users to collaborate on the same document directly in the rich text editor. Comments are also integrated with the [track changes feature](https://ckeditor.com/collaboration/track-changes/), so you can add comments to change suggestions.
|
|
8
8
|
|
|
9
|
-
The comments data can be stored together with the content in your database or it can be synchronized immediately between collaborating clients as a part of the [CKEditor
|
|
9
|
+
The comments data can be stored together with the content in your database or it can be synchronized immediately between collaborating clients as a part of the [CKEditor 5 real-time collaboration](https://ckeditor.com/collaboration/real-time/) solution.
|
|
10
10
|
|
|
11
11
|
Comments can be [displayed](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments-display-mode.html) in three modes:
|
|
12
12
|
- Wide sidebar:
|
|
13
13
|
|
|
14
|
-

|
|
15
15
|
|
|
16
16
|
- Narrow sidebar:
|
|
17
17
|
|
|
18
|
-

|
|
19
19
|
|
|
20
20
|
- Inline balloons:
|
|
21
21
|
|
|
22
|
-

|
|
23
23
|
|
|
24
24
|
Additionally, it is possible 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.
|
|
25
25
|
|
|
26
26
|
## Documentation
|
|
27
27
|
|
|
28
|
-
For more information about the comments feature see the [CKEditor
|
|
28
|
+
For more information about the comments feature see the [CKEditor 5 comments documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/comments/comments.html).
|
|
29
29
|
|
|
30
|
-
Also, make sure you visit the [CKEditor
|
|
30
|
+
Also, make sure you visit the [CKEditor 5 changelog](https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md) whenever a new version of the package is released.
|
|
31
31
|
|
|
32
32
|
## Browser compatibility
|
|
33
33
|
|
|
34
|
-
CKEditor
|
|
34
|
+
CKEditor 5 comments work in all major modern browsers: Chrome, Firefox, Safari, and Edge. They are also compatible with mobile environments: Android and iOS. Refer to the CKEditor 5 [Browser compatibility](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/support/browser-compatibility.html) article for more details.
|
|
35
35
|
|
|
36
36
|
## Getting support
|
|
37
37
|
|
|
38
|
-
CKEditor
|
|
38
|
+
CKEditor 5 comments come with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 comments features with your application.
|
|
39
39
|
|
|
40
|
-
As a licensed CKEditor
|
|
40
|
+
As a licensed CKEditor 5 comments user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
|
|
41
41
|
|
|
42
42
|
## License
|
|
43
43
|
|
|
44
|
-
**CKEditor
|
|
45
|
-
Copyright (c) 2003-
|
|
44
|
+
**CKEditor 5 comments** (https://ckeditor.com/collaboration/comments/)<br>
|
|
45
|
+
Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
46
46
|
|
|
47
|
-
CKEditor
|
|
47
|
+
CKEditor 5 comments feature is licensed under a commercial license and is protected by copyright law.
|
|
48
48
|
For more details about available licensing options please contact us at sales@cksource.com.
|
|
49
49
|
|
|
50
50
|
### Trademarks
|