@ckeditor/ckeditor5-comments 35.4.0 → 36.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +2 -2
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/ug.js +1 -1
- 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/sr-latn.po +5 -5
- package/lang/translations/sr.po +5 -5
- 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 +7 -7
- 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 +3 -3
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +2 -2
- package/src/annotations/annotations.js +2 -2
- package/src/annotations/annotationsuis.js +2 -2
- package/src/annotations/editorannotations.js +2 -2
- package/src/annotations/inlineannotations.js +2 -2
- package/src/annotations/narrowsidebar.js +2 -2
- package/src/annotations/sidebar.js +2 -2
- package/src/annotations/view/annotationcounterbuttonview.js +2 -2
- package/src/annotations/view/annotationview.js +2 -2
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +2 -2
- package/src/comments/addcommentthreadcommand.js +2 -2
- package/src/comments/commentsediting.js +2 -2
- package/src/comments/commentsrepository.js +2 -2
- package/src/comments/commentsui.js +2 -2
- package/src/comments/integrations/commentsrestrictededitingmode.js +2 -2
- package/src/comments/integrations/importword.js +2 -2
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +2 -2
- package/src/comments/ui/commenteditor/commenteditoruiview.js +2 -2
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +2 -2
- package/src/comments/ui/view/basecommentview.js +2 -2
- package/src/comments/ui/view/collapsedcommentsview.js +2 -2
- package/src/comments/ui/view/commentcontentview.js +2 -2
- package/src/comments/ui/view/commentinputview.js +2 -2
- package/src/comments/ui/view/commentslistview.js +2 -2
- package/src/comments/ui/view/commentthreadinputview.js +2 -2
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +2 -2
- package/src/commentsonly.js +2 -2
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +2 -2
- package/src/utils/createmutationobserver.js +2 -2
- package/theme/commentthread.css +7 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, 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 _0x2bd9=['extendTemplate','placeholder','ck-comment--remove','cancelConfirm','creator','ck-comment__user','ck-annotation__content-wrapper','ck-annotation__actions--hidden','locale','EXTERNAL_COMMENT','ck-comment__actions','isVisible','getExternalCommentNote','ck-comment__info-name','isRemovable','actionIndicator','_createRemoveButton','fire','ck-comment--','then','isReadOnly','ck-comment__actions--hidden','editButton','blur','removeButton','ck-annotation__info-name','ck-annotation__actions','Delete\x20comment?','ck-comment__main','icon','change:isRemovable','mouseleave','render','isEditMode','Remove','_model','_createEditButton','formatDateTime','pencil','bindTemplate','execute','set','element','authoredAt','EXTERNAL_IMPORT_WORD_AVATAR','label','EXTERNAL_IMPORT_WORD_COMMENT','edit','Edit','bind','ck-comment__info-time','getTemplate','div','ck-comment__external','getUserViewNotificationText','ck-comment__wrapper','isEditable','visibleView','attributes','_createCommentInputView','push','focus','isExternal','mouseenter','switchToEditMode','showConfirm','remove','EXTERNAL_AVATAR','userView','_attachActions','_config','isConfirm','time','author','importWord','ck-annotation__info-time','ck-comment--edit','listenTo','ck-annotation'];(function(_0x3e0304,_0x2bd9f5){const _0x1e9361=function(_0x503b85){while(--_0x503b85){_0x3e0304['push'](_0x3e0304['shift']());}};_0x1e9361(++_0x2bd9f5);}(_0x2bd9,0x168));const _0x1e93=function(_0x3e0304,_0x2bd9f5){_0x3e0304=_0x3e0304-0x0;let _0x1e9361=_0x2bd9[_0x3e0304];return _0x1e9361;};import{mix as _0x53506f}from'ckeditor5/src/utils';import{ButtonView as _0x6ab18b}from'ckeditor5/src/ui';import{icons as _0x375560}from'ckeditor5/src/core';import{UserView as _0x2ff62a,ConfirmMixin as _0xe1f3b3}from'ckeditor5-collaboration/src/collaboration-core';import _0x5c4c45 from'./basecommentview';import _0x3a01bc from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x4b4e96}from'../../../utils/common-translations';export default class rt extends _0x5c4c45{constructor(_0x465856,_0x6ca9db,_0x34ddf4){super(_0x465856,_0x6ca9db,_0x34ddf4),this['set'](_0x1e93('0x32'),null),this[_0x1e93('0x4c')](_0x1e93('0x24'),_0x4b4e96(_0x465856,'Reply...')),this[_0x1e93('0x4c')](_0x1e93('0x4e'),null),this['bind'](_0x1e93('0x4e'))['to'](_0x6ca9db),this[_0x1e93('0x39')]=this[_0x1e93('0x47')](),this[_0x1e93('0x3b')]=this['_createRemoveButton'](),this[_0x1e93('0x18')]=new _0x2ff62a(_0x465856,_0x6ca9db[_0x1e93('0x1d')],this[_0x1e93('0xa')]()),this['userView']['extendTemplate']({'attributes':{'class':[_0x1e93('0x28'),'ck-annotation__user']}}),this[_0x1e93('0x21')](_0x6ca9db,_0x1e93('0x41'),()=>this[_0x1e93('0x26')]()),this['setTemplate'](this[_0x1e93('0x7')]());}[_0x1e93('0x7')](){const _0x1c57f1=this[_0x1e93('0x4a')],_0x223904=[{'tag':_0x1e93('0x8'),'attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this[_0x1e93('0x18')]['name']}],'attributes':{'class':[_0x1e93('0x30'),_0x1e93('0x3c')]}},{'tag':_0x1e93('0x1c'),'attributes':{'datetime':_0x1c57f1['to']('authoredAt'),'class':[_0x1e93('0x6'),_0x1e93('0x1f')]},'children':[{'text':_0x1c57f1['to'](_0x1e93('0x4e'),_0x48b640=>this[_0x1e93('0x1a')][_0x1e93('0x48')](_0x48b640))}]}]},{'tag':'div','attributes':{'class':[_0x1e93('0x2d'),_0x1e93('0x3d'),_0x1c57f1['if'](_0x1e93('0x44'),_0x1e93('0x38')),_0x1c57f1['if'](_0x1e93('0x44'),_0x1e93('0x2a'))]},'children':[this[_0x1e93('0x39')],this[_0x1e93('0x3b')]]},{'tag':_0x1e93('0x8'),'attributes':{'class':[_0x1e93('0x29')]},'children':this[_0x1e93('0xd')]}];return this[_0x1e93('0x46')][_0x1e93('0x12')]&&_0x223904[_0x1e93('0x10')]({'tag':_0x1e93('0x8'),'attributes':{'class':[_0x1e93('0x9')]},'children':[{'text':this[_0x1e93('0x2f')]()}]}),{'tag':'li','attributes':{'class':[_0x1e93('0xb'),_0x1c57f1['if'](_0x1e93('0x1b'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x1e93('0x8'),'attributes':{'class':['ck-comment',_0x1e93('0x22'),_0x1c57f1['if']('isEditMode',_0x1e93('0x20')),_0x1c57f1['to'](_0x1e93('0x32'),_0xfd4ff8=>_0xfd4ff8?_0x1e93('0x35')+_0xfd4ff8:'')],'data-author-id':this[_0x1e93('0x46')][_0x1e93('0x1d')]['id'],'data-comment-id':this['_model']['id']},'children':[this['userView'],{'tag':'div','attributes':{'class':[_0x1e93('0x3f'),'ck-annotation__main']},'children':_0x223904}]}]};}[_0x1e93('0x47')](){const _0x43ef8e=new _0x6ab18b(this[_0x1e93('0x2b')]);return _0x43ef8e['label']=_0x4b4e96(this[_0x1e93('0x2b')],_0x1e93('0x4')),_0x43ef8e[_0x1e93('0x40')]=_0x375560[_0x1e93('0x49')],_0x43ef8e[_0x1e93('0x23')]({'attributes':{'class':_0x1e93('0x20')}}),_0x43ef8e[_0x1e93('0x5')]('isEnabled')['to'](this['_model'],_0x1e93('0x37'),_0xd24f17=>!_0xd24f17),_0x43ef8e[_0x1e93('0x5')](_0x1e93('0x2e'))['to'](this[_0x1e93('0x46')],_0x1e93('0xc')),_0x43ef8e['on'](_0x1e93('0x4b'),()=>this[_0x1e93('0x14')]()),_0x43ef8e;}[_0x1e93('0x33')](){const _0x4830aa=new _0x6ab18b(this['locale']);return _0x4830aa[_0x1e93('0x1')]=_0x4b4e96(this[_0x1e93('0x2b')],_0x1e93('0x45')),_0x4830aa[_0x1e93('0x40')]=_0x3a01bc,_0x4830aa[_0x1e93('0x23')]({'attributes':{'class':_0x1e93('0x25')}}),_0x4830aa[_0x1e93('0x5')]('isEnabled')['to'](this[_0x1e93('0x46')],_0x1e93('0x37'),_0x5ce09d=>!_0x5ce09d),_0x4830aa[_0x1e93('0x5')](_0x1e93('0x2e'))['to'](this[_0x1e93('0x46')],_0x1e93('0x31')),_0x4830aa['on'](_0x1e93('0x4b'),()=>{this[_0x1e93('0x15')](_0x4b4e96(this['locale'],_0x1e93('0x3e')),this[_0x1e93('0x4d')])[_0x1e93('0x36')](()=>{this[_0x1e93('0x34')]('removeComment',this['_model']['id']);});}),_0x4830aa;}['_attachActions'](_0x3ab93b,_0x45b1f3){this[_0x1e93('0x21')](_0x3ab93b,_0x1e93('0x13'),()=>this[_0x1e93('0x32')]=_0x45b1f3),this['listenTo'](_0x3ab93b,_0x1e93('0x11'),()=>this[_0x1e93('0x32')]=_0x45b1f3),this['listenTo'](_0x3ab93b,_0x1e93('0x42'),()=>this[_0x1e93('0x32')]=null),this['listenTo'](_0x3ab93b,_0x1e93('0x3a'),()=>this['actionIndicator']=null);}[_0x1e93('0xf')](){const _0x3bae17=super[_0x1e93('0xf')]();return _0x3bae17[_0x1e93('0x5')](_0x1e93('0x24'))['to'](this),_0x3bae17;}[_0x1e93('0x2f')](){return'importWord'===this[_0x1e93('0x46')][_0x1e93('0xe')]['@external']['source']?_0x4b4e96(this['locale'],_0x1e93('0x2')):_0x4b4e96(this[_0x1e93('0x2b')],_0x1e93('0x2c'));}[_0x1e93('0xa')](){return this[_0x1e93('0x46')][_0x1e93('0x12')]?_0x1e93('0x1e')===this[_0x1e93('0x46')][_0x1e93('0xe')]['@external']['source']?_0x4b4e96(this[_0x1e93('0x2b')],_0x1e93('0x0'),this[_0x1e93('0x46')][_0x1e93('0x27')]['name']):_0x4b4e96(this['locale'],_0x1e93('0x17'),this['_model'][_0x1e93('0x27')]['name']):null;}[_0x1e93('0x43')](){super['render'](),this['_attachActions'](this['editButton'][_0x1e93('0x4d')],_0x1e93('0x3')),this[_0x1e93('0x19')](this['removeButton'][_0x1e93('0x4d')],_0x1e93('0x16'));}}_0x53506f(rt,_0xe1f3b3);
|
package/src/comments.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, 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 _0x3c67=['Comments','pluginName'];(function(_0x2034dd,_0x3c67a1){var _0x541e17=function(_0x5c03d3){while(--_0x5c03d3){_0x2034dd['push'](_0x2034dd['shift']());}};_0x541e17(++_0x3c67a1);}(_0x3c67,0xeb));var _0x541e=function(_0x2034dd,_0x3c67a1){_0x2034dd=_0x2034dd-0x0;var _0x541e17=_0x3c67[_0x2034dd];return _0x541e17;};import{Plugin as _0x3cb9d8}from'ckeditor5/src/core';import _0x5528e9 from'./comments/commentsrepository';import _0x1e78ca from'./comments/commentsediting';import _0x150365 from'./comments/commentsui';import _0x555682 from'./commentsonly';import _0x1b494c from'./annotations/widesidebar';import _0x177f4a from'./annotations/narrowsidebar';import _0x7ad4d5 from'./annotations/inlineannotations';export default class c extends _0x3cb9d8{static get['requires'](){return[_0x5528e9,_0x1e78ca,_0x150365,_0x555682,_0x1b494c,_0x177f4a,_0x7ad4d5];}static get[_0x541e('0x0')](){return _0x541e('0x1');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, 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 _0x107a=['commentsOnly','isEnabled','get','addCommentThread','plugins','pluginName','clearForceDisabled','delete','CommentsOnly','commentsOnlyMode','highest','editing','forceDisabled','editor','document','stop','afterInit','view','_enableCommentsOnlyMode','config','listenTo','clipboardInput','commands','set','DragDrop','_disableCommentsOnlyMode'];(function(_0x4b42e6,_0x107a90){const _0x3356b7=function(_0x1448c7){while(--_0x1448c7){_0x4b42e6['push'](_0x4b42e6['shift']());}};_0x3356b7(++_0x107a90);}(_0x107a,0x1a0));const _0x3356=function(_0x4b42e6,_0x107a90){_0x4b42e6=_0x4b42e6-0x0;let _0x3356b7=_0x107a[_0x4b42e6];return _0x3356b7;};import{Plugin as _0x174458}from'ckeditor5/src/core';import _0x16f913 from'./comments/commentsediting';export default class e extends _0x174458{static get[_0x3356('0x5')](){return _0x3356('0x8');}static get['requires'](){return[_0x16f913];}constructor(_0x1c062c){super(_0x1c062c),this[_0x3356('0x17')](_0x3356('0x1'),null),this['on']('change:isEnabled',(_0x16bdb7,_0x5799e1,_0x1f6cfd)=>{_0x1f6cfd?this[_0x3356('0x12')]():this[_0x3356('0x19')]();});}[_0x3356('0x10')](){null===this[_0x3356('0x1')]&&(this[_0x3356('0x1')]=!!this[_0x3356('0xd')][_0x3356('0x13')][_0x3356('0x2')](_0x3356('0x0')));}[_0x3356('0x12')](){for(const [_0x1986ff,_0x9d97a4]of this['editor']['commands'])_0x9d97a4['affectsData']&&_0x3356('0x3')!==_0x1986ff&&_0x9d97a4[_0x3356('0xc')]('commentsOnlyMode');this[_0x3356('0xd')]['plugins']['has']('DragDrop')&&this['editor'][_0x3356('0x4')][_0x3356('0x2')](_0x3356('0x18'))[_0x3356('0xc')](_0x3356('0x9'));const _0x4ad6de=this[_0x3356('0xd')][_0x3356('0xb')][_0x3356('0x11')][_0x3356('0xe')];this[_0x3356('0x14')](_0x4ad6de,'cut',_0x505c95=>_0x505c95[_0x3356('0xf')](),{'priority':_0x3356('0xa')}),this[_0x3356('0x14')](_0x4ad6de,_0x3356('0x15'),_0x1320e3=>_0x1320e3[_0x3356('0xf')](),{'priority':_0x3356('0xa')}),this[_0x3356('0x14')](_0x4ad6de,_0x3356('0x7'),_0x20974c=>_0x20974c[_0x3356('0xf')](),{'priority':_0x3356('0xa')});}[_0x3356('0x19')](){for(const [_0x304aee,_0x3a2546]of this[_0x3356('0xd')][_0x3356('0x16')])_0x3a2546['affectsData']&&_0x3356('0x3')!==_0x304aee&&_0x3a2546[_0x3356('0x6')]('commentsOnlyMode');this['stopListening'](this[_0x3356('0xd')][_0x3356('0xb')]['view'][_0x3356('0xe')]);}}
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, 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(_0x5209e8,_0x2f6b20,_0x5e89e3){const t=_0x5209e8['t'];switch(_0x2f6b20){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'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Remove':return t('Remove');case'Submit':return t('Submit');case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5e89e3);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'},_0x5e89e3);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'},_0x5e89e3);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'},_0x5e89e3);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, 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 _0x1644=['disconnect','attributeName','attributes','type','observe','childList','cancel','class'];(function(_0x5496d9,_0x1644e1){const _0x4b0532=function(_0x305d02){while(--_0x305d02){_0x5496d9['push'](_0x5496d9['shift']());}};_0x4b0532(++_0x1644e1);}(_0x1644,0x1c7));const _0x4b05=function(_0x5496d9,_0x1644e1){_0x5496d9=_0x5496d9-0x0;let _0x4b0532=_0x1644[_0x5496d9];return _0x4b0532;};import{throttle as _0x418539}from'lodash-es';export default function lt(_0x3c8558){const _0x446637=_0x418539(_0x3c8558,0x1e),_0x4310f6=new MutationObserver(_0x4c0d51=>{for(const _0x32d601 of _0x4c0d51)(_0x4b05('0x3')==_0x32d601[_0x4b05('0x4')]&&_0x4b05('0x0')==_0x32d601[_0x4b05('0x2')]||_0x4b05('0x6')==_0x32d601[_0x4b05('0x4')])&&_0x446637();});return{'attach'(_0x27e656){_0x4310f6[_0x4b05('0x5')](_0x27e656,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x4310f6[_0x4b05('0x1')](),_0x446637[_0x4b05('0x7')]();}};}
|
package/theme/commentthread.css
CHANGED
|
@@ -151,4 +151,11 @@
|
|
|
151
151
|
|
|
152
152
|
transition: background-color 200ms ease-in-out;
|
|
153
153
|
border-radius: var(--ck-border-radius);
|
|
154
|
+
|
|
155
|
+
/*
|
|
156
|
+
This is equal to the height of the wrapper when the editor instance is loaded.
|
|
157
|
+
Editor instance is loaded _after_ the comment view is created,
|
|
158
|
+
so the min-height is set to avoid jitter.
|
|
159
|
+
*/
|
|
160
|
+
min-height: 38px;
|
|
154
161
|
}
|