@ckeditor/ckeditor5-comments 40.2.0 → 41.1.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/README.md +1 -1
- package/build/comments.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +4 -3
- package/src/annotations/annotation.d.ts +7 -7
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.d.ts +4 -4
- package/src/annotations/annotationcollection.js +2 -2
- package/src/annotations/annotations.d.ts +7 -7
- package/src/annotations/annotations.js +2 -2
- package/src/annotations/annotationsuis.d.ts +6 -6
- package/src/annotations/annotationsuis.js +2 -2
- package/src/annotations/editorannotations.d.ts +5 -5
- package/src/annotations/editorannotations.js +2 -2
- package/src/annotations/inlineannotations.d.ts +7 -7
- package/src/annotations/inlineannotations.js +2 -2
- package/src/annotations/narrowsidebar.d.ts +7 -7
- package/src/annotations/narrowsidebar.js +2 -2
- package/src/annotations/sidebar.d.ts +6 -6
- package/src/annotations/sidebar.js +2 -2
- package/src/annotations/view/annotationcounterbuttonview.d.ts +3 -3
- package/src/annotations/view/annotationcounterbuttonview.js +2 -2
- package/src/annotations/view/annotationview.d.ts +3 -3
- package/src/annotations/view/annotationview.js +2 -2
- package/src/annotations/view/sidebaritemview.d.ts +3 -3
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.d.ts +3 -3
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.d.ts +6 -6
- package/src/annotations/widesidebar.js +2 -2
- package/src/augmentation.d.ts +2 -2
- package/src/augmentation.js +1 -1
- package/src/comments/addcommentthreadcommand.d.ts +2 -2
- package/src/comments/addcommentthreadcommand.js +2 -2
- package/src/comments/commentsarchive.d.ts +5 -5
- package/src/comments/commentsarchive.js +2 -2
- package/src/comments/commentsarchiveui.d.ts +6 -6
- package/src/comments/commentsarchiveui.js +2 -2
- package/src/comments/commentsediting.d.ts +7 -7
- package/src/comments/commentsediting.js +2 -2
- package/src/comments/commentsrepository.d.ts +12 -12
- package/src/comments/commentsrepository.js +2 -2
- package/src/comments/commentsui.d.ts +6 -6
- package/src/comments/commentsui.js +2 -2
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +2 -2
- package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
- package/src/comments/integrations/importword.d.ts +2 -2
- package/src/comments/integrations/importword.js +2 -2
- package/src/comments/ui/commenteditor/commenteditor.d.ts +5 -5
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +4 -4
- package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +5 -5
- package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
- package/src/comments/ui/commentthreadcontroller.d.ts +5 -5
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.d.ts +9 -9
- package/src/comments/ui/view/basecommentthreadview.js +2 -2
- package/src/comments/ui/view/basecommentview.d.ts +5 -5
- package/src/comments/ui/view/basecommentview.js +2 -2
- package/src/comments/ui/view/collapsedcommentsview.d.ts +3 -3
- package/src/comments/ui/view/collapsedcommentsview.js +2 -2
- package/src/comments/ui/view/commentcontentview.d.ts +3 -3
- package/src/comments/ui/view/commentcontentview.js +2 -2
- package/src/comments/ui/view/commentinputview.d.ts +5 -5
- package/src/comments/ui/view/commentinputview.js +2 -2
- package/src/comments/ui/view/commentsarchiveview.d.ts +4 -4
- package/src/comments/ui/view/commentsarchiveview.js +2 -2
- package/src/comments/ui/view/commentslistview.d.ts +6 -6
- package/src/comments/ui/view/commentslistview.js +2 -2
- package/src/comments/ui/view/commentthreadheaderview.d.ts +4 -4
- package/src/comments/ui/view/commentthreadheaderview.js +2 -2
- package/src/comments/ui/view/commentthreadinputview.d.ts +6 -6
- package/src/comments/ui/view/commentthreadinputview.js +2 -2
- package/src/comments/ui/view/commentthreadview.d.ts +8 -8
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +9 -9
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.d.ts +11 -11
- package/src/comments.js +2 -2
- package/src/commentsonly.d.ts +3 -3
- package/src/commentsonly.js +2 -2
- package/src/config.d.ts +4 -4
- package/src/config.js +1 -1
- package/src/index.d.ts +21 -21
- package/src/index.js +2 -2
- package/src/utils/common-translations.d.ts +2 -2
- package/src/utils/common-translations.js +2 -2
- package/src/utils/createmutationobserver.d.ts +1 -1
- package/src/utils/createmutationobserver.js +2 -2
- package/theme/annotation-inline.css +1 -1
- package/theme/annotation.css +5 -1
- package/theme/comment.css +1 -1
- package/theme/commentinput.css +1 -1
- package/theme/commentmarker.css +1 -1
- package/theme/commentsarchive.css +2 -2
- package/theme/commentthread.css +5 -1
- 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 +1 -1
- package/theme/sidebar.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15f6=['authoredAt','items','attributes','switchToEditMode','ck-annotation__actions--hidden','ck-comment--remove','setTemplate','div','creator','isEnabled','set','ck-comment__actions','push','isConfirm','time','ck-annotation__info-time','name','extendTemplate','addMany','ck-annotation__info','isSystemComment','EXTERNAL_COMMENT','threeVerticalDots','placeholder','dropdown','_attachActions','ck-annotation__content-wrapper','bind','EXTERNAL_IMPORT_WORD_AVATAR','getTemplate','ck-annotation__user','actionBar','Reply...','_createDropdown','bindTemplate','element','fire','Delete\x20comment?','@external','ck-comment--','focus','removeComment','remove','_model','listenTo','length','ck-annotation','_createCommentInputView','mouseenter','change:isVisible','Edit','_config','resolvedAt','withText','ck-annotation__info-name','change:isRemovable','children','source','_createEditButton','EXTERNAL_IMPORT_WORD_COMMENT','userView','some','ck-comment--info','ck-comment__main','actionIndicator','removeButton','isEditMode','getExternalCommentNote','isVisible','isReadOnly','visibleView','ck-comment--edit','locale','add','createCollection','editButton','ck-comment__user','ck-comment__info','ck-annotation__main','Show\x20more\x20items','change:isEnabled','isExternal','_createRemoveButton','ck-comment__info-name','Remove','icon','execute','then','label','panelPosition','render','buttonView','getUserViewNotificationText','author','importWord','panelView'];(function(_0x48061d,_0x15f645){const _0x5bf289=function(_0x433949){while(--_0x433949){_0x48061d['push'](_0x48061d['shift']());}};_0x5bf289(++_0x15f645);}(_0x15f6,0x192));const _0x5bf2=function(_0x48061d,_0x15f645){_0x48061d=_0x48061d-0x0;let _0x5bf289=_0x15f6[_0x48061d];return _0x5bf289;};import{ButtonView as _0x37ec54,createDropdown as _0x1b67e8,ListView as _0x6ef491,ListItemView as _0x4c0af2}from'ckeditor5/src/ui.js';import{icons as _0x13345b}from'ckeditor5/src/core.js';import{UserView as _0x133c23,ConfirmMixin as _0x30968e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x250d76 from'./basecommentview.js';import _0x4fb364 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x370c61}from'../../../utils/common-translations.js';export default class pt extends _0x30968e(_0x250d76){constructor(_0x3fc4a4,_0x2fee60,_0x592c9d){super(_0x3fc4a4,_0x2fee60,_0x592c9d),this[_0x5bf2('0x58')](_0x5bf2('0x2e'),null),this[_0x5bf2('0x58')](_0x5bf2('0x5'),_0x370c61(_0x3fc4a4,_0x5bf2('0xe'))),this[_0x5bf2('0x9')](_0x5bf2('0x4e'))['to'](_0x2fee60),this['bind'](_0x5bf2('0x22'))['to'](_0x2fee60),this['actionBar']=this[_0x5bf2('0x38')](),this[_0x5bf2('0x2')]||(this[_0x5bf2('0x39')]=this[_0x5bf2('0x28')](),this['removeButton']=this['_createRemoveButton'](),this[_0x5bf2('0x4f')]=this['createCollection'](),this['items'][_0x5bf2('0x0')]([this[_0x5bf2('0x39')],this[_0x5bf2('0x2f')]]),this[_0x5bf2('0x6')]=this[_0x5bf2('0xf')](),this[_0x5bf2('0xd')][_0x5bf2('0x37')](this[_0x5bf2('0x6')])),this[_0x5bf2('0x2a')]=new _0x133c23(_0x3fc4a4,_0x2fee60[_0x5bf2('0x4b')],this[_0x5bf2('0x4a')]()),this['userView'][_0x5bf2('0x5f')]({'attributes':{'class':[_0x5bf2('0x3a'),_0x5bf2('0xc')]}}),this[_0x5bf2('0x1a')](_0x2fee60,_0x5bf2('0x25'),()=>this['cancelConfirm']()),this[_0x5bf2('0x54')](this[_0x5bf2('0xb')]());}[_0x5bf2('0xb')](){const _0x52b8e3=this[_0x5bf2('0x10')],_0x109d93=[{'tag':'div','attributes':{'class':[_0x5bf2('0x3b'),_0x5bf2('0x1')]},'children':[{'tag':'span','children':[{'text':this[_0x5bf2('0x2a')][_0x5bf2('0x5e')]}],'attributes':{'class':[_0x5bf2('0x41'),_0x5bf2('0x24')]}},{'tag':_0x5bf2('0x5c'),'attributes':{'datetime':_0x52b8e3['to']('authoredAt'),'class':['ck-comment__info-time',_0x5bf2('0x5d')]},'children':[{'text':_0x52b8e3['to'](_0x5bf2('0x4e'),_0x1138d5=>this[_0x5bf2('0x21')]['formatDateTime'](_0x1138d5))}]}]},{'tag':_0x5bf2('0x55'),'attributes':{'class':[_0x5bf2('0x59'),'ck-annotation__actions',_0x52b8e3['if'](_0x5bf2('0x30'),'ck-comment__actions--hidden'),_0x52b8e3['if']('isEditMode',_0x5bf2('0x52'))]},'children':this['actionBar']},{'tag':_0x5bf2('0x55'),'attributes':{'class':[_0x5bf2('0x8')]},'children':this[_0x5bf2('0x34')]}];return this[_0x5bf2('0x19')][_0x5bf2('0x3f')]&&_0x109d93[_0x5bf2('0x5a')]({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this[_0x5bf2('0x31')]()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x52b8e3['if'](_0x5bf2('0x5b'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x5bf2('0x55'),'attributes':{'class':['ck-comment',_0x5bf2('0x1c'),_0x52b8e3['if'](_0x5bf2('0x30'),'ck-comment--edit'),_0x52b8e3['if'](_0x5bf2('0x2'),_0x5bf2('0x2c')),_0x52b8e3['to'](_0x5bf2('0x2e'),_0x27bd4e=>_0x27bd4e?_0x5bf2('0x15')+_0x27bd4e:'')],'data-author-id':this[_0x5bf2('0x19')][_0x5bf2('0x4b')]['id'],'data-comment-id':this[_0x5bf2('0x19')]['id']},'children':[this[_0x5bf2('0x2a')],{'tag':_0x5bf2('0x55'),'attributes':{'class':[_0x5bf2('0x2d'),_0x5bf2('0x3c')]},'children':_0x109d93}]}]};}[_0x5bf2('0x28')](){const _0x50abd0=new _0x37ec54(this[_0x5bf2('0x36')]);return _0x50abd0[_0x5bf2('0x46')]=_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x20')),_0x50abd0['icon']=_0x13345b['pencil'],_0x50abd0[_0x5bf2('0x23')]=!0x0,_0x50abd0[_0x5bf2('0x5f')]({'attributes':{'class':_0x5bf2('0x35')}}),_0x50abd0[_0x5bf2('0x9')](_0x5bf2('0x57'))['to'](this['_model'],_0x5bf2('0x33'),_0x53fc4c=>!_0x53fc4c),_0x50abd0['bind'](_0x5bf2('0x32'))['to'](this['_model'],'isEditable'),_0x50abd0['on'](_0x5bf2('0x44'),()=>this[_0x5bf2('0x51')]()),_0x50abd0;}[_0x5bf2('0x40')](){const _0xcbd50f=new _0x37ec54(this[_0x5bf2('0x36')]);return _0xcbd50f[_0x5bf2('0x46')]=_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x42')),_0xcbd50f[_0x5bf2('0x43')]=_0x4fb364,_0xcbd50f[_0x5bf2('0x23')]=!0x0,_0xcbd50f['extendTemplate']({'attributes':{'class':_0x5bf2('0x53')}}),_0xcbd50f[_0x5bf2('0x9')](_0x5bf2('0x57'))['to'](this['_model'],_0x5bf2('0x33'),_0x584bef=>!_0x584bef),_0xcbd50f[_0x5bf2('0x9')](_0x5bf2('0x32'))['to'](this[_0x5bf2('0x19')],'isRemovable'),_0xcbd50f['on'](_0x5bf2('0x44'),()=>{this['showConfirm'](_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x13')),this['element'])[_0x5bf2('0x45')](()=>{this[_0x5bf2('0x12')](_0x5bf2('0x17'),this['_model']['id']);});}),_0xcbd50f;}[_0x5bf2('0xf')](){const _0x258032=_0x1b67e8(this[_0x5bf2('0x36')]),_0x2a492b=_0x258032[_0x5bf2('0x4d')][_0x5bf2('0x26')],_0x1ead36=new _0x6ef491(this[_0x5bf2('0x36')]),_0x34d0ee=(_0x17ee85,_0x48151e=-0x1)=>{const _0x2da085=new _0x4c0af2(this[_0x5bf2('0x36')]);_0x2da085[_0x5bf2('0x26')]['add'](_0x17ee85);const _0x410d03=_0x48151e>-0x1?_0x48151e:_0x1ead36[_0x5bf2('0x4f')][_0x5bf2('0x1b')];_0x1ead36[_0x5bf2('0x4f')][_0x5bf2('0x37')](_0x2da085,_0x410d03),_0x258032[_0x5bf2('0x1a')](_0x17ee85,_0x5bf2('0x3e'),()=>{_0x258032['isEnabled']=[...this[_0x5bf2('0x4f')]][_0x5bf2('0x2b')](_0x1f9b74=>_0x1f9b74[_0x5bf2('0x57')]);}),_0x258032['listenTo'](_0x17ee85,_0x5bf2('0x1f'),()=>{_0x258032[_0x5bf2('0x49')]['isVisible']=[...this[_0x5bf2('0x4f')]][_0x5bf2('0x2b')](_0x76ade0=>_0x76ade0[_0x5bf2('0x32')]);});};_0x258032[_0x5bf2('0x47')]='sw',_0x258032[_0x5bf2('0x49')][_0x5bf2('0x58')]({'label':_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x3d')),'icon':_0x13345b[_0x5bf2('0x4')]}),_0x258032[_0x5bf2('0x57')]=[...this['items']][_0x5bf2('0x2b')](_0xff0da2=>_0xff0da2['isEnabled']),_0x258032[_0x5bf2('0x49')][_0x5bf2('0x32')]=[...this[_0x5bf2('0x4f')]]['some'](_0x162c00=>_0x162c00[_0x5bf2('0x32')]);for(const _0x30986c of this['items'])_0x34d0ee(_0x30986c);return _0x2a492b['add'](_0x1ead36),_0x258032[_0x5bf2('0x1a')](this[_0x5bf2('0x4f')],_0x5bf2('0x37'),(_0x355e9b,_0x1dca54,_0x24115d)=>{_0x34d0ee(_0x1dca54,_0x24115d);}),_0x258032['listenTo'](this[_0x5bf2('0x4f')],'remove',(_0x2636fb,_0x4a3eed,_0x26c4cf)=>{_0x1ead36[_0x5bf2('0x4f')]['remove'](_0x26c4cf);}),_0x258032;}[_0x5bf2('0x7')](_0x1fe9bf,_0x14d8d8){const _0xd9d881=_0x1fe9bf&&_0x1fe9bf[_0x5bf2('0x11')];_0xd9d881&&(this['listenTo'](_0xd9d881,_0x5bf2('0x1e'),()=>this[_0x5bf2('0x2e')]=_0x14d8d8),this[_0x5bf2('0x1a')](_0xd9d881,_0x5bf2('0x16'),()=>this[_0x5bf2('0x2e')]=_0x14d8d8),this['listenTo'](_0xd9d881,'mouseleave',()=>this[_0x5bf2('0x2e')]=null),this['listenTo'](_0xd9d881,'blur',()=>this[_0x5bf2('0x2e')]=null));}[_0x5bf2('0x1d')](){const _0x2b59a2=super[_0x5bf2('0x1d')]();return _0x2b59a2['bind'](_0x5bf2('0x5'))['to'](this),_0x2b59a2;}['getExternalCommentNote'](){return _0x5bf2('0x4c')===this[_0x5bf2('0x19')][_0x5bf2('0x50')][_0x5bf2('0x14')][_0x5bf2('0x27')]?_0x370c61(this['locale'],_0x5bf2('0x29')):_0x370c61(this[_0x5bf2('0x36')],_0x5bf2('0x3'));}[_0x5bf2('0x4a')](){return this[_0x5bf2('0x19')][_0x5bf2('0x3f')]?_0x5bf2('0x4c')===this[_0x5bf2('0x19')][_0x5bf2('0x50')][_0x5bf2('0x14')][_0x5bf2('0x27')]?_0x370c61(this['locale'],_0x5bf2('0xa'),this[_0x5bf2('0x19')][_0x5bf2('0x56')]['name']):_0x370c61(this[_0x5bf2('0x36')],'EXTERNAL_AVATAR',this[_0x5bf2('0x19')]['creator']['name']):null;}[_0x5bf2('0x48')](){super[_0x5bf2('0x48')](),this[_0x5bf2('0x7')](this['editButton'],'edit'),this[_0x5bf2('0x7')](this[_0x5bf2('0x2f')],_0x5bf2('0x18'));}}
|
package/src/comments.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
10
|
-
import CommentsRepository from './comments/commentsrepository';
|
|
11
|
-
import CommentsEditing from './comments/commentsediting';
|
|
12
|
-
import CommentsUI from './comments/commentsui';
|
|
13
|
-
import CommentsOnly from './commentsonly';
|
|
14
|
-
import WideSidebar from './annotations/widesidebar';
|
|
15
|
-
import NarrowSidebar from './annotations/narrowsidebar';
|
|
16
|
-
import InlineAnnotations from './annotations/inlineannotations';
|
|
17
|
-
import CommentsArchiveUI from './comments/commentsarchiveui';
|
|
18
|
-
import CommentsArchive from './comments/commentsarchive';
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import CommentsRepository from './comments/commentsrepository.js';
|
|
11
|
+
import CommentsEditing from './comments/commentsediting.js';
|
|
12
|
+
import CommentsUI from './comments/commentsui.js';
|
|
13
|
+
import CommentsOnly from './commentsonly.js';
|
|
14
|
+
import WideSidebar from './annotations/widesidebar.js';
|
|
15
|
+
import NarrowSidebar from './annotations/narrowsidebar.js';
|
|
16
|
+
import InlineAnnotations from './annotations/inlineannotations.js';
|
|
17
|
+
import CommentsArchiveUI from './comments/commentsarchiveui.js';
|
|
18
|
+
import CommentsArchive from './comments/commentsarchive.js';
|
|
19
19
|
/**
|
|
20
20
|
* The comments plugin, which brings both the UI part and the editing part of this feature.
|
|
21
21
|
*
|
package/src/comments.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1db8=['requires'];(function(_0x42f50c,_0x1db83e){var _0x5c2956=function(_0x53c0ce){while(--_0x53c0ce){_0x42f50c['push'](_0x42f50c['shift']());}};_0x5c2956(++_0x1db83e);}(_0x1db8,0x17d));var _0x5c29=function(_0x42f50c,_0x1db83e){_0x42f50c=_0x42f50c-0x0;var _0x5c2956=_0x1db8[_0x42f50c];return _0x5c2956;};import{Plugin as _0x3577cd}from'ckeditor5/src/core.js';import _0x3db45a from'./comments/commentsrepository.js';import _0x3c3ed9 from'./comments/commentsediting.js';import _0x5cdb64 from'./comments/commentsui.js';import _0x22cd0f from'./commentsonly.js';import _0x371a02 from'./annotations/widesidebar.js';import _0x167585 from'./annotations/narrowsidebar.js';import _0x58cca3 from'./annotations/inlineannotations.js';import _0x578e22 from'./comments/commentsarchiveui.js';import _0x6a34d4 from'./comments/commentsarchive.js';export default class f extends _0x3577cd{static get[_0x5c29('0x0')](){return[_0x3db45a,_0x3c3ed9,_0x5cdb64,_0x6a34d4,_0x578e22,_0x22cd0f,_0x371a02,_0x167585,_0x58cca3];}static get['pluginName'](){return'Comments';}}
|
package/src/commentsonly.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/commentsonly
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
10
|
-
import CommentsEditing from './comments/commentsediting';
|
|
9
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
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.
|
|
13
13
|
*
|
package/src/commentsonly.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57ac=['DragDrop','set','stop','delete','config','highest','has','plugins','stopListening','commentsOnly','commands','listenTo','requires','get','isEnabled','editor','document','change:isEnabled','cut','pluginName','addCommentThread','_disableCommentsOnlyMode','forceDisabled','clearForceDisabled','CommentsOnly','view','editing','commentsOnlyMode','clipboardInput','affectsData','_enableCommentsOnlyMode'];(function(_0x323081,_0x57acf4){const _0x2d9d6c=function(_0x4e922e){while(--_0x4e922e){_0x323081['push'](_0x323081['shift']());}};_0x2d9d6c(++_0x57acf4);}(_0x57ac,0x137));const _0x2d9d=function(_0x323081,_0x57acf4){_0x323081=_0x323081-0x0;let _0x2d9d6c=_0x57ac[_0x323081];return _0x2d9d6c;};import{Plugin as _0x41719}from'ckeditor5/src/core.js';import _0x4a9b3f from'./comments/commentsediting.js';export default class e extends _0x41719{static get[_0x2d9d('0x12')](){return _0x2d9d('0x17');}static get[_0x2d9d('0xb')](){return[_0x4a9b3f];}constructor(_0x5931a2){super(_0x5931a2),this[_0x2d9d('0x0')](_0x2d9d('0xd'),!0x1),this['on'](_0x2d9d('0x10'),(_0x3009fa,_0x545cf4,_0x3f4e45)=>{_0x3f4e45?this[_0x2d9d('0x1d')]():this[_0x2d9d('0x14')]();});}['afterInit'](){!this[_0x2d9d('0xd')]&&this['editor'][_0x2d9d('0x3')][_0x2d9d('0xc')](_0x2d9d('0x8'))&&(this[_0x2d9d('0xd')]=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0xda6a8e,_0xde9ea0]of this[_0x2d9d('0xe')][_0x2d9d('0x9')])_0xde9ea0[_0x2d9d('0x1c')]&&_0x2d9d('0x13')!==_0xda6a8e&&_0xde9ea0[_0x2d9d('0x15')](_0x2d9d('0x1a'));this[_0x2d9d('0xe')][_0x2d9d('0x6')][_0x2d9d('0x5')](_0x2d9d('0x1e'))&&this[_0x2d9d('0xe')][_0x2d9d('0x6')][_0x2d9d('0xc')](_0x2d9d('0x1e'))[_0x2d9d('0x15')](_0x2d9d('0x1a'));const _0x39c704=this['editor'][_0x2d9d('0x19')]['view'][_0x2d9d('0xf')];this[_0x2d9d('0xa')](_0x39c704,_0x2d9d('0x11'),_0x593175=>_0x593175[_0x2d9d('0x1')](),{'priority':_0x2d9d('0x4')}),this[_0x2d9d('0xa')](_0x39c704,_0x2d9d('0x1b'),_0xadbc43=>_0xadbc43[_0x2d9d('0x1')](),{'priority':_0x2d9d('0x4')}),this[_0x2d9d('0xa')](_0x39c704,_0x2d9d('0x2'),_0x286fad=>_0x286fad['stop'](),{'priority':_0x2d9d('0x4')});}[_0x2d9d('0x14')](){for(const [_0x3b1739,_0x152009]of this['editor'][_0x2d9d('0x9')])_0x152009['affectsData']&&_0x2d9d('0x13')!==_0x3b1739&&_0x152009[_0x2d9d('0x16')](_0x2d9d('0x1a'));this[_0x2d9d('0x7')](this[_0x2d9d('0xe')][_0x2d9d('0x19')][_0x2d9d('0x18')][_0x2d9d('0xf')]);}}
|
package/src/config.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/config
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import type { EditorConfig } from 'ckeditor5/src/core';
|
|
10
|
-
import type CommentView from './comments/ui/view/commentview';
|
|
11
|
-
import type BaseCommentThreadView from './comments/ui/view/basecommentthreadview';
|
|
9
|
+
import type { EditorConfig } from 'ckeditor5/src/core.js';
|
|
10
|
+
import type CommentView from './comments/ui/view/commentview.js';
|
|
11
|
+
import type BaseCommentThreadView from './comments/ui/view/basecommentthreadview.js';
|
|
12
12
|
/**
|
|
13
13
|
* The configuration of the comments feature.
|
|
14
14
|
*
|
package/src/config.js
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
export { default as Comments } from './comments';
|
|
6
|
-
export { default as CommentsOnly } from './commentsonly';
|
|
7
|
-
export { default as CommentsUI } from './comments/commentsui';
|
|
8
|
-
export { default as CommentsRepository, CommentThread, Comment, type CommentDataJSON, type CommentThreadContext, type CommentThreadDataJSON } from './comments/commentsrepository';
|
|
9
|
-
export { default as CommentThreadController } from './comments/ui/commentthreadcontroller';
|
|
10
|
-
export { default as Annotations } from './annotations/annotations';
|
|
11
|
-
export { default as AnnotationsUIs } from './annotations/annotationsuis';
|
|
12
|
-
export { default as EditorAnnotations } from './annotations/editorannotations';
|
|
13
|
-
export { default as InlineAnnotations } from './annotations/inlineannotations';
|
|
14
|
-
export { default as WideSidebar } from './annotations/widesidebar';
|
|
15
|
-
export { default as NarrowSidebar } from './annotations/narrowsidebar';
|
|
16
|
-
export { default as AnnotationView } from './annotations/view/annotationview';
|
|
17
|
-
export { default as BaseCommentView } from './comments/ui/view/basecommentview';
|
|
18
|
-
export { default as BaseCommentThreadView } from './comments/ui/view/basecommentthreadview';
|
|
19
|
-
export { default as CommentsListView } from './comments/ui/view/commentslistview';
|
|
20
|
-
export { default as CommentView } from './comments/ui/view/commentview';
|
|
21
|
-
export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview';
|
|
22
|
-
export type { CommentsConfig, SidebarConfig } from './config';
|
|
23
|
-
export type { default as CommentsEditing } from './comments/commentsediting';
|
|
24
|
-
import './augmentation';
|
|
5
|
+
export { default as Comments } from './comments.js';
|
|
6
|
+
export { default as CommentsOnly } from './commentsonly.js';
|
|
7
|
+
export { default as CommentsUI } from './comments/commentsui.js';
|
|
8
|
+
export { default as CommentsRepository, CommentThread, Comment, type CommentDataJSON, type CommentThreadContext, type CommentThreadDataJSON } from './comments/commentsrepository.js';
|
|
9
|
+
export { default as CommentThreadController } from './comments/ui/commentthreadcontroller.js';
|
|
10
|
+
export { default as Annotations } from './annotations/annotations.js';
|
|
11
|
+
export { default as AnnotationsUIs } from './annotations/annotationsuis.js';
|
|
12
|
+
export { default as EditorAnnotations } from './annotations/editorannotations.js';
|
|
13
|
+
export { default as InlineAnnotations } from './annotations/inlineannotations.js';
|
|
14
|
+
export { default as WideSidebar } from './annotations/widesidebar.js';
|
|
15
|
+
export { default as NarrowSidebar } from './annotations/narrowsidebar.js';
|
|
16
|
+
export { default as AnnotationView } from './annotations/view/annotationview.js';
|
|
17
|
+
export { default as BaseCommentView } from './comments/ui/view/basecommentview.js';
|
|
18
|
+
export { default as BaseCommentThreadView } from './comments/ui/view/basecommentthreadview.js';
|
|
19
|
+
export { default as CommentsListView } from './comments/ui/view/commentslistview.js';
|
|
20
|
+
export { default as CommentView } from './comments/ui/view/commentview.js';
|
|
21
|
+
export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview.js';
|
|
22
|
+
export type { CommentsConfig, SidebarConfig } from './config.js';
|
|
23
|
+
export type { default as CommentsEditing } from './comments/commentsediting.js';
|
|
24
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export{default as Comments}from'./comments';export{default as CommentsOnly}from'./commentsonly';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';
|
|
23
|
+
export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/utils/common-translations
|
|
7
7
|
*/
|
|
8
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
8
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
9
|
export declare function getTranslation(locale: Locale, id: string, values?: string | Array<string> | number): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1de352,_0x2db1e3,_0x48535a){const t=_0x1de352['t'];switch(_0x2db1e3){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'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x48535a);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'},_0x48535a);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'},_0x48535a);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'},_0x48535a);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'';}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x64a6=['attributeName','cancel','characterData','attributes','class','childList','type','disconnect'];(function(_0x398d02,_0x64a633){const _0x4c6898=function(_0x34b1db){while(--_0x34b1db){_0x398d02['push'](_0x398d02['shift']());}};_0x4c6898(++_0x64a633);}(_0x64a6,0x155));const _0x4c68=function(_0x398d02,_0x64a633){_0x398d02=_0x398d02-0x0;let _0x4c6898=_0x64a6[_0x398d02];return _0x4c6898;};import{throttle as _0x39022d}from'lodash-es';export default function Dt(_0x5f4939){const _0x50f47c=_0x39022d(_0x5f4939,0x1e),_0x41eb16=new MutationObserver(_0x43d606=>{for(const _0x474b22 of _0x43d606)(_0x4c68('0x6')==_0x474b22[_0x4c68('0x1')]&&_0x4c68('0x7')==_0x474b22[_0x4c68('0x3')]||_0x4c68('0x0')==_0x474b22['type']||_0x4c68('0x5')==_0x474b22[_0x4c68('0x1')])&&_0x50f47c();});return{'attach'(_0x5e97ea){_0x41eb16['observe'](_0x5e97ea,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x41eb16[_0x4c68('0x2')](),_0x50f47c[_0x4c68('0x4')]();}};}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|
package/theme/annotation.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -38,6 +38,10 @@
|
|
|
38
38
|
border-radius: var(--ck-border-radius);
|
|
39
39
|
font-size: var(--ck-annotation-button-size);
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
& .ck-user {
|
|
43
|
+
font-size: 0.85em;
|
|
44
|
+
}
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
.ck .ck-annotation__main {
|
package/theme/comment.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|
package/theme/commentinput.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|
package/theme/commentmarker.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
.ck .ck-comments-archive-dropdown {
|
|
11
11
|
&.ck-dropdown__panel {
|
|
12
|
-
z-index: var( --ck-z-
|
|
12
|
+
z-index: var( --ck-z-panel );
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
package/theme/commentthread.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -155,6 +155,10 @@
|
|
|
155
155
|
border-radius: var(--ck-border-radius);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
+
.ck .ck-thread__user {
|
|
159
|
+
font-size: 0.85em;
|
|
160
|
+
}
|
|
161
|
+
|
|
158
162
|
.ck .ck-thread__input {
|
|
159
163
|
/* #1829. Firefox is wrongly rendering flex container width 100% with overflowed (non-spaced) text. */
|
|
160
164
|
width: calc( 100% - var(--ck-user-avatar-size) );
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-
|
|
7
|
+
Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-
|
|
7
|
+
Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-
|
|
7
|
+
Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
5
5
|
all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
6
6
|
|
|
7
|
-
Copyright (c) 2003-
|
|
7
|
+
Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
8
8
|
|
|
9
9
|
!-->
|
|
10
10
|
|
package/theme/sidebar-narrow.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|
package/theme/sidebar.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|