@ckeditor/ckeditor5-comments 47.6.1 → 48.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/LICENSE.md +1 -1
- package/ckeditor5-metadata.json +53 -53
- package/{src → dist}/annotations/annotation.d.ts +4 -4
- package/{src → dist}/annotations/annotationcollection.d.ts +2 -2
- package/{src → dist}/annotations/annotations.d.ts +3 -3
- package/{src → dist}/annotations/annotationsuis.d.ts +2 -2
- package/{src → dist}/annotations/editorannotations.d.ts +1 -1
- package/{src → dist}/annotations/inlineannotations.d.ts +2 -2
- package/{src → dist}/annotations/narrowsidebar.d.ts +2 -2
- package/{src → dist}/annotations/sidebar.d.ts +2 -2
- package/{src → dist}/annotations/view/annotationcounterbuttonview.d.ts +2 -2
- package/{src → dist}/annotations/view/annotationview.d.ts +2 -2
- package/{src → dist}/annotations/view/sidebaritemview.d.ts +2 -2
- package/{src → dist}/annotations/view/sidebarview.d.ts +2 -2
- package/{src → dist}/annotations/widesidebar.d.ts +1 -1
- package/{src → dist}/comments/addcommentthreadcommand.d.ts +2 -2
- package/{src → dist}/comments/commentsarchive.d.ts +2 -2
- package/{src → dist}/comments/commentsarchiveui.d.ts +2 -2
- package/{src → dist}/comments/commentsediting.d.ts +3 -3
- package/{src → dist}/comments/commentsrepository.d.ts +7 -7
- package/{src → dist}/comments/commentsui.d.ts +1 -1
- package/{src → dist}/comments/integrations/clipboard.d.ts +2 -2
- package/{src → dist}/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/{src → dist}/comments/integrations/importword.d.ts +1 -1
- package/{src → dist}/comments/integrations/showcommenthighlights.d.ts +1 -1
- package/{src → dist}/comments/ui/commenteditor/commenteditor.d.ts +3 -3
- package/{src → dist}/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
- package/{src → dist}/comments/ui/commenteditor/commenteditoruiview.d.ts +3 -3
- package/{src → dist}/comments/ui/commentthreadcontroller.d.ts +2 -2
- package/{src → dist}/comments/ui/view/basecommentthreadview.d.ts +3 -3
- package/{src → dist}/comments/ui/view/basecommentview.d.ts +3 -3
- package/{src → dist}/comments/ui/view/collapsedcommentsview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentcontentview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentinputview.d.ts +3 -3
- package/{src → dist}/comments/ui/view/commentsarchiveview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentslistview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentthreadheadercontextview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentthreadheaderview.d.ts +2 -2
- package/{src → dist}/comments/ui/view/commentthreadinputview.d.ts +4 -4
- package/{src → dist}/comments/ui/view/commentthreadview.d.ts +4 -4
- package/{src → dist}/comments/ui/view/commentview.d.ts +5 -5
- package/{src → dist}/comments.d.ts +1 -1
- package/{src → dist}/commentsonly.d.ts +1 -1
- package/{src → dist}/config.d.ts +1 -1
- package/dist/index-content.css +15 -15
- package/dist/index-editor.css +468 -496
- package/dist/index.css +472 -736
- 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/{src → dist}/utils/common-translations.d.ts +1 -1
- package/package.json +27 -52
- package/build/comments.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -42
- package/lang/translations/af.po +0 -176
- package/lang/translations/ar.po +0 -184
- package/lang/translations/ast.po +0 -176
- package/lang/translations/az.po +0 -176
- package/lang/translations/be.po +0 -178
- package/lang/translations/bg.po +0 -176
- package/lang/translations/bn.po +0 -176
- package/lang/translations/bs.po +0 -178
- package/lang/translations/ca.po +0 -176
- package/lang/translations/cs.po +0 -178
- package/lang/translations/da.po +0 -176
- package/lang/translations/de-ch.po +0 -176
- package/lang/translations/de.po +0 -176
- package/lang/translations/el.po +0 -176
- package/lang/translations/en-au.po +0 -176
- package/lang/translations/en-gb.po +0 -176
- package/lang/translations/en.po +0 -176
- package/lang/translations/eo.po +0 -176
- package/lang/translations/es-co.po +0 -176
- package/lang/translations/es.po +0 -176
- package/lang/translations/et.po +0 -176
- package/lang/translations/eu.po +0 -176
- package/lang/translations/fa.po +0 -174
- package/lang/translations/fi.po +0 -176
- package/lang/translations/fr.po +0 -176
- package/lang/translations/gl.po +0 -176
- package/lang/translations/gu.po +0 -176
- package/lang/translations/he.po +0 -176
- package/lang/translations/hi.po +0 -176
- package/lang/translations/hr.po +0 -178
- package/lang/translations/hu.po +0 -176
- package/lang/translations/hy.po +0 -176
- package/lang/translations/id.po +0 -174
- package/lang/translations/it.po +0 -176
- package/lang/translations/ja.po +0 -174
- package/lang/translations/jv.po +0 -176
- package/lang/translations/kk.po +0 -176
- package/lang/translations/km.po +0 -174
- package/lang/translations/kn.po +0 -176
- package/lang/translations/ko.po +0 -174
- package/lang/translations/ku.po +0 -176
- package/lang/translations/lt.po +0 -178
- package/lang/translations/lv.po +0 -178
- package/lang/translations/ms.po +0 -174
- package/lang/translations/nb.po +0 -176
- package/lang/translations/ne.po +0 -176
- package/lang/translations/nl.po +0 -176
- package/lang/translations/no.po +0 -176
- package/lang/translations/oc.po +0 -176
- package/lang/translations/pl.po +0 -178
- package/lang/translations/pt-br.po +0 -176
- package/lang/translations/pt.po +0 -176
- package/lang/translations/ro.po +0 -178
- package/lang/translations/ru.po +0 -178
- package/lang/translations/si.po +0 -176
- package/lang/translations/sk.po +0 -178
- package/lang/translations/sl.po +0 -180
- package/lang/translations/sq.po +0 -176
- package/lang/translations/sr-latn.po +0 -178
- package/lang/translations/sr.po +0 -178
- package/lang/translations/sv.po +0 -176
- package/lang/translations/th.po +0 -174
- package/lang/translations/ti.po +0 -176
- package/lang/translations/tk.po +0 -176
- package/lang/translations/tr.po +0 -176
- package/lang/translations/tt.po +0 -174
- package/lang/translations/ug.po +0 -174
- package/lang/translations/uk.po +0 -178
- package/lang/translations/ur.po +0 -176
- package/lang/translations/uz.po +0 -176
- package/lang/translations/vi.po +0 -174
- package/lang/translations/zh-cn.po +0 -174
- package/lang/translations/zh.po +0 -174
- package/src/annotations/annotation.js +0 -24
- package/src/annotations/annotationcollection.js +0 -23
- package/src/annotations/annotations.js +0 -23
- package/src/annotations/annotationsuis.js +0 -23
- package/src/annotations/editorannotations.js +0 -23
- package/src/annotations/inlineannotations.js +0 -23
- package/src/annotations/narrowsidebar.js +0 -23
- package/src/annotations/sidebar.js +0 -23
- package/src/annotations/view/annotationcounterbuttonview.js +0 -23
- package/src/annotations/view/annotationview.js +0 -23
- package/src/annotations/view/sidebaritemview.js +0 -24
- package/src/annotations/view/sidebarview.js +0 -24
- package/src/annotations/widesidebar.js +0 -23
- package/src/augmentation.js +0 -23
- package/src/comments/addcommentthreadcommand.js +0 -23
- package/src/comments/commentsarchive.js +0 -23
- package/src/comments/commentsarchiveui.js +0 -23
- package/src/comments/commentsediting.js +0 -23
- package/src/comments/commentsrepository.js +0 -25
- package/src/comments/commentsui.js +0 -23
- package/src/comments/integrations/clipboard.js +0 -23
- package/src/comments/integrations/commentsrestrictededitingmode.js +0 -23
- package/src/comments/integrations/importword.js +0 -23
- package/src/comments/integrations/showcommenthighlights.js +0 -23
- package/src/comments/ui/commenteditor/commenteditor.js +0 -24
- package/src/comments/ui/commenteditor/commenteditorui.js +0 -23
- package/src/comments/ui/commenteditor/commenteditoruiview.js +0 -23
- package/src/comments/ui/commentthreadcontroller.js +0 -24
- package/src/comments/ui/view/basecommentthreadview.js +0 -23
- package/src/comments/ui/view/basecommentview.js +0 -23
- package/src/comments/ui/view/collapsedcommentsview.js +0 -23
- package/src/comments/ui/view/commentcontentview.js +0 -23
- package/src/comments/ui/view/commentinputview.js +0 -23
- package/src/comments/ui/view/commentsarchiveview.js +0 -23
- package/src/comments/ui/view/commentslistview.js +0 -23
- package/src/comments/ui/view/commentthreadheadercontextview.js +0 -23
- package/src/comments/ui/view/commentthreadheaderview.js +0 -23
- package/src/comments/ui/view/commentthreadinputview.js +0 -23
- package/src/comments/ui/view/commentthreadview.js +0 -24
- package/src/comments/ui/view/commentview.js +0 -24
- package/src/comments.js +0 -23
- package/src/commentsonly.js +0 -23
- package/src/config.js +0 -23
- package/src/index.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/src/utils/createmutationobserver.js +0 -23
- package/src/utils/splitmarkername.js +0 -23
- package/theme/annotation-inline.css +0 -50
- package/theme/annotation.css +0 -151
- package/theme/comment.css +0 -182
- package/theme/commentinput.css +0 -103
- package/theme/commentmarker.css +0 -45
- package/theme/commentsarchive.css +0 -49
- package/theme/commentthread.css +0 -256
- package/theme/sidebar-narrow.css +0 -91
- package/theme/sidebar.css +0 -72
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/utils/createmutationobserver.d.ts +0 -0
- /package/{src → dist}/utils/splitmarkername.d.ts +0 -0
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/ui/view/commentthreadinputview
|
|
7
7
|
*/
|
|
8
|
-
import { type FocusableView, type FocusCycler, View } from 'ckeditor5
|
|
8
|
+
import { type FocusableView, type FocusCycler, View } from '@ckeditor/ckeditor5-ui';
|
|
9
9
|
import { CommentInputView } from './commentinputview.js';
|
|
10
|
-
import type { Locale } from 'ckeditor5
|
|
11
|
-
import type { EditorConfig } from 'ckeditor5
|
|
12
|
-
import { UserView, type User } from 'ckeditor5-collaboration
|
|
10
|
+
import type { Locale } from '@ckeditor/ckeditor5-utils';
|
|
11
|
+
import type { EditorConfig } from '@ckeditor/ckeditor5-core';
|
|
12
|
+
import { UserView, type User } from '@ckeditor/ckeditor5-collaboration-core';
|
|
13
13
|
/**
|
|
14
14
|
* View that represents comment input area for a comment thread. Includes editor, user view and buttons.
|
|
15
15
|
*/
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
* @module comments/comments/ui/view/commentthreadview
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { type Locale } from 'ckeditor5
|
|
10
|
-
import { LateFocusButtonView, type User } from 'ckeditor5-collaboration
|
|
11
|
-
import { type View, type ViewWithFocusCycler, type TemplateDefinition, type ViewCollection } from 'ckeditor5
|
|
9
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
|
+
import { LateFocusButtonView, type User } from '@ckeditor/ckeditor5-collaboration-core';
|
|
11
|
+
import { type View, type ViewWithFocusCycler, type TemplateDefinition, type ViewCollection } from '@ckeditor/ckeditor5-ui';
|
|
12
12
|
import { BaseCommentThreadView } from './basecommentthreadview.js';
|
|
13
13
|
import type { CommentThread } from '../../commentsrepository.js';
|
|
14
14
|
import type { CommentThreadConfig } from '../../../config.js';
|
|
15
|
-
declare const CommentThreadView_base: import("ckeditor5
|
|
15
|
+
declare const CommentThreadView_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof BaseCommentThreadView, import("@ckeditor/ckeditor5-collaboration-core").ConfirmApi>;
|
|
16
16
|
/**
|
|
17
17
|
* The default view for comment thread.
|
|
18
18
|
*/
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
* @module comments/comments/ui/view/commentview
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { type Locale } from 'ckeditor5
|
|
10
|
-
import { ButtonView, type TemplateDefinition, type DropdownView, type FocusableView, type ViewCollection } from 'ckeditor5
|
|
11
|
-
import { UserView } from 'ckeditor5-collaboration
|
|
9
|
+
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
|
+
import { ButtonView, type TemplateDefinition, type DropdownView, type FocusableView, type ViewCollection } from '@ckeditor/ckeditor5-ui';
|
|
11
|
+
import { UserView } from '@ckeditor/ckeditor5-collaboration-core';
|
|
12
12
|
import { BaseCommentView } from './basecommentview.js';
|
|
13
13
|
import type { Comment } from '../../commentsrepository.js';
|
|
14
14
|
import { type CommentInputView } from './commentinputview.js';
|
|
15
15
|
import type { CommentViewConfig } from '../../../config.js';
|
|
16
|
-
declare const CommentView_base: import("ckeditor5
|
|
16
|
+
declare const CommentView_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof BaseCommentView, import("@ckeditor/ckeditor5-collaboration-core").ConfirmApi>;
|
|
17
17
|
/**
|
|
18
18
|
* The default view for comment.
|
|
19
19
|
*/
|
|
@@ -228,7 +228,7 @@ export declare class CommentView extends /* #__PURE__ -- @preserve */ CommentVie
|
|
|
228
228
|
*/
|
|
229
229
|
render(): void;
|
|
230
230
|
}
|
|
231
|
-
declare module 'ckeditor5
|
|
231
|
+
declare module '@ckeditor/ckeditor5-ui' {
|
|
232
232
|
interface DropdownView {
|
|
233
233
|
isVisible: boolean;
|
|
234
234
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module comments/comments
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Plugin } from 'ckeditor5
|
|
9
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
10
10
|
import { CommentsRepository } from './comments/commentsrepository.js';
|
|
11
11
|
import { CommentsEditing } from './comments/commentsediting.js';
|
|
12
12
|
import { CommentsUI } from './comments/commentsui.js';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module comments/commentsonly
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Plugin, type Editor } from 'ckeditor5
|
|
9
|
+
import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
|
|
10
10
|
import { CommentsEditing } from './comments/commentsediting.js';
|
|
11
11
|
/**
|
|
12
12
|
* The `CommentsOnly` plugin allows you to put the editor in a mode where a user can only add, edit or delete comments.
|
package/{src → dist}/config.d.ts
RENAMED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module comments/config
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import type { EditorConfig, PartialBy } from 'ckeditor5
|
|
9
|
+
import type { EditorConfig, PartialBy } from '@ckeditor/ckeditor5-core';
|
|
10
10
|
import { type CommentView } from './comments/ui/view/commentview.js';
|
|
11
11
|
import { type BaseCommentThreadView } from './comments/ui/view/basecommentthreadview.js';
|
|
12
12
|
/**
|
package/dist/index-content.css
CHANGED
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
:root{
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
--ck-color-comment-marker:#fef7a9;
|
|
7
|
+
--ck-color-comment-marker-active:#fdf05d;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.ck-content .ck-comment-marker{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
background:var(--ck-color-comment-marker);
|
|
12
|
+
border-top:3px solid #0000;
|
|
13
|
+
border-bottom:3px solid #0000;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.ck-content .ck-comment-marker.ck-widget{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
border:3px solid var(--ck-color-comment-marker);
|
|
18
|
+
background-color:#0000;
|
|
19
|
+
}
|
|
20
20
|
|
|
21
21
|
.ck-content .ck-comment-marker--active{
|
|
22
|
-
|
|
22
|
+
background:var(--ck-color-comment-marker-active);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.ck-content .ck-comment-marker--active .ck-comment-marker{
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
background:var(--ck-color-comment-marker-active);
|
|
27
|
+
}
|
|
28
28
|
|
|
29
29
|
.ck-content .ck-comment-marker--active.ck-widget{
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
border-color:var(--ck-color-comment-marker-active);
|
|
31
|
+
}
|
|
32
32
|
|
|
33
33
|
.ck-content .ck-comment-marker--active.ck-widget .ck-comment-marker{
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
background-color:var(--ck-color-comment-marker);
|
|
35
|
+
}
|