@ckeditor/ckeditor5-comments 36.0.1 → 37.0.0-rc.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 +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/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/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/lang/contexts.json +8 -1
- package/lang/translations/af.po +28 -0
- package/lang/translations/ar.po +28 -0
- package/lang/translations/bg.po +28 -0
- package/lang/translations/bn.po +28 -0
- package/lang/translations/bs.po +28 -0
- package/lang/translations/ca.po +28 -0
- package/lang/translations/cs.po +28 -0
- package/lang/translations/da.po +28 -0
- package/lang/translations/de-ch.po +28 -0
- package/lang/translations/de.po +28 -0
- package/lang/translations/el.po +28 -0
- package/lang/translations/en-au.po +28 -0
- package/lang/translations/en.po +28 -0
- package/lang/translations/es-co.po +28 -0
- package/lang/translations/es.po +28 -0
- package/lang/translations/et.po +28 -0
- package/lang/translations/fa.po +28 -0
- package/lang/translations/fi.po +28 -0
- package/lang/translations/fr.po +28 -0
- package/lang/translations/gl.po +28 -0
- package/lang/translations/he.po +28 -0
- package/lang/translations/hi.po +28 -0
- package/lang/translations/hr.po +28 -0
- package/lang/translations/hu.po +28 -0
- package/lang/translations/id.po +28 -0
- package/lang/translations/it.po +28 -0
- package/lang/translations/ja.po +28 -0
- package/lang/translations/jv.po +28 -0
- package/lang/translations/ko.po +28 -0
- package/lang/translations/lt.po +28 -0
- package/lang/translations/lv.po +28 -0
- package/lang/translations/ms.po +28 -0
- package/lang/translations/nl.po +28 -0
- package/lang/translations/no.po +28 -0
- package/lang/translations/pl.po +28 -0
- package/lang/translations/pt-br.po +28 -0
- package/lang/translations/pt.po +28 -0
- package/lang/translations/ro.po +28 -0
- package/lang/translations/ru.po +28 -0
- package/lang/translations/sk.po +28 -0
- package/lang/translations/sr-latn.po +28 -0
- package/lang/translations/sr.po +29 -1
- package/lang/translations/sv.po +28 -0
- package/lang/translations/th.po +28 -0
- package/lang/translations/tk.po +28 -0
- package/lang/translations/tr.po +28 -0
- package/lang/translations/tt.po +28 -0
- package/lang/translations/ug.po +28 -0
- package/lang/translations/uk.po +28 -0
- package/lang/translations/ur.po +28 -0
- package/lang/translations/vi.po +28 -0
- package/lang/translations/zh-cn.po +28 -0
- package/lang/translations/zh.po +28 -0
- package/package.json +19 -3
- package/src/annotations/annotation.d.ts +86 -0
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.d.ts +94 -0
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +150 -0
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +227 -0
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +62 -0
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +84 -0
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +80 -0
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +96 -0
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.d.ts +25 -0
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +86 -0
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +51 -0
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.d.ts +28 -0
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.d.ts +72 -0
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +54 -0
- package/src/augmentation.js +23 -0
- package/src/comments/addcommentthreadcommand.d.ts +31 -0
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +25 -0
- package/src/comments/commentsarchive.js +23 -0
- package/src/comments/commentsarchiveui.d.ts +32 -0
- package/src/comments/commentsarchiveui.js +23 -0
- package/src/comments/commentsediting.d.ts +71 -0
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1009 -0
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.d.ts +25 -0
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +13 -0
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.d.ts +17 -0
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.d.ts +32 -0
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +27 -0
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +32 -0
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +64 -0
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.d.ts +108 -0
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +108 -0
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.d.ts +9 -0
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.d.ts +10 -0
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.d.ts +76 -0
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +34 -0
- package/src/comments/ui/view/commentsarchiveview.js +23 -0
- package/src/comments/ui/view/commentslistview.d.ts +96 -0
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.d.ts +46 -0
- package/src/comments/ui/view/commentthreadheaderview.js +23 -0
- package/src/comments/ui/view/commentthreadinputview.d.ts +37 -0
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +108 -0
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.d.ts +231 -0
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.d.ts +22 -0
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +28 -0
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +172 -0
- package/src/config.js +23 -0
- package/src/index.d.ts +19 -0
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +5 -0
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.d.ts +13 -0
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation.css +1 -0
- package/theme/comment.css +31 -0
- package/theme/commentsarchive.css +40 -0
- package/theme/commentthread.css +68 -1
- package/theme/icons/add-comment.svg +1 -1
- package/theme/icons/comments-archive.svg +11 -0
- package/theme/icons/undo.svg +1 -0
- package/theme/sidebar.css +4 -0
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { default as Comments } from './comments';
|
|
2
|
+
export { default as CommentsOnly } from './comments';
|
|
3
|
+
export { default as CommentsUI } from './comments/commentsui';
|
|
4
|
+
export { default as CommentsRepository, CommentThread, Comment } from './comments/commentsrepository';
|
|
5
|
+
export { default as CommentThreadController } from './comments/ui/commentthreadcontroller';
|
|
6
|
+
export { default as Annotations } from './annotations/annotations';
|
|
7
|
+
export { default as AnnotationsUIs } from './annotations/annotationsuis';
|
|
8
|
+
export { default as EditorAnnotations } from './annotations/editorannotations';
|
|
9
|
+
export { default as InlineAnnotations } from './annotations/inlineannotations';
|
|
10
|
+
export { default as WideSidebar } from './annotations/widesidebar';
|
|
11
|
+
export { default as NarrowSidebar } from './annotations/narrowsidebar';
|
|
12
|
+
export { default as AnnotationView } from './annotations/view/annotationview';
|
|
13
|
+
export { default as BaseCommentView } from './comments/ui/view/basecommentview';
|
|
14
|
+
export { default as BaseCommentThreadView } from './comments/ui/view/basecommentthreadview';
|
|
15
|
+
export { default as CommentsListView } from './comments/ui/view/commentslistview';
|
|
16
|
+
export { default as CommentView } from './comments/ui/view/commentview';
|
|
17
|
+
export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview';
|
|
18
|
+
export type { CommentsConfig, SidebarConfig } from './config';
|
|
19
|
+
import './augmentation';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export{default as Comments}from'./comments';export{default as CommentsOnly}from'./comments';export{default as Annotations}from'./annotations/annotations';export{default as AnnotationsUIs}from'./annotations/annotationsuis';export{default as InlineAnnotations}from'./annotations/inlineannotations';export{default as WideSidebar}from'./annotations/widesidebar';export{default as NarrowSidebar}from'./annotations/narrowsidebar';export{default as BaseCommentView}from'./comments/ui/view/basecommentview';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview';
|
|
23
|
+
export{default as Comments}from'./comments';export{default as CommentsOnly}from'./comments';export{default as CommentsUI}from'./comments/commentsui';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller';export{default as Annotations}from'./annotations/annotations';export{default as AnnotationsUIs}from'./annotations/annotationsuis';export{default as EditorAnnotations}from'./annotations/editorannotations';export{default as InlineAnnotations}from'./annotations/inlineannotations';export{default as WideSidebar}from'./annotations/widesidebar';export{default as NarrowSidebar}from'./annotations/narrowsidebar';export{default as AnnotationView}from'./annotations/view/annotationview';export{default as BaseCommentView}from'./comments/ui/view/basecommentview';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview';export{default as CommentsListView}from'./comments/ui/view/commentslistview';export{default as CommentView}from'./comments/ui/view/commentview';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview';import'./augmentation';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x325b1f,_0x28a934,_0x2297b7){const t=_0x325b1f['t'];switch(_0x28a934){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Submit':return t('Submit');case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2297b7);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x2297b7);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2297b7);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2297b7);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module comments/annotations/createmutationobserver
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Creates mutation observer to observe changes that might cause height change.
|
|
6
|
+
*
|
|
7
|
+
* @param callback Callback executed after throttled mutations.
|
|
8
|
+
*/
|
|
9
|
+
export default function createMutationObserver(callback: (...args: Array<any>) => unknown): MutationObserver;
|
|
10
|
+
export interface MutationObserver {
|
|
11
|
+
attach: (element: Node) => void;
|
|
12
|
+
detach: () => void;
|
|
13
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e8c=['childList','attributes','observe','cancel','disconnect','type','attributeName'];(function(_0x5af9e9,_0x4e8cbe){const _0x417088=function(_0x3af56c){while(--_0x3af56c){_0x5af9e9['push'](_0x5af9e9['shift']());}};_0x417088(++_0x4e8cbe);}(_0x4e8c,0x1e2));const _0x4170=function(_0x5af9e9,_0x4e8cbe){_0x5af9e9=_0x5af9e9-0x0;let _0x417088=_0x4e8c[_0x5af9e9];return _0x417088;};import{throttle as _0x365e48}from'lodash-es';export default function Lt(_0x3e9987){const _0x1e55d9=_0x365e48(_0x3e9987,0x1e),_0x2a2485=new MutationObserver(_0x1fbfbc=>{for(const _0x2f13a1 of _0x1fbfbc)(_0x4170('0x2')==_0x2f13a1[_0x4170('0x6')]&&'class'==_0x2f13a1[_0x4170('0x0')]||_0x4170('0x1')==_0x2f13a1[_0x4170('0x6')])&&_0x1e55d9();});return{'attach'(_0x25ab4f){_0x2a2485[_0x4170('0x3')](_0x25ab4f,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x2a2485[_0x4170('0x5')](),_0x1e55d9[_0x4170('0x4')]();}};}
|
package/theme/annotation.css
CHANGED
package/theme/comment.css
CHANGED
|
@@ -64,6 +64,12 @@
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
.ck .ck-comment--info {
|
|
68
|
+
& .ck-comment__content {
|
|
69
|
+
font-style: italic;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
67
73
|
.ck .ck-comment__main {
|
|
68
74
|
& .ck-comment__input-wrapper {
|
|
69
75
|
display: flex;
|
|
@@ -130,3 +136,28 @@ We are styling resetting list-style because of parent <ul> element. */
|
|
|
130
136
|
font-size: var(--ck-font-size-tiny);
|
|
131
137
|
margin-top: var(--ck-spacing-standard);
|
|
132
138
|
}
|
|
139
|
+
|
|
140
|
+
.ck .ck-comment .ck-dropdown {
|
|
141
|
+
& .ck-dropdown__arrow {
|
|
142
|
+
display: none;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
& .ck-list {
|
|
146
|
+
margin: 0;
|
|
147
|
+
padding: 0;
|
|
148
|
+
|
|
149
|
+
& .ck-list__item {
|
|
150
|
+
font-size: 1.2em;
|
|
151
|
+
color: var(--ck-color-base-text);
|
|
152
|
+
min-width: auto;
|
|
153
|
+
|
|
154
|
+
& .ck-button {
|
|
155
|
+
color: var(--ck-color-text);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
& .ck-button__label {
|
|
159
|
+
margin: 0 var(--ck-spacing-large);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
.ck .ck-comments-archive {
|
|
10
|
+
width: 315px;
|
|
11
|
+
max-height: 450px;
|
|
12
|
+
overflow: auto;
|
|
13
|
+
box-sizing: content-box;
|
|
14
|
+
|
|
15
|
+
& .ck-annotation {
|
|
16
|
+
animation: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
& .ck-comments-archive__header, & .ck-comments-archive__content {
|
|
20
|
+
padding: var( --ck-spacing-large );
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
& .ck-comments-archive__header {
|
|
24
|
+
line-height: var( --ck-font-size-base );
|
|
25
|
+
font-weight: bold;
|
|
26
|
+
border-bottom: 1px solid var( --ck-color-toolbar-border );
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
& .ck-comments-archive__content {
|
|
30
|
+
& .ck-annotation-wrapper:not(:last-child) {
|
|
31
|
+
margin-bottom: var( --ck-spacing-large );
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
& .ck-comments-archive__info {
|
|
36
|
+
text-align: center;
|
|
37
|
+
font-style: italic;
|
|
38
|
+
color: var( --ck-color-annotation-info );
|
|
39
|
+
}
|
|
40
|
+
}
|
package/theme/commentthread.css
CHANGED
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
:root {
|
|
10
10
|
--ck-color-thread-remove-background: var(--ck-color-comment-remove-background);
|
|
11
11
|
--ck-color-comment-count: hsl(210, 52%, 57%);
|
|
12
|
+
|
|
13
|
+
--ck-color-thread-header-background: #FDFADF;
|
|
14
|
+
--ck-color-thread-header-active-background: #FFF4A8;
|
|
12
15
|
}
|
|
13
16
|
|
|
14
17
|
.ck .ck-thread {
|
|
@@ -21,6 +24,66 @@
|
|
|
21
24
|
border-radius: var(--ck-border-radius);
|
|
22
25
|
}
|
|
23
26
|
|
|
27
|
+
.ck .ck-thread__header {
|
|
28
|
+
display: flex;
|
|
29
|
+
justify-content: space-between;
|
|
30
|
+
line-height: 1.57;
|
|
31
|
+
padding: var(--ck-spacing-standard);
|
|
32
|
+
background-color: var(--ck-color-thread-header-background);
|
|
33
|
+
font-size: var(--ck-font-size-base);
|
|
34
|
+
|
|
35
|
+
& .ck-button {
|
|
36
|
+
font-size: var(--ck-annotation-button-size);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
& .ck-context-wrapper {
|
|
40
|
+
display: inline-flex;
|
|
41
|
+
width: 100%;
|
|
42
|
+
min-width: 0;
|
|
43
|
+
height: 25px;
|
|
44
|
+
position: relative;
|
|
45
|
+
padding-right: var(--ck-spacing-large);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& .ck-context {
|
|
49
|
+
display: flex;
|
|
50
|
+
white-space: nowrap;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
width: 100%;
|
|
53
|
+
padding: var(--ck-spacing-small) var(--ck-spacing-medium);
|
|
54
|
+
|
|
55
|
+
&.ck-context--quotes {
|
|
56
|
+
&::after, &::before {
|
|
57
|
+
display: inline-block;
|
|
58
|
+
content: '"';
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
& .ck-context__type {
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
padding-right: var(--ck-spacing-standard);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
& .ck-context__value {
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
text-overflow: ellipsis;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.overlay {
|
|
73
|
+
display: inline-block;
|
|
74
|
+
position: absolute;
|
|
75
|
+
top: 0;
|
|
76
|
+
z-index: 2;
|
|
77
|
+
|
|
78
|
+
background: var(--ck-color-base-background);
|
|
79
|
+
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
|
|
80
|
+
border-radius: 2px;
|
|
81
|
+
white-space: normal;
|
|
82
|
+
box-sizing: border-box;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
24
87
|
/* Handle visibility of vertical line below avatars. */
|
|
25
88
|
.ck .ck-thread__comments .ck-comment__wrapper {
|
|
26
89
|
&:last-of-type {
|
|
@@ -41,7 +104,6 @@
|
|
|
41
104
|
margin: 0;
|
|
42
105
|
padding: 0;
|
|
43
106
|
border-radius: var(--ck-border-radius);
|
|
44
|
-
overflow: hidden;
|
|
45
107
|
}
|
|
46
108
|
|
|
47
109
|
.ck .ck-thread__comment-count {
|
|
@@ -73,6 +135,10 @@
|
|
|
73
135
|
display: block;
|
|
74
136
|
background-color: var(--ck-color-comment-background);
|
|
75
137
|
}
|
|
138
|
+
|
|
139
|
+
& .ck-thread__header {
|
|
140
|
+
background-color: var(--ck-color-thread-header-active-background);
|
|
141
|
+
}
|
|
76
142
|
}
|
|
77
143
|
|
|
78
144
|
.ck .ck-thread--remove {
|
|
@@ -148,6 +214,7 @@
|
|
|
148
214
|
.ck .ck-thread__input {
|
|
149
215
|
/* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
|
|
150
216
|
width: calc( 100% - var(--ck-user-avatar-size) );
|
|
217
|
+
white-space: normal;
|
|
151
218
|
|
|
152
219
|
transition: background-color 200ms ease-in-out;
|
|
153
220
|
border-radius: var(--ck-border-radius);
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
11
|
-
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 1.5h12A3.5 3.5 0 0 1 19.5 5v8l-.005.192a3.
|
|
11
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 1.5h12A3.5 3.5 0 0 1 19.5 5v8l-.005.192a3.5 3.5 0 0 1-2.927 3.262l-.062.008v1.813a1.5 1.5 0 0 1-2.193 1.33l-.371-.193-.38-.212a13.452 13.452 0 0 1-3.271-2.63l-.062-.07H4A3.5 3.5 0 0 1 .5 13V5A3.5 3.5 0 0 1 4 1.5ZM4 3a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h6.924a11.917 11.917 0 0 0 3.71 3.081l.372.194v-3.268L14.962 15H16a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H4Z"/><path d="M9.75 5a.75.75 0 0 0-.75.75v2.5H6.5a.75.75 0 0 0 0 1.5H9v2.5a.75.75 0 0 0 1.5 0v-2.5H13a.75.75 0 0 0 0-1.5h-2.5v-2.5A.75.75 0 0 0 9.75 5Z"/></svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
|
|
3
|
+
What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
4
|
+
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
|
+
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
|
+
|
|
7
|
+
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
|
+
|
|
9
|
+
!-->
|
|
10
|
+
|
|
11
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M14 3.5A3.5 3.5 0 0 1 17.5 7v6l-.005.192a3.501 3.501 0 0 1-2.927 3.262l-.062.008v1.813a1.5 1.5 0 0 1-2.193 1.33l-.37-.193-.38-.212a13.452 13.452 0 0 1-3.272-2.63l-.062-.07-4.729-.046a3.5 3.5 0 0 1-3.5-3.5v-6a3.5 3.5 0 0 1 3.5-3.5L14 3.5ZM3.5 4.954a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2L8.924 15a11.917 11.917 0 0 0 3.71 3.081l.372.194v-3.268L12.962 15H14a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2L3.5 4.954Z"/><path d="M16.5.5h-10a3.5 3.5 0 0 0-3.162 2h1.84A2 2 0 0 1 6.5 2h10a2 2 0 0 1 2 2v8.873a3.502 3.502 0 0 0 1.495-2.681L20 10V4A3.5 3.5 0 0 0 16.5.5Z"/><path clip-rule="evenodd" d="M12.013 7.453a.75.75 0 0 1 .034 1.06l-3.75 4a.75.75 0 0 1-1.045.048l-2.25-2a.75.75 0 0 1 .996-1.122l1.704 1.515 3.25-3.467a.75.75 0 0 1 1.061-.034Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m5.042 9.367 2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z"/></svg>
|