@ckeditor/ckeditor5-comments 35.4.0 → 36.0.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 +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 _0x4766=['ck-comment__info-time','isEditMode','editButton','ck-comment__actions--hidden','ck-annotation__content-wrapper','ck-annotation','ck-annotation__info','push','source','time','extendTemplate','isVisible','@external','_model','ck-comment--edit','locale','div','ck-comment--','EXTERNAL_IMPORT_WORD_AVATAR','removeButton','Reply...','_config','ck-annotation__main','Edit','listenTo','placeholder','bindTemplate','isRemovable','ck-annotation__actions--hidden','ck-comment__info','author','isExternal','pencil','_createCommentInputView','isEnabled','ck-comment--remove','focus','userView','element','Delete\x20comment?','getTemplate','_createEditButton','formatDateTime','isReadOnly','creator','set','showConfirm','change:isRemovable','isEditable','getExternalCommentNote','_attachActions','actionIndicator','then','Remove','cancelConfirm','visibleView','remove','span','ck-comment__user','ck-comment--remove-confirmation','_createRemoveButton','execute','name','importWord','icon','isConfirm','ck-comment__external','ck-comment__wrapper','authoredAt','bind','label','attributes','fire'];(function(_0x427390,_0x4766fc){const _0x416866=function(_0x53b1ae){while(--_0x53b1ae){_0x427390['push'](_0x427390['shift']());}};_0x416866(++_0x4766fc);}(_0x4766,0x75));const _0x4168=function(_0x427390,_0x4766fc){_0x427390=_0x427390-0x0;let _0x416866=_0x4766[_0x427390];return _0x416866;};import{mix as _0x363bf7}from'ckeditor5/src/utils';import{ButtonView as _0x36da23}from'ckeditor5/src/ui';import{icons as _0x1b12c7}from'ckeditor5/src/core';import{UserView as _0x26d65d,ConfirmMixin as _0x114c4d}from'ckeditor5-collaboration/src/collaboration-core';import _0x482ed6 from'./basecommentview';import _0x2ed031 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x2503ea}from'../../../utils/common-translations';export default class rt extends _0x482ed6{constructor(_0x1e890b,_0x35716e,_0x4e0e95){super(_0x1e890b,_0x35716e,_0x4e0e95),this['set'](_0x4168('0x7'),null),this[_0x4168('0x1')](_0x4168('0x36'),_0x2503ea(_0x1e890b,_0x4168('0x31'))),this['set'](_0x4168('0x18'),null),this[_0x4168('0x19')](_0x4168('0x18'))['to'](_0x35716e),this[_0x4168('0x1f')]=this[_0x4168('0x46')](),this[_0x4168('0x30')]=this[_0x4168('0x10')](),this['userView']=new _0x26d65d(_0x1e890b,_0x35716e[_0x4168('0x3b')],this['getUserViewNotificationText']()),this[_0x4168('0x42')][_0x4168('0x27')]({'attributes':{'class':[_0x4168('0xe'),'ck-annotation__user']}}),this[_0x4168('0x35')](_0x35716e,_0x4168('0x3'),()=>this[_0x4168('0xa')]()),this['setTemplate'](this[_0x4168('0x45')]());}['getTemplate'](){const _0x4f1221=this[_0x4168('0x37')],_0x675f31=[{'tag':_0x4168('0x2d'),'attributes':{'class':[_0x4168('0x3a'),_0x4168('0x23')]},'children':[{'tag':_0x4168('0xd'),'children':[{'text':this['userView'][_0x4168('0x12')]}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name']}},{'tag':_0x4168('0x26'),'attributes':{'datetime':_0x4f1221['to'](_0x4168('0x18')),'class':[_0x4168('0x1d'),'ck-annotation__info-time']},'children':[{'text':_0x4f1221['to'](_0x4168('0x18'),_0x43c47c=>this[_0x4168('0x32')][_0x4168('0x47')](_0x43c47c))}]}]},{'tag':_0x4168('0x2d'),'attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x4f1221['if'](_0x4168('0x1e'),_0x4168('0x20')),_0x4f1221['if'](_0x4168('0x1e'),_0x4168('0x39'))]},'children':[this[_0x4168('0x1f')],this[_0x4168('0x30')]]},{'tag':_0x4168('0x2d'),'attributes':{'class':[_0x4168('0x21')]},'children':this[_0x4168('0xb')]}];return this[_0x4168('0x2a')]['isExternal']&&_0x675f31[_0x4168('0x24')]({'tag':'div','attributes':{'class':[_0x4168('0x16')]},'children':[{'text':this[_0x4168('0x5')]()}]}),{'tag':'li','attributes':{'class':[_0x4168('0x17'),_0x4f1221['if'](_0x4168('0x15'),_0x4168('0xf'))],'tabindex':-0x1},'children':[{'tag':_0x4168('0x2d'),'attributes':{'class':['ck-comment',_0x4168('0x22'),_0x4f1221['if']('isEditMode',_0x4168('0x2b')),_0x4f1221['to'](_0x4168('0x7'),_0x1582a5=>_0x1582a5?_0x4168('0x2e')+_0x1582a5:'')],'data-author-id':this[_0x4168('0x2a')][_0x4168('0x3b')]['id'],'data-comment-id':this[_0x4168('0x2a')]['id']},'children':[this[_0x4168('0x42')],{'tag':_0x4168('0x2d'),'attributes':{'class':['ck-comment__main',_0x4168('0x33')]},'children':_0x675f31}]}]};}[_0x4168('0x46')](){const _0x4c5444=new _0x36da23(this[_0x4168('0x2c')]);return _0x4c5444[_0x4168('0x1a')]=_0x2503ea(this[_0x4168('0x2c')],_0x4168('0x34')),_0x4c5444[_0x4168('0x14')]=_0x1b12c7[_0x4168('0x3d')],_0x4c5444[_0x4168('0x27')]({'attributes':{'class':'ck-comment--edit'}}),_0x4c5444[_0x4168('0x19')](_0x4168('0x3f'))['to'](this[_0x4168('0x2a')],'isReadOnly',_0xf2c710=>!_0xf2c710),_0x4c5444['bind'](_0x4168('0x28'))['to'](this[_0x4168('0x2a')],_0x4168('0x4')),_0x4c5444['on'](_0x4168('0x11'),()=>this['switchToEditMode']()),_0x4c5444;}[_0x4168('0x10')](){const _0x23ddfe=new _0x36da23(this[_0x4168('0x2c')]);return _0x23ddfe[_0x4168('0x1a')]=_0x2503ea(this[_0x4168('0x2c')],_0x4168('0x9')),_0x23ddfe[_0x4168('0x14')]=_0x2ed031,_0x23ddfe[_0x4168('0x27')]({'attributes':{'class':_0x4168('0x40')}}),_0x23ddfe[_0x4168('0x19')](_0x4168('0x3f'))['to'](this[_0x4168('0x2a')],_0x4168('0x48'),_0x58719d=>!_0x58719d),_0x23ddfe['bind'](_0x4168('0x28'))['to'](this['_model'],_0x4168('0x38')),_0x23ddfe['on'](_0x4168('0x11'),()=>{this[_0x4168('0x2')](_0x2503ea(this[_0x4168('0x2c')],_0x4168('0x44')),this['element'])[_0x4168('0x8')](()=>{this[_0x4168('0x1c')]('removeComment',this[_0x4168('0x2a')]['id']);});}),_0x23ddfe;}[_0x4168('0x6')](_0x180833,_0x1ede3a){this[_0x4168('0x35')](_0x180833,'mouseenter',()=>this['actionIndicator']=_0x1ede3a),this[_0x4168('0x35')](_0x180833,_0x4168('0x41'),()=>this[_0x4168('0x7')]=_0x1ede3a),this[_0x4168('0x35')](_0x180833,'mouseleave',()=>this[_0x4168('0x7')]=null),this[_0x4168('0x35')](_0x180833,'blur',()=>this['actionIndicator']=null);}[_0x4168('0x3e')](){const _0x28b1d2=super['_createCommentInputView']();return _0x28b1d2[_0x4168('0x19')]('placeholder')['to'](this),_0x28b1d2;}[_0x4168('0x5')](){return _0x4168('0x13')===this[_0x4168('0x2a')][_0x4168('0x1b')]['@external'][_0x4168('0x25')]?_0x2503ea(this[_0x4168('0x2c')],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x2503ea(this[_0x4168('0x2c')],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this[_0x4168('0x2a')][_0x4168('0x3c')]?_0x4168('0x13')===this[_0x4168('0x2a')][_0x4168('0x1b')][_0x4168('0x29')]['source']?_0x2503ea(this[_0x4168('0x2c')],_0x4168('0x2f'),this[_0x4168('0x2a')]['creator']['name']):_0x2503ea(this[_0x4168('0x2c')],'EXTERNAL_AVATAR',this[_0x4168('0x2a')][_0x4168('0x0')][_0x4168('0x12')]):null;}['render'](){super['render'](),this[_0x4168('0x6')](this[_0x4168('0x1f')][_0x4168('0x43')],'edit'),this[_0x4168('0x6')](this[_0x4168('0x30')][_0x4168('0x43')],_0x4168('0xc'));}}_0x363bf7(rt,_0x114c4d);
|
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 _0x48a0=['requires','pluginName'];(function(_0x2cf15a,_0x48a017){var _0x172c44=function(_0x195f57){while(--_0x195f57){_0x2cf15a['push'](_0x2cf15a['shift']());}};_0x172c44(++_0x48a017);}(_0x48a0,0x120));var _0x172c=function(_0x2cf15a,_0x48a017){_0x2cf15a=_0x2cf15a-0x0;var _0x172c44=_0x48a0[_0x2cf15a];return _0x172c44;};import{Plugin as _0x59cc19}from'ckeditor5/src/core';import _0x20f33a from'./comments/commentsrepository';import _0x56276d from'./comments/commentsediting';import _0x1622ac from'./comments/commentsui';import _0x511d13 from'./commentsonly';import _0x37f78f from'./annotations/widesidebar';import _0x4fb377 from'./annotations/narrowsidebar';import _0x5d9a1f from'./annotations/inlineannotations';export default class c extends _0x59cc19{static get[_0x172c('0x0')](){return[_0x20f33a,_0x56276d,_0x1622ac,_0x511d13,_0x37f78f,_0x4fb377,_0x5d9a1f];}static get[_0x172c('0x1')](){return'Comments';}}
|
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 _0x2581=['stop','document','_disableCommentsOnlyMode','DragDrop','forceDisabled','stopListening','_enableCommentsOnlyMode','plugins','addCommentThread','get','set','change:isEnabled','clearForceDisabled','view','isEnabled','affectsData','commentsOnly','cut','commentsOnlyMode','editing','highest','editor','delete','listenTo','requires','commands','CommentsOnly'];(function(_0x5b01b6,_0x2581e0){const _0x53fb6c=function(_0x4fdaba){while(--_0x4fdaba){_0x5b01b6['push'](_0x5b01b6['shift']());}};_0x53fb6c(++_0x2581e0);}(_0x2581,0x1e2));const _0x53fb=function(_0x5b01b6,_0x2581e0){_0x5b01b6=_0x5b01b6-0x0;let _0x53fb6c=_0x2581[_0x5b01b6];return _0x53fb6c;};import{Plugin as _0x33e6c2}from'ckeditor5/src/core';import _0x2426e7 from'./comments/commentsediting';export default class e extends _0x33e6c2{static get['pluginName'](){return _0x53fb('0x3');}static get[_0x53fb('0x1')](){return[_0x2426e7];}constructor(_0x212ab2){super(_0x212ab2),this[_0x53fb('0xe')](_0x53fb('0x12'),null),this['on'](_0x53fb('0xf'),(_0x1ba476,_0xe5dccd,_0x44ff4e)=>{_0x44ff4e?this[_0x53fb('0xa')]():this[_0x53fb('0x6')]();});}['afterInit'](){null===this[_0x53fb('0x12')]&&(this[_0x53fb('0x12')]=!!this[_0x53fb('0x19')]['config'][_0x53fb('0xd')](_0x53fb('0x14')));}[_0x53fb('0xa')](){for(const [_0x21b7ba,_0x1cb78a]of this[_0x53fb('0x19')]['commands'])_0x1cb78a[_0x53fb('0x13')]&&_0x53fb('0xc')!==_0x21b7ba&&_0x1cb78a['forceDisabled'](_0x53fb('0x16'));this['editor']['plugins']['has'](_0x53fb('0x7'))&&this[_0x53fb('0x19')][_0x53fb('0xb')][_0x53fb('0xd')](_0x53fb('0x7'))[_0x53fb('0x8')](_0x53fb('0x16'));const _0x4f9182=this[_0x53fb('0x19')][_0x53fb('0x17')]['view'][_0x53fb('0x5')];this['listenTo'](_0x4f9182,_0x53fb('0x15'),_0xa3b560=>_0xa3b560['stop'](),{'priority':_0x53fb('0x18')}),this['listenTo'](_0x4f9182,'clipboardInput',_0x1d2544=>_0x1d2544[_0x53fb('0x4')](),{'priority':_0x53fb('0x18')}),this[_0x53fb('0x0')](_0x4f9182,_0x53fb('0x1a'),_0x2b4f24=>_0x2b4f24[_0x53fb('0x4')](),{'priority':_0x53fb('0x18')});}[_0x53fb('0x6')](){for(const [_0x4c0713,_0x42975a]of this['editor'][_0x53fb('0x2')])_0x42975a[_0x53fb('0x13')]&&'addCommentThread'!==_0x4c0713&&_0x42975a[_0x53fb('0x10')](_0x53fb('0x16'));this[_0x53fb('0x9')](this['editor'][_0x53fb('0x17')][_0x53fb('0x11')][_0x53fb('0x5')]);}}
|
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(_0x322da9,_0x5eee15,_0x51518a){const t=_0x322da9['t'];switch(_0x5eee15){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'},_0x51518a);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'},_0x51518a);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'},_0x51518a);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'},_0x51518a);}}
|
|
@@ -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 _0x167a=['observe','childList','cancel','attributeName'];(function(_0x1f4df3,_0x167a09){const _0xa39ea8=function(_0x6e2b50){while(--_0x6e2b50){_0x1f4df3['push'](_0x1f4df3['shift']());}};_0xa39ea8(++_0x167a09);}(_0x167a,0xe7));const _0xa39e=function(_0x1f4df3,_0x167a09){_0x1f4df3=_0x1f4df3-0x0;let _0xa39ea8=_0x167a[_0x1f4df3];return _0xa39ea8;};import{throttle as _0x585607}from'lodash-es';export default function lt(_0x3c3dd1){const _0x57018d=_0x585607(_0x3c3dd1,0x1e),_0x7d3790=new MutationObserver(_0x103e55=>{for(const _0x1efbc3 of _0x103e55)('attributes'==_0x1efbc3['type']&&'class'==_0x1efbc3[_0xa39e('0x0')]||_0xa39e('0x2')==_0x1efbc3['type'])&&_0x57018d();});return{'attach'(_0x43adee){_0x7d3790[_0xa39e('0x1')](_0x43adee,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x7d3790['disconnect'](),_0x57018d[_0xa39e('0x3')]();}};}
|
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
|
}
|