@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20260110.0 → 0.0.0-nightly-next-20260111.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 _0x5b25ea,Plugin as _0x197c9c}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x2b0525,CKEditorError as _0x1d0eaf,uid as _0x391b9b,Collection as _0x41faff}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x5c8b6f,isPercentageStyleValue as _0x412560}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x214e12,createDropdown as _0x22ac55,addListToDropdown as _0x228003,MenuBarMenuView as _0x4ed7d4,MenuBarMenuListView as _0x4b3843,MenuBarMenuListItemView as _0x3ecea9,MenuBarMenuListItemButtonView as _0x183fd6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x297054}from'@ckeditor/ckeditor5-icons/dist/index.js';class p extends _0x5b25ea{['refresh'](){const _0x3e793f=this['editor']['model']['document'],_0x54c304=_0x2b0525(_0x3e793f['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x54c304)&&this['_canHaveLineHeight'](_0x54c304),this['value']=this['isEnabled']&&_0x54c304['getAttribute']('lineHeight');}['execute'](_0x23edab={}){const _0x1cc839=this['editor']['model'],_0x23c299=_0x1cc839['document']['selection'],_0x1ceffe=_0x23edab['value'];_0x1cc839['change'](_0x373080=>{const _0x15f99e=Array['from'](_0x23c299['getSelectedBlocks']())['filter'](_0x26916d=>this['_canHaveLineHeight'](_0x26916d));for(const _0xf08567 of _0x15f99e)_0x1ceffe?_0x373080['setAttribute']('lineHeight',_0x1ceffe,_0xf08567):_0x373080['removeAttribute']('lineHeight',_0xf08567);});}['_canHaveLineHeight'](_0x20f9a5){return this['editor']['model']['schema']['checkAttribute'](_0x20f9a5,'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(_0x5291e5){return'string'==typeof _0x5291e5&&'default'===_0x5291e5['toLowerCase']();}function L(_0x433914){return _0x433914['options']['map'](_0x511ed7=>{return H(_0x511ed7)?{'title':String(_0x433914['defaultValue']),'model':'default'}:('number'==typeof _0x511ed7&&(_0x511ed7=String(_0x511ed7)),'string'!=typeof _0x511ed7?_0x511ed7:parseFloat(_0x511ed7)?{'title':_0x511ed7,'model':_0x511ed7,'view':{'name':'span','styles':{'line-height':_0x511ed7}}}:'string'==typeof(_0x4e00e7=_0x511ed7)?y[_0x4e00e7]:y[_0x4e00e7['model']]);var _0x4e00e7;})['filter'](_0x1ad23f=>void 0x0!==_0x1ad23f);}class v extends _0x197c9c{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x4f58ee,conversion:_0x1db1a6}=this['editor'];if(!_0x4f58ee['has']('ListEditing')||!_0x4f58ee['has']('TodoListEditing'))return;_0x4f58ee['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0xeac412,_0x5781c4,_0x429351,_0x15dc93,_0x4f1ebb){'todo'==_0x4f1ebb['getAttribute']('listType')&&_0x5781c4&&(_0xeac412['addClass']('ck-list-marker-line-height',_0x429351),_0xeac412['setStyle']('--ck-content-list-marker-line-height',_0x5781c4,_0x429351));}}),_0x1db1a6['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x1db1a6['for']('upcast')['add'](_0x37cde3=>{_0x37cde3['on']('element:li',function(_0x1d853f){const _0x2f1e37=new _0x5c8b6f(_0x1d853f);return(_0x140921,_0x4111e5,_0x3ff4be)=>{const _0x377654=_0x2f1e37['match'](_0x4111e5['viewItem']);if(!_0x377654)return;const _0x26b374=_0x377654['match'];_0x26b374['name']=!0x1,_0x3ff4be['consumable']['consume'](_0x4111e5['viewItem'],_0x26b374);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class b extends _0x197c9c{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x448238){super(_0x448238),_0x448238['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x39d199=this['editor'];this['_validateConfig'](),_0x39d199['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x39d199['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x39d199['commands']['add']('lineHeight',new p(_0x39d199)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x28f68b){const _0x5c570f=_0x2ff16a([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]),_0x2b2ea1=0x45ddd215,_0x1365d1=0x45daac7d^_0x2b2ea1,_0x37a585=window[_0x2ff16a([0x44,0x61,0x74,0x65])][_0x2ff16a([0x6e,0x6f,0x77])](),_0x6bcb8e=_0x28f68b[_0x2ff16a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28c840=new window[(_0x2ff16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d5470=>{_0x6bcb8e[_0x2ff16a([0x6f,0x6e,0x63,0x65])](_0x2ff16a([0x72,0x65,0x61,0x64,0x79]),_0x4d5470);}),_0x46182f={[_0x2ff16a([0x6b,0x74,0x79])]:_0x2ff16a([0x45,0x43]),[_0x2ff16a([0x75,0x73,0x65])]:_0x2ff16a([0x73,0x69,0x67]),[_0x2ff16a([0x63,0x72,0x76])]:_0x2ff16a([0x50,0x2d,0x32,0x35,0x36]),[_0x2ff16a([0x78])]:_0x2ff16a([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]),[_0x2ff16a([0x79])]:_0x2ff16a([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]),[_0x2ff16a([0x61,0x6c,0x67])]:_0x2ff16a([0x45,0x53,0x32,0x35,0x36])},_0x2c650a=_0x6bcb8e[_0x2ff16a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ff16a([0x67,0x65,0x74])](_0x2ff16a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x32afb5(){let _0x2b42ed,_0xcb9cd3=null,_0x3d0fd6=null;try{if(_0x2c650a==_0x2ff16a([0x47,0x50,0x4c]))return _0x2ff16a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b42ed=_0x2984ab(),!_0x2b42ed)return _0x2ff16a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b42ed[_0x2ff16a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d0fd6=_0x130f5f(_0x2b42ed[_0x2ff16a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b42ed[_0x2ff16a([0x6a,0x74,0x69])])),await _0x115cc1()?_0x55652d()?_0xd84bfd()?_0x2ff16a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2112ef()?(_0x2b42ed[_0x2ff16a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ff16a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xcb9cd3=_0x6eee4a(_0x2ff16a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34710a()):_0x2ff16a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ff16a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ff16a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ff16a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd84bfd(){const _0x186766=[_0x2ff16a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ff16a([0x74,0x72,0x69,0x61,0x6c])][_0x2ff16a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b42ed[_0x2ff16a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37a585/0x3e8:0xe10*_0x1365d1;return _0x2b42ed[_0x2ff16a([0x65,0x78,0x70])]<_0x186766;}function _0x55652d(){const _0x3d7aa1=_0x2b42ed[_0x2ff16a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d7aa1&&(!!_0x3d7aa1[_0x2ff16a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ff16a([0x2a]))||!!_0x3d7aa1[_0x2ff16a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ff16a([0x4c,0x48])));}function _0x2112ef(){const _0x5715e8=_0x2b42ed[_0x2ff16a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5715e8||0x0==_0x5715e8[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15c71e}=new URL(window[_0x2ff16a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5715e8[_0x2ff16a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15c71e))return!0x0;const _0x36c779=_0x15c71e[_0x2ff16a([0x73,0x70,0x6c,0x69,0x74])](_0x2ff16a([0x2e]));return _0x5715e8[_0x2ff16a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x282b9e=>_0x282b9e[_0x2ff16a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ff16a([0x2a])))[_0x2ff16a([0x6d,0x61,0x70])](_0x409b0e=>_0x409b0e[_0x2ff16a([0x73,0x70,0x6c,0x69,0x74])](_0x2ff16a([0x2e])))[_0x2ff16a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56eb3e=>_0x56eb3e[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x36c779[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ff16a([0x6d,0x61,0x70])](_0x4e844b=>Array(_0x36c779[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4e844b[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ff16a([0x66,0x69,0x6c,0x6c])](_0x4e844b[0x0]===_0x2ff16a([0x2a])?_0x2ff16a([0x2a]):'')[_0x2ff16a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4e844b))[_0x2ff16a([0x73,0x6f,0x6d,0x65])](_0x2ed950=>_0x36c779[_0x2ff16a([0x65,0x76,0x65,0x72,0x79])]((_0x5d49b7,_0x4b64c8)=>_0x2ed950[_0x4b64c8]===_0x5d49b7||_0x2ed950[_0x4b64c8]===_0x2ff16a([0x2a])));}function _0x34710a(){return _0xcb9cd3&&_0x3d0fd6?new window[(_0x2ff16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20a9d1,_0x288604)=>{_0xcb9cd3[_0x2ff16a([0x74,0x68,0x65,0x6e])](_0x20a9d1,_0x288604),_0x3d0fd6[_0x2ff16a([0x74,0x68,0x65,0x6e])](_0x2b8fe7=>{_0x2b8fe7!=_0x2ff16a([0x56,0x61,0x6c,0x69,0x64])&&_0x20a9d1(_0x2b8fe7);},_0x288604);}):_0xcb9cd3||_0x3d0fd6||_0x2ff16a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x130f5f(_0x154da4,_0x59e2cb){return new window[(_0x2ff16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59ef2d=>{if(_0x55cdd0())return _0x59ef2d(_0x2ff16a([0x56,0x61,0x6c,0x69,0x64]));_0x26dd30(),_0x6bcb8e[_0x2ff16a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ff16a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c4dbe=!0x1;const _0x36d855=_0x391b9b();function _0x350536(_0x517940){return!!_0x517940&&(typeof _0x517940===_0x2ff16a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x517940===_0x2ff16a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x517940[_0x2ff16a([0x74,0x68,0x65,0x6e])]===_0x2ff16a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x517940[_0x2ff16a([0x63,0x61,0x74,0x63,0x68])]===_0x2ff16a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f9f1a(_0x5e9b20){_0x100de5(_0x5e9b20)[_0x2ff16a([0x74,0x68,0x65,0x6e])](_0xee1296=>{if(!_0xee1296||_0xee1296[_0x2ff16a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ff16a([0x6f,0x6b]))return _0x2ff16a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f121a(_0x25b83c(_0x36d855+_0x59e2cb))!=_0xee1296[_0x2ff16a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ff16a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ff16a([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ff16a([0x74,0x68,0x65,0x6e])](_0xc062af=>(_0x34f552(),_0xc062af),()=>{const _0x1cf672=_0x38f172();return null==_0x1cf672?(_0x34f552(),_0x2ff16a([0x56,0x61,0x6c,0x69,0x64])):_0x2ff16a(_0x37a585-_0x1cf672>(0x61d15615^_0x2b2ea1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ff16a([0x74,0x68,0x65,0x6e])](_0x59ef2d)[_0x2ff16a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x59ef2d(_0x2ff16a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13bdb3=0x45eb3c95^_0x2b2ea1;function _0x34f552(){const _0x54b2bf=_0x2ff16a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f121a(_0x25b83c(_0x154da4)),_0x11f262=_0x3c7e33(_0x3f121a(window[_0x2ff16a([0x4d,0x61,0x74,0x68])][_0x2ff16a([0x63,0x65,0x69,0x6c])](_0x37a585/_0x13bdb3)));window[_0x2ff16a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ff16a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54b2bf,_0x11f262);}function _0x38f172(){const _0x1ecd98=_0x2ff16a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f121a(_0x25b83c(_0x154da4)),_0x75feb4=window[_0x2ff16a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ff16a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ecd98);return _0x75feb4?window[_0x2ff16a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c7e33(_0x75feb4),0x10)*_0x13bdb3:null;}function _0x100de5(_0x1b4029){return new window[(_0x2ff16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4795c8,_0x50412e)=>{_0x1b4029[_0x2ff16a([0x74,0x68,0x65,0x6e])](_0x4795c8,_0x50412e),window[_0x2ff16a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x50412e,0x45dc06d5^_0x2b2ea1);});}}_0x6bcb8e[_0x2ff16a([0x6f,0x6e])](_0x2ff16a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f5a87,_0x244e9f)=>{if(_0x244e9f[0x0]!=_0x154da4)return _0x59ef2d(_0x2ff16a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x244e9f[0x1]={..._0x244e9f[0x1],[_0x2ff16a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x36d855};},{[_0x2ff16a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ff16a([0x68,0x69,0x67,0x68])}),_0x6bcb8e[_0x2ff16a([0x6f,0x6e])](_0x2ff16a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ef427=>{_0x350536(_0x2ef427[_0x2ff16a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c4dbe=!0x0,_0x3f9f1a(_0x2ef427[_0x2ff16a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ff16a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ff16a([0x6c,0x6f,0x77])}),_0x28c840[_0x2ff16a([0x74,0x68,0x65,0x6e])](()=>{_0x2c4dbe||_0x59ef2d(_0x2ff16a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x55cdd0(){return _0x6bcb8e[_0x2ff16a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ff16a([0x76,0x69,0x65,0x77])][_0x2ff16a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ff16a([0x61,0x75,0x74,0x6f]);}function _0x26dd30(){_0x6bcb8e[_0x2ff16a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ff16a([0x76,0x69,0x65,0x77])][_0x2ff16a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ff16a([0x61,0x75,0x74,0x6f]);}}function _0x6eee4a(_0xf86984){const _0x4f0b2b=[new window[(_0x2ff16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23d421=>setTimeout(_0x23d421,0x45d4ecd9^_0x2b2ea1)),_0x28c840[_0x2ff16a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ff16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x219165=>{let _0x457c5b=0x0;_0x6bcb8e[_0x2ff16a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ff16a([0x6f,0x6e])](_0x2ff16a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b7b03,_0xd3722e)=>{_0xd3722e[0x0][_0x2ff16a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x457c5b++,_0x457c5b==(0x45ddd7fd^_0x2b2ea1)&&(_0x219165(),_0x3b7b03[_0x2ff16a([0x6f,0x66,0x66])]());});}))];return window[_0x2ff16a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ff16a([0x72,0x61,0x63,0x65])](_0x4f0b2b)[_0x2ff16a([0x74,0x68,0x65,0x6e])](()=>_0xf86984);}async function _0x564d5a(){await _0x28c840,_0x6bcb8e[_0x2ff16a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ff16a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x33df24,_0x6bcb8e[_0x2ff16a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ff16a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x33df24,_0x6bcb8e[_0x2ff16a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ff16a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x584c06(_0x2dfe64){const _0x94960f=_0x728011();_0x6bcb8e[_0x94960f]=_0x2ff16a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2dfe64,_0x2dfe64!=_0x2ff16a([0x56,0x61,0x6c,0x69,0x64])&&_0x564d5a();}function _0x728011(){const _0x1b81df=window[_0x2ff16a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ff16a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ff16a([0x6e,0x6f,0x77])]())[_0x2ff16a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ff16a([0x2e]),'');let _0x5f0c76=_0x2ff16a([0x50]);for(let _0x57ebac=0x0;_0x57ebac<_0x1b81df[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57ebac+=0x2){let _0x4288ce=window[_0x2ff16a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b81df[_0x2ff16a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57ebac,_0x57ebac+0x2));_0x4288ce>=_0x5c570f[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4288ce-=_0x5c570f[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f0c76+=_0x5c570f[_0x4288ce];}return _0x5f0c76;}function _0x2984ab(){const _0x115423=_0x2c650a[_0x2ff16a([0x73,0x70,0x6c,0x69,0x74])](_0x2ff16a([0x2e]));if(0x3!=_0x115423[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6df24f(_0x115423[0x1]);function _0x6df24f(_0x54d9b3){const _0x473ab6=_0x1e134a(_0x54d9b3);return _0x473ab6&&_0x20c2ac()?_0x473ab6:null;function _0x20c2ac(){const _0x2a2470=_0x473ab6[_0x2ff16a([0x6a,0x74,0x69])],_0x22ee6b=window[_0x2ff16a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a2470[_0x2ff16a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a2470[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xac2df={..._0x473ab6,[_0x2ff16a([0x6a,0x74,0x69])]:_0x2a2470[_0x2ff16a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a2470[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xac2df[_0x2ff16a([0x76,0x63])],_0x25b83c(_0xac2df)==_0x22ee6b;}}}async function _0x115cc1(){let _0x219049=!0x0;try{const _0x2e5fb0=_0x2c650a[_0x2ff16a([0x73,0x70,0x6c,0x69,0x74])](_0x2ff16a([0x2e])),[_0x4505c7,_0x28819d,_0x51490d]=_0x2e5fb0;return _0x298497(_0x4505c7),await _0x496a1f(_0x4505c7,_0x28819d,_0x51490d),_0x219049;}catch{return!0x1;}function _0x298497(_0x47af3e){const _0x3e1152=_0x1e134a(_0x47af3e);_0x3e1152&&_0x3e1152[_0x2ff16a([0x61,0x6c,0x67])]==_0x2ff16a([0x45,0x53,0x32,0x35,0x36])||(_0x219049=!0x1);}async function _0x496a1f(_0x18352d,_0x2ef0fe,_0x4fac09){const _0xfe529d=window[_0x2ff16a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ff16a([0x66,0x72,0x6f,0x6d])](_0x4f721d(_0x4fac09),_0x3f5dab=>_0x3f5dab[_0x2ff16a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8973cf=new window[(_0x2ff16a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ff16a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18352d+_0x2ff16a([0x2e])+_0x2ef0fe),_0xc99928=window[_0x2ff16a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ff16a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc99928)return;const _0x1c8ce3=await _0xc99928[_0x2ff16a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ff16a([0x6a,0x77,0x6b]),_0x46182f,{[_0x2ff16a([0x6e,0x61,0x6d,0x65])]:_0x2ff16a([0x45,0x43,0x44,0x53,0x41]),[_0x2ff16a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ff16a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ff16a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc99928[_0x2ff16a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ff16a([0x6e,0x61,0x6d,0x65])]:_0x2ff16a([0x45,0x43,0x44,0x53,0x41]),[_0x2ff16a([0x68,0x61,0x73,0x68])]:{[_0x2ff16a([0x6e,0x61,0x6d,0x65])]:_0x2ff16a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c8ce3,_0xfe529d,_0x8973cf)||(_0x219049=!0x1);}}function _0x1e134a(_0xb7d889){return _0xb7d889[_0x2ff16a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ff16a([0x65,0x79]))?JSON[_0x2ff16a([0x70,0x61,0x72,0x73,0x65])](_0x4f721d(_0xb7d889)):null;}function _0x4f721d(_0x9da0d9){return window[_0x2ff16a([0x61,0x74,0x6f,0x62])](_0x9da0d9[_0x2ff16a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ff16a([0x2b]))[_0x2ff16a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ff16a([0x2f])));}function _0x25b83c(_0x104dba){let _0xc21df5=0x1505;function _0xfc4baa(_0x554125){for(let _0xadfadc=0x0;_0xadfadc<_0x554125[_0x2ff16a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xadfadc++){const _0x1341ae=_0x554125[_0x2ff16a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xadfadc);_0xc21df5=(_0xc21df5<<0x5)+_0xc21df5+_0x1341ae,_0xc21df5&=_0xc21df5;}}function _0x366edd(_0x5503fe){Array[_0x2ff16a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5503fe)?_0x5503fe[_0x2ff16a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x366edd):_0x5503fe&&typeof _0x5503fe==_0x2ff16a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ff16a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5503fe)[_0x2ff16a([0x73,0x6f,0x72,0x74])]()[_0x2ff16a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f3393,_0x3b427e])=>{_0xfc4baa(_0x3f3393),_0x366edd(_0x3b427e);}):_0xfc4baa(window[_0x2ff16a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5503fe));}return _0x366edd(_0x104dba),_0xc21df5>>>0x0;}function _0x3f121a(_0x2586f7){return _0x2586f7[_0x2ff16a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ff16a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ff16a([0x30]));}function _0x3c7e33(_0x4c875b){return _0x4c875b[_0x2ff16a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ff16a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ff16a([0x6a,0x6f,0x69,0x6e])]('');}function _0x33df24(){}function _0x2ff16a(_0xe57b1c){return _0xe57b1c['map'](_0x314cf1=>String['fromCharCode'](_0x314cf1))['join']('');}_0x584c06(await _0x32afb5());}(this);}['_validateConfig'](){const _0x2e014a=this['editor'];if(!_0x2e014a['config']['get']('lineHeight.supportAllValues'))return;const _0x1256fb=_0x2e014a['config']['get']('lineHeight.options')['filter'](_0x2f6aeb=>'string'==typeof _0x2f6aeb&&(!H(_0x2f6aeb)&&isNaN(Number(_0x2f6aeb))));if(_0x1256fb['length'])throw new _0x1d0eaf('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1256fb});}['_prepareAnyValueConverters'](){const _0xa7e37b=this['editor'],_0x530728=this['editor']['config']['get']('lineHeight.defaultValue');_0xa7e37b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x242ea4=>String(_0x242ea4)===String(_0x530728)?null:{'key':'style','value':{'line-height':_0x242ea4}}}),_0xa7e37b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x357a64=>{let _0x43e168=_0x357a64['getStyle']('line-height');return _0x412560(_0x43e168)&&(_0x43e168=String(Number(_0x43e168['slice'](0x0,-0x1))/0x64)),String(_0x43e168)===String(_0x530728)?null:_0x43e168;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3f7241=this['editor'],_0x167103=this['editor']['config']['get']('lineHeight.defaultValue'),_0x26d288=function(_0x22c3cc,_0x3f7113){const _0x3e8408={'model':{'key':_0x22c3cc,'values':[]},'view':{}};for(const _0xbb6f1f of _0x3f7113)'class'===_0xbb6f1f['view']?.['key']?(_0x3e8408['model']['values']['push'](_0xbb6f1f['model']),_0x3e8408['view'][_0xbb6f1f['model']]={'key':'class','value':_0xbb6f1f['view']['value']}):(_0x3e8408['model']['values']['push'](_0xbb6f1f['model']),_0x3e8408['view'][_0xbb6f1f['model']]={'key':'style','value':'line-height:'+_0xbb6f1f['model']+';'});return _0x3e8408;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x276213=>_0x276213['model']));_0x3f7241['conversion']['attributeToAttribute'](_0x26d288),_0x3f7241['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x406856=>{let _0x174ec1=_0x406856['getStyle']('line-height');return _0x412560(_0x174ec1)&&(_0x174ec1=String(Number(_0x174ec1['slice'](0x0,-0x1))/0x64)),_0x174ec1===String(_0x167103)?null:_0x26d288['model']['values']['includes'](_0x174ec1)?_0x174ec1:null;}}});}}class k extends _0x197c9c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x21e0f8={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x21e0f8),this['_registerMenuBarComponent'](_0x21e0f8),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x504b58=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x30fb8c;for(const _0x1411f3 in _0x504b58){const _0x22a825=_0x1411f3,_0x2bfbc8=_0x504b58[_0x22a825];if('lineHeightLicenseKeyValid'==_0x2bfbc8||'lineHeightLicenseKeyInvalid'==_0x2bfbc8||'lineHeightLicenseKeyExpired'==_0x2bfbc8||'lineHeightLicenseKeyDomainLimit'==_0x2bfbc8||'lineHeightLicenseKeyNotAllowed'==_0x2bfbc8||'lineHeightLicenseKeyEvaluationLimit'==_0x2bfbc8||'lineHeightLicenseKeyUsageLimit'==_0x2bfbc8){delete _0x504b58[_0x22a825],_0x30fb8c=_0x2bfbc8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x30fb8c&&_0x504b58['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x30fb8c&&_0x504b58['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x30fb8c&&_0x504b58['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x30fb8c&&_0x504b58['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x30fb8c&&_0x504b58['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x30fb8c&&_0x504b58['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x292e9a=this['editor'],t=_0x292e9a['t'],_0x1e14b2=_0x292e9a['config']['get']('lineHeight'),_0x546862={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x1e14b2)['map'](_0xc013b=>{const _0x181ca2=_0x546862[_0xc013b['title']];return _0x181ca2&&_0x181ca2!=_0xc013b['title']&&(_0xc013b=Object['assign']({},_0xc013b,{'title':_0x181ca2})),_0xc013b;});}['_prepareListOptions'](){const _0x288616=this['editor']['commands']['get']('lineHeight'),_0x249a4c=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1d086c=this['_getLocalizedLineHeightOptions'](),_0x2d70d0=new _0x41faff(),_0x50308f=_0x4675f7=>'default'===_0x4675f7||String(_0x249a4c)===_0x4675f7;for(const _0xafc5d6 of _0x1d086c){const _0x27c746={'type':'button','model':new _0x214e12({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xafc5d6['title'],'withText':!0x0})};_0x50308f(_0xafc5d6['model'])?(_0x27c746['model']['bind']('isOn')['to'](_0x288616,'value',_0x22803c=>!_0x22803c),_0x27c746['model']['commandParam']=void 0x0):(_0x27c746['model']['bind']('isOn')['to'](_0x288616,'value',_0x679043=>_0x679043===_0xafc5d6['model']),_0x27c746['model']['commandParam']=_0xafc5d6['model']),_0x2d70d0['add'](_0x27c746);}if(this['_shouldRenderCustomValueOption']()){const _0x333005=this['_getCustomValueOptionDefinition'](_0x1d086c);_0x2d70d0['add'](_0x333005);}return _0x2d70d0;}['_getCustomValueOptionDefinition'](_0x273fdd){const _0x2f6475=this['editor'],t=_0x2f6475['t'],_0x347f8d=_0x2f6475['commands']['get']('lineHeight'),_0x3d45fb=_0x273fdd['map'](_0x323853=>_0x323853['model']),_0x1cb06a={'type':'button','model':new _0x214e12({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1cb06a['model']['bind']('commandParam')['to'](_0x347f8d,'value'),_0x1cb06a['model']['bind']('isOn')['to'](_0x347f8d,'value',_0x412aee=>!!_0x412aee&&!_0x3d45fb['includes'](String(_0x412aee))),_0x1cb06a['model']['bind']('label')['to'](_0x347f8d,'value',_0x35611b=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x35611b))),_0x1cb06a;}['_registerToolbarComponent']({accessibleLabel:_0x152d07,options:_0x39f739}){const _0x13516c=this['editor'],_0x5f4395=_0x13516c['commands']['get']('lineHeight');_0x13516c['ui']['componentFactory']['add']('lineHeight',_0x18a65b=>{const _0x58faa2=_0x22ac55(_0x18a65b);return _0x228003(_0x58faa2,_0x39f739,{'role':'menu','ariaLabel':_0x152d07}),_0x58faa2['buttonView']['set']({'label':_0x152d07,'tooltip':!0x0,'icon':_0x297054}),_0x58faa2['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x58faa2['bind']('isEnabled')['to'](_0x5f4395),this['listenTo'](_0x58faa2,'execute',_0x178d75=>{_0x13516c['execute'](_0x178d75['source']['commandName'],{'value':_0x178d75['source']['commandParam']}),_0x13516c['editing']['view']['focus']();}),_0x58faa2['once']('change:isOpen',()=>{const _0x59a02e=_0x58faa2['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x58faa2,_0x39f739,_0x59a02e);}),_0x58faa2;});}['_registerMenuBarComponent']({accessibleLabel:_0x14dbcd,options:_0x110822}){const _0x2ff287=this['editor'],_0x552643=_0x2ff287['commands']['get']('lineHeight');_0x2ff287['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4a1266=>{const _0x368455=new _0x4ed7d4(_0x4a1266);_0x368455['buttonView']['set']({'label':_0x14dbcd,'icon':_0x297054}),_0x368455['bind']('isEnabled')['to'](_0x552643);const _0xa92b9d=new _0x4b3843(_0x4a1266);for(const _0x492462 of _0x110822){const _0x486318=new _0x3ecea9(_0x4a1266,_0x368455),_0x12aa2e=new _0x183fd6(_0x4a1266);_0x12aa2e['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x12aa2e['bind'](...Object['keys'](_0x492462['model']))['to'](_0x492462['model']),_0x12aa2e['delegate']('execute')['to'](_0x368455),_0x12aa2e['on']('execute',()=>{_0x2ff287['execute'](_0x492462['model']['commandName'],{'value':_0x492462['model']['commandParam']}),_0x2ff287['editing']['view']['focus']();}),_0x486318['children']['add'](_0x12aa2e),_0xa92b9d['items']['add'](_0x486318);}return _0x368455['panelView']['children']['add'](_0xa92b9d),this['_attachCustomOptionVisibilityHandler'](_0x368455,_0x110822,_0xa92b9d),_0x368455;});}['_attachCustomOptionVisibilityHandler'](_0x5e8561,_0x596303,_0x448b12){if(!this['_shouldRenderCustomValueOption']())return;const _0x1bbcb2=()=>{if(!_0x5e8561['isOpen'])return;_0x448b12['items']['last']['isVisible']=Boolean(_0x596303['last']['model']['isOn']);};_0x1bbcb2(),_0x5e8561['on']('change:isOpen',()=>{_0x1bbcb2();});}}class _ extends _0x197c9c{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 _0x3be24c,Plugin as _0x163221}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x236e37,CKEditorError as _0x29ad2a,uid as _0x594258,Collection as _0x597ed8}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x4949ea,isPercentageStyleValue as _0x38e1de}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x21ca92,createDropdown as _0x47eb50,addListToDropdown as _0x2aedf7,MenuBarMenuView as _0x270c9b,MenuBarMenuListView as _0x410229,MenuBarMenuListItemView as _0x7406a7,MenuBarMenuListItemButtonView as _0x562ed3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x2757f1}from'@ckeditor/ckeditor5-icons/dist/index.js';class p extends _0x3be24c{['refresh'](){const _0x1e7b06=this['editor']['model']['document'],_0x47dba8=_0x236e37(_0x1e7b06['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x47dba8)&&this['_canHaveLineHeight'](_0x47dba8),this['value']=this['isEnabled']&&_0x47dba8['getAttribute']('lineHeight');}['execute'](_0x2e9bca={}){const _0x761cb0=this['editor']['model'],_0x20056f=_0x761cb0['document']['selection'],_0x2e6f4e=_0x2e9bca['value'];_0x761cb0['change'](_0x40ceae=>{const _0x3b41c8=Array['from'](_0x20056f['getSelectedBlocks']())['filter'](_0x5bc05a=>this['_canHaveLineHeight'](_0x5bc05a));for(const _0x15d4fe of _0x3b41c8)_0x2e6f4e?_0x40ceae['setAttribute']('lineHeight',_0x2e6f4e,_0x15d4fe):_0x40ceae['removeAttribute']('lineHeight',_0x15d4fe);});}['_canHaveLineHeight'](_0xb8e9ef){return this['editor']['model']['schema']['checkAttribute'](_0xb8e9ef,'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(_0x22eb68){return'string'==typeof _0x22eb68&&'default'===_0x22eb68['toLowerCase']();}function L(_0x4f6774){return _0x4f6774['options']['map'](_0x3ac3a5=>{return H(_0x3ac3a5)?{'title':String(_0x4f6774['defaultValue']),'model':'default'}:('number'==typeof _0x3ac3a5&&(_0x3ac3a5=String(_0x3ac3a5)),'string'!=typeof _0x3ac3a5?_0x3ac3a5:parseFloat(_0x3ac3a5)?{'title':_0x3ac3a5,'model':_0x3ac3a5,'view':{'name':'span','styles':{'line-height':_0x3ac3a5}}}:'string'==typeof(_0x475ebf=_0x3ac3a5)?y[_0x475ebf]:y[_0x475ebf['model']]);var _0x475ebf;})['filter'](_0x3588bf=>void 0x0!==_0x3588bf);}class v extends _0x163221{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x582c34,conversion:_0x2e95bd}=this['editor'];if(!_0x582c34['has']('ListEditing')||!_0x582c34['has']('TodoListEditing'))return;_0x582c34['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x41a9df,_0x464414,_0x108778,_0x2dc2f1,_0x397231){'todo'==_0x397231['getAttribute']('listType')&&_0x464414&&(_0x41a9df['addClass']('ck-list-marker-line-height',_0x108778),_0x41a9df['setStyle']('--ck-content-list-marker-line-height',_0x464414,_0x108778));}}),_0x2e95bd['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x2e95bd['for']('upcast')['add'](_0x117d94=>{_0x117d94['on']('element:li',function(_0x587a05){const _0x46087c=new _0x4949ea(_0x587a05);return(_0x5db159,_0x59e5c3,_0x420ddb)=>{const _0x5287d2=_0x46087c['match'](_0x59e5c3['viewItem']);if(!_0x5287d2)return;const _0x5f2c17=_0x5287d2['match'];_0x5f2c17['name']=!0x1,_0x420ddb['consumable']['consume'](_0x59e5c3['viewItem'],_0x5f2c17);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class b extends _0x163221{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1a0e38){super(_0x1a0e38),_0x1a0e38['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x243680=this['editor'];this['_validateConfig'](),_0x243680['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x243680['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x243680['commands']['add']('lineHeight',new p(_0x243680)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x165c3a){const _0x430ece=_0x4c0569([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]),_0xff788f=0x45ddd215,_0x21bd1f=0x45daac95^_0xff788f,_0x3c021a=window[_0x4c0569([0x44,0x61,0x74,0x65])][_0x4c0569([0x6e,0x6f,0x77])](),_0x3bbd8d=_0x165c3a[_0x4c0569([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3bff7e=new window[(_0x4c0569([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31b359=>{_0x3bbd8d[_0x4c0569([0x6f,0x6e,0x63,0x65])](_0x4c0569([0x72,0x65,0x61,0x64,0x79]),_0x31b359);}),_0x446d1b={[_0x4c0569([0x6b,0x74,0x79])]:_0x4c0569([0x45,0x43]),[_0x4c0569([0x75,0x73,0x65])]:_0x4c0569([0x73,0x69,0x67]),[_0x4c0569([0x63,0x72,0x76])]:_0x4c0569([0x50,0x2d,0x32,0x35,0x36]),[_0x4c0569([0x78])]:_0x4c0569([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]),[_0x4c0569([0x79])]:_0x4c0569([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]),[_0x4c0569([0x61,0x6c,0x67])]:_0x4c0569([0x45,0x53,0x32,0x35,0x36])},_0x2c3830=_0x3bbd8d[_0x4c0569([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c0569([0x67,0x65,0x74])](_0x4c0569([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1bb6d6(){let _0x5a303a,_0x388422=null,_0x401ce9=null;try{if(_0x2c3830==_0x4c0569([0x47,0x50,0x4c]))return _0x4c0569([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a303a=_0xa62244(),!_0x5a303a)return _0x4c0569([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a303a[_0x4c0569([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x401ce9=_0x599b27(_0x5a303a[_0x4c0569([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a303a[_0x4c0569([0x6a,0x74,0x69])])),await _0x2caec0()?_0x7ea4db()?_0x174652()?_0x4c0569([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x399a5c()?(_0x5a303a[_0x4c0569([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c0569([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x388422=_0x19a80a(_0x4c0569([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x343295()):_0x4c0569([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c0569([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c0569([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c0569([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x174652(){const _0x189f4d=[_0x4c0569([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c0569([0x74,0x72,0x69,0x61,0x6c])][_0x4c0569([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a303a[_0x4c0569([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c021a/0x3e8:0xe10*_0x21bd1f;return _0x5a303a[_0x4c0569([0x65,0x78,0x70])]<_0x189f4d;}function _0x7ea4db(){const _0x35d792=_0x5a303a[_0x4c0569([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35d792&&(!!_0x35d792[_0x4c0569([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c0569([0x2a]))||!!_0x35d792[_0x4c0569([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c0569([0x4c,0x48])));}function _0x399a5c(){const _0x5021a4=_0x5a303a[_0x4c0569([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5021a4||0x0==_0x5021a4[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x104cd7}=new URL(window[_0x4c0569([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5021a4[_0x4c0569([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104cd7))return!0x0;const _0x5c9493=_0x104cd7[_0x4c0569([0x73,0x70,0x6c,0x69,0x74])](_0x4c0569([0x2e]));return _0x5021a4[_0x4c0569([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39e252=>_0x39e252[_0x4c0569([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c0569([0x2a])))[_0x4c0569([0x6d,0x61,0x70])](_0x397d0f=>_0x397d0f[_0x4c0569([0x73,0x70,0x6c,0x69,0x74])](_0x4c0569([0x2e])))[_0x4c0569([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12be17=>_0x12be17[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5c9493[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c0569([0x6d,0x61,0x70])](_0x230044=>Array(_0x5c9493[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x230044[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c0569([0x66,0x69,0x6c,0x6c])](_0x230044[0x0]===_0x4c0569([0x2a])?_0x4c0569([0x2a]):'')[_0x4c0569([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x230044))[_0x4c0569([0x73,0x6f,0x6d,0x65])](_0x513f96=>_0x5c9493[_0x4c0569([0x65,0x76,0x65,0x72,0x79])]((_0x881a86,_0x3cc2a4)=>_0x513f96[_0x3cc2a4]===_0x881a86||_0x513f96[_0x3cc2a4]===_0x4c0569([0x2a])));}function _0x343295(){return _0x388422&&_0x401ce9?new window[(_0x4c0569([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e6100,_0x372524)=>{_0x388422[_0x4c0569([0x74,0x68,0x65,0x6e])](_0x4e6100,_0x372524),_0x401ce9[_0x4c0569([0x74,0x68,0x65,0x6e])](_0x170a04=>{_0x170a04!=_0x4c0569([0x56,0x61,0x6c,0x69,0x64])&&_0x4e6100(_0x170a04);},_0x372524);}):_0x388422||_0x401ce9||_0x4c0569([0x56,0x61,0x6c,0x69,0x64]);}}function _0x599b27(_0x17d0dd,_0x5025cc){return new window[(_0x4c0569([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a4711=>{if(_0x1091c8())return _0x4a4711(_0x4c0569([0x56,0x61,0x6c,0x69,0x64]));_0xf818bf(),_0x3bbd8d[_0x4c0569([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c0569([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c8f84=!0x1;const _0x1b9683=_0x594258();function _0x4ee93b(_0x51cbfe){return!!_0x51cbfe&&(typeof _0x51cbfe===_0x4c0569([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51cbfe===_0x4c0569([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51cbfe[_0x4c0569([0x74,0x68,0x65,0x6e])]===_0x4c0569([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51cbfe[_0x4c0569([0x63,0x61,0x74,0x63,0x68])]===_0x4c0569([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x148038(_0x1ac84b){_0x71c280(_0x1ac84b)[_0x4c0569([0x74,0x68,0x65,0x6e])](_0x23ee8d=>{if(!_0x23ee8d||_0x23ee8d[_0x4c0569([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c0569([0x6f,0x6b]))return _0x4c0569([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x592e3c(_0x178dad(_0x1b9683+_0x5025cc))!=_0x23ee8d[_0x4c0569([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c0569([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c0569([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c0569([0x74,0x68,0x65,0x6e])](_0x288e37=>(_0x4303ef(),_0x288e37),()=>{const _0x2b8a3a=_0x3a7c1e();return null==_0x2b8a3a?(_0x4303ef(),_0x4c0569([0x56,0x61,0x6c,0x69,0x64])):_0x4c0569(_0x3c021a-_0x2b8a3a>(0x61d15615^_0xff788f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c0569([0x74,0x68,0x65,0x6e])](_0x4a4711)[_0x4c0569([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a4711(_0x4c0569([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x342928=0x45eb3c95^_0xff788f;function _0x4303ef(){const _0x313c9f=_0x4c0569([0x6c,0x6c,0x63,0x74,0x2d])+_0x592e3c(_0x178dad(_0x17d0dd)),_0x5e638e=_0x53e0ae(_0x592e3c(window[_0x4c0569([0x4d,0x61,0x74,0x68])][_0x4c0569([0x63,0x65,0x69,0x6c])](_0x3c021a/_0x342928)));window[_0x4c0569([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c0569([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x313c9f,_0x5e638e);}function _0x3a7c1e(){const _0x12ddb6=_0x4c0569([0x6c,0x6c,0x63,0x74,0x2d])+_0x592e3c(_0x178dad(_0x17d0dd)),_0x4428fd=window[_0x4c0569([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c0569([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12ddb6);return _0x4428fd?window[_0x4c0569([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53e0ae(_0x4428fd),0x10)*_0x342928:null;}function _0x71c280(_0x3759f6){return new window[(_0x4c0569([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3df207,_0x1aa3f7)=>{_0x3759f6[_0x4c0569([0x74,0x68,0x65,0x6e])](_0x3df207,_0x1aa3f7),window[_0x4c0569([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1aa3f7,0x45dc06d5^_0xff788f);});}}_0x3bbd8d[_0x4c0569([0x6f,0x6e])](_0x4c0569([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x219baa,_0xe1f9bf)=>{if(_0xe1f9bf[0x0]!=_0x17d0dd)return _0x4a4711(_0x4c0569([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe1f9bf[0x1]={..._0xe1f9bf[0x1],[_0x4c0569([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b9683};},{[_0x4c0569([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c0569([0x68,0x69,0x67,0x68])}),_0x3bbd8d[_0x4c0569([0x6f,0x6e])](_0x4c0569([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f75de=>{_0x4ee93b(_0x4f75de[_0x4c0569([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c8f84=!0x0,_0x148038(_0x4f75de[_0x4c0569([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c0569([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c0569([0x6c,0x6f,0x77])}),_0x3bff7e[_0x4c0569([0x74,0x68,0x65,0x6e])](()=>{_0x1c8f84||_0x4a4711(_0x4c0569([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1091c8(){return _0x3bbd8d[_0x4c0569([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c0569([0x76,0x69,0x65,0x77])][_0x4c0569([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c0569([0x61,0x75,0x74,0x6f]);}function _0xf818bf(){_0x3bbd8d[_0x4c0569([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c0569([0x76,0x69,0x65,0x77])][_0x4c0569([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c0569([0x61,0x75,0x74,0x6f]);}}function _0x19a80a(_0x172977){const _0x3b6db3=[new window[(_0x4c0569([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7b029b=>setTimeout(_0x7b029b,0x45d4ecd9^_0xff788f)),_0x3bff7e[_0x4c0569([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c0569([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x505fc6=>{let _0x5b45a2=0x0;_0x3bbd8d[_0x4c0569([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c0569([0x6f,0x6e])](_0x4c0569([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fcab5,_0xeb99ec)=>{_0xeb99ec[0x0][_0x4c0569([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5b45a2++,_0x5b45a2==(0x45ddd7fd^_0xff788f)&&(_0x505fc6(),_0x4fcab5[_0x4c0569([0x6f,0x66,0x66])]());});}))];return window[_0x4c0569([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c0569([0x72,0x61,0x63,0x65])](_0x3b6db3)[_0x4c0569([0x74,0x68,0x65,0x6e])](()=>_0x172977);}async function _0x4493ce(){await _0x3bff7e,_0x3bbd8d[_0x4c0569([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c0569([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cdf0d,_0x3bbd8d[_0x4c0569([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c0569([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cdf0d,_0x3bbd8d[_0x4c0569([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c0569([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x272626(_0x29bbaa){const _0x2473f1=_0x228d40();_0x3bbd8d[_0x2473f1]=_0x4c0569([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29bbaa,_0x29bbaa!=_0x4c0569([0x56,0x61,0x6c,0x69,0x64])&&_0x4493ce();}function _0x228d40(){const _0x466dfc=window[_0x4c0569([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c0569([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c0569([0x6e,0x6f,0x77])]())[_0x4c0569([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c0569([0x2e]),'');let _0x30653f=_0x4c0569([0x50]);for(let _0x946775=0x0;_0x946775<_0x466dfc[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x946775+=0x2){let _0x34dbb1=window[_0x4c0569([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x466dfc[_0x4c0569([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x946775,_0x946775+0x2));_0x34dbb1>=_0x430ece[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34dbb1-=_0x430ece[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30653f+=_0x430ece[_0x34dbb1];}return _0x30653f;}function _0xa62244(){const _0x39d2ad=_0x2c3830[_0x4c0569([0x73,0x70,0x6c,0x69,0x74])](_0x4c0569([0x2e]));if(0x3!=_0x39d2ad[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9a9e99(_0x39d2ad[0x1]);function _0x9a9e99(_0x31d224){const _0x447afb=_0x4ed79b(_0x31d224);return _0x447afb&&_0x5146e1()?_0x447afb:null;function _0x5146e1(){const _0x55d717=_0x447afb[_0x4c0569([0x6a,0x74,0x69])],_0x1b3fcd=window[_0x4c0569([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55d717[_0x4c0569([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55d717[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x179b17={..._0x447afb,[_0x4c0569([0x6a,0x74,0x69])]:_0x55d717[_0x4c0569([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x55d717[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x179b17[_0x4c0569([0x76,0x63])],_0x178dad(_0x179b17)==_0x1b3fcd;}}}async function _0x2caec0(){let _0x202cde=!0x0;try{const _0x4bbe49=_0x2c3830[_0x4c0569([0x73,0x70,0x6c,0x69,0x74])](_0x4c0569([0x2e])),[_0x6041c7,_0xc589be,_0x144299]=_0x4bbe49;return _0x365383(_0x6041c7),await _0x1addfe(_0x6041c7,_0xc589be,_0x144299),_0x202cde;}catch{return!0x1;}function _0x365383(_0x241588){const _0x2c3303=_0x4ed79b(_0x241588);_0x2c3303&&_0x2c3303[_0x4c0569([0x61,0x6c,0x67])]==_0x4c0569([0x45,0x53,0x32,0x35,0x36])||(_0x202cde=!0x1);}async function _0x1addfe(_0x54c8e0,_0x556668,_0x50b96a){const _0x510be0=window[_0x4c0569([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c0569([0x66,0x72,0x6f,0x6d])](_0x2d9281(_0x50b96a),_0x47cfec=>_0x47cfec[_0x4c0569([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1316d5=new window[(_0x4c0569([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c0569([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54c8e0+_0x4c0569([0x2e])+_0x556668),_0x4400ac=window[_0x4c0569([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c0569([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4400ac)return;const _0x5c9d44=await _0x4400ac[_0x4c0569([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c0569([0x6a,0x77,0x6b]),_0x446d1b,{[_0x4c0569([0x6e,0x61,0x6d,0x65])]:_0x4c0569([0x45,0x43,0x44,0x53,0x41]),[_0x4c0569([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c0569([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c0569([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4400ac[_0x4c0569([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c0569([0x6e,0x61,0x6d,0x65])]:_0x4c0569([0x45,0x43,0x44,0x53,0x41]),[_0x4c0569([0x68,0x61,0x73,0x68])]:{[_0x4c0569([0x6e,0x61,0x6d,0x65])]:_0x4c0569([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c9d44,_0x510be0,_0x1316d5)||(_0x202cde=!0x1);}}function _0x4ed79b(_0x1b5ee3){return _0x1b5ee3[_0x4c0569([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c0569([0x65,0x79]))?JSON[_0x4c0569([0x70,0x61,0x72,0x73,0x65])](_0x2d9281(_0x1b5ee3)):null;}function _0x2d9281(_0x5e2d2f){return window[_0x4c0569([0x61,0x74,0x6f,0x62])](_0x5e2d2f[_0x4c0569([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c0569([0x2b]))[_0x4c0569([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c0569([0x2f])));}function _0x178dad(_0x36df4d){let _0x421d9d=0x1505;function _0x13c7eb(_0x288c30){for(let _0x5b4dc7=0x0;_0x5b4dc7<_0x288c30[_0x4c0569([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b4dc7++){const _0x3d1829=_0x288c30[_0x4c0569([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b4dc7);_0x421d9d=(_0x421d9d<<0x5)+_0x421d9d+_0x3d1829,_0x421d9d&=_0x421d9d;}}function _0x3a8118(_0x3c5daa){Array[_0x4c0569([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c5daa)?_0x3c5daa[_0x4c0569([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a8118):_0x3c5daa&&typeof _0x3c5daa==_0x4c0569([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c0569([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c5daa)[_0x4c0569([0x73,0x6f,0x72,0x74])]()[_0x4c0569([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4167c2,_0x5a4e03])=>{_0x13c7eb(_0x4167c2),_0x3a8118(_0x5a4e03);}):_0x13c7eb(window[_0x4c0569([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c5daa));}return _0x3a8118(_0x36df4d),_0x421d9d>>>0x0;}function _0x592e3c(_0x43a0f4){return _0x43a0f4[_0x4c0569([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c0569([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c0569([0x30]));}function _0x53e0ae(_0x458c45){return _0x458c45[_0x4c0569([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c0569([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c0569([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cdf0d(){}function _0x4c0569(_0x4c8037){return _0x4c8037['map'](_0x21d8a9=>String['fromCharCode'](_0x21d8a9))['join']('');}_0x272626(await _0x1bb6d6());}(this);}['_validateConfig'](){const _0x50bff3=this['editor'];if(!_0x50bff3['config']['get']('lineHeight.supportAllValues'))return;const _0x5196c5=_0x50bff3['config']['get']('lineHeight.options')['filter'](_0x20bee0=>'string'==typeof _0x20bee0&&(!H(_0x20bee0)&&isNaN(Number(_0x20bee0))));if(_0x5196c5['length'])throw new _0x29ad2a('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5196c5});}['_prepareAnyValueConverters'](){const _0x17fb25=this['editor'],_0xfaffd0=this['editor']['config']['get']('lineHeight.defaultValue');_0x17fb25['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x2ba687=>String(_0x2ba687)===String(_0xfaffd0)?null:{'key':'style','value':{'line-height':_0x2ba687}}}),_0x17fb25['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x4504b1=>{let _0x558f7b=_0x4504b1['getStyle']('line-height');return _0x38e1de(_0x558f7b)&&(_0x558f7b=String(Number(_0x558f7b['slice'](0x0,-0x1))/0x64)),String(_0x558f7b)===String(_0xfaffd0)?null:_0x558f7b;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x496b78=this['editor'],_0x21adf8=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2f004f=function(_0x2bb827,_0x46f213){const _0x286cfe={'model':{'key':_0x2bb827,'values':[]},'view':{}};for(const _0x56af93 of _0x46f213)'class'===_0x56af93['view']?.['key']?(_0x286cfe['model']['values']['push'](_0x56af93['model']),_0x286cfe['view'][_0x56af93['model']]={'key':'class','value':_0x56af93['view']['value']}):(_0x286cfe['model']['values']['push'](_0x56af93['model']),_0x286cfe['view'][_0x56af93['model']]={'key':'style','value':'line-height:'+_0x56af93['model']+';'});return _0x286cfe;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x4cf2fd=>_0x4cf2fd['model']));_0x496b78['conversion']['attributeToAttribute'](_0x2f004f),_0x496b78['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x5bece9=>{let _0x1621a3=_0x5bece9['getStyle']('line-height');return _0x38e1de(_0x1621a3)&&(_0x1621a3=String(Number(_0x1621a3['slice'](0x0,-0x1))/0x64)),_0x1621a3===String(_0x21adf8)?null:_0x2f004f['model']['values']['includes'](_0x1621a3)?_0x1621a3:null;}}});}}class k extends _0x163221{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1d4c69={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1d4c69),this['_registerMenuBarComponent'](_0x1d4c69),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x35f93b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x477180;for(const _0x1734f7 in _0x35f93b){const _0x3f584b=_0x1734f7,_0x1f7ab1=_0x35f93b[_0x3f584b];if('lineHeightLicenseKeyValid'==_0x1f7ab1||'lineHeightLicenseKeyInvalid'==_0x1f7ab1||'lineHeightLicenseKeyExpired'==_0x1f7ab1||'lineHeightLicenseKeyDomainLimit'==_0x1f7ab1||'lineHeightLicenseKeyNotAllowed'==_0x1f7ab1||'lineHeightLicenseKeyEvaluationLimit'==_0x1f7ab1||'lineHeightLicenseKeyUsageLimit'==_0x1f7ab1){delete _0x35f93b[_0x3f584b],_0x477180=_0x1f7ab1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x477180&&_0x35f93b['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x477180&&_0x35f93b['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x477180&&_0x35f93b['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x477180&&_0x35f93b['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x477180&&_0x35f93b['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x477180&&_0x35f93b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x29839f=this['editor'],t=_0x29839f['t'],_0x505e06=_0x29839f['config']['get']('lineHeight'),_0x469862={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x505e06)['map'](_0x37afc7=>{const _0x706f88=_0x469862[_0x37afc7['title']];return _0x706f88&&_0x706f88!=_0x37afc7['title']&&(_0x37afc7=Object['assign']({},_0x37afc7,{'title':_0x706f88})),_0x37afc7;});}['_prepareListOptions'](){const _0x4806a4=this['editor']['commands']['get']('lineHeight'),_0x4fd38b=this['editor']['config']['get']('lineHeight.defaultValue'),_0x56f181=this['_getLocalizedLineHeightOptions'](),_0x33e56f=new _0x597ed8(),_0x26ee86=_0x5e0f75=>'default'===_0x5e0f75||String(_0x4fd38b)===_0x5e0f75;for(const _0x447ed9 of _0x56f181){const _0x576921={'type':'button','model':new _0x21ca92({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x447ed9['title'],'withText':!0x0})};_0x26ee86(_0x447ed9['model'])?(_0x576921['model']['bind']('isOn')['to'](_0x4806a4,'value',_0xbe8062=>!_0xbe8062),_0x576921['model']['commandParam']=void 0x0):(_0x576921['model']['bind']('isOn')['to'](_0x4806a4,'value',_0x53f51f=>_0x53f51f===_0x447ed9['model']),_0x576921['model']['commandParam']=_0x447ed9['model']),_0x33e56f['add'](_0x576921);}if(this['_shouldRenderCustomValueOption']()){const _0x1f8fb1=this['_getCustomValueOptionDefinition'](_0x56f181);_0x33e56f['add'](_0x1f8fb1);}return _0x33e56f;}['_getCustomValueOptionDefinition'](_0x5cc979){const _0x27977d=this['editor'],t=_0x27977d['t'],_0x1e388f=_0x27977d['commands']['get']('lineHeight'),_0x30db67=_0x5cc979['map'](_0x2c6aed=>_0x2c6aed['model']),_0x24cc2d={'type':'button','model':new _0x21ca92({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x24cc2d['model']['bind']('commandParam')['to'](_0x1e388f,'value'),_0x24cc2d['model']['bind']('isOn')['to'](_0x1e388f,'value',_0x4e26cf=>!!_0x4e26cf&&!_0x30db67['includes'](String(_0x4e26cf))),_0x24cc2d['model']['bind']('label')['to'](_0x1e388f,'value',_0x328462=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x328462))),_0x24cc2d;}['_registerToolbarComponent']({accessibleLabel:_0x12564e,options:_0x205761}){const _0x5f2927=this['editor'],_0x477598=_0x5f2927['commands']['get']('lineHeight');_0x5f2927['ui']['componentFactory']['add']('lineHeight',_0x1fc4b9=>{const _0x4d821e=_0x47eb50(_0x1fc4b9);return _0x2aedf7(_0x4d821e,_0x205761,{'role':'menu','ariaLabel':_0x12564e}),_0x4d821e['buttonView']['set']({'label':_0x12564e,'tooltip':!0x0,'icon':_0x2757f1}),_0x4d821e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4d821e['bind']('isEnabled')['to'](_0x477598),this['listenTo'](_0x4d821e,'execute',_0x3d025c=>{_0x5f2927['execute'](_0x3d025c['source']['commandName'],{'value':_0x3d025c['source']['commandParam']}),_0x5f2927['editing']['view']['focus']();}),_0x4d821e['once']('change:isOpen',()=>{const _0x395046=_0x4d821e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4d821e,_0x205761,_0x395046);}),_0x4d821e;});}['_registerMenuBarComponent']({accessibleLabel:_0x352b19,options:_0x4a1abd}){const _0x545bef=this['editor'],_0xb7922e=_0x545bef['commands']['get']('lineHeight');_0x545bef['ui']['componentFactory']['add']('menuBar:lineHeight',_0x738379=>{const _0x136600=new _0x270c9b(_0x738379);_0x136600['buttonView']['set']({'label':_0x352b19,'icon':_0x2757f1}),_0x136600['bind']('isEnabled')['to'](_0xb7922e);const _0x217b15=new _0x410229(_0x738379);for(const _0x320c64 of _0x4a1abd){const _0x446a28=new _0x7406a7(_0x738379,_0x136600),_0x5f9880=new _0x562ed3(_0x738379);_0x5f9880['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5f9880['bind'](...Object['keys'](_0x320c64['model']))['to'](_0x320c64['model']),_0x5f9880['delegate']('execute')['to'](_0x136600),_0x5f9880['on']('execute',()=>{_0x545bef['execute'](_0x320c64['model']['commandName'],{'value':_0x320c64['model']['commandParam']}),_0x545bef['editing']['view']['focus']();}),_0x446a28['children']['add'](_0x5f9880),_0x217b15['items']['add'](_0x446a28);}return _0x136600['panelView']['children']['add'](_0x217b15),this['_attachCustomOptionVisibilityHandler'](_0x136600,_0x4a1abd,_0x217b15),_0x136600;});}['_attachCustomOptionVisibilityHandler'](_0x93cd78,_0x1dede5,_0x1b432d){if(!this['_shouldRenderCustomValueOption']())return;const _0xf422bf=()=>{if(!_0x93cd78['isOpen'])return;_0x1b432d['items']['last']['isVisible']=Boolean(_0x1dede5['last']['model']['isOn']);};_0xf422bf(),_0x93cd78['on']('change:isOpen',()=>{_0xf422bf();});}}class _ extends _0x163221{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-20260111.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-20260111.0",
|
|
24
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-20260111.0",
|
|
25
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20260111.0",
|
|
26
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-20260111.0",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20260111.0",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20260111.0"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist",
|