@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20260108.0 → 0.0.0-nightly-next-20260109.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/dist/index.js +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x365b07,Plugin as _0x553578}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x4eb663,CKEditorError as _0x5f400b,uid as _0x2aeacf,Collection as _0x428dfd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x4eaa03,isPercentageStyleValue as _0x10ea26}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x5a0e15,createDropdown as _0x4af3e8,addListToDropdown as _0x3e8af9,MenuBarMenuView as _0x10c710,MenuBarMenuListView as _0x5ee79e,MenuBarMenuListItemView as _0x3eff14,MenuBarMenuListItemButtonView as _0x1b53a4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x2e6229}from'@ckeditor/ckeditor5-icons/dist/index.js';class p extends _0x365b07{['refresh'](){const _0x3e6826=this['editor']['model']['document'],_0x231da1=_0x4eb663(_0x3e6826['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x231da1)&&this['_canHaveLineHeight'](_0x231da1),this['value']=this['isEnabled']&&_0x231da1['getAttribute']('lineHeight');}['execute'](_0x4204c7={}){const _0x267c44=this['editor']['model'],_0x29b1f2=_0x267c44['document']['selection'],_0x507601=_0x4204c7['value'];_0x267c44['change'](_0x1510bd=>{const _0x40fb56=Array['from'](_0x29b1f2['getSelectedBlocks']())['filter'](_0x4be4da=>this['_canHaveLineHeight'](_0x4be4da));for(const _0x41625a of _0x40fb56)_0x507601?_0x1510bd['setAttribute']('lineHeight',_0x507601,_0x41625a):_0x1510bd['removeAttribute']('lineHeight',_0x41625a);});}['_canHaveLineHeight'](_0x3207dc){return this['editor']['model']['schema']['checkAttribute'](_0x3207dc,'lineHeight');}}const y={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function H(_0x3180e0){return'string'==typeof _0x3180e0&&'default'===_0x3180e0['toLowerCase']();}function L(_0x17ac19){return _0x17ac19['options']['map'](_0x75ec8a=>{return H(_0x75ec8a)?{'title':String(_0x17ac19['defaultValue']),'model':'default'}:('number'==typeof _0x75ec8a&&(_0x75ec8a=String(_0x75ec8a)),'string'!=typeof _0x75ec8a?_0x75ec8a:parseFloat(_0x75ec8a)?{'title':_0x75ec8a,'model':_0x75ec8a,'view':{'name':'span','styles':{'line-height':_0x75ec8a}}}:'string'==typeof(_0x2d70ba=_0x75ec8a)?y[_0x2d70ba]:y[_0x2d70ba['model']]);var _0x2d70ba;})['filter'](_0x220262=>void 0x0!==_0x220262);}class v extends _0x553578{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x59ad76,conversion:_0xec852c}=this['editor'];if(!_0x59ad76['has']('ListEditing')||!_0x59ad76['has']('TodoListEditing'))return;_0x59ad76['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x370ab3,_0x54a749,_0x50e590,_0x42778c,_0x505241){'todo'==_0x505241['getAttribute']('listType')&&_0x54a749&&(_0x370ab3['addClass']('ck-list-marker-line-height',_0x50e590),_0x370ab3['setStyle']('--ck-content-list-marker-line-height',_0x54a749,_0x50e590));}}),_0xec852c['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0xec852c['for']('upcast')['add'](_0x3da099=>{_0x3da099['on']('element:li',function(_0x1d37a9){const _0x201597=new _0x4eaa03(_0x1d37a9);return(_0x3d7f90,_0x16fc73,_0x50e888)=>{const _0x982a02=_0x201597['match'](_0x16fc73['viewItem']);if(!_0x982a02)return;const _0x1059f7=_0x982a02['match'];_0x1059f7['name']=!0x1,_0x50e888['consumable']['consume'](_0x16fc73['viewItem'],_0x1059f7);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class b extends _0x553578{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x348fff){super(_0x348fff),_0x348fff['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x45f587=this['editor'];this['_validateConfig'](),_0x45f587['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x45f587['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x45f587['commands']['add']('lineHeight',new p(_0x45f587)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x1cd10f){const _0x40f8ce=_0x217d1a([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0xd91ff1=0x45ddd215,_0x59b61a=0x45daac2d^_0xd91ff1,_0x25ec2d=window[_0x217d1a([0x44,0x61,0x74,0x65])][_0x217d1a([0x6e,0x6f,0x77])](),_0x2756a3=_0x1cd10f[_0x217d1a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x16e9d8=new window[(_0x217d1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a0d8e=>{_0x2756a3[_0x217d1a([0x6f,0x6e,0x63,0x65])](_0x217d1a([0x72,0x65,0x61,0x64,0x79]),_0x1a0d8e);}),_0x42ab39={[_0x217d1a([0x6b,0x74,0x79])]:_0x217d1a([0x45,0x43]),[_0x217d1a([0x75,0x73,0x65])]:_0x217d1a([0x73,0x69,0x67]),[_0x217d1a([0x63,0x72,0x76])]:_0x217d1a([0x50,0x2d,0x32,0x35,0x36]),[_0x217d1a([0x78])]:_0x217d1a([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x217d1a([0x79])]:_0x217d1a([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x217d1a([0x61,0x6c,0x67])]:_0x217d1a([0x45,0x53,0x32,0x35,0x36])},_0x28f32b=_0x2756a3[_0x217d1a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x217d1a([0x67,0x65,0x74])](_0x217d1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6ea88b(){let _0x1ded13,_0x3c167c=null,_0x301444=null;try{if(_0x28f32b==_0x217d1a([0x47,0x50,0x4c]))return _0x217d1a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ded13=_0x24888a(),!_0x1ded13)return _0x217d1a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ded13[_0x217d1a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x301444=_0x39d158(_0x1ded13[_0x217d1a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ded13[_0x217d1a([0x6a,0x74,0x69])])),await _0x2a9770()?_0x24f7cd()?_0x140d55()?_0x217d1a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb5e454()?(_0x1ded13[_0x217d1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x217d1a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c167c=_0x17bcf8(_0x217d1a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xcf596()):_0x217d1a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x217d1a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x217d1a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x217d1a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x140d55(){const _0x112899=[_0x217d1a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x217d1a([0x74,0x72,0x69,0x61,0x6c])][_0x217d1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ded13[_0x217d1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25ec2d/0x3e8:0xe10*_0x59b61a;return _0x1ded13[_0x217d1a([0x65,0x78,0x70])]<_0x112899;}function _0x24f7cd(){const _0x3f854f=_0x1ded13[_0x217d1a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3f854f&&(!!_0x3f854f[_0x217d1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x217d1a([0x2a]))||!!_0x3f854f[_0x217d1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x217d1a([0x4c,0x48])));}function _0xb5e454(){const _0x4af17c=_0x1ded13[_0x217d1a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4af17c||0x0==_0x4af17c[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x224576}=new URL(window[_0x217d1a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4af17c[_0x217d1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x224576))return!0x0;const _0x64a920=_0x224576[_0x217d1a([0x73,0x70,0x6c,0x69,0x74])](_0x217d1a([0x2e]));return _0x4af17c[_0x217d1a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x547af7=>_0x547af7[_0x217d1a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x217d1a([0x2a])))[_0x217d1a([0x6d,0x61,0x70])](_0x9d24b2=>_0x9d24b2[_0x217d1a([0x73,0x70,0x6c,0x69,0x74])](_0x217d1a([0x2e])))[_0x217d1a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1419bd=>_0x1419bd[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x64a920[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x217d1a([0x6d,0x61,0x70])](_0x2077b=>Array(_0x64a920[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2077b[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x217d1a([0x66,0x69,0x6c,0x6c])](_0x2077b[0x0]===_0x217d1a([0x2a])?_0x217d1a([0x2a]):'')[_0x217d1a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2077b))[_0x217d1a([0x73,0x6f,0x6d,0x65])](_0x5362d4=>_0x64a920[_0x217d1a([0x65,0x76,0x65,0x72,0x79])]((_0x30a8ed,_0x5e8c27)=>_0x5362d4[_0x5e8c27]===_0x30a8ed||_0x5362d4[_0x5e8c27]===_0x217d1a([0x2a])));}function _0xcf596(){return _0x3c167c&&_0x301444?new window[(_0x217d1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x301cb4,_0x3cf5f2)=>{_0x3c167c[_0x217d1a([0x74,0x68,0x65,0x6e])](_0x301cb4,_0x3cf5f2),_0x301444[_0x217d1a([0x74,0x68,0x65,0x6e])](_0x212155=>{_0x212155!=_0x217d1a([0x56,0x61,0x6c,0x69,0x64])&&_0x301cb4(_0x212155);},_0x3cf5f2);}):_0x3c167c||_0x301444||_0x217d1a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x39d158(_0x3383e8,_0x17ed71){return new window[(_0x217d1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7fdaa8=>{if(_0x3c2c20())return _0x7fdaa8(_0x217d1a([0x56,0x61,0x6c,0x69,0x64]));_0x5e8702(),_0x2756a3[_0x217d1a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x217d1a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c2f31=!0x1;const _0x5b28f3=_0x2aeacf();function _0x78cf4a(_0x1ad6eb){return!!_0x1ad6eb&&(typeof _0x1ad6eb===_0x217d1a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ad6eb===_0x217d1a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ad6eb[_0x217d1a([0x74,0x68,0x65,0x6e])]===_0x217d1a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ad6eb[_0x217d1a([0x63,0x61,0x74,0x63,0x68])]===_0x217d1a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x58e562(_0x25a44d){_0x173f58(_0x25a44d)[_0x217d1a([0x74,0x68,0x65,0x6e])](_0x597034=>{if(!_0x597034||_0x597034[_0x217d1a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x217d1a([0x6f,0x6b]))return _0x217d1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5285d7(_0x50430a(_0x5b28f3+_0x17ed71))!=_0x597034[_0x217d1a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x217d1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x217d1a([0x56,0x61,0x6c,0x69,0x64]);})[_0x217d1a([0x74,0x68,0x65,0x6e])](_0x4fe8b6=>(_0x514e64(),_0x4fe8b6),()=>{const _0x4e1499=_0x27be99();return null==_0x4e1499?(_0x514e64(),_0x217d1a([0x56,0x61,0x6c,0x69,0x64])):_0x217d1a(_0x25ec2d-_0x4e1499>(0x61d15615^_0xd91ff1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x217d1a([0x74,0x68,0x65,0x6e])](_0x7fdaa8)[_0x217d1a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7fdaa8(_0x217d1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5bb81b=0x45eb3c95^_0xd91ff1;function _0x514e64(){const _0x48b6ed=_0x217d1a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5285d7(_0x50430a(_0x3383e8)),_0x1cef3f=_0x2f4da8(_0x5285d7(window[_0x217d1a([0x4d,0x61,0x74,0x68])][_0x217d1a([0x63,0x65,0x69,0x6c])](_0x25ec2d/_0x5bb81b)));window[_0x217d1a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x217d1a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48b6ed,_0x1cef3f);}function _0x27be99(){const _0x26c739=_0x217d1a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5285d7(_0x50430a(_0x3383e8)),_0x5a1877=window[_0x217d1a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x217d1a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26c739);return _0x5a1877?window[_0x217d1a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f4da8(_0x5a1877),0x10)*_0x5bb81b:null;}function _0x173f58(_0x47dc99){return new window[(_0x217d1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe77184,_0x1ae3df)=>{_0x47dc99[_0x217d1a([0x74,0x68,0x65,0x6e])](_0xe77184,_0x1ae3df),window[_0x217d1a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1ae3df,0x45dc06d5^_0xd91ff1);});}}_0x2756a3[_0x217d1a([0x6f,0x6e])](_0x217d1a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d05f4,_0x219494)=>{if(_0x219494[0x0]!=_0x3383e8)return _0x7fdaa8(_0x217d1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x219494[0x1]={..._0x219494[0x1],[_0x217d1a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b28f3};},{[_0x217d1a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x217d1a([0x68,0x69,0x67,0x68])}),_0x2756a3[_0x217d1a([0x6f,0x6e])](_0x217d1a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x188741=>{_0x78cf4a(_0x188741[_0x217d1a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c2f31=!0x0,_0x58e562(_0x188741[_0x217d1a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x217d1a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x217d1a([0x6c,0x6f,0x77])}),_0x16e9d8[_0x217d1a([0x74,0x68,0x65,0x6e])](()=>{_0x4c2f31||_0x7fdaa8(_0x217d1a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c2c20(){return _0x2756a3[_0x217d1a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x217d1a([0x76,0x69,0x65,0x77])][_0x217d1a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x217d1a([0x61,0x75,0x74,0x6f]);}function _0x5e8702(){_0x2756a3[_0x217d1a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x217d1a([0x76,0x69,0x65,0x77])][_0x217d1a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x217d1a([0x61,0x75,0x74,0x6f]);}}function _0x17bcf8(_0x5730bf){const _0x36579c=[new window[(_0x217d1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4527d4=>setTimeout(_0x4527d4,0x45d4ecd9^_0xd91ff1)),_0x16e9d8[_0x217d1a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x217d1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x432b6b=>{let _0x4cf67d=0x0;_0x2756a3[_0x217d1a([0x6d,0x6f,0x64,0x65,0x6c])][_0x217d1a([0x6f,0x6e])](_0x217d1a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59f5c8,_0x44b6c6)=>{_0x44b6c6[0x0][_0x217d1a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4cf67d++,_0x4cf67d==(0x45ddd7fd^_0xd91ff1)&&(_0x432b6b(),_0x59f5c8[_0x217d1a([0x6f,0x66,0x66])]());});}))];return window[_0x217d1a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x217d1a([0x72,0x61,0x63,0x65])](_0x36579c)[_0x217d1a([0x74,0x68,0x65,0x6e])](()=>_0x5730bf);}async function _0x17bda1(){await _0x16e9d8,_0x2756a3[_0x217d1a([0x6d,0x6f,0x64,0x65,0x6c])][_0x217d1a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa55c80,_0x2756a3[_0x217d1a([0x6d,0x6f,0x64,0x65,0x6c])][_0x217d1a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa55c80,_0x2756a3[_0x217d1a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x217d1a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a0afa(_0x462e19){const _0x3ed9c9=_0x403b87();_0x2756a3[_0x3ed9c9]=_0x217d1a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x462e19,_0x462e19!=_0x217d1a([0x56,0x61,0x6c,0x69,0x64])&&_0x17bda1();}function _0x403b87(){const _0xb555d1=window[_0x217d1a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x217d1a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x217d1a([0x6e,0x6f,0x77])]())[_0x217d1a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x217d1a([0x2e]),'');let _0x64fa15=_0x217d1a([0x50]);for(let _0x58de47=0x0;_0x58de47<_0xb555d1[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58de47+=0x2){let _0x2e7ee6=window[_0x217d1a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb555d1[_0x217d1a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58de47,_0x58de47+0x2));_0x2e7ee6>=_0x40f8ce[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e7ee6-=_0x40f8ce[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x64fa15+=_0x40f8ce[_0x2e7ee6];}return _0x64fa15;}function _0x24888a(){const _0x17924a=_0x28f32b[_0x217d1a([0x73,0x70,0x6c,0x69,0x74])](_0x217d1a([0x2e]));if(0x3!=_0x17924a[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x485a11(_0x17924a[0x1]);function _0x485a11(_0x370dc9){const _0x28374e=_0x3ffdbd(_0x370dc9);return _0x28374e&&_0x3845d7()?_0x28374e:null;function _0x3845d7(){const _0x50858b=_0x28374e[_0x217d1a([0x6a,0x74,0x69])],_0x53a824=window[_0x217d1a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50858b[_0x217d1a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50858b[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xddd71e={..._0x28374e,[_0x217d1a([0x6a,0x74,0x69])]:_0x50858b[_0x217d1a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x50858b[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xddd71e[_0x217d1a([0x76,0x63])],_0x50430a(_0xddd71e)==_0x53a824;}}}async function _0x2a9770(){let _0x41fa22=!0x0;try{const _0x51fa0d=_0x28f32b[_0x217d1a([0x73,0x70,0x6c,0x69,0x74])](_0x217d1a([0x2e])),[_0x28474a,_0x31da9a,_0x808b48]=_0x51fa0d;return _0x18405b(_0x28474a),await _0x4722d7(_0x28474a,_0x31da9a,_0x808b48),_0x41fa22;}catch{return!0x1;}function _0x18405b(_0x54c597){const _0x436a96=_0x3ffdbd(_0x54c597);_0x436a96&&_0x436a96[_0x217d1a([0x61,0x6c,0x67])]==_0x217d1a([0x45,0x53,0x32,0x35,0x36])||(_0x41fa22=!0x1);}async function _0x4722d7(_0x4813b5,_0x5c8b9f,_0x5d0e95){const _0x249dd9=window[_0x217d1a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x217d1a([0x66,0x72,0x6f,0x6d])](_0x1a682b(_0x5d0e95),_0x1ee379=>_0x1ee379[_0x217d1a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2027b8=new window[(_0x217d1a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x217d1a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4813b5+_0x217d1a([0x2e])+_0x5c8b9f),_0x2f1da9=window[_0x217d1a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x217d1a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f1da9)return;const _0x31e664=await _0x2f1da9[_0x217d1a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x217d1a([0x6a,0x77,0x6b]),_0x42ab39,{[_0x217d1a([0x6e,0x61,0x6d,0x65])]:_0x217d1a([0x45,0x43,0x44,0x53,0x41]),[_0x217d1a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x217d1a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x217d1a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f1da9[_0x217d1a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x217d1a([0x6e,0x61,0x6d,0x65])]:_0x217d1a([0x45,0x43,0x44,0x53,0x41]),[_0x217d1a([0x68,0x61,0x73,0x68])]:{[_0x217d1a([0x6e,0x61,0x6d,0x65])]:_0x217d1a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31e664,_0x249dd9,_0x2027b8)||(_0x41fa22=!0x1);}}function _0x3ffdbd(_0x5be436){return _0x5be436[_0x217d1a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x217d1a([0x65,0x79]))?JSON[_0x217d1a([0x70,0x61,0x72,0x73,0x65])](_0x1a682b(_0x5be436)):null;}function _0x1a682b(_0x2e60d4){return window[_0x217d1a([0x61,0x74,0x6f,0x62])](_0x2e60d4[_0x217d1a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x217d1a([0x2b]))[_0x217d1a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x217d1a([0x2f])));}function _0x50430a(_0x1bbef6){let _0x872fd1=0x1505;function _0x5a0a6f(_0x26b52a){for(let _0x2a9b45=0x0;_0x2a9b45<_0x26b52a[_0x217d1a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a9b45++){const _0x506bff=_0x26b52a[_0x217d1a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a9b45);_0x872fd1=(_0x872fd1<<0x5)+_0x872fd1+_0x506bff,_0x872fd1&=_0x872fd1;}}function _0xd77e07(_0x402013){Array[_0x217d1a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x402013)?_0x402013[_0x217d1a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd77e07):_0x402013&&typeof _0x402013==_0x217d1a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x217d1a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x402013)[_0x217d1a([0x73,0x6f,0x72,0x74])]()[_0x217d1a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x49c701,_0x47824b])=>{_0x5a0a6f(_0x49c701),_0xd77e07(_0x47824b);}):_0x5a0a6f(window[_0x217d1a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x402013));}return _0xd77e07(_0x1bbef6),_0x872fd1>>>0x0;}function _0x5285d7(_0x152de7){return _0x152de7[_0x217d1a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x217d1a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x217d1a([0x30]));}function _0x2f4da8(_0x240505){return _0x240505[_0x217d1a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x217d1a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x217d1a([0x6a,0x6f,0x69,0x6e])]('');}function _0xa55c80(){}function _0x217d1a(_0xeaa0ce){return _0xeaa0ce['map'](_0x47ce48=>String['fromCharCode'](_0x47ce48))['join']('');}_0x2a0afa(await _0x6ea88b());}(this);}['_validateConfig'](){const _0x47db4d=this['editor'];if(!_0x47db4d['config']['get']('lineHeight.supportAllValues'))return;const _0x5b4a49=_0x47db4d['config']['get']('lineHeight.options')['filter'](_0x3d482b=>'string'==typeof _0x3d482b&&(!H(_0x3d482b)&&isNaN(Number(_0x3d482b))));if(_0x5b4a49['length'])throw new _0x5f400b('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5b4a49});}['_prepareAnyValueConverters'](){const _0x1fdbad=this['editor'],_0x59814f=this['editor']['config']['get']('lineHeight.defaultValue');_0x1fdbad['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x33ac15=>String(_0x33ac15)===String(_0x59814f)?null:{'key':'style','value':{'line-height':_0x33ac15}}}),_0x1fdbad['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0xe4845c=>{let _0x5cb7e7=_0xe4845c['getStyle']('line-height');return _0x10ea26(_0x5cb7e7)&&(_0x5cb7e7=String(Number(_0x5cb7e7['slice'](0x0,-0x1))/0x64)),String(_0x5cb7e7)===String(_0x59814f)?null:_0x5cb7e7;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x2b2c69=this['editor'],_0xf3e567=this['editor']['config']['get']('lineHeight.defaultValue'),_0xa672e5=function(_0x1a107c,_0x288822){const _0x4478b6={'model':{'key':_0x1a107c,'values':[]},'view':{}};for(const _0xc6e05c of _0x288822)'class'===_0xc6e05c['view']?.['key']?(_0x4478b6['model']['values']['push'](_0xc6e05c['model']),_0x4478b6['view'][_0xc6e05c['model']]={'key':'class','value':_0xc6e05c['view']['value']}):(_0x4478b6['model']['values']['push'](_0xc6e05c['model']),_0x4478b6['view'][_0xc6e05c['model']]={'key':'style','value':'line-height:'+_0xc6e05c['model']+';'});return _0x4478b6;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x5af0bb=>_0x5af0bb['model']));_0x2b2c69['conversion']['attributeToAttribute'](_0xa672e5),_0x2b2c69['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x2b5824=>{let _0x2946f3=_0x2b5824['getStyle']('line-height');return _0x10ea26(_0x2946f3)&&(_0x2946f3=String(Number(_0x2946f3['slice'](0x0,-0x1))/0x64)),_0x2946f3===String(_0xf3e567)?null:_0xa672e5['model']['values']['includes'](_0x2946f3)?_0x2946f3:null;}}});}}class k extends _0x553578{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x161699={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x161699),this['_registerMenuBarComponent'](_0x161699),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5da00c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3749b0;for(const _0x252e13 in _0x5da00c){const _0x2ab3d4=_0x252e13,_0x1c4b93=_0x5da00c[_0x2ab3d4];if('lineHeightLicenseKeyValid'==_0x1c4b93||'lineHeightLicenseKeyInvalid'==_0x1c4b93||'lineHeightLicenseKeyExpired'==_0x1c4b93||'lineHeightLicenseKeyDomainLimit'==_0x1c4b93||'lineHeightLicenseKeyNotAllowed'==_0x1c4b93||'lineHeightLicenseKeyEvaluationLimit'==_0x1c4b93||'lineHeightLicenseKeyUsageLimit'==_0x1c4b93){delete _0x5da00c[_0x2ab3d4],_0x3749b0=_0x1c4b93,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3749b0&&_0x5da00c['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3749b0&&_0x5da00c['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3749b0&&_0x5da00c['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3749b0&&_0x5da00c['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3749b0&&_0x5da00c['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3749b0&&_0x5da00c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2dbeab=this['editor'],t=_0x2dbeab['t'],_0x3cd94c=_0x2dbeab['config']['get']('lineHeight'),_0x510916={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x3cd94c)['map'](_0x2cf5f3=>{const _0x499de2=_0x510916[_0x2cf5f3['title']];return _0x499de2&&_0x499de2!=_0x2cf5f3['title']&&(_0x2cf5f3=Object['assign']({},_0x2cf5f3,{'title':_0x499de2})),_0x2cf5f3;});}['_prepareListOptions'](){const _0x37c75d=this['editor']['commands']['get']('lineHeight'),_0x4c7a85=this['editor']['config']['get']('lineHeight.defaultValue'),_0x464a7a=this['_getLocalizedLineHeightOptions'](),_0x1336da=new _0x428dfd(),_0xdefc40=_0xfc96d8=>'default'===_0xfc96d8||String(_0x4c7a85)===_0xfc96d8;for(const _0xfb986b of _0x464a7a){const _0xf0ac3f={'type':'button','model':new _0x5a0e15({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xfb986b['title'],'withText':!0x0})};_0xdefc40(_0xfb986b['model'])?(_0xf0ac3f['model']['bind']('isOn')['to'](_0x37c75d,'value',_0x3f72f4=>!_0x3f72f4),_0xf0ac3f['model']['commandParam']=void 0x0):(_0xf0ac3f['model']['bind']('isOn')['to'](_0x37c75d,'value',_0x5d2542=>_0x5d2542===_0xfb986b['model']),_0xf0ac3f['model']['commandParam']=_0xfb986b['model']),_0x1336da['add'](_0xf0ac3f);}if(this['_shouldRenderCustomValueOption']()){const _0x4b47f2=this['_getCustomValueOptionDefinition'](_0x464a7a);_0x1336da['add'](_0x4b47f2);}return _0x1336da;}['_getCustomValueOptionDefinition'](_0x3886b3){const _0xcc790c=this['editor'],t=_0xcc790c['t'],_0x3e04aa=_0xcc790c['commands']['get']('lineHeight'),_0x1dc2b5=_0x3886b3['map'](_0x450170=>_0x450170['model']),_0x4c775={'type':'button','model':new _0x5a0e15({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4c775['model']['bind']('commandParam')['to'](_0x3e04aa,'value'),_0x4c775['model']['bind']('isOn')['to'](_0x3e04aa,'value',_0x171926=>!!_0x171926&&!_0x1dc2b5['includes'](String(_0x171926))),_0x4c775['model']['bind']('label')['to'](_0x3e04aa,'value',_0x2beaf8=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2beaf8))),_0x4c775;}['_registerToolbarComponent']({accessibleLabel:_0x6cc731,options:_0x529b64}){const _0x27b59f=this['editor'],_0x2327cf=_0x27b59f['commands']['get']('lineHeight');_0x27b59f['ui']['componentFactory']['add']('lineHeight',_0x27f1e6=>{const _0x4c74bd=_0x4af3e8(_0x27f1e6);return _0x3e8af9(_0x4c74bd,_0x529b64,{'role':'menu','ariaLabel':_0x6cc731}),_0x4c74bd['buttonView']['set']({'label':_0x6cc731,'tooltip':!0x0,'icon':_0x2e6229}),_0x4c74bd['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4c74bd['bind']('isEnabled')['to'](_0x2327cf),this['listenTo'](_0x4c74bd,'execute',_0x1a78fb=>{_0x27b59f['execute'](_0x1a78fb['source']['commandName'],{'value':_0x1a78fb['source']['commandParam']}),_0x27b59f['editing']['view']['focus']();}),_0x4c74bd['once']('change:isOpen',()=>{const _0x5ed263=_0x4c74bd['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4c74bd,_0x529b64,_0x5ed263);}),_0x4c74bd;});}['_registerMenuBarComponent']({accessibleLabel:_0xddd582,options:_0x568eba}){const _0x344485=this['editor'],_0x3d8f70=_0x344485['commands']['get']('lineHeight');_0x344485['ui']['componentFactory']['add']('menuBar:lineHeight',_0x32cfea=>{const _0x485378=new _0x10c710(_0x32cfea);_0x485378['buttonView']['set']({'label':_0xddd582,'icon':_0x2e6229}),_0x485378['bind']('isEnabled')['to'](_0x3d8f70);const _0x26a0b6=new _0x5ee79e(_0x32cfea);for(const _0x431d27 of _0x568eba){const _0x4a166c=new _0x3eff14(_0x32cfea,_0x485378),_0xb5ead9=new _0x1b53a4(_0x32cfea);_0xb5ead9['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xb5ead9['bind'](...Object['keys'](_0x431d27['model']))['to'](_0x431d27['model']),_0xb5ead9['delegate']('execute')['to'](_0x485378),_0xb5ead9['on']('execute',()=>{_0x344485['execute'](_0x431d27['model']['commandName'],{'value':_0x431d27['model']['commandParam']}),_0x344485['editing']['view']['focus']();}),_0x4a166c['children']['add'](_0xb5ead9),_0x26a0b6['items']['add'](_0x4a166c);}return _0x485378['panelView']['children']['add'](_0x26a0b6),this['_attachCustomOptionVisibilityHandler'](_0x485378,_0x568eba,_0x26a0b6),_0x485378;});}['_attachCustomOptionVisibilityHandler'](_0x1c1233,_0x31702b,_0x5cd5de){if(!this['_shouldRenderCustomValueOption']())return;const _0x361e2d=()=>{if(!_0x1c1233['isOpen'])return;_0x5cd5de['items']['last']['isVisible']=Boolean(_0x31702b['last']['model']['isOn']);};_0x361e2d(),_0x1c1233['on']('change:isOpen',()=>{_0x361e2d();});}}class _ extends _0x553578{static get['requires'](){return[b,k];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,p as LineHeightCommand,b as LineHeightEditing,v as LineHeightTodoListIntegration,k as LineHeightUI};
|
|
23
|
+
import{Command as _0xf96e72,Plugin as _0x3947f9}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x3c7982,CKEditorError as _0x58f31d,uid as _0x23c4f4,Collection as _0x4dc8a3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x3ff003,isPercentageStyleValue as _0x4f9377}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x3c4036,createDropdown as _0x518828,addListToDropdown as _0x2d3cf8,MenuBarMenuView as _0x2512c4,MenuBarMenuListView as _0x31fca0,MenuBarMenuListItemView as _0x1165c1,MenuBarMenuListItemButtonView as _0x1881ef}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x284c37}from'@ckeditor/ckeditor5-icons/dist/index.js';class p extends _0xf96e72{['refresh'](){const _0x12146c=this['editor']['model']['document'],_0x1c194=_0x3c7982(_0x12146c['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x1c194)&&this['_canHaveLineHeight'](_0x1c194),this['value']=this['isEnabled']&&_0x1c194['getAttribute']('lineHeight');}['execute'](_0x567092={}){const _0x38d997=this['editor']['model'],_0x3545f4=_0x38d997['document']['selection'],_0x46d0a6=_0x567092['value'];_0x38d997['change'](_0x493d42=>{const _0x27d229=Array['from'](_0x3545f4['getSelectedBlocks']())['filter'](_0x398fd1=>this['_canHaveLineHeight'](_0x398fd1));for(const _0x1cd87a of _0x27d229)_0x46d0a6?_0x493d42['setAttribute']('lineHeight',_0x46d0a6,_0x1cd87a):_0x493d42['removeAttribute']('lineHeight',_0x1cd87a);});}['_canHaveLineHeight'](_0x251da9){return this['editor']['model']['schema']['checkAttribute'](_0x251da9,'lineHeight');}}const y={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function H(_0x47c102){return'string'==typeof _0x47c102&&'default'===_0x47c102['toLowerCase']();}function L(_0x4d1d8d){return _0x4d1d8d['options']['map'](_0x192928=>{return H(_0x192928)?{'title':String(_0x4d1d8d['defaultValue']),'model':'default'}:('number'==typeof _0x192928&&(_0x192928=String(_0x192928)),'string'!=typeof _0x192928?_0x192928:parseFloat(_0x192928)?{'title':_0x192928,'model':_0x192928,'view':{'name':'span','styles':{'line-height':_0x192928}}}:'string'==typeof(_0x218e10=_0x192928)?y[_0x218e10]:y[_0x218e10['model']]);var _0x218e10;})['filter'](_0x52c758=>void 0x0!==_0x52c758);}class v extends _0x3947f9{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x1d54a8,conversion:_0x514a8e}=this['editor'];if(!_0x1d54a8['has']('ListEditing')||!_0x1d54a8['has']('TodoListEditing'))return;_0x1d54a8['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0xb030d3,_0x195d39,_0x3eeaf0,_0x2a10a4,_0x306a1c){'todo'==_0x306a1c['getAttribute']('listType')&&_0x195d39&&(_0xb030d3['addClass']('ck-list-marker-line-height',_0x3eeaf0),_0xb030d3['setStyle']('--ck-content-list-marker-line-height',_0x195d39,_0x3eeaf0));}}),_0x514a8e['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x514a8e['for']('upcast')['add'](_0x456319=>{_0x456319['on']('element:li',function(_0x1f5324){const _0x26f9aa=new _0x3ff003(_0x1f5324);return(_0x183f20,_0x1dc405,_0x63d0a2)=>{const _0xd8d818=_0x26f9aa['match'](_0x1dc405['viewItem']);if(!_0xd8d818)return;const _0x52ecd7=_0xd8d818['match'];_0x52ecd7['name']=!0x1,_0x63d0a2['consumable']['consume'](_0x1dc405['viewItem'],_0x52ecd7);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class b extends _0x3947f9{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4f68c9){super(_0x4f68c9),_0x4f68c9['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x4a44e6=this['editor'];this['_validateConfig'](),_0x4a44e6['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x4a44e6['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x4a44e6['commands']['add']('lineHeight',new p(_0x4a44e6)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x18eb18){const _0x5aba76=_0x20b5aa([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x23177b=0x45ddd215,_0x20a4b8=0x45daac45^_0x23177b,_0x2cfdca=window[_0x20b5aa([0x44,0x61,0x74,0x65])][_0x20b5aa([0x6e,0x6f,0x77])](),_0x33a882=_0x18eb18[_0x20b5aa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x240024=new window[(_0x20b5aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45e7ea=>{_0x33a882[_0x20b5aa([0x6f,0x6e,0x63,0x65])](_0x20b5aa([0x72,0x65,0x61,0x64,0x79]),_0x45e7ea);}),_0xde3da9={[_0x20b5aa([0x6b,0x74,0x79])]:_0x20b5aa([0x45,0x43]),[_0x20b5aa([0x75,0x73,0x65])]:_0x20b5aa([0x73,0x69,0x67]),[_0x20b5aa([0x63,0x72,0x76])]:_0x20b5aa([0x50,0x2d,0x32,0x35,0x36]),[_0x20b5aa([0x78])]:_0x20b5aa([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x20b5aa([0x79])]:_0x20b5aa([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x20b5aa([0x61,0x6c,0x67])]:_0x20b5aa([0x45,0x53,0x32,0x35,0x36])},_0x1a5825=_0x33a882[_0x20b5aa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20b5aa([0x67,0x65,0x74])](_0x20b5aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10a368(){let _0x29ffe4,_0x202958=null,_0x36233a=null;try{if(_0x1a5825==_0x20b5aa([0x47,0x50,0x4c]))return _0x20b5aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29ffe4=_0x1afac1(),!_0x29ffe4)return _0x20b5aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29ffe4[_0x20b5aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36233a=_0x518fb8(_0x29ffe4[_0x20b5aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29ffe4[_0x20b5aa([0x6a,0x74,0x69])])),await _0x39fb67()?_0x266745()?_0x38b4ed()?_0x20b5aa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20bc99()?(_0x29ffe4[_0x20b5aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20b5aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x202958=_0x393ae1(_0x20b5aa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x198363()):_0x20b5aa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20b5aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20b5aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20b5aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x38b4ed(){const _0x455ee4=[_0x20b5aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20b5aa([0x74,0x72,0x69,0x61,0x6c])][_0x20b5aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29ffe4[_0x20b5aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2cfdca/0x3e8:0xe10*_0x20a4b8;return _0x29ffe4[_0x20b5aa([0x65,0x78,0x70])]<_0x455ee4;}function _0x266745(){const _0x24ceb2=_0x29ffe4[_0x20b5aa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24ceb2&&(!!_0x24ceb2[_0x20b5aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b5aa([0x2a]))||!!_0x24ceb2[_0x20b5aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b5aa([0x4c,0x48])));}function _0x20bc99(){const _0x4088c=_0x29ffe4[_0x20b5aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4088c||0x0==_0x4088c[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xaac05c}=new URL(window[_0x20b5aa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4088c[_0x20b5aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaac05c))return!0x0;const _0x1f531f=_0xaac05c[_0x20b5aa([0x73,0x70,0x6c,0x69,0x74])](_0x20b5aa([0x2e]));return _0x4088c[_0x20b5aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x116b28=>_0x116b28[_0x20b5aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20b5aa([0x2a])))[_0x20b5aa([0x6d,0x61,0x70])](_0x30ec8e=>_0x30ec8e[_0x20b5aa([0x73,0x70,0x6c,0x69,0x74])](_0x20b5aa([0x2e])))[_0x20b5aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25e248=>_0x25e248[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f531f[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20b5aa([0x6d,0x61,0x70])](_0x4c96cb=>Array(_0x1f531f[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c96cb[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20b5aa([0x66,0x69,0x6c,0x6c])](_0x4c96cb[0x0]===_0x20b5aa([0x2a])?_0x20b5aa([0x2a]):'')[_0x20b5aa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c96cb))[_0x20b5aa([0x73,0x6f,0x6d,0x65])](_0x58cce4=>_0x1f531f[_0x20b5aa([0x65,0x76,0x65,0x72,0x79])]((_0x1f5ff3,_0x49a978)=>_0x58cce4[_0x49a978]===_0x1f5ff3||_0x58cce4[_0x49a978]===_0x20b5aa([0x2a])));}function _0x198363(){return _0x202958&&_0x36233a?new window[(_0x20b5aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x167ca4,_0x3d2bb3)=>{_0x202958[_0x20b5aa([0x74,0x68,0x65,0x6e])](_0x167ca4,_0x3d2bb3),_0x36233a[_0x20b5aa([0x74,0x68,0x65,0x6e])](_0x4af80e=>{_0x4af80e!=_0x20b5aa([0x56,0x61,0x6c,0x69,0x64])&&_0x167ca4(_0x4af80e);},_0x3d2bb3);}):_0x202958||_0x36233a||_0x20b5aa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x518fb8(_0x3f6ec7,_0x59f82f){return new window[(_0x20b5aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eedb2=>{if(_0x3319b3())return _0x3eedb2(_0x20b5aa([0x56,0x61,0x6c,0x69,0x64]));_0x591e67(),_0x33a882[_0x20b5aa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20b5aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b866d=!0x1;const _0x47f803=_0x23c4f4();function _0xb86904(_0x3e8c3b){return!!_0x3e8c3b&&(typeof _0x3e8c3b===_0x20b5aa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e8c3b===_0x20b5aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e8c3b[_0x20b5aa([0x74,0x68,0x65,0x6e])]===_0x20b5aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e8c3b[_0x20b5aa([0x63,0x61,0x74,0x63,0x68])]===_0x20b5aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e210b(_0xde6a0e){_0x44fd88(_0xde6a0e)[_0x20b5aa([0x74,0x68,0x65,0x6e])](_0x564c93=>{if(!_0x564c93||_0x564c93[_0x20b5aa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20b5aa([0x6f,0x6b]))return _0x20b5aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3964c4(_0x296548(_0x47f803+_0x59f82f))!=_0x564c93[_0x20b5aa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20b5aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20b5aa([0x56,0x61,0x6c,0x69,0x64]);})[_0x20b5aa([0x74,0x68,0x65,0x6e])](_0xd0b56a=>(_0x578dde(),_0xd0b56a),()=>{const _0x311c2c=_0xd08eb6();return null==_0x311c2c?(_0x578dde(),_0x20b5aa([0x56,0x61,0x6c,0x69,0x64])):_0x20b5aa(_0x2cfdca-_0x311c2c>(0x61d15615^_0x23177b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20b5aa([0x74,0x68,0x65,0x6e])](_0x3eedb2)[_0x20b5aa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3eedb2(_0x20b5aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2fc1aa=0x45eb3c95^_0x23177b;function _0x578dde(){const _0x2a616d=_0x20b5aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x3964c4(_0x296548(_0x3f6ec7)),_0x3f1a45=_0x17db30(_0x3964c4(window[_0x20b5aa([0x4d,0x61,0x74,0x68])][_0x20b5aa([0x63,0x65,0x69,0x6c])](_0x2cfdca/_0x2fc1aa)));window[_0x20b5aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20b5aa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a616d,_0x3f1a45);}function _0xd08eb6(){const _0x59c045=_0x20b5aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x3964c4(_0x296548(_0x3f6ec7)),_0xc2bb7=window[_0x20b5aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20b5aa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59c045);return _0xc2bb7?window[_0x20b5aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17db30(_0xc2bb7),0x10)*_0x2fc1aa:null;}function _0x44fd88(_0x344b1f){return new window[(_0x20b5aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c95ec,_0x1fb141)=>{_0x344b1f[_0x20b5aa([0x74,0x68,0x65,0x6e])](_0x4c95ec,_0x1fb141),window[_0x20b5aa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1fb141,0x45dc06d5^_0x23177b);});}}_0x33a882[_0x20b5aa([0x6f,0x6e])](_0x20b5aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x11c109,_0x42261d)=>{if(_0x42261d[0x0]!=_0x3f6ec7)return _0x3eedb2(_0x20b5aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42261d[0x1]={..._0x42261d[0x1],[_0x20b5aa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47f803};},{[_0x20b5aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20b5aa([0x68,0x69,0x67,0x68])}),_0x33a882[_0x20b5aa([0x6f,0x6e])](_0x20b5aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58f901=>{_0xb86904(_0x58f901[_0x20b5aa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b866d=!0x0,_0x3e210b(_0x58f901[_0x20b5aa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20b5aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20b5aa([0x6c,0x6f,0x77])}),_0x240024[_0x20b5aa([0x74,0x68,0x65,0x6e])](()=>{_0x5b866d||_0x3eedb2(_0x20b5aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3319b3(){return _0x33a882[_0x20b5aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20b5aa([0x76,0x69,0x65,0x77])][_0x20b5aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20b5aa([0x61,0x75,0x74,0x6f]);}function _0x591e67(){_0x33a882[_0x20b5aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20b5aa([0x76,0x69,0x65,0x77])][_0x20b5aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20b5aa([0x61,0x75,0x74,0x6f]);}}function _0x393ae1(_0x1398b1){const _0x38d41f=[new window[(_0x20b5aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19314f=>setTimeout(_0x19314f,0x45d4ecd9^_0x23177b)),_0x240024[_0x20b5aa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20b5aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48e77d=>{let _0x3b2dd7=0x0;_0x33a882[_0x20b5aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b5aa([0x6f,0x6e])](_0x20b5aa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46cd34,_0xc8068)=>{_0xc8068[0x0][_0x20b5aa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b2dd7++,_0x3b2dd7==(0x45ddd7fd^_0x23177b)&&(_0x48e77d(),_0x46cd34[_0x20b5aa([0x6f,0x66,0x66])]());});}))];return window[_0x20b5aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20b5aa([0x72,0x61,0x63,0x65])](_0x38d41f)[_0x20b5aa([0x74,0x68,0x65,0x6e])](()=>_0x1398b1);}async function _0x5b4aac(){await _0x240024,_0x33a882[_0x20b5aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b5aa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x129e6d,_0x33a882[_0x20b5aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x20b5aa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x129e6d,_0x33a882[_0x20b5aa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20b5aa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd51016(_0x42bec5){const _0x483604=_0x29d74a();_0x33a882[_0x483604]=_0x20b5aa([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x42bec5,_0x42bec5!=_0x20b5aa([0x56,0x61,0x6c,0x69,0x64])&&_0x5b4aac();}function _0x29d74a(){const _0x5a9e8a=window[_0x20b5aa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20b5aa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20b5aa([0x6e,0x6f,0x77])]())[_0x20b5aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20b5aa([0x2e]),'');let _0x2a6f00=_0x20b5aa([0x50]);for(let _0x2bc120=0x0;_0x2bc120<_0x5a9e8a[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bc120+=0x2){let _0x31de7e=window[_0x20b5aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a9e8a[_0x20b5aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bc120,_0x2bc120+0x2));_0x31de7e>=_0x5aba76[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31de7e-=_0x5aba76[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a6f00+=_0x5aba76[_0x31de7e];}return _0x2a6f00;}function _0x1afac1(){const _0x3612a2=_0x1a5825[_0x20b5aa([0x73,0x70,0x6c,0x69,0x74])](_0x20b5aa([0x2e]));if(0x3!=_0x3612a2[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x169fa5(_0x3612a2[0x1]);function _0x169fa5(_0x40cac7){const _0x25c8b8=_0x10e624(_0x40cac7);return _0x25c8b8&&_0x429937()?_0x25c8b8:null;function _0x429937(){const _0x31f897=_0x25c8b8[_0x20b5aa([0x6a,0x74,0x69])],_0x1cc6fe=window[_0x20b5aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31f897[_0x20b5aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31f897[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1a49bf={..._0x25c8b8,[_0x20b5aa([0x6a,0x74,0x69])]:_0x31f897[_0x20b5aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31f897[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1a49bf[_0x20b5aa([0x76,0x63])],_0x296548(_0x1a49bf)==_0x1cc6fe;}}}async function _0x39fb67(){let _0x426ea0=!0x0;try{const _0x4112fc=_0x1a5825[_0x20b5aa([0x73,0x70,0x6c,0x69,0x74])](_0x20b5aa([0x2e])),[_0x56117d,_0x4bf3be,_0x25c83b]=_0x4112fc;return _0x48dcc5(_0x56117d),await _0x5a5166(_0x56117d,_0x4bf3be,_0x25c83b),_0x426ea0;}catch{return!0x1;}function _0x48dcc5(_0x12a768){const _0x12080d=_0x10e624(_0x12a768);_0x12080d&&_0x12080d[_0x20b5aa([0x61,0x6c,0x67])]==_0x20b5aa([0x45,0x53,0x32,0x35,0x36])||(_0x426ea0=!0x1);}async function _0x5a5166(_0x3e1581,_0x7f3fe5,_0x40b13f){const _0x1dec68=window[_0x20b5aa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20b5aa([0x66,0x72,0x6f,0x6d])](_0x2377dc(_0x40b13f),_0x393746=>_0x393746[_0x20b5aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a7d9e=new window[(_0x20b5aa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20b5aa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e1581+_0x20b5aa([0x2e])+_0x7f3fe5),_0x11c0b3=window[_0x20b5aa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20b5aa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11c0b3)return;const _0x10dd11=await _0x11c0b3[_0x20b5aa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20b5aa([0x6a,0x77,0x6b]),_0xde3da9,{[_0x20b5aa([0x6e,0x61,0x6d,0x65])]:_0x20b5aa([0x45,0x43,0x44,0x53,0x41]),[_0x20b5aa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20b5aa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20b5aa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11c0b3[_0x20b5aa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20b5aa([0x6e,0x61,0x6d,0x65])]:_0x20b5aa([0x45,0x43,0x44,0x53,0x41]),[_0x20b5aa([0x68,0x61,0x73,0x68])]:{[_0x20b5aa([0x6e,0x61,0x6d,0x65])]:_0x20b5aa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10dd11,_0x1dec68,_0x3a7d9e)||(_0x426ea0=!0x1);}}function _0x10e624(_0x295650){return _0x295650[_0x20b5aa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20b5aa([0x65,0x79]))?JSON[_0x20b5aa([0x70,0x61,0x72,0x73,0x65])](_0x2377dc(_0x295650)):null;}function _0x2377dc(_0x255cb0){return window[_0x20b5aa([0x61,0x74,0x6f,0x62])](_0x255cb0[_0x20b5aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20b5aa([0x2b]))[_0x20b5aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20b5aa([0x2f])));}function _0x296548(_0x48e20a){let _0x49f23c=0x1505;function _0x593c1d(_0x2c2df2){for(let _0x491c70=0x0;_0x491c70<_0x2c2df2[_0x20b5aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x491c70++){const _0x274640=_0x2c2df2[_0x20b5aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x491c70);_0x49f23c=(_0x49f23c<<0x5)+_0x49f23c+_0x274640,_0x49f23c&=_0x49f23c;}}function _0x3afda3(_0x21f3aa){Array[_0x20b5aa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x21f3aa)?_0x21f3aa[_0x20b5aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3afda3):_0x21f3aa&&typeof _0x21f3aa==_0x20b5aa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20b5aa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x21f3aa)[_0x20b5aa([0x73,0x6f,0x72,0x74])]()[_0x20b5aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fdd34,_0x59c30b])=>{_0x593c1d(_0x3fdd34),_0x3afda3(_0x59c30b);}):_0x593c1d(window[_0x20b5aa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x21f3aa));}return _0x3afda3(_0x48e20a),_0x49f23c>>>0x0;}function _0x3964c4(_0x3dc50b){return _0x3dc50b[_0x20b5aa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20b5aa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20b5aa([0x30]));}function _0x17db30(_0x2c2600){return _0x2c2600[_0x20b5aa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20b5aa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20b5aa([0x6a,0x6f,0x69,0x6e])]('');}function _0x129e6d(){}function _0x20b5aa(_0x31e334){return _0x31e334['map'](_0x5a6637=>String['fromCharCode'](_0x5a6637))['join']('');}_0xd51016(await _0x10a368());}(this);}['_validateConfig'](){const _0x484224=this['editor'];if(!_0x484224['config']['get']('lineHeight.supportAllValues'))return;const _0x36568b=_0x484224['config']['get']('lineHeight.options')['filter'](_0x2a7a14=>'string'==typeof _0x2a7a14&&(!H(_0x2a7a14)&&isNaN(Number(_0x2a7a14))));if(_0x36568b['length'])throw new _0x58f31d('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x36568b});}['_prepareAnyValueConverters'](){const _0x2a635e=this['editor'],_0x23dc73=this['editor']['config']['get']('lineHeight.defaultValue');_0x2a635e['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x32a2f0=>String(_0x32a2f0)===String(_0x23dc73)?null:{'key':'style','value':{'line-height':_0x32a2f0}}}),_0x2a635e['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0xf34f7a=>{let _0x289438=_0xf34f7a['getStyle']('line-height');return _0x4f9377(_0x289438)&&(_0x289438=String(Number(_0x289438['slice'](0x0,-0x1))/0x64)),String(_0x289438)===String(_0x23dc73)?null:_0x289438;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3b5b5c=this['editor'],_0x4d241c=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3c1709=function(_0x3c4fc3,_0x3a1674){const _0x4dbbc4={'model':{'key':_0x3c4fc3,'values':[]},'view':{}};for(const _0x2aeed1 of _0x3a1674)'class'===_0x2aeed1['view']?.['key']?(_0x4dbbc4['model']['values']['push'](_0x2aeed1['model']),_0x4dbbc4['view'][_0x2aeed1['model']]={'key':'class','value':_0x2aeed1['view']['value']}):(_0x4dbbc4['model']['values']['push'](_0x2aeed1['model']),_0x4dbbc4['view'][_0x2aeed1['model']]={'key':'style','value':'line-height:'+_0x2aeed1['model']+';'});return _0x4dbbc4;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x2d3705=>_0x2d3705['model']));_0x3b5b5c['conversion']['attributeToAttribute'](_0x3c1709),_0x3b5b5c['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x939621=>{let _0xa48636=_0x939621['getStyle']('line-height');return _0x4f9377(_0xa48636)&&(_0xa48636=String(Number(_0xa48636['slice'](0x0,-0x1))/0x64)),_0xa48636===String(_0x4d241c)?null:_0x3c1709['model']['values']['includes'](_0xa48636)?_0xa48636:null;}}});}}class k extends _0x3947f9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1ab3c0={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1ab3c0),this['_registerMenuBarComponent'](_0x1ab3c0),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x597ea9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc1ce7c;for(const _0x2b66ad in _0x597ea9){const _0x31b8cf=_0x2b66ad,_0x520ce0=_0x597ea9[_0x31b8cf];if('lineHeightLicenseKeyValid'==_0x520ce0||'lineHeightLicenseKeyInvalid'==_0x520ce0||'lineHeightLicenseKeyExpired'==_0x520ce0||'lineHeightLicenseKeyDomainLimit'==_0x520ce0||'lineHeightLicenseKeyNotAllowed'==_0x520ce0||'lineHeightLicenseKeyEvaluationLimit'==_0x520ce0||'lineHeightLicenseKeyUsageLimit'==_0x520ce0){delete _0x597ea9[_0x31b8cf],_0xc1ce7c=_0x520ce0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xc1ce7c&&_0x597ea9['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xc1ce7c&&_0x597ea9['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xc1ce7c&&_0x597ea9['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xc1ce7c&&_0x597ea9['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xc1ce7c&&_0x597ea9['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0xc1ce7c&&_0x597ea9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x582569=this['editor'],t=_0x582569['t'],_0x354177=_0x582569['config']['get']('lineHeight'),_0x541926={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x354177)['map'](_0x11ae11=>{const _0x4993ce=_0x541926[_0x11ae11['title']];return _0x4993ce&&_0x4993ce!=_0x11ae11['title']&&(_0x11ae11=Object['assign']({},_0x11ae11,{'title':_0x4993ce})),_0x11ae11;});}['_prepareListOptions'](){const _0x3ccebe=this['editor']['commands']['get']('lineHeight'),_0x563e23=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4be84c=this['_getLocalizedLineHeightOptions'](),_0x1c0f39=new _0x4dc8a3(),_0xe26332=_0x3088d1=>'default'===_0x3088d1||String(_0x563e23)===_0x3088d1;for(const _0x2931ad of _0x4be84c){const _0x442a63={'type':'button','model':new _0x3c4036({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2931ad['title'],'withText':!0x0})};_0xe26332(_0x2931ad['model'])?(_0x442a63['model']['bind']('isOn')['to'](_0x3ccebe,'value',_0x337a4b=>!_0x337a4b),_0x442a63['model']['commandParam']=void 0x0):(_0x442a63['model']['bind']('isOn')['to'](_0x3ccebe,'value',_0x160b61=>_0x160b61===_0x2931ad['model']),_0x442a63['model']['commandParam']=_0x2931ad['model']),_0x1c0f39['add'](_0x442a63);}if(this['_shouldRenderCustomValueOption']()){const _0xd04b8c=this['_getCustomValueOptionDefinition'](_0x4be84c);_0x1c0f39['add'](_0xd04b8c);}return _0x1c0f39;}['_getCustomValueOptionDefinition'](_0x506440){const _0x31ff45=this['editor'],t=_0x31ff45['t'],_0x4d76c3=_0x31ff45['commands']['get']('lineHeight'),_0x4eb452=_0x506440['map'](_0x8bb5ad=>_0x8bb5ad['model']),_0x375660={'type':'button','model':new _0x3c4036({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x375660['model']['bind']('commandParam')['to'](_0x4d76c3,'value'),_0x375660['model']['bind']('isOn')['to'](_0x4d76c3,'value',_0x323ec5=>!!_0x323ec5&&!_0x4eb452['includes'](String(_0x323ec5))),_0x375660['model']['bind']('label')['to'](_0x4d76c3,'value',_0x3b4312=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3b4312))),_0x375660;}['_registerToolbarComponent']({accessibleLabel:_0x37c05d,options:_0x564047}){const _0x3fe0b5=this['editor'],_0x32f21f=_0x3fe0b5['commands']['get']('lineHeight');_0x3fe0b5['ui']['componentFactory']['add']('lineHeight',_0x2f757d=>{const _0x53a781=_0x518828(_0x2f757d);return _0x2d3cf8(_0x53a781,_0x564047,{'role':'menu','ariaLabel':_0x37c05d}),_0x53a781['buttonView']['set']({'label':_0x37c05d,'tooltip':!0x0,'icon':_0x284c37}),_0x53a781['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x53a781['bind']('isEnabled')['to'](_0x32f21f),this['listenTo'](_0x53a781,'execute',_0x2a5400=>{_0x3fe0b5['execute'](_0x2a5400['source']['commandName'],{'value':_0x2a5400['source']['commandParam']}),_0x3fe0b5['editing']['view']['focus']();}),_0x53a781['once']('change:isOpen',()=>{const _0x131096=_0x53a781['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x53a781,_0x564047,_0x131096);}),_0x53a781;});}['_registerMenuBarComponent']({accessibleLabel:_0x530b7c,options:_0x2c3ae5}){const _0x5552ff=this['editor'],_0x9a26a0=_0x5552ff['commands']['get']('lineHeight');_0x5552ff['ui']['componentFactory']['add']('menuBar:lineHeight',_0x117f01=>{const _0x1108b5=new _0x2512c4(_0x117f01);_0x1108b5['buttonView']['set']({'label':_0x530b7c,'icon':_0x284c37}),_0x1108b5['bind']('isEnabled')['to'](_0x9a26a0);const _0x56d62c=new _0x31fca0(_0x117f01);for(const _0x2f18f6 of _0x2c3ae5){const _0x397a3e=new _0x1165c1(_0x117f01,_0x1108b5),_0xfdbf37=new _0x1881ef(_0x117f01);_0xfdbf37['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xfdbf37['bind'](...Object['keys'](_0x2f18f6['model']))['to'](_0x2f18f6['model']),_0xfdbf37['delegate']('execute')['to'](_0x1108b5),_0xfdbf37['on']('execute',()=>{_0x5552ff['execute'](_0x2f18f6['model']['commandName'],{'value':_0x2f18f6['model']['commandParam']}),_0x5552ff['editing']['view']['focus']();}),_0x397a3e['children']['add'](_0xfdbf37),_0x56d62c['items']['add'](_0x397a3e);}return _0x1108b5['panelView']['children']['add'](_0x56d62c),this['_attachCustomOptionVisibilityHandler'](_0x1108b5,_0x2c3ae5,_0x56d62c),_0x1108b5;});}['_attachCustomOptionVisibilityHandler'](_0xfeb86a,_0x1dc78a,_0x2253db){if(!this['_shouldRenderCustomValueOption']())return;const _0x3d0686=()=>{if(!_0xfeb86a['isOpen'])return;_0x2253db['items']['last']['isVisible']=Boolean(_0x1dc78a['last']['model']['isOn']);};_0x3d0686(),_0xfeb86a['on']('change:isOpen',()=>{_0x3d0686();});}}class _ extends _0x3947f9{static get['requires'](){return[b,k];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,p as LineHeightCommand,b as LineHeightEditing,v as LineHeightTodoListIntegration,k as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-next-
|
|
3
|
+
"version": "0.0.0-nightly-next-20260109.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (https://cksource.com/)",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"dist/translations/*.umd.js"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-next-
|
|
24
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-
|
|
25
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-
|
|
26
|
-
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-
|
|
28
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-
|
|
23
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-next-20260109.0",
|
|
24
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-20260109.0",
|
|
25
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20260109.0",
|
|
26
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-20260109.0",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20260109.0",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20260109.0"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist",
|