@ckeditor/ckeditor5-comments 41.0.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/build/comments.js +1 -1
- package/package.json +3 -3
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation.css +4 -0
- package/theme/commentthread.css +4 -0
|
@@ -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.js
CHANGED
|
@@ -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.js
CHANGED
|
@@ -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')]);}}
|
|
@@ -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'';}}
|
|
@@ -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')]();}};}
|
package/theme/annotation.css
CHANGED
package/theme/commentthread.css
CHANGED
|
@@ -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) );
|