@ckeditor/ckeditor5-comments 0.0.0-nightly-20240205.0 → 0.0.0-nightly-20240206.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 _0x2fde=['ck-annotation__actions--hidden','items','author','length','panelView','locale','isRemovable','actionBar','ck-comment__external','editButton','change:isRemovable','isConfirm','addMany','EXTERNAL_IMPORT_WORD_AVATAR','isReadOnly','_attachActions','getUserViewNotificationText','extendTemplate','render','ck-comment__wrapper','time','ck-comment__info-name','span','EXTERNAL_AVATAR','fire','userView','EXTERNAL_IMPORT_WORD_COMMENT','@external','change:isEnabled','focus','isEnabled','ck-comment','ck-comment--edit','execute','Delete\x20comment?','bind','children','name','ck-comment__info','ck-comment--info','listenTo','cancelConfirm','_model','importWord','mouseleave','bindTemplate','ck-annotation__info-name','createCollection','source','label','getTemplate','edit','_config','removeButton','ck-comment__user','ck-annotation__info','removeComment','visibleView','add','_createEditButton','ck-comment--remove-confirmation','ck-comment__main','withText','element','ck-annotation','buttonView','attributes','setTemplate','icon','ck-annotation__user','some','creator','set','threeVerticalDots','_createDropdown','isEditMode','actionIndicator','remove','_createRemoveButton','switchToEditMode','Show\x20more\x20items','Edit','isVisible','placeholder','div','dropdown','isSystemComment','ck-comment__actions','authoredAt','ck-comment--','mouseenter','resolvedAt','getExternalCommentNote','isEditable','_createCommentInputView'];(function(_0x7e77f2,_0x2fdeca){const _0xfd7f51=function(_0x38037d){while(--_0x38037d){_0x7e77f2['push'](_0x7e77f2['shift']());}};_0xfd7f51(++_0x2fdeca);}(_0x2fde,0x85));const _0xfd7f=function(_0x7e77f2,_0x2fdeca){_0x7e77f2=_0x7e77f2-0x0;let _0xfd7f51=_0x2fde[_0x7e77f2];return _0xfd7f51;};import{ButtonView as _0x939e9,createDropdown as _0x352c52,ListView as _0x2f502f,ListItemView as _0x321bfa}from'ckeditor5/src/ui.js';import{icons as _0x3cb264}from'ckeditor5/src/core.js';import{UserView as _0x3e3d51,ConfirmMixin as _0x3095dd}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1925e6 from'./basecommentview.js';import _0x582b9d from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0xbe8c01}from'../../../utils/common-translations.js';export default class pt extends _0x3095dd(_0x1925e6){constructor(_0x30e9f8,_0x127e09,_0x1e1237){super(_0x30e9f8,_0x127e09,_0x1e1237),this[_0xfd7f('0x22')](_0xfd7f('0x26'),null),this[_0xfd7f('0x22')](_0xfd7f('0x2d'),_0xbe8c01(_0x30e9f8,'Reply...')),this[_0xfd7f('0x5c')](_0xfd7f('0x32'))['to'](_0x127e09),this['bind'](_0xfd7f('0x35'))['to'](_0x127e09),this['actionBar']=this[_0xfd7f('0x9')](),this[_0xfd7f('0x30')]||(this[_0xfd7f('0x42')]=this[_0xfd7f('0x15')](),this[_0xfd7f('0xf')]=this[_0xfd7f('0x28')](),this[_0xfd7f('0x3a')]=this[_0xfd7f('0x9')](),this[_0xfd7f('0x3a')][_0xfd7f('0x45')]([this['editButton'],this[_0xfd7f('0xf')]]),this[_0xfd7f('0x2f')]=this[_0xfd7f('0x24')](),this['actionBar'][_0xfd7f('0x14')](this[_0xfd7f('0x2f')])),this['userView']=new _0x3e3d51(_0x30e9f8,_0x127e09[_0xfd7f('0x3b')],this[_0xfd7f('0x49')]()),this[_0xfd7f('0x52')][_0xfd7f('0x4a')]({'attributes':{'class':[_0xfd7f('0x10'),_0xfd7f('0x1f')]}}),this['listenTo'](_0x127e09,_0xfd7f('0x43'),()=>this[_0xfd7f('0x3')]()),this[_0xfd7f('0x1d')](this[_0xfd7f('0xc')]());}['getTemplate'](){const _0x52d855=this[_0xfd7f('0x7')],_0x1bc062=[{'tag':_0xfd7f('0x2e'),'attributes':{'class':[_0xfd7f('0x0'),_0xfd7f('0x11')]},'children':[{'tag':_0xfd7f('0x4f'),'children':[{'text':this[_0xfd7f('0x52')][_0xfd7f('0x5e')]}],'attributes':{'class':[_0xfd7f('0x4e'),_0xfd7f('0x8')]}},{'tag':_0xfd7f('0x4d'),'attributes':{'datetime':_0x52d855['to'](_0xfd7f('0x32')),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x52d855['to'](_0xfd7f('0x32'),_0x2cec2e=>this[_0xfd7f('0xe')]['formatDateTime'](_0x2cec2e))}]}]},{'tag':_0xfd7f('0x2e'),'attributes':{'class':[_0xfd7f('0x31'),'ck-annotation__actions',_0x52d855['if'](_0xfd7f('0x25'),'ck-comment__actions--hidden'),_0x52d855['if'](_0xfd7f('0x25'),_0xfd7f('0x39'))]},'children':this[_0xfd7f('0x40')]},{'tag':_0xfd7f('0x2e'),'attributes':{'class':['ck-annotation__content-wrapper']},'children':this[_0xfd7f('0x13')]}];return this[_0xfd7f('0x4')]['isExternal']&&_0x1bc062['push']({'tag':'div','attributes':{'class':[_0xfd7f('0x41')]},'children':[{'text':this[_0xfd7f('0x36')]()}]}),{'tag':'li','attributes':{'class':[_0xfd7f('0x4c'),_0x52d855['if'](_0xfd7f('0x44'),_0xfd7f('0x16'))],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':[_0xfd7f('0x58'),_0xfd7f('0x1a'),_0x52d855['if'](_0xfd7f('0x25'),_0xfd7f('0x59')),_0x52d855['if'](_0xfd7f('0x30'),_0xfd7f('0x1')),_0x52d855['to'](_0xfd7f('0x26'),_0x2cf0c8=>_0x2cf0c8?_0xfd7f('0x33')+_0x2cf0c8:'')],'data-author-id':this[_0xfd7f('0x4')]['author']['id'],'data-comment-id':this[_0xfd7f('0x4')]['id']},'children':[this['userView'],{'tag':_0xfd7f('0x2e'),'attributes':{'class':[_0xfd7f('0x17'),'ck-annotation__main']},'children':_0x1bc062}]}]};}['_createEditButton'](){const _0x305276=new _0x939e9(this['locale']);return _0x305276[_0xfd7f('0xb')]=_0xbe8c01(this[_0xfd7f('0x3e')],_0xfd7f('0x2b')),_0x305276[_0xfd7f('0x1e')]=_0x3cb264['pencil'],_0x305276[_0xfd7f('0x18')]=!0x0,_0x305276['extendTemplate']({'attributes':{'class':_0xfd7f('0x59')}}),_0x305276[_0xfd7f('0x5c')](_0xfd7f('0x57'))['to'](this[_0xfd7f('0x4')],_0xfd7f('0x47'),_0x7d1b08=>!_0x7d1b08),_0x305276[_0xfd7f('0x5c')]('isVisible')['to'](this[_0xfd7f('0x4')],_0xfd7f('0x37')),_0x305276['on'](_0xfd7f('0x5a'),()=>this[_0xfd7f('0x29')]()),_0x305276;}[_0xfd7f('0x28')](){const _0x5361f1=new _0x939e9(this['locale']);return _0x5361f1[_0xfd7f('0xb')]=_0xbe8c01(this['locale'],'Remove'),_0x5361f1[_0xfd7f('0x1e')]=_0x582b9d,_0x5361f1[_0xfd7f('0x18')]=!0x0,_0x5361f1[_0xfd7f('0x4a')]({'attributes':{'class':'ck-comment--remove'}}),_0x5361f1[_0xfd7f('0x5c')]('isEnabled')['to'](this[_0xfd7f('0x4')],_0xfd7f('0x47'),_0x2ca2b8=>!_0x2ca2b8),_0x5361f1[_0xfd7f('0x5c')](_0xfd7f('0x2c'))['to'](this[_0xfd7f('0x4')],_0xfd7f('0x3f')),_0x5361f1['on'](_0xfd7f('0x5a'),()=>{this['showConfirm'](_0xbe8c01(this[_0xfd7f('0x3e')],_0xfd7f('0x5b')),this[_0xfd7f('0x19')])['then'](()=>{this[_0xfd7f('0x51')](_0xfd7f('0x12'),this[_0xfd7f('0x4')]['id']);});}),_0x5361f1;}[_0xfd7f('0x24')](){const _0xd458c8=_0x352c52(this['locale']),_0xaedd7a=_0xd458c8[_0xfd7f('0x3d')][_0xfd7f('0x5d')],_0x39c4e0=new _0x2f502f(this[_0xfd7f('0x3e')]),_0x38c145=(_0x1f96f1,_0x32533a=-0x1)=>{const _0x4cf677=new _0x321bfa(this[_0xfd7f('0x3e')]);_0x4cf677['children']['add'](_0x1f96f1);const _0x74b4e5=_0x32533a>-0x1?_0x32533a:_0x39c4e0[_0xfd7f('0x3a')][_0xfd7f('0x3c')];_0x39c4e0['items'][_0xfd7f('0x14')](_0x4cf677,_0x74b4e5),_0xd458c8['listenTo'](_0x1f96f1,_0xfd7f('0x55'),()=>{_0xd458c8[_0xfd7f('0x57')]=[...this[_0xfd7f('0x3a')]][_0xfd7f('0x20')](_0x3b50ea=>_0x3b50ea['isEnabled']);}),_0xd458c8['listenTo'](_0x1f96f1,'change:isVisible',()=>{_0xd458c8[_0xfd7f('0x1b')][_0xfd7f('0x2c')]=[...this[_0xfd7f('0x3a')]][_0xfd7f('0x20')](_0x24729c=>_0x24729c[_0xfd7f('0x2c')]);});};_0xd458c8['panelPosition']='sw',_0xd458c8['buttonView'][_0xfd7f('0x22')]({'label':_0xbe8c01(this['locale'],_0xfd7f('0x2a')),'icon':_0x3cb264[_0xfd7f('0x23')]}),_0xd458c8[_0xfd7f('0x57')]=[...this[_0xfd7f('0x3a')]][_0xfd7f('0x20')](_0x4814cc=>_0x4814cc['isEnabled']),_0xd458c8[_0xfd7f('0x1b')]['isVisible']=[...this[_0xfd7f('0x3a')]][_0xfd7f('0x20')](_0x331e4d=>_0x331e4d[_0xfd7f('0x2c')]);for(const _0x2aac5a of this['items'])_0x38c145(_0x2aac5a);return _0xaedd7a[_0xfd7f('0x14')](_0x39c4e0),_0xd458c8[_0xfd7f('0x2')](this[_0xfd7f('0x3a')],_0xfd7f('0x14'),(_0x31a8c9,_0x35d71c,_0x6e598b)=>{_0x38c145(_0x35d71c,_0x6e598b);}),_0xd458c8['listenTo'](this[_0xfd7f('0x3a')],_0xfd7f('0x27'),(_0x4c2039,_0x5336c4,_0x5db453)=>{_0x39c4e0['items'][_0xfd7f('0x27')](_0x5db453);}),_0xd458c8;}[_0xfd7f('0x48')](_0x4d98a6,_0x66bfe1){const _0x5444d1=_0x4d98a6&&_0x4d98a6[_0xfd7f('0x19')];_0x5444d1&&(this[_0xfd7f('0x2')](_0x5444d1,_0xfd7f('0x34'),()=>this[_0xfd7f('0x26')]=_0x66bfe1),this[_0xfd7f('0x2')](_0x5444d1,_0xfd7f('0x56'),()=>this[_0xfd7f('0x26')]=_0x66bfe1),this[_0xfd7f('0x2')](_0x5444d1,_0xfd7f('0x6'),()=>this['actionIndicator']=null),this[_0xfd7f('0x2')](_0x5444d1,'blur',()=>this[_0xfd7f('0x26')]=null));}[_0xfd7f('0x38')](){const _0x5e1543=super[_0xfd7f('0x38')]();return _0x5e1543['bind'](_0xfd7f('0x2d'))['to'](this),_0x5e1543;}[_0xfd7f('0x36')](){return _0xfd7f('0x5')===this[_0xfd7f('0x4')][_0xfd7f('0x1c')][_0xfd7f('0x54')]['source']?_0xbe8c01(this[_0xfd7f('0x3e')],_0xfd7f('0x53')):_0xbe8c01(this[_0xfd7f('0x3e')],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this[_0xfd7f('0x4')]['isExternal']?_0xfd7f('0x5')===this[_0xfd7f('0x4')][_0xfd7f('0x1c')]['@external'][_0xfd7f('0xa')]?_0xbe8c01(this[_0xfd7f('0x3e')],_0xfd7f('0x46'),this[_0xfd7f('0x4')][_0xfd7f('0x21')][_0xfd7f('0x5e')]):_0xbe8c01(this[_0xfd7f('0x3e')],_0xfd7f('0x50'),this['_model'][_0xfd7f('0x21')][_0xfd7f('0x5e')]):null;}[_0xfd7f('0x4b')](){super[_0xfd7f('0x4b')](),this[_0xfd7f('0x48')](this['editButton'],_0xfd7f('0xd')),this['_attachActions'](this[_0xfd7f('0xf')],_0xfd7f('0x27'));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1b7d=['Comments','requires'];(function(_0x5ac353,_0x1b7dd4){var _0x4e74fb=function(_0x25bd76){while(--_0x25bd76){_0x5ac353['push'](_0x5ac353['shift']());}};_0x4e74fb(++_0x1b7dd4);}(_0x1b7d,0x1e1));var _0x4e74=function(_0x5ac353,_0x1b7dd4){_0x5ac353=_0x5ac353-0x0;var _0x4e74fb=_0x1b7d[_0x5ac353];return _0x4e74fb;};import{Plugin as _0x52a2ff}from'ckeditor5/src/core.js';import _0x3bc444 from'./comments/commentsrepository.js';import _0x29a101 from'./comments/commentsediting.js';import _0x20286b from'./comments/commentsui.js';import _0xb902db from'./commentsonly.js';import _0xf5bfc9 from'./annotations/widesidebar.js';import _0x52db67 from'./annotations/narrowsidebar.js';import _0x124a52 from'./annotations/inlineannotations.js';import _0x5a3cf6 from'./comments/commentsarchiveui.js';import _0x180798 from'./comments/commentsarchive.js';export default class f extends _0x52a2ff{static get[_0x4e74('0x0')](){return[_0x3bc444,_0x29a101,_0x20286b,_0x180798,_0x5a3cf6,_0xb902db,_0xf5bfc9,_0x52db67,_0x124a52];}static get['pluginName'](){return _0x4e74('0x1');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3843=['_disableCommentsOnlyMode','get','commentsOnlyMode','listenTo','delete','commentsOnly','stop','affectsData','clearForceDisabled','isEnabled','_enableCommentsOnlyMode','change:isEnabled','editor','has','requires','commands','view','cut','document','highest','DragDrop','forceDisabled','clipboardInput','stopListening','editing','afterInit','addCommentThread'];(function(_0x40cabd,_0x38434c){const _0x54a6a8=function(_0x4c1945){while(--_0x4c1945){_0x40cabd['push'](_0x40cabd['shift']());}};_0x54a6a8(++_0x38434c);}(_0x3843,0x74));const _0x54a6=function(_0x40cabd,_0x38434c){_0x40cabd=_0x40cabd-0x0;let _0x54a6a8=_0x3843[_0x40cabd];return _0x54a6a8;};import{Plugin as _0x26843d}from'ckeditor5/src/core.js';import _0x5917e2 from'./comments/commentsediting.js';export default class e extends _0x26843d{static get['pluginName'](){return'CommentsOnly';}static get[_0x54a6('0x6')](){return[_0x5917e2];}constructor(_0x3afacb){super(_0x3afacb),this['set'](_0x54a6('0x1'),!0x1),this['on'](_0x54a6('0x3'),(_0x35ad20,_0x398bfd,_0x5ee8b0)=>{_0x5ee8b0?this[_0x54a6('0x2')]():this[_0x54a6('0x13')]();});}[_0x54a6('0x11')](){!this[_0x54a6('0x1')]&&this[_0x54a6('0x4')]['config'][_0x54a6('0x14')](_0x54a6('0x18'))&&(this[_0x54a6('0x1')]=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x2665b9,_0x4d476b]of this[_0x54a6('0x4')][_0x54a6('0x7')])_0x4d476b[_0x54a6('0x1a')]&&_0x54a6('0x12')!==_0x2665b9&&_0x4d476b[_0x54a6('0xd')](_0x54a6('0x15'));this[_0x54a6('0x4')]['plugins'][_0x54a6('0x5')](_0x54a6('0xc'))&&this[_0x54a6('0x4')]['plugins']['get'](_0x54a6('0xc'))[_0x54a6('0xd')]('commentsOnlyMode');const _0x230265=this[_0x54a6('0x4')][_0x54a6('0x10')][_0x54a6('0x8')][_0x54a6('0xa')];this[_0x54a6('0x16')](_0x230265,_0x54a6('0x9'),_0x3250cf=>_0x3250cf[_0x54a6('0x19')](),{'priority':_0x54a6('0xb')}),this[_0x54a6('0x16')](_0x230265,_0x54a6('0xe'),_0x44cbca=>_0x44cbca[_0x54a6('0x19')](),{'priority':'highest'}),this['listenTo'](_0x230265,_0x54a6('0x17'),_0x22a669=>_0x22a669[_0x54a6('0x19')](),{'priority':'highest'});}[_0x54a6('0x13')](){for(const [_0x6a4d5e,_0x354b3b]of this['editor']['commands'])_0x354b3b['affectsData']&&'addCommentThread'!==_0x6a4d5e&&_0x354b3b[_0x54a6('0x0')](_0x54a6('0x15'));this[_0x54a6('0xf')](this[_0x54a6('0x4')][_0x54a6('0x10')]['view']['document']);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x37b05c,_0x1fd017,_0x262007){const t=_0x37b05c['t'];switch(_0x1fd017){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'},_0x262007);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'},_0x262007);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'},_0x262007);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'},_0x262007);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 _0x5dac=['type','observe','class','characterData','attributes','attributeName'];(function(_0x54757e,_0x5dac16){const _0x2e5346=function(_0x13cf5b){while(--_0x13cf5b){_0x54757e['push'](_0x54757e['shift']());}};_0x2e5346(++_0x5dac16);}(_0x5dac,0x1c7));const _0x2e53=function(_0x54757e,_0x5dac16){_0x54757e=_0x54757e-0x0;let _0x2e5346=_0x5dac[_0x54757e];return _0x2e5346;};import{throttle as _0x1f156f}from'lodash-es';export default function Dt(_0x17dd02){const _0x4b1be8=_0x1f156f(_0x17dd02,0x1e),_0x3b07ab=new MutationObserver(_0x1cb2c8=>{for(const _0x208909 of _0x1cb2c8)(_0x2e53('0x5')==_0x208909[_0x2e53('0x1')]&&_0x2e53('0x3')==_0x208909[_0x2e53('0x0')]||'childList'==_0x208909['type']||_0x2e53('0x4')==_0x208909['type'])&&_0x4b1be8();});return{'attach'(_0x136d06){_0x3b07ab[_0x2e53('0x2')](_0x136d06,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x3b07ab['disconnect'](),_0x4b1be8['cancel']();}};}
|
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) );
|