@ckeditor/ckeditor5-line-height 48.8.1-alpha.0 → 48.8.1-alpha.2
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 _0x4358a0,Plugin as _0x383016}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x241739,CKEditorError as _0x5db47e,uid as _0x502582,Collection as _0x4ec470}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x5d5f1c,isPercentageStyleValue as _0x55016a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x1c5882,createDropdown as _0x3cb29f,addListToDropdown as _0x4451ff,MenuBarMenuView as _0x15b7d5,MenuBarMenuListView as _0x588993,MenuBarMenuListItemView as _0x164c70,MenuBarMenuListItemButtonView as _0x156759}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x44a695}from'@ckeditor/ckeditor5-icons/dist/index.js';class LineHeightCommand extends _0x4358a0{['refresh'](){const _0xc4e2cc=this['editor']['model']['document'],_0x1a6dda=_0x241739(_0xc4e2cc['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x1a6dda)&&this['_canHaveLineHeight'](_0x1a6dda),this['value']=this['isEnabled']&&_0x1a6dda['getAttribute']('lineHeight');}['execute'](_0x4aa734={}){const _0x416800=this['editor']['model'],_0x4db212=_0x416800['document']['selection'],_0x5435a2=_0x4aa734['value'];_0x416800['change'](_0x5f158e=>{const _0x5f4467=Array['from'](_0x4db212['getSelectedBlocks']())['filter'](_0x26c479=>this['_canHaveLineHeight'](_0x26c479));for(const _0x55ac4f of _0x5f4467)_0x5435a2?_0x5f158e['setAttribute']('lineHeight',_0x5435a2,_0x55ac4f):_0x5f158e['removeAttribute']('lineHeight',_0x55ac4f);});}['_canHaveLineHeight'](_0xbb2181){return this['editor']['model']['schema']['checkAttribute'](_0xbb2181,'lineHeight');}}const p={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(_0x2a0e20){return'string'==typeof _0x2a0e20&&'default'===_0x2a0e20['toLowerCase']();}function L(_0x56f92c){return _0x56f92c['options']['map'](_0x6e502b=>{return H(_0x6e502b)?{'title':String(_0x56f92c['defaultValue']),'model':'default'}:('number'==typeof _0x6e502b&&(_0x6e502b=String(_0x6e502b)),'string'!=typeof _0x6e502b?_0x6e502b:parseFloat(_0x6e502b)?{'title':_0x6e502b,'model':_0x6e502b,'view':{'name':'span','styles':{'line-height':_0x6e502b}}}:'string'==typeof(_0x5c28e8=_0x6e502b)?p[_0x5c28e8]:p[_0x5c28e8['model']]);var _0x5c28e8;})['filter'](_0x37df41=>void 0x0!==_0x37df41);}class LineHeightTodoListIntegration extends _0x383016{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x245ed8,conversion:_0x1edd02}=this['editor'];if(!_0x245ed8['has']('ListEditing')||!_0x245ed8['has']('TodoListEditing'))return;_0x245ed8['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x48cff9,_0x30b76c,_0x22ed2f,_0x3ae5ba,_0x1c7efc){'todo'==_0x1c7efc['getAttribute']('listType')&&_0x30b76c&&(_0x48cff9['addClass']('ck-list-marker-line-height',_0x22ed2f),_0x48cff9['setStyle']('--ck-content-list-marker-line-height',_0x30b76c,_0x22ed2f));}}),_0x1edd02['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x1edd02['for']('upcast')['add'](_0x200630=>{_0x200630['on']('element:li',function(_0x25551a){const _0x905eb1=new _0x5d5f1c(_0x25551a);return(_0x577ce2,_0x32386c,_0x5e71c8)=>{const _0x2e0975=_0x905eb1['match'](_0x32386c['viewItem']);if(!_0x2e0975)return;const _0x83f75=_0x2e0975['match'];_0x83f75['name']=!0x1,_0x5e71c8['consumable']['consume'](_0x32386c['viewItem'],_0x83f75);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x383016{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5e01bf){super(_0x5e01bf),_0x5e01bf['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0xbbfbd7=this['editor'];this['_validateConfig'](),_0xbbfbd7['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0xbbfbd7['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0xbbfbd7['commands']['add']('lineHeight',new LineHeightCommand(_0xbbfbd7)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x434f3e){const _0x52c208=_0x1c19cd([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]),_0xa062b4=0x45ddd215,_0xff1d48=0x45da5835^_0xa062b4,_0x551cd5=window[_0x1c19cd([0x44,0x61,0x74,0x65])][_0x1c19cd([0x6e,0x6f,0x77])](),_0xd94f8=_0x434f3e[_0x1c19cd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe0f9f1=new window[(_0x1c19cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cba16=>{_0xd94f8[_0x1c19cd([0x6f,0x6e,0x63,0x65])](_0x1c19cd([0x72,0x65,0x61,0x64,0x79]),_0x3cba16);}),_0x3fb6ec={[_0x1c19cd([0x6b,0x74,0x79])]:_0x1c19cd([0x45,0x43]),[_0x1c19cd([0x75,0x73,0x65])]:_0x1c19cd([0x73,0x69,0x67]),[_0x1c19cd([0x63,0x72,0x76])]:_0x1c19cd([0x50,0x2d,0x32,0x35,0x36]),[_0x1c19cd([0x78])]:_0x1c19cd([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]),[_0x1c19cd([0x79])]:_0x1c19cd([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]),[_0x1c19cd([0x61,0x6c,0x67])]:_0x1c19cd([0x45,0x53,0x32,0x35,0x36])},_0x16d406=_0xd94f8[_0x1c19cd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c19cd([0x67,0x65,0x74])](_0x1c19cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x23aba0(){let _0x34d5d9,_0x24aea3=null,_0x575b54=null;try{if(_0x16d406==_0x1c19cd([0x47,0x50,0x4c]))return _0x1c19cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34d5d9=_0x4c5e55(),!_0x34d5d9)return _0x1c19cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34d5d9[_0x1c19cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x575b54=_0x7866d1(_0x34d5d9[_0x1c19cd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34d5d9[_0x1c19cd([0x6a,0x74,0x69])])),await _0x1fe6a1()?_0x26ae15()?_0x75eb79()?_0x1c19cd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2980d5()?(_0x34d5d9[_0x1c19cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c19cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24aea3=_0x657a02(_0x1c19cd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d2be4()):_0x1c19cd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c19cd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c19cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c19cd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x75eb79(){const _0x1b02be=[_0x1c19cd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c19cd([0x74,0x72,0x69,0x61,0x6c])][_0x1c19cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34d5d9[_0x1c19cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x551cd5/0x3e8:0xe10*_0xff1d48;return _0x34d5d9[_0x1c19cd([0x65,0x78,0x70])]<_0x1b02be;}function _0x26ae15(){const _0x47888b=_0x34d5d9[_0x1c19cd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47888b&&(!!_0x47888b[_0x1c19cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c19cd([0x2a]))||!!_0x47888b[_0x1c19cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c19cd([0x4c,0x48])));}function _0x2980d5(){const _0x32102e=_0x34d5d9[_0x1c19cd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32102e||0x0==_0x32102e[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d76ca}=new URL(window[_0x1c19cd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32102e[_0x1c19cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d76ca))return!0x0;const _0x298a13=_0x2d76ca[_0x1c19cd([0x73,0x70,0x6c,0x69,0x74])](_0x1c19cd([0x2e]));return _0x32102e[_0x1c19cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5839ee=>_0x5839ee[_0x1c19cd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c19cd([0x2a])))[_0x1c19cd([0x6d,0x61,0x70])](_0xe7af4f=>_0xe7af4f[_0x1c19cd([0x73,0x70,0x6c,0x69,0x74])](_0x1c19cd([0x2e])))[_0x1c19cd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3caa70=>_0x3caa70[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x298a13[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c19cd([0x6d,0x61,0x70])](_0x26130d=>Array(_0x298a13[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x26130d[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c19cd([0x66,0x69,0x6c,0x6c])](_0x26130d[0x0]===_0x1c19cd([0x2a])?_0x1c19cd([0x2a]):'')[_0x1c19cd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x26130d))[_0x1c19cd([0x73,0x6f,0x6d,0x65])](_0x5ccf34=>_0x298a13[_0x1c19cd([0x65,0x76,0x65,0x72,0x79])]((_0x4ad394,_0xd1dbe)=>_0x5ccf34[_0xd1dbe]===_0x4ad394||_0x5ccf34[_0xd1dbe]===_0x1c19cd([0x2a])));}function _0x2d2be4(){return _0x24aea3&&_0x575b54?new window[(_0x1c19cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x455f3f,_0x48f346)=>{_0x24aea3[_0x1c19cd([0x74,0x68,0x65,0x6e])](_0x455f3f,_0x48f346),_0x575b54[_0x1c19cd([0x74,0x68,0x65,0x6e])](_0xbeb643=>{_0xbeb643!=_0x1c19cd([0x56,0x61,0x6c,0x69,0x64])&&_0x455f3f(_0xbeb643);},_0x48f346);}):_0x24aea3||_0x575b54||_0x1c19cd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x7866d1(_0x1f54e9,_0x39139e){return new window[(_0x1c19cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57caef=>{if(_0x36922e())return _0x57caef(_0x1c19cd([0x56,0x61,0x6c,0x69,0x64]));_0xd21290(),_0xd94f8[_0x1c19cd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c19cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x28eaff=!0x1;const _0x1a1c1d=_0x502582();function _0x40daa7(_0x1c5a35){return!!_0x1c5a35&&(typeof _0x1c5a35===_0x1c19cd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c5a35===_0x1c19cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c5a35[_0x1c19cd([0x74,0x68,0x65,0x6e])]===_0x1c19cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c5a35[_0x1c19cd([0x63,0x61,0x74,0x63,0x68])]===_0x1c19cd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x228a76(_0x10dd67){_0xa8297b(_0x10dd67)[_0x1c19cd([0x74,0x68,0x65,0x6e])](_0x17404c=>{if(!_0x17404c||_0x17404c[_0x1c19cd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c19cd([0x6f,0x6b]))return _0x1c19cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42649d(_0x59b5c0(_0x1a1c1d+_0x39139e))!=_0x17404c[_0x1c19cd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c19cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c19cd([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c19cd([0x74,0x68,0x65,0x6e])](_0x481b62=>(_0xbf5cd2(),_0x481b62),()=>{const _0x5320fd=_0x1a73b3();return null==_0x5320fd?(_0xbf5cd2(),_0x1c19cd([0x56,0x61,0x6c,0x69,0x64])):_0x1c19cd(_0x551cd5-_0x5320fd>(0x61d15615^_0xa062b4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c19cd([0x74,0x68,0x65,0x6e])](_0x57caef)[_0x1c19cd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x57caef(_0x1c19cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ea03b=0x45eb3c95^_0xa062b4;function _0xbf5cd2(){const _0x492672=_0x1c19cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x42649d(_0x59b5c0(_0x1f54e9)),_0x53dbac=_0x3404ae(_0x42649d(window[_0x1c19cd([0x4d,0x61,0x74,0x68])][_0x1c19cd([0x63,0x65,0x69,0x6c])](_0x551cd5/_0x1ea03b)));window[_0x1c19cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c19cd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x492672,_0x53dbac);}function _0x1a73b3(){const _0x14ff93=_0x1c19cd([0x6c,0x6c,0x63,0x74,0x2d])+_0x42649d(_0x59b5c0(_0x1f54e9)),_0x9202ef=window[_0x1c19cd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c19cd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14ff93);return _0x9202ef?window[_0x1c19cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3404ae(_0x9202ef),0x10)*_0x1ea03b:null;}function _0xa8297b(_0xf00d19){return new window[(_0x1c19cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59f9e6,_0x2ee97e)=>{_0xf00d19[_0x1c19cd([0x74,0x68,0x65,0x6e])](_0x59f9e6,_0x2ee97e),window[_0x1c19cd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ee97e,0x45dc06d5^_0xa062b4);});}}_0xd94f8[_0x1c19cd([0x6f,0x6e])](_0x1c19cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a0bfb,_0x4efdb3)=>{if(_0x4efdb3[0x0]!=_0x1f54e9)return _0x57caef(_0x1c19cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4efdb3[0x1]={..._0x4efdb3[0x1],[_0x1c19cd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a1c1d};},{[_0x1c19cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c19cd([0x68,0x69,0x67,0x68])}),_0xd94f8[_0x1c19cd([0x6f,0x6e])](_0x1c19cd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c37f7=>{_0x40daa7(_0x5c37f7[_0x1c19cd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x28eaff=!0x0,_0x228a76(_0x5c37f7[_0x1c19cd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c19cd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c19cd([0x6c,0x6f,0x77])}),_0xe0f9f1[_0x1c19cd([0x74,0x68,0x65,0x6e])](()=>{_0x28eaff||_0x57caef(_0x1c19cd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36922e(){return _0xd94f8[_0x1c19cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c19cd([0x76,0x69,0x65,0x77])][_0x1c19cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c19cd([0x61,0x75,0x74,0x6f]);}function _0xd21290(){_0xd94f8[_0x1c19cd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c19cd([0x76,0x69,0x65,0x77])][_0x1c19cd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c19cd([0x61,0x75,0x74,0x6f]);}}function _0x657a02(_0x23186a){const _0x33092e=[new window[(_0x1c19cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49f98c=>setTimeout(_0x49f98c,0x45d4ecd9^_0xa062b4)),_0xe0f9f1[_0x1c19cd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c19cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34d5ee=>{let _0x2db5a7=0x0;_0xd94f8[_0x1c19cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c19cd([0x6f,0x6e])](_0x1c19cd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5754d7,_0x20cde2)=>{_0x20cde2[0x0][_0x1c19cd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2db5a7++,_0x2db5a7==(0x45ddd7fd^_0xa062b4)&&(_0x34d5ee(),_0x5754d7[_0x1c19cd([0x6f,0x66,0x66])]());});}))];return window[_0x1c19cd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c19cd([0x72,0x61,0x63,0x65])](_0x33092e)[_0x1c19cd([0x74,0x68,0x65,0x6e])](()=>_0x23186a);}async function _0xef7b3e(){await _0xe0f9f1,_0xd94f8[_0x1c19cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c19cd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3344fb,_0xd94f8[_0x1c19cd([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c19cd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3344fb,_0xd94f8[_0x1c19cd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c19cd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x145c51(_0x292800){const _0x453d23=_0x1fbb6c();_0xd94f8[_0x453d23]=_0x1c19cd([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x292800,_0x292800!=_0x1c19cd([0x56,0x61,0x6c,0x69,0x64])&&_0xef7b3e();}function _0x1fbb6c(){const _0xba2502=window[_0x1c19cd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c19cd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c19cd([0x6e,0x6f,0x77])]())[_0x1c19cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c19cd([0x2e]),'');let _0x9c5ba5=_0x1c19cd([0x50]);for(let _0x4d3463=0x0;_0x4d3463<_0xba2502[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d3463+=0x2){let _0x2fa5d3=window[_0x1c19cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xba2502[_0x1c19cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d3463,_0x4d3463+0x2));_0x2fa5d3>=_0x52c208[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2fa5d3-=_0x52c208[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9c5ba5+=_0x52c208[_0x2fa5d3];}return _0x9c5ba5;}function _0x4c5e55(){const _0x42e628=_0x16d406[_0x1c19cd([0x73,0x70,0x6c,0x69,0x74])](_0x1c19cd([0x2e]));if(0x3!=_0x42e628[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a6de0(_0x42e628[0x1]);function _0x3a6de0(_0x555719){const _0x4cc070=_0x59b9e4(_0x555719);return _0x4cc070&&_0x18005e()?_0x4cc070:null;function _0x18005e(){const _0x2e5373=_0x4cc070[_0x1c19cd([0x6a,0x74,0x69])],_0x354fd8=window[_0x1c19cd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e5373[_0x1c19cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e5373[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cf468={..._0x4cc070,[_0x1c19cd([0x6a,0x74,0x69])]:_0x2e5373[_0x1c19cd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e5373[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cf468[_0x1c19cd([0x76,0x63])],_0x59b5c0(_0x3cf468)==_0x354fd8;}}}async function _0x1fe6a1(){let _0x1c04a8=!0x0;try{const _0x26d3a8=_0x16d406[_0x1c19cd([0x73,0x70,0x6c,0x69,0x74])](_0x1c19cd([0x2e])),[_0x2f1ddf,_0x366a6b,_0xea117f]=_0x26d3a8;return _0x38db68(_0x2f1ddf),await _0x9dfc03(_0x2f1ddf,_0x366a6b,_0xea117f),_0x1c04a8;}catch{return!0x1;}function _0x38db68(_0x1ec7c4){const _0x3360ac=_0x59b9e4(_0x1ec7c4);_0x3360ac&&_0x3360ac[_0x1c19cd([0x61,0x6c,0x67])]==_0x1c19cd([0x45,0x53,0x32,0x35,0x36])||(_0x1c04a8=!0x1);}async function _0x9dfc03(_0x3a21d5,_0x85fa04,_0x45e1f){const _0x27159b=window[_0x1c19cd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c19cd([0x66,0x72,0x6f,0x6d])](_0x911fce(_0x45e1f),_0x29662f=>_0x29662f[_0x1c19cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x487aaa=new window[(_0x1c19cd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c19cd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a21d5+_0x1c19cd([0x2e])+_0x85fa04),_0x57233e=window[_0x1c19cd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c19cd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57233e)return;const _0x20b2e3=await _0x57233e[_0x1c19cd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c19cd([0x6a,0x77,0x6b]),_0x3fb6ec,{[_0x1c19cd([0x6e,0x61,0x6d,0x65])]:_0x1c19cd([0x45,0x43,0x44,0x53,0x41]),[_0x1c19cd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c19cd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c19cd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57233e[_0x1c19cd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c19cd([0x6e,0x61,0x6d,0x65])]:_0x1c19cd([0x45,0x43,0x44,0x53,0x41]),[_0x1c19cd([0x68,0x61,0x73,0x68])]:{[_0x1c19cd([0x6e,0x61,0x6d,0x65])]:_0x1c19cd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20b2e3,_0x27159b,_0x487aaa)||(_0x1c04a8=!0x1);}}function _0x59b9e4(_0x26d730){return _0x26d730[_0x1c19cd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c19cd([0x65,0x79]))?JSON[_0x1c19cd([0x70,0x61,0x72,0x73,0x65])](_0x911fce(_0x26d730)):null;}function _0x911fce(_0x2e5cce){return window[_0x1c19cd([0x61,0x74,0x6f,0x62])](_0x2e5cce[_0x1c19cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c19cd([0x2b]))[_0x1c19cd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c19cd([0x2f])));}function _0x59b5c0(_0x3823e9){let _0x1da5ad=0x1505;function _0x35aba9(_0x330408){for(let _0x33d54d=0x0;_0x33d54d<_0x330408[_0x1c19cd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33d54d++){const _0x10dcaa=_0x330408[_0x1c19cd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33d54d);_0x1da5ad=(_0x1da5ad<<0x5)+_0x1da5ad+_0x10dcaa,_0x1da5ad&=_0x1da5ad;}}function _0x20d5a5(_0x2f648f){Array[_0x1c19cd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f648f)?_0x2f648f[_0x1c19cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20d5a5):_0x2f648f&&typeof _0x2f648f==_0x1c19cd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c19cd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f648f)[_0x1c19cd([0x73,0x6f,0x72,0x74])]()[_0x1c19cd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d9820,_0x525210])=>{_0x35aba9(_0x4d9820),_0x20d5a5(_0x525210);}):_0x35aba9(window[_0x1c19cd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f648f));}return _0x20d5a5(_0x3823e9),_0x1da5ad>>>0x0;}function _0x42649d(_0x391254){return _0x391254[_0x1c19cd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c19cd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c19cd([0x30]));}function _0x3404ae(_0x454ce1){return _0x454ce1[_0x1c19cd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c19cd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c19cd([0x6a,0x6f,0x69,0x6e])]('');}function _0x3344fb(){}function _0x1c19cd(_0x4ad464){return _0x4ad464['map'](_0x2b2d97=>String['fromCharCode'](_0x2b2d97))['join']('');}_0x145c51(await _0x23aba0());}(this);}['_validateConfig'](){const _0x558a3e=this['editor'];if(!_0x558a3e['config']['get']('lineHeight.supportAllValues'))return;const _0x2d5227=_0x558a3e['config']['get']('lineHeight.options')['filter'](_0x3fe9c2=>'string'==typeof _0x3fe9c2&&(!H(_0x3fe9c2)&&isNaN(Number(_0x3fe9c2))));if(_0x2d5227['length'])throw new _0x5db47e('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x2d5227});}['_prepareAnyValueConverters'](){const _0x494027=this['editor'],_0x45d846=this['editor']['config']['get']('lineHeight.defaultValue');_0x494027['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x155e26=>String(_0x155e26)===String(_0x45d846)?null:{'key':'style','value':{'line-height':_0x155e26}}}),_0x494027['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x2bd796=>{let _0x52acb8=_0x2bd796['getStyle']('line-height');return _0x55016a(_0x52acb8)&&(_0x52acb8=String(Number(_0x52acb8['slice'](0x0,-0x1))/0x64)),String(_0x52acb8)===String(_0x45d846)?null:_0x52acb8;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x18bb49=this['editor'],_0x2b793a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x75947e=function(_0xacdf6b,_0x2a9d63){const _0x4a6c80={'model':{'key':_0xacdf6b,'values':[]},'view':{}};for(const _0xadffc1 of _0x2a9d63)'class'===_0xadffc1['view']?.['key']?(_0x4a6c80['model']['values']['push'](_0xadffc1['model']),_0x4a6c80['view'][_0xadffc1['model']]={'key':'class','value':_0xadffc1['view']['value']}):(_0x4a6c80['model']['values']['push'](_0xadffc1['model']),_0x4a6c80['view'][_0xadffc1['model']]={'key':'style','value':'line-height:'+_0xadffc1['model']+';'});return _0x4a6c80;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x5c0b64=>_0x5c0b64['model']));_0x18bb49['conversion']['attributeToAttribute'](_0x75947e),_0x18bb49['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0xb3fa6=>{let _0x3cec7d=_0xb3fa6['getStyle']('line-height');return _0x55016a(_0x3cec7d)&&(_0x3cec7d=String(Number(_0x3cec7d['slice'](0x0,-0x1))/0x64)),_0x3cec7d===String(_0x2b793a)?null:_0x75947e['model']['values']['includes'](_0x3cec7d)?_0x3cec7d:null;}}});}}class LineHeightUI extends _0x383016{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x169c68={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x169c68),this['_registerMenuBarComponent'](_0x169c68),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x51f0d5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x57b09d;for(const _0x65bb60 in _0x51f0d5){const _0x34ab49=_0x65bb60,_0x307c81=_0x51f0d5[_0x34ab49];if('lineHeightLicenseKeyValid'==_0x307c81||'lineHeightLicenseKeyInvalid'==_0x307c81||'lineHeightLicenseKeyExpired'==_0x307c81||'lineHeightLicenseKeyDomainLimit'==_0x307c81||'lineHeightLicenseKeyNotAllowed'==_0x307c81||'lineHeightLicenseKeyEvaluationLimit'==_0x307c81||'lineHeightLicenseKeyUsageLimit'==_0x307c81){delete _0x51f0d5[_0x34ab49],_0x57b09d=_0x307c81,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x57b09d&&_0x51f0d5['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x57b09d&&_0x51f0d5['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x57b09d&&_0x51f0d5['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x57b09d&&_0x51f0d5['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x57b09d&&_0x51f0d5['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x57b09d&&_0x51f0d5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x446cae=this['editor'],t=_0x446cae['t'],_0x3bf11b=_0x446cae['config']['get']('lineHeight'),_0x2e1795={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x3bf11b)['map'](_0x4a2517=>{const _0x4c0f7f=_0x2e1795[_0x4a2517['title']];return _0x4c0f7f&&_0x4c0f7f!=_0x4a2517['title']&&(_0x4a2517=Object['assign']({},_0x4a2517,{'title':_0x4c0f7f})),_0x4a2517;});}['_prepareListOptions'](){const _0xca68ea=this['editor']['commands']['get']('lineHeight'),_0x588fd6=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3824ef=this['_getLocalizedLineHeightOptions'](),_0x568a22=new _0x4ec470(),_0x3135c3=_0x4556de=>'default'===_0x4556de||String(_0x588fd6)===_0x4556de;for(const _0x2dd0f4 of _0x3824ef){const _0x4a52b3={'type':'button','model':new _0x1c5882({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2dd0f4['title'],'withText':!0x0})};_0x3135c3(_0x2dd0f4['model'])?(_0x4a52b3['model']['bind']('isOn')['to'](_0xca68ea,'value',_0x5ee93b=>!_0x5ee93b),_0x4a52b3['model']['commandParam']=void 0x0):(_0x4a52b3['model']['bind']('isOn')['to'](_0xca68ea,'value',_0x42c823=>_0x42c823===_0x2dd0f4['model']),_0x4a52b3['model']['commandParam']=_0x2dd0f4['model']),_0x568a22['add'](_0x4a52b3);}if(this['_shouldRenderCustomValueOption']()){const _0x509f00=this['_getCustomValueOptionDefinition'](_0x3824ef);_0x568a22['add'](_0x509f00);}return _0x568a22;}['_getCustomValueOptionDefinition'](_0xa4b5c4){const _0x5212c3=this['editor'],t=_0x5212c3['t'],_0xec7fc3=_0x5212c3['commands']['get']('lineHeight'),_0x27b90c=_0xa4b5c4['map'](_0x4e35dc=>_0x4e35dc['model']),_0x5a6e0f={'type':'button','model':new _0x1c5882({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5a6e0f['model']['bind']('commandParam')['to'](_0xec7fc3,'value'),_0x5a6e0f['model']['bind']('isOn')['to'](_0xec7fc3,'value',_0x1d0ab3=>!!_0x1d0ab3&&!_0x27b90c['includes'](String(_0x1d0ab3))),_0x5a6e0f['model']['bind']('label')['to'](_0xec7fc3,'value',_0x16d7a8=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x16d7a8))),_0x5a6e0f;}['_registerToolbarComponent']({accessibleLabel:_0x282540,options:_0x2a4db8}){const _0x1485ea=this['editor'],_0x422b54=_0x1485ea['commands']['get']('lineHeight');_0x1485ea['ui']['componentFactory']['add']('lineHeight',_0x5b3afb=>{const _0x99dbbf=_0x3cb29f(_0x5b3afb);return _0x4451ff(_0x99dbbf,_0x2a4db8,{'role':'menu','ariaLabel':_0x282540}),_0x99dbbf['buttonView']['set']({'label':_0x282540,'tooltip':!0x0,'icon':_0x44a695}),_0x99dbbf['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x99dbbf['bind']('isEnabled')['to'](_0x422b54),this['listenTo'](_0x99dbbf,'execute',_0x28e8ff=>{_0x1485ea['execute'](_0x28e8ff['source']['commandName'],{'value':_0x28e8ff['source']['commandParam']}),_0x1485ea['editing']['view']['focus']();}),_0x99dbbf['once']('change:isOpen',()=>{const _0x883bb6=_0x99dbbf['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x99dbbf,_0x2a4db8,_0x883bb6);}),_0x99dbbf;});}['_registerMenuBarComponent']({accessibleLabel:_0x204e74,options:_0x586759}){const _0x37e083=this['editor'],_0x2cd6ed=_0x37e083['commands']['get']('lineHeight');_0x37e083['ui']['componentFactory']['add']('menuBar:lineHeight',_0x55c1f5=>{const _0x41680e=new _0x15b7d5(_0x55c1f5);_0x41680e['buttonView']['set']({'label':_0x204e74,'icon':_0x44a695}),_0x41680e['bind']('isEnabled')['to'](_0x2cd6ed);const _0x33d889=new _0x588993(_0x55c1f5);for(const _0x1e28a9 of _0x586759){const _0x420569=new _0x164c70(_0x55c1f5,_0x41680e),_0x2dfc5c=new _0x156759(_0x55c1f5);_0x2dfc5c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x2dfc5c['bind'](...Object['keys'](_0x1e28a9['model']))['to'](_0x1e28a9['model']),_0x2dfc5c['delegate']('execute')['to'](_0x41680e),_0x2dfc5c['on']('execute',()=>{_0x37e083['execute'](_0x1e28a9['model']['commandName'],{'value':_0x1e28a9['model']['commandParam']}),_0x37e083['editing']['view']['focus']();}),_0x420569['children']['add'](_0x2dfc5c),_0x33d889['items']['add'](_0x420569);}return _0x41680e['panelView']['children']['add'](_0x33d889),this['_attachCustomOptionVisibilityHandler'](_0x41680e,_0x586759,_0x33d889),_0x41680e;});}['_attachCustomOptionVisibilityHandler'](_0x368cff,_0x38509e,_0x40a5bd){if(!this['_shouldRenderCustomValueOption']())return;const _0x510e63=()=>{if(!_0x368cff['isOpen'])return;_0x40a5bd['items']['last']['isVisible']=Boolean(_0x38509e['last']['model']['isOn']);};_0x510e63(),_0x368cff['on']('change:isOpen',()=>{_0x510e63();});}}class LineHeight extends _0x383016{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{LineHeight,LineHeightCommand,LineHeightEditing,LineHeightTodoListIntegration,LineHeightUI};
|
|
23
|
+
import{Command as _0x1ceba0,Plugin as _0x1573f9}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x5f53b6,CKEditorError as _0x29c435,uid as _0x1f307f,Collection as _0x3720b2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x33eedf,isPercentageStyleValue as _0x12d4fe}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x3bb288,createDropdown as _0x48d53c,addListToDropdown as _0x15cc1c,MenuBarMenuView as _0xf98b4b,MenuBarMenuListView as _0x52510f,MenuBarMenuListItemView as _0x2d6bb5,MenuBarMenuListItemButtonView as _0x271040}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x2b7563}from'@ckeditor/ckeditor5-icons/dist/index.js';class LineHeightCommand extends _0x1ceba0{['refresh'](){const _0x127efb=this['editor']['model']['document'],_0x24b247=_0x5f53b6(_0x127efb['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x24b247)&&this['_canHaveLineHeight'](_0x24b247),this['value']=this['isEnabled']&&_0x24b247['getAttribute']('lineHeight');}['execute'](_0x46e2ce={}){const _0xb19fb5=this['editor']['model'],_0xad408b=_0xb19fb5['document']['selection'],_0x104a29=_0x46e2ce['value'];_0xb19fb5['change'](_0x4e6926=>{const _0x5d5cd3=Array['from'](_0xad408b['getSelectedBlocks']())['filter'](_0x440a4b=>this['_canHaveLineHeight'](_0x440a4b));for(const _0x2efc75 of _0x5d5cd3)_0x104a29?_0x4e6926['setAttribute']('lineHeight',_0x104a29,_0x2efc75):_0x4e6926['removeAttribute']('lineHeight',_0x2efc75);});}['_canHaveLineHeight'](_0x58e6f8){return this['editor']['model']['schema']['checkAttribute'](_0x58e6f8,'lineHeight');}}const p={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(_0x76ef36){return'string'==typeof _0x76ef36&&'default'===_0x76ef36['toLowerCase']();}function L(_0x19c2a8){return _0x19c2a8['options']['map'](_0x2c4633=>{return H(_0x2c4633)?{'title':String(_0x19c2a8['defaultValue']),'model':'default'}:('number'==typeof _0x2c4633&&(_0x2c4633=String(_0x2c4633)),'string'!=typeof _0x2c4633?_0x2c4633:parseFloat(_0x2c4633)?{'title':_0x2c4633,'model':_0x2c4633,'view':{'name':'span','styles':{'line-height':_0x2c4633}}}:'string'==typeof(_0x36ba78=_0x2c4633)?p[_0x36ba78]:p[_0x36ba78['model']]);var _0x36ba78;})['filter'](_0x53f3ab=>void 0x0!==_0x53f3ab);}class LineHeightTodoListIntegration extends _0x1573f9{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x5b3e3e,conversion:_0x283418}=this['editor'];if(!_0x5b3e3e['has']('ListEditing')||!_0x5b3e3e['has']('TodoListEditing'))return;_0x5b3e3e['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0xeb71e3,_0xea8699,_0x1998ed,_0x1f76e8,_0x5e64b4){'todo'==_0x5e64b4['getAttribute']('listType')&&_0xea8699&&(_0xeb71e3['addClass']('ck-list-marker-line-height',_0x1998ed),_0xeb71e3['setStyle']('--ck-content-list-marker-line-height',_0xea8699,_0x1998ed));}}),_0x283418['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x283418['for']('upcast')['add'](_0xd1a261=>{_0xd1a261['on']('element:li',function(_0x1cec85){const _0x5adaa6=new _0x33eedf(_0x1cec85);return(_0x699398,_0x5449fb,_0x564b60)=>{const _0x6b3e71=_0x5adaa6['match'](_0x5449fb['viewItem']);if(!_0x6b3e71)return;const _0x1f48c7=_0x6b3e71['match'];_0x1f48c7['name']=!0x1,_0x564b60['consumable']['consume'](_0x5449fb['viewItem'],_0x1f48c7);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x1573f9{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10d775){super(_0x10d775),_0x10d775['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x11b638=this['editor'];this['_validateConfig'](),_0x11b638['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x11b638['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x11b638['commands']['add']('lineHeight',new LineHeightCommand(_0x11b638)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x50216f){const _0x4387a0=_0x28f718([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]),_0x367089=0x45ddd215,_0xe9db4b=0x45da5845^_0x367089,_0x283f80=window[_0x28f718([0x44,0x61,0x74,0x65])][_0x28f718([0x6e,0x6f,0x77])](),_0x113b91=_0x50216f[_0x28f718([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c1369=new window[(_0x28f718([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x250690=>{_0x113b91[_0x28f718([0x6f,0x6e,0x63,0x65])](_0x28f718([0x72,0x65,0x61,0x64,0x79]),_0x250690);}),_0x3f91b8={[_0x28f718([0x6b,0x74,0x79])]:_0x28f718([0x45,0x43]),[_0x28f718([0x75,0x73,0x65])]:_0x28f718([0x73,0x69,0x67]),[_0x28f718([0x63,0x72,0x76])]:_0x28f718([0x50,0x2d,0x32,0x35,0x36]),[_0x28f718([0x78])]:_0x28f718([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]),[_0x28f718([0x79])]:_0x28f718([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]),[_0x28f718([0x61,0x6c,0x67])]:_0x28f718([0x45,0x53,0x32,0x35,0x36])},_0x28837d=_0x113b91[_0x28f718([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x28f718([0x67,0x65,0x74])](_0x28f718([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3eb765(){let _0x3570a3,_0x2a6edd=null,_0x3da15b=null;try{if(_0x28837d==_0x28f718([0x47,0x50,0x4c]))return _0x28f718([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3570a3=_0xdc0f8b(),!_0x3570a3)return _0x28f718([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3570a3[_0x28f718([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3da15b=_0x2267c2(_0x3570a3[_0x28f718([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3570a3[_0x28f718([0x6a,0x74,0x69])])),await _0x48258c()?_0x560221()?_0x212cb0()?_0x28f718([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xdcfb0e()?(_0x3570a3[_0x28f718([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28f718([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a6edd=_0x4370ec(_0x28f718([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x393f1a()):_0x28f718([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x28f718([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x28f718([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x28f718([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x212cb0(){const _0x64e701=[_0x28f718([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x28f718([0x74,0x72,0x69,0x61,0x6c])][_0x28f718([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3570a3[_0x28f718([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x283f80/0x3e8:0xe10*_0xe9db4b;return _0x3570a3[_0x28f718([0x65,0x78,0x70])]<_0x64e701;}function _0x560221(){const _0x55412e=_0x3570a3[_0x28f718([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x55412e&&(!!_0x55412e[_0x28f718([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28f718([0x2a]))||!!_0x55412e[_0x28f718([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28f718([0x4c,0x48])));}function _0xdcfb0e(){const _0x1d3082=_0x3570a3[_0x28f718([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d3082||0x0==_0x1d3082[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a3d31}=new URL(window[_0x28f718([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1d3082[_0x28f718([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a3d31))return!0x0;const _0x53719d=_0x4a3d31[_0x28f718([0x73,0x70,0x6c,0x69,0x74])](_0x28f718([0x2e]));return _0x1d3082[_0x28f718([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x107240=>_0x107240[_0x28f718([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28f718([0x2a])))[_0x28f718([0x6d,0x61,0x70])](_0x278c9d=>_0x278c9d[_0x28f718([0x73,0x70,0x6c,0x69,0x74])](_0x28f718([0x2e])))[_0x28f718([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54b8b1=>_0x54b8b1[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53719d[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28f718([0x6d,0x61,0x70])](_0x416c2f=>Array(_0x53719d[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x416c2f[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28f718([0x66,0x69,0x6c,0x6c])](_0x416c2f[0x0]===_0x28f718([0x2a])?_0x28f718([0x2a]):'')[_0x28f718([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x416c2f))[_0x28f718([0x73,0x6f,0x6d,0x65])](_0x58a2ce=>_0x53719d[_0x28f718([0x65,0x76,0x65,0x72,0x79])]((_0x36e55b,_0x9b27d1)=>_0x58a2ce[_0x9b27d1]===_0x36e55b||_0x58a2ce[_0x9b27d1]===_0x28f718([0x2a])));}function _0x393f1a(){return _0x2a6edd&&_0x3da15b?new window[(_0x28f718([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x206151,_0x2911b2)=>{_0x2a6edd[_0x28f718([0x74,0x68,0x65,0x6e])](_0x206151,_0x2911b2),_0x3da15b[_0x28f718([0x74,0x68,0x65,0x6e])](_0x4e6c55=>{_0x4e6c55!=_0x28f718([0x56,0x61,0x6c,0x69,0x64])&&_0x206151(_0x4e6c55);},_0x2911b2);}):_0x2a6edd||_0x3da15b||_0x28f718([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2267c2(_0xebd1f,_0x18468d){return new window[(_0x28f718([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50da15=>{if(_0x1fe9ff())return _0x50da15(_0x28f718([0x56,0x61,0x6c,0x69,0x64]));_0x57c30c(),_0x113b91[_0x28f718([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x28f718([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55686a=!0x1;const _0x57d34f=_0x1f307f();function _0x46ccad(_0x58c76f){return!!_0x58c76f&&(typeof _0x58c76f===_0x28f718([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58c76f===_0x28f718([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58c76f[_0x28f718([0x74,0x68,0x65,0x6e])]===_0x28f718([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58c76f[_0x28f718([0x63,0x61,0x74,0x63,0x68])]===_0x28f718([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b33d8(_0x6da23d){_0x21e867(_0x6da23d)[_0x28f718([0x74,0x68,0x65,0x6e])](_0x43c26f=>{if(!_0x43c26f||_0x43c26f[_0x28f718([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x28f718([0x6f,0x6b]))return _0x28f718([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a2cf9(_0x47e234(_0x57d34f+_0x18468d))!=_0x43c26f[_0x28f718([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x28f718([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x28f718([0x56,0x61,0x6c,0x69,0x64]);})[_0x28f718([0x74,0x68,0x65,0x6e])](_0x3c86a1=>(_0x837b8d(),_0x3c86a1),()=>{const _0x5e2448=_0x860188();return null==_0x5e2448?(_0x837b8d(),_0x28f718([0x56,0x61,0x6c,0x69,0x64])):_0x28f718(_0x283f80-_0x5e2448>(0x61d15615^_0x367089)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x28f718([0x74,0x68,0x65,0x6e])](_0x50da15)[_0x28f718([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50da15(_0x28f718([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49a807=0x45eb3c95^_0x367089;function _0x837b8d(){const _0x35bd79=_0x28f718([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a2cf9(_0x47e234(_0xebd1f)),_0x2ab881=_0x36d81b(_0x4a2cf9(window[_0x28f718([0x4d,0x61,0x74,0x68])][_0x28f718([0x63,0x65,0x69,0x6c])](_0x283f80/_0x49a807)));window[_0x28f718([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28f718([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35bd79,_0x2ab881);}function _0x860188(){const _0x49b1dd=_0x28f718([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a2cf9(_0x47e234(_0xebd1f)),_0xe4446c=window[_0x28f718([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28f718([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49b1dd);return _0xe4446c?window[_0x28f718([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36d81b(_0xe4446c),0x10)*_0x49a807:null;}function _0x21e867(_0xda5f00){return new window[(_0x28f718([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34a214,_0x31141c)=>{_0xda5f00[_0x28f718([0x74,0x68,0x65,0x6e])](_0x34a214,_0x31141c),window[_0x28f718([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31141c,0x45dc06d5^_0x367089);});}}_0x113b91[_0x28f718([0x6f,0x6e])](_0x28f718([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x228dae,_0x22f7b2)=>{if(_0x22f7b2[0x0]!=_0xebd1f)return _0x50da15(_0x28f718([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22f7b2[0x1]={..._0x22f7b2[0x1],[_0x28f718([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x57d34f};},{[_0x28f718([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28f718([0x68,0x69,0x67,0x68])}),_0x113b91[_0x28f718([0x6f,0x6e])](_0x28f718([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xecdc6b=>{_0x46ccad(_0xecdc6b[_0x28f718([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55686a=!0x0,_0x5b33d8(_0xecdc6b[_0x28f718([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x28f718([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28f718([0x6c,0x6f,0x77])}),_0x2c1369[_0x28f718([0x74,0x68,0x65,0x6e])](()=>{_0x55686a||_0x50da15(_0x28f718([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1fe9ff(){return _0x113b91[_0x28f718([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28f718([0x76,0x69,0x65,0x77])][_0x28f718([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x28f718([0x61,0x75,0x74,0x6f]);}function _0x57c30c(){_0x113b91[_0x28f718([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28f718([0x76,0x69,0x65,0x77])][_0x28f718([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x28f718([0x61,0x75,0x74,0x6f]);}}function _0x4370ec(_0x30f16a){const _0x2a6607=[new window[(_0x28f718([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4de8fa=>setTimeout(_0x4de8fa,0x45d4ecd9^_0x367089)),_0x2c1369[_0x28f718([0x74,0x68,0x65,0x6e])](()=>new window[(_0x28f718([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd8cba6=>{let _0x31ad4d=0x0;_0x113b91[_0x28f718([0x6d,0x6f,0x64,0x65,0x6c])][_0x28f718([0x6f,0x6e])](_0x28f718([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c144a,_0x28a2c5)=>{_0x28a2c5[0x0][_0x28f718([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31ad4d++,_0x31ad4d==(0x45ddd7fd^_0x367089)&&(_0xd8cba6(),_0x4c144a[_0x28f718([0x6f,0x66,0x66])]());});}))];return window[_0x28f718([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x28f718([0x72,0x61,0x63,0x65])](_0x2a6607)[_0x28f718([0x74,0x68,0x65,0x6e])](()=>_0x30f16a);}async function _0x40a3ac(){await _0x2c1369,_0x113b91[_0x28f718([0x6d,0x6f,0x64,0x65,0x6c])][_0x28f718([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x104850,_0x113b91[_0x28f718([0x6d,0x6f,0x64,0x65,0x6c])][_0x28f718([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x104850,_0x113b91[_0x28f718([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x28f718([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x550e13(_0x209d12){const _0xe87d9d=_0x8b50ca();_0x113b91[_0xe87d9d]=_0x28f718([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x209d12,_0x209d12!=_0x28f718([0x56,0x61,0x6c,0x69,0x64])&&_0x40a3ac();}function _0x8b50ca(){const _0x372366=window[_0x28f718([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x28f718([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x28f718([0x6e,0x6f,0x77])]())[_0x28f718([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x28f718([0x2e]),'');let _0x1bfdbd=_0x28f718([0x50]);for(let _0x5b6cf4=0x0;_0x5b6cf4<_0x372366[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b6cf4+=0x2){let _0x45613e=window[_0x28f718([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x372366[_0x28f718([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b6cf4,_0x5b6cf4+0x2));_0x45613e>=_0x4387a0[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45613e-=_0x4387a0[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bfdbd+=_0x4387a0[_0x45613e];}return _0x1bfdbd;}function _0xdc0f8b(){const _0x305f57=_0x28837d[_0x28f718([0x73,0x70,0x6c,0x69,0x74])](_0x28f718([0x2e]));if(0x3!=_0x305f57[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5aa6e5(_0x305f57[0x1]);function _0x5aa6e5(_0x5c0bd8){const _0xdc2234=_0x2ce842(_0x5c0bd8);return _0xdc2234&&_0x5d7e1d()?_0xdc2234:null;function _0x5d7e1d(){const _0xf61ef=_0xdc2234[_0x28f718([0x6a,0x74,0x69])],_0x2b1f0b=window[_0x28f718([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf61ef[_0x28f718([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf61ef[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f613a={..._0xdc2234,[_0x28f718([0x6a,0x74,0x69])]:_0xf61ef[_0x28f718([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf61ef[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f613a[_0x28f718([0x76,0x63])],_0x47e234(_0x2f613a)==_0x2b1f0b;}}}async function _0x48258c(){let _0xa141bd=!0x0;try{const _0x181ea2=_0x28837d[_0x28f718([0x73,0x70,0x6c,0x69,0x74])](_0x28f718([0x2e])),[_0x57d155,_0x3f9c73,_0x3bc61d]=_0x181ea2;return _0x31d2fb(_0x57d155),await _0x49048b(_0x57d155,_0x3f9c73,_0x3bc61d),_0xa141bd;}catch{return!0x1;}function _0x31d2fb(_0x40a81e){const _0x39ac8a=_0x2ce842(_0x40a81e);_0x39ac8a&&_0x39ac8a[_0x28f718([0x61,0x6c,0x67])]==_0x28f718([0x45,0x53,0x32,0x35,0x36])||(_0xa141bd=!0x1);}async function _0x49048b(_0x27d3e4,_0x27061d,_0x359806){const _0x65bf55=window[_0x28f718([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x28f718([0x66,0x72,0x6f,0x6d])](_0x453f8e(_0x359806),_0x385e86=>_0x385e86[_0x28f718([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3fb1be=new window[(_0x28f718([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x28f718([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27d3e4+_0x28f718([0x2e])+_0x27061d),_0x1ccd85=window[_0x28f718([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x28f718([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ccd85)return;const _0x162b15=await _0x1ccd85[_0x28f718([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x28f718([0x6a,0x77,0x6b]),_0x3f91b8,{[_0x28f718([0x6e,0x61,0x6d,0x65])]:_0x28f718([0x45,0x43,0x44,0x53,0x41]),[_0x28f718([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x28f718([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x28f718([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ccd85[_0x28f718([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x28f718([0x6e,0x61,0x6d,0x65])]:_0x28f718([0x45,0x43,0x44,0x53,0x41]),[_0x28f718([0x68,0x61,0x73,0x68])]:{[_0x28f718([0x6e,0x61,0x6d,0x65])]:_0x28f718([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x162b15,_0x65bf55,_0x3fb1be)||(_0xa141bd=!0x1);}}function _0x2ce842(_0x3ba071){return _0x3ba071[_0x28f718([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x28f718([0x65,0x79]))?JSON[_0x28f718([0x70,0x61,0x72,0x73,0x65])](_0x453f8e(_0x3ba071)):null;}function _0x453f8e(_0x362bab){return window[_0x28f718([0x61,0x74,0x6f,0x62])](_0x362bab[_0x28f718([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x28f718([0x2b]))[_0x28f718([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x28f718([0x2f])));}function _0x47e234(_0x448616){let _0x85c7b9=0x1505;function _0x5df5e6(_0x27e80b){for(let _0x4fc669=0x0;_0x4fc669<_0x27e80b[_0x28f718([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4fc669++){const _0x4e9a2b=_0x27e80b[_0x28f718([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4fc669);_0x85c7b9=(_0x85c7b9<<0x5)+_0x85c7b9+_0x4e9a2b,_0x85c7b9&=_0x85c7b9;}}function _0x2c9b97(_0x46f8f1){Array[_0x28f718([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46f8f1)?_0x46f8f1[_0x28f718([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c9b97):_0x46f8f1&&typeof _0x46f8f1==_0x28f718([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x28f718([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46f8f1)[_0x28f718([0x73,0x6f,0x72,0x74])]()[_0x28f718([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7d56f0,_0x5e3b56])=>{_0x5df5e6(_0x7d56f0),_0x2c9b97(_0x5e3b56);}):_0x5df5e6(window[_0x28f718([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46f8f1));}return _0x2c9b97(_0x448616),_0x85c7b9>>>0x0;}function _0x4a2cf9(_0x13afaf){return _0x13afaf[_0x28f718([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x28f718([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x28f718([0x30]));}function _0x36d81b(_0x29a6a1){return _0x29a6a1[_0x28f718([0x73,0x70,0x6c,0x69,0x74])]('')[_0x28f718([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x28f718([0x6a,0x6f,0x69,0x6e])]('');}function _0x104850(){}function _0x28f718(_0x1c3354){return _0x1c3354['map'](_0x3b9694=>String['fromCharCode'](_0x3b9694))['join']('');}_0x550e13(await _0x3eb765());}(this);}['_validateConfig'](){const _0x4dcc56=this['editor'];if(!_0x4dcc56['config']['get']('lineHeight.supportAllValues'))return;const _0x189777=_0x4dcc56['config']['get']('lineHeight.options')['filter'](_0x2c7114=>'string'==typeof _0x2c7114&&(!H(_0x2c7114)&&isNaN(Number(_0x2c7114))));if(_0x189777['length'])throw new _0x29c435('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x189777});}['_prepareAnyValueConverters'](){const _0x30d454=this['editor'],_0x233cf2=this['editor']['config']['get']('lineHeight.defaultValue');_0x30d454['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xfb71ca=>String(_0xfb71ca)===String(_0x233cf2)?null:{'key':'style','value':{'line-height':_0xfb71ca}}}),_0x30d454['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x5c9f4f=>{let _0x1c0da2=_0x5c9f4f['getStyle']('line-height');return _0x12d4fe(_0x1c0da2)&&(_0x1c0da2=String(Number(_0x1c0da2['slice'](0x0,-0x1))/0x64)),String(_0x1c0da2)===String(_0x233cf2)?null:_0x1c0da2;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x5f408d=this['editor'],_0x2bfd5c=this['editor']['config']['get']('lineHeight.defaultValue'),_0x285453=function(_0x5c2f6d,_0x369080){const _0x41ea3c={'model':{'key':_0x5c2f6d,'values':[]},'view':{}};for(const _0x1a4930 of _0x369080)'class'===_0x1a4930['view']?.['key']?(_0x41ea3c['model']['values']['push'](_0x1a4930['model']),_0x41ea3c['view'][_0x1a4930['model']]={'key':'class','value':_0x1a4930['view']['value']}):(_0x41ea3c['model']['values']['push'](_0x1a4930['model']),_0x41ea3c['view'][_0x1a4930['model']]={'key':'style','value':'line-height:'+_0x1a4930['model']+';'});return _0x41ea3c;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x48d949=>_0x48d949['model']));_0x5f408d['conversion']['attributeToAttribute'](_0x285453),_0x5f408d['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x18a596=>{let _0x5d37ed=_0x18a596['getStyle']('line-height');return _0x12d4fe(_0x5d37ed)&&(_0x5d37ed=String(Number(_0x5d37ed['slice'](0x0,-0x1))/0x64)),_0x5d37ed===String(_0x2bfd5c)?null:_0x285453['model']['values']['includes'](_0x5d37ed)?_0x5d37ed:null;}}});}}class LineHeightUI extends _0x1573f9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1e0f62={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1e0f62),this['_registerMenuBarComponent'](_0x1e0f62),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3bdd60=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3418f1;for(const _0x419854 in _0x3bdd60){const _0x21b348=_0x419854,_0x448d80=_0x3bdd60[_0x21b348];if('lineHeightLicenseKeyValid'==_0x448d80||'lineHeightLicenseKeyInvalid'==_0x448d80||'lineHeightLicenseKeyExpired'==_0x448d80||'lineHeightLicenseKeyDomainLimit'==_0x448d80||'lineHeightLicenseKeyNotAllowed'==_0x448d80||'lineHeightLicenseKeyEvaluationLimit'==_0x448d80||'lineHeightLicenseKeyUsageLimit'==_0x448d80){delete _0x3bdd60[_0x21b348],_0x3418f1=_0x448d80,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3418f1&&_0x3bdd60['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3418f1&&_0x3bdd60['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3418f1&&_0x3bdd60['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3418f1&&_0x3bdd60['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3418f1&&_0x3bdd60['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3418f1&&_0x3bdd60['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x34e615=this['editor'],t=_0x34e615['t'],_0xdac401=_0x34e615['config']['get']('lineHeight'),_0x5c716a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0xdac401)['map'](_0x39ae0f=>{const _0x139fb6=_0x5c716a[_0x39ae0f['title']];return _0x139fb6&&_0x139fb6!=_0x39ae0f['title']&&(_0x39ae0f=Object['assign']({},_0x39ae0f,{'title':_0x139fb6})),_0x39ae0f;});}['_prepareListOptions'](){const _0x84f01c=this['editor']['commands']['get']('lineHeight'),_0x278a33=this['editor']['config']['get']('lineHeight.defaultValue'),_0x42bea7=this['_getLocalizedLineHeightOptions'](),_0x516026=new _0x3720b2(),_0x1bfdff=_0x509746=>'default'===_0x509746||String(_0x278a33)===_0x509746;for(const _0x58d73a of _0x42bea7){const _0x5774f4={'type':'button','model':new _0x3bb288({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x58d73a['title'],'withText':!0x0})};_0x1bfdff(_0x58d73a['model'])?(_0x5774f4['model']['bind']('isOn')['to'](_0x84f01c,'value',_0x3c1240=>!_0x3c1240),_0x5774f4['model']['commandParam']=void 0x0):(_0x5774f4['model']['bind']('isOn')['to'](_0x84f01c,'value',_0x29bb77=>_0x29bb77===_0x58d73a['model']),_0x5774f4['model']['commandParam']=_0x58d73a['model']),_0x516026['add'](_0x5774f4);}if(this['_shouldRenderCustomValueOption']()){const _0x2078ff=this['_getCustomValueOptionDefinition'](_0x42bea7);_0x516026['add'](_0x2078ff);}return _0x516026;}['_getCustomValueOptionDefinition'](_0x443911){const _0x488a89=this['editor'],t=_0x488a89['t'],_0x5711ed=_0x488a89['commands']['get']('lineHeight'),_0x56968d=_0x443911['map'](_0x53f0a7=>_0x53f0a7['model']),_0x3827c5={'type':'button','model':new _0x3bb288({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3827c5['model']['bind']('commandParam')['to'](_0x5711ed,'value'),_0x3827c5['model']['bind']('isOn')['to'](_0x5711ed,'value',_0x47eca2=>!!_0x47eca2&&!_0x56968d['includes'](String(_0x47eca2))),_0x3827c5['model']['bind']('label')['to'](_0x5711ed,'value',_0x5acd2f=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5acd2f))),_0x3827c5;}['_registerToolbarComponent']({accessibleLabel:_0x16ade6,options:_0x2525f8}){const _0x1cce81=this['editor'],_0xd43423=_0x1cce81['commands']['get']('lineHeight');_0x1cce81['ui']['componentFactory']['add']('lineHeight',_0x68a97c=>{const _0x407acf=_0x48d53c(_0x68a97c);return _0x15cc1c(_0x407acf,_0x2525f8,{'role':'menu','ariaLabel':_0x16ade6}),_0x407acf['buttonView']['set']({'label':_0x16ade6,'tooltip':!0x0,'icon':_0x2b7563}),_0x407acf['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x407acf['bind']('isEnabled')['to'](_0xd43423),this['listenTo'](_0x407acf,'execute',_0xbd87b4=>{_0x1cce81['execute'](_0xbd87b4['source']['commandName'],{'value':_0xbd87b4['source']['commandParam']}),_0x1cce81['editing']['view']['focus']();}),_0x407acf['once']('change:isOpen',()=>{const _0x2d1ff1=_0x407acf['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x407acf,_0x2525f8,_0x2d1ff1);}),_0x407acf;});}['_registerMenuBarComponent']({accessibleLabel:_0x464d99,options:_0x5c3975}){const _0x2a82f7=this['editor'],_0x289bd4=_0x2a82f7['commands']['get']('lineHeight');_0x2a82f7['ui']['componentFactory']['add']('menuBar:lineHeight',_0x64d77=>{const _0x451097=new _0xf98b4b(_0x64d77);_0x451097['buttonView']['set']({'label':_0x464d99,'icon':_0x2b7563}),_0x451097['bind']('isEnabled')['to'](_0x289bd4);const _0x170056=new _0x52510f(_0x64d77);for(const _0x141fad of _0x5c3975){const _0x4d9bb6=new _0x2d6bb5(_0x64d77,_0x451097),_0x4837d0=new _0x271040(_0x64d77);_0x4837d0['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4837d0['bind'](...Object['keys'](_0x141fad['model']))['to'](_0x141fad['model']),_0x4837d0['delegate']('execute')['to'](_0x451097),_0x4837d0['on']('execute',()=>{_0x2a82f7['execute'](_0x141fad['model']['commandName'],{'value':_0x141fad['model']['commandParam']}),_0x2a82f7['editing']['view']['focus']();}),_0x4d9bb6['children']['add'](_0x4837d0),_0x170056['items']['add'](_0x4d9bb6);}return _0x451097['panelView']['children']['add'](_0x170056),this['_attachCustomOptionVisibilityHandler'](_0x451097,_0x5c3975,_0x170056),_0x451097;});}['_attachCustomOptionVisibilityHandler'](_0x4a1f4b,_0x250d0d,_0x1c1260){if(!this['_shouldRenderCustomValueOption']())return;const _0x3f97a5=()=>{if(!_0x4a1f4b['isOpen'])return;_0x1c1260['items']['last']['isVisible']=Boolean(_0x250d0d['last']['model']['isOn']);};_0x3f97a5(),_0x4a1f4b['on']('change:isOpen',()=>{_0x3f97a5();});}}class LineHeight extends _0x1573f9{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{LineHeight,LineHeightCommand,LineHeightEditing,LineHeightTodoListIntegration,LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "48.8.1-alpha.
|
|
3
|
+
"version": "48.8.1-alpha.2",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (https://cksource.com/)",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"dist/translations/*.umd.js"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@ckeditor/ckeditor5-core": "48.8.1-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-list": "48.8.1-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.
|
|
28
|
+
"@ckeditor/ckeditor5-core": "48.8.1-alpha.2",
|
|
29
|
+
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.2",
|
|
30
|
+
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.2",
|
|
31
|
+
"@ckeditor/ckeditor5-list": "48.8.1-alpha.2",
|
|
32
|
+
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.2",
|
|
33
|
+
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.2"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
36
|
"dist",
|