@ckeditor/ckeditor5-comments 46.0.0-alpha.8 → 46.0.1-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/build/comments.js +1 -1
- package/dist/index-editor.css +5 -5
- package/dist/index.css +49 -49
- package/dist/index.js +11 -11
- 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/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.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/uz.js +1 -1
- package/dist/translations/uz.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/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +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.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- 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 +1 -8
- package/src/comments/commentsediting.js +1 -1
- 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/integrations/showcommenthighlights.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.js +1 -1
- 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.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- 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 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.d.ts +12 -0
- package/src/utils/splitmarkername.js +23 -0
package/dist/index-editor.css
CHANGED
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
:root{
|
|
6
|
-
--ck-color-comment-marker:hsl(55, 98%, 83%);
|
|
7
|
-
--ck-color-comment-marker-active:hsl(55, 98%, 68%);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
5
|
:root{
|
|
11
6
|
--ck-color-comment-background:hsl(210, 52%, 97%);
|
|
12
7
|
--ck-color-comment-separator:hsl(210, 52%, 87%);
|
|
@@ -831,3 +826,8 @@
|
|
|
831
826
|
font-style:italic;
|
|
832
827
|
color:var(--ck-color-annotation-info);
|
|
833
828
|
}
|
|
829
|
+
|
|
830
|
+
:root{
|
|
831
|
+
--ck-color-comment-marker:hsl(55, 98%, 83%);
|
|
832
|
+
--ck-color-comment-marker-active:hsl(55, 98%, 68%);
|
|
833
|
+
}
|
package/dist/index.css
CHANGED
|
@@ -11,55 +11,6 @@
|
|
|
11
11
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
:root {
|
|
15
|
-
--ck-color-comment-marker: hsl(55, 98%, 83%);
|
|
16
|
-
--ck-color-comment-marker-active: hsl(55, 98%, 68%);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ck-content .ck-comment-marker {
|
|
20
|
-
background: var(--ck-color-comment-marker);
|
|
21
|
-
|
|
22
|
-
/* Match size with suggestion markers */
|
|
23
|
-
border-top: 3px solid transparent;
|
|
24
|
-
border-bottom: 3px solid transparent;
|
|
25
|
-
|
|
26
|
-
/* #152. In the image case, we change marker background to border. */
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.ck-content .ck-comment-marker.ck-widget {
|
|
30
|
-
background-color: transparent;
|
|
31
|
-
border: 3px solid var(--ck-color-comment-marker);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.ck-content .ck-comment-marker--active {
|
|
35
|
-
background: var(--ck-color-comment-marker-active);
|
|
36
|
-
|
|
37
|
-
/* See #2469. Inactive comment marker inside an active one should be highlighted too. */
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.ck-content .ck-comment-marker--active .ck-comment-marker {
|
|
41
|
-
background: var(--ck-color-comment-marker-active);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.ck-content .ck-comment-marker--active.ck-widget {
|
|
45
|
-
border-color: var(--ck-color-comment-marker-active);
|
|
46
|
-
|
|
47
|
-
/* See #2469. Inactive comment in a widget inside an active comment should not be highlighted. */
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.ck-content .ck-comment-marker--active.ck-widget .ck-comment-marker {
|
|
51
|
-
background-color: var(--ck-color-comment-marker);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
56
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
57
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
58
|
-
*
|
|
59
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
60
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
14
|
/*
|
|
64
15
|
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
65
16
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -1097,3 +1048,52 @@ See: ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css. *
|
|
|
1097
1048
|
font-style: italic;
|
|
1098
1049
|
color: var( --ck-color-annotation-info );
|
|
1099
1050
|
}
|
|
1051
|
+
|
|
1052
|
+
/*
|
|
1053
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
1054
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
1055
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
1056
|
+
*
|
|
1057
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
1058
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
1059
|
+
*/
|
|
1060
|
+
|
|
1061
|
+
:root {
|
|
1062
|
+
--ck-color-comment-marker: hsl(55, 98%, 83%);
|
|
1063
|
+
--ck-color-comment-marker-active: hsl(55, 98%, 68%);
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.ck-content .ck-comment-marker {
|
|
1067
|
+
background: var(--ck-color-comment-marker);
|
|
1068
|
+
|
|
1069
|
+
/* Match size with suggestion markers */
|
|
1070
|
+
border-top: 3px solid transparent;
|
|
1071
|
+
border-bottom: 3px solid transparent;
|
|
1072
|
+
|
|
1073
|
+
/* #152. In the image case, we change marker background to border. */
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
.ck-content .ck-comment-marker.ck-widget {
|
|
1077
|
+
background-color: transparent;
|
|
1078
|
+
border: 3px solid var(--ck-color-comment-marker);
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
.ck-content .ck-comment-marker--active {
|
|
1082
|
+
background: var(--ck-color-comment-marker-active);
|
|
1083
|
+
|
|
1084
|
+
/* See #2469. Inactive comment marker inside an active one should be highlighted too. */
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.ck-content .ck-comment-marker--active .ck-comment-marker {
|
|
1088
|
+
background: var(--ck-color-comment-marker-active);
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
.ck-content .ck-comment-marker--active.ck-widget {
|
|
1092
|
+
border-color: var(--ck-color-comment-marker-active);
|
|
1093
|
+
|
|
1094
|
+
/* See #2469. Inactive comment in a widget inside an active comment should not be highlighted. */
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
.ck-content .ck-comment-marker--active.ck-widget .ck-comment-marker {
|
|
1098
|
+
background-color: var(--ck-color-comment-marker);
|
|
1099
|
+
}
|