@ckeditor/ckeditor5-line-height 48.8.1-alpha.2 → 48.8.1-alpha.3
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 _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};
|
|
23
|
+
import{Command as _0x467ce4,Plugin as _0x1f3179}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x54ea01,CKEditorError as _0x3914a1,uid as _0x30a7bb,Collection as _0xbc65a1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x4cc81e,isPercentageStyleValue as _0x1b32c2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x323c4a,createDropdown as _0x114d93,addListToDropdown as _0x440c77,MenuBarMenuView as _0x24549a,MenuBarMenuListView as _0x5279aa,MenuBarMenuListItemView as _0x4c7540,MenuBarMenuListItemButtonView as _0x3fe10f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x81c0a9}from'@ckeditor/ckeditor5-icons/dist/index.js';class LineHeightCommand extends _0x467ce4{['refresh'](){const _0x8ce954=this['editor']['model']['document'],_0x6da71e=_0x54ea01(_0x8ce954['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x6da71e)&&this['_canHaveLineHeight'](_0x6da71e),this['value']=this['isEnabled']&&_0x6da71e['getAttribute']('lineHeight');}['execute'](_0x1b8614={}){const _0x1591a3=this['editor']['model'],_0x353b9c=_0x1591a3['document']['selection'],_0x1b32b7=_0x1b8614['value'];_0x1591a3['change'](_0xced0c6=>{const _0x27a50e=Array['from'](_0x353b9c['getSelectedBlocks']())['filter'](_0x38141e=>this['_canHaveLineHeight'](_0x38141e));for(const _0x586bff of _0x27a50e)_0x1b32b7?_0xced0c6['setAttribute']('lineHeight',_0x1b32b7,_0x586bff):_0xced0c6['removeAttribute']('lineHeight',_0x586bff);});}['_canHaveLineHeight'](_0x27ee29){return this['editor']['model']['schema']['checkAttribute'](_0x27ee29,'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(_0x31a3e1){return'string'==typeof _0x31a3e1&&'default'===_0x31a3e1['toLowerCase']();}function L(_0x1c285c){return _0x1c285c['options']['map'](_0x498266=>{return H(_0x498266)?{'title':String(_0x1c285c['defaultValue']),'model':'default'}:('number'==typeof _0x498266&&(_0x498266=String(_0x498266)),'string'!=typeof _0x498266?_0x498266:parseFloat(_0x498266)?{'title':_0x498266,'model':_0x498266,'view':{'name':'span','styles':{'line-height':_0x498266}}}:'string'==typeof(_0x291842=_0x498266)?p[_0x291842]:p[_0x291842['model']]);var _0x291842;})['filter'](_0x2504e5=>void 0x0!==_0x2504e5);}class LineHeightTodoListIntegration extends _0x1f3179{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x18da38,conversion:_0x291e06}=this['editor'];if(!_0x18da38['has']('ListEditing')||!_0x18da38['has']('TodoListEditing'))return;_0x18da38['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x115f5b,_0xe64c01,_0x4eb156,_0x413afe,_0x41a39a){'todo'==_0x41a39a['getAttribute']('listType')&&_0xe64c01&&(_0x115f5b['addClass']('ck-list-marker-line-height',_0x4eb156),_0x115f5b['setStyle']('--ck-content-list-marker-line-height',_0xe64c01,_0x4eb156));}}),_0x291e06['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x291e06['for']('upcast')['add'](_0x130c16=>{_0x130c16['on']('element:li',function(_0x7d4242){const _0x167c4b=new _0x4cc81e(_0x7d4242);return(_0x41efa0,_0x27da63,_0x39bd91)=>{const _0x353616=_0x167c4b['match'](_0x27da63['viewItem']);if(!_0x353616)return;const _0x25df56=_0x353616['match'];_0x25df56['name']=!0x1,_0x39bd91['consumable']['consume'](_0x27da63['viewItem'],_0x25df56);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x1f3179{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a613f){super(_0x2a613f),_0x2a613f['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x4dd33d=this['editor'];this['_validateConfig'](),_0x4dd33d['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x4dd33d['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x4dd33d['commands']['add']('lineHeight',new LineHeightCommand(_0x4dd33d)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3ce2aa){const _0x24567e=_0x5dd98e([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]),_0x2dc07d=0x45ddd215,_0xf3dd6a=0x45da587d^_0x2dc07d,_0x1efa96=window[_0x5dd98e([0x44,0x61,0x74,0x65])][_0x5dd98e([0x6e,0x6f,0x77])](),_0x2277bd=_0x3ce2aa[_0x5dd98e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e068e=new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e6dbb=>{_0x2277bd[_0x5dd98e([0x6f,0x6e,0x63,0x65])](_0x5dd98e([0x72,0x65,0x61,0x64,0x79]),_0x5e6dbb);}),_0x2d5457={[_0x5dd98e([0x6b,0x74,0x79])]:_0x5dd98e([0x45,0x43]),[_0x5dd98e([0x75,0x73,0x65])]:_0x5dd98e([0x73,0x69,0x67]),[_0x5dd98e([0x63,0x72,0x76])]:_0x5dd98e([0x50,0x2d,0x32,0x35,0x36]),[_0x5dd98e([0x78])]:_0x5dd98e([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]),[_0x5dd98e([0x79])]:_0x5dd98e([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]),[_0x5dd98e([0x61,0x6c,0x67])]:_0x5dd98e([0x45,0x53,0x32,0x35,0x36])},_0x4de46a=_0x2277bd[_0x5dd98e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5dd98e([0x67,0x65,0x74])](_0x5dd98e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e10de(){let _0x3b0728,_0x11f86c=null,_0x398d9a=null;try{if(_0x4de46a==_0x5dd98e([0x47,0x50,0x4c]))return _0x5dd98e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b0728=_0x1218bd(),!_0x3b0728)return _0x5dd98e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b0728[_0x5dd98e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x398d9a=_0x2c7d65(_0x3b0728[_0x5dd98e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b0728[_0x5dd98e([0x6a,0x74,0x69])])),await _0x2dd199()?_0x4a638b()?_0x1652b7()?_0x5dd98e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26d6b4()?(_0x3b0728[_0x5dd98e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5dd98e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x11f86c=_0x1cdcb3(_0x5dd98e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa476f3()):_0x5dd98e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5dd98e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5dd98e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5dd98e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1652b7(){const _0x5c0e5c=[_0x5dd98e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5dd98e([0x74,0x72,0x69,0x61,0x6c])][_0x5dd98e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b0728[_0x5dd98e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1efa96/0x3e8:0xe10*_0xf3dd6a;return _0x3b0728[_0x5dd98e([0x65,0x78,0x70])]<_0x5c0e5c;}function _0x4a638b(){const _0x4a534a=_0x3b0728[_0x5dd98e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a534a&&(!!_0x4a534a[_0x5dd98e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dd98e([0x2a]))||!!_0x4a534a[_0x5dd98e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dd98e([0x4c,0x48])));}function _0x26d6b4(){const _0x1ddce6=_0x3b0728[_0x5dd98e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ddce6||0x0==_0x1ddce6[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4fe85d}=new URL(window[_0x5dd98e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1ddce6[_0x5dd98e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fe85d))return!0x0;const _0x1bda19=_0x4fe85d[_0x5dd98e([0x73,0x70,0x6c,0x69,0x74])](_0x5dd98e([0x2e]));return _0x1ddce6[_0x5dd98e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x450aee=>_0x450aee[_0x5dd98e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dd98e([0x2a])))[_0x5dd98e([0x6d,0x61,0x70])](_0x21071d=>_0x21071d[_0x5dd98e([0x73,0x70,0x6c,0x69,0x74])](_0x5dd98e([0x2e])))[_0x5dd98e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe3d089=>_0xe3d089[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1bda19[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dd98e([0x6d,0x61,0x70])](_0xf91b3=>Array(_0x1bda19[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf91b3[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dd98e([0x66,0x69,0x6c,0x6c])](_0xf91b3[0x0]===_0x5dd98e([0x2a])?_0x5dd98e([0x2a]):'')[_0x5dd98e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf91b3))[_0x5dd98e([0x73,0x6f,0x6d,0x65])](_0x9d6e61=>_0x1bda19[_0x5dd98e([0x65,0x76,0x65,0x72,0x79])]((_0x5029aa,_0x181959)=>_0x9d6e61[_0x181959]===_0x5029aa||_0x9d6e61[_0x181959]===_0x5dd98e([0x2a])));}function _0xa476f3(){return _0x11f86c&&_0x398d9a?new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13f4a5,_0x1fa03d)=>{_0x11f86c[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x13f4a5,_0x1fa03d),_0x398d9a[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x1ddc31=>{_0x1ddc31!=_0x5dd98e([0x56,0x61,0x6c,0x69,0x64])&&_0x13f4a5(_0x1ddc31);},_0x1fa03d);}):_0x11f86c||_0x398d9a||_0x5dd98e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c7d65(_0x59f24d,_0x3c7488){return new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14825d=>{if(_0x13f0e4())return _0x14825d(_0x5dd98e([0x56,0x61,0x6c,0x69,0x64]));_0x3293f3(),_0x2277bd[_0x5dd98e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5dd98e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40ec22=!0x1;const _0x63fa8b=_0x30a7bb();function _0x4a41cb(_0x1a0729){return!!_0x1a0729&&(typeof _0x1a0729===_0x5dd98e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a0729===_0x5dd98e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a0729[_0x5dd98e([0x74,0x68,0x65,0x6e])]===_0x5dd98e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a0729[_0x5dd98e([0x63,0x61,0x74,0x63,0x68])]===_0x5dd98e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x35c359(_0x59b812){_0x451c45(_0x59b812)[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x218b46=>{if(!_0x218b46||_0x218b46[_0x5dd98e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5dd98e([0x6f,0x6b]))return _0x5dd98e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x298c6d(_0x57eba4(_0x63fa8b+_0x3c7488))!=_0x218b46[_0x5dd98e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5dd98e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5dd98e([0x56,0x61,0x6c,0x69,0x64]);})[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x5c49da=>(_0x361422(),_0x5c49da),()=>{const _0x2af441=_0x40da45();return null==_0x2af441?(_0x361422(),_0x5dd98e([0x56,0x61,0x6c,0x69,0x64])):_0x5dd98e(_0x1efa96-_0x2af441>(0x61d15615^_0x2dc07d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x14825d)[_0x5dd98e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14825d(_0x5dd98e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3501c9=0x45eb3c95^_0x2dc07d;function _0x361422(){const _0x2d76f7=_0x5dd98e([0x6c,0x6c,0x63,0x74,0x2d])+_0x298c6d(_0x57eba4(_0x59f24d)),_0x32cd0f=_0x2bde68(_0x298c6d(window[_0x5dd98e([0x4d,0x61,0x74,0x68])][_0x5dd98e([0x63,0x65,0x69,0x6c])](_0x1efa96/_0x3501c9)));window[_0x5dd98e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dd98e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d76f7,_0x32cd0f);}function _0x40da45(){const _0x2e8f4e=_0x5dd98e([0x6c,0x6c,0x63,0x74,0x2d])+_0x298c6d(_0x57eba4(_0x59f24d)),_0xbfeffd=window[_0x5dd98e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dd98e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e8f4e);return _0xbfeffd?window[_0x5dd98e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bde68(_0xbfeffd),0x10)*_0x3501c9:null;}function _0x451c45(_0x746343){return new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a0ac0,_0x12deeb)=>{_0x746343[_0x5dd98e([0x74,0x68,0x65,0x6e])](_0x4a0ac0,_0x12deeb),window[_0x5dd98e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12deeb,0x45dc06d5^_0x2dc07d);});}}_0x2277bd[_0x5dd98e([0x6f,0x6e])](_0x5dd98e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x322d77,_0x4f3d8e)=>{if(_0x4f3d8e[0x0]!=_0x59f24d)return _0x14825d(_0x5dd98e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f3d8e[0x1]={..._0x4f3d8e[0x1],[_0x5dd98e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x63fa8b};},{[_0x5dd98e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dd98e([0x68,0x69,0x67,0x68])}),_0x2277bd[_0x5dd98e([0x6f,0x6e])](_0x5dd98e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7a9bf7=>{_0x4a41cb(_0x7a9bf7[_0x5dd98e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40ec22=!0x0,_0x35c359(_0x7a9bf7[_0x5dd98e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5dd98e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dd98e([0x6c,0x6f,0x77])}),_0x2e068e[_0x5dd98e([0x74,0x68,0x65,0x6e])](()=>{_0x40ec22||_0x14825d(_0x5dd98e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x13f0e4(){return _0x2277bd[_0x5dd98e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dd98e([0x76,0x69,0x65,0x77])][_0x5dd98e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5dd98e([0x61,0x75,0x74,0x6f]);}function _0x3293f3(){_0x2277bd[_0x5dd98e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dd98e([0x76,0x69,0x65,0x77])][_0x5dd98e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5dd98e([0x61,0x75,0x74,0x6f]);}}function _0x1cdcb3(_0x5b8cee){const _0x396cc9=[new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x102709=>setTimeout(_0x102709,0x45d4ecd9^_0x2dc07d)),_0x2e068e[_0x5dd98e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36cd91=>{let _0xf6176f=0x0;_0x2277bd[_0x5dd98e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dd98e([0x6f,0x6e])](_0x5dd98e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4dbed1,_0x1f21fc)=>{_0x1f21fc[0x0][_0x5dd98e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf6176f++,_0xf6176f==(0x45ddd7fd^_0x2dc07d)&&(_0x36cd91(),_0x4dbed1[_0x5dd98e([0x6f,0x66,0x66])]());});}))];return window[_0x5dd98e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5dd98e([0x72,0x61,0x63,0x65])](_0x396cc9)[_0x5dd98e([0x74,0x68,0x65,0x6e])](()=>_0x5b8cee);}async function _0xb08d43(){await _0x2e068e,_0x2277bd[_0x5dd98e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dd98e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58f40c,_0x2277bd[_0x5dd98e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dd98e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58f40c,_0x2277bd[_0x5dd98e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5dd98e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4eff2d(_0x1eda7d){const _0x2de744=_0x50c116();_0x2277bd[_0x2de744]=_0x5dd98e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1eda7d,_0x1eda7d!=_0x5dd98e([0x56,0x61,0x6c,0x69,0x64])&&_0xb08d43();}function _0x50c116(){const _0x5be0c3=window[_0x5dd98e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5dd98e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5dd98e([0x6e,0x6f,0x77])]())[_0x5dd98e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5dd98e([0x2e]),'');let _0x4f1e25=_0x5dd98e([0x50]);for(let _0x3ab8a3=0x0;_0x3ab8a3<_0x5be0c3[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ab8a3+=0x2){let _0x59f1c8=window[_0x5dd98e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5be0c3[_0x5dd98e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ab8a3,_0x3ab8a3+0x2));_0x59f1c8>=_0x24567e[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59f1c8-=_0x24567e[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f1e25+=_0x24567e[_0x59f1c8];}return _0x4f1e25;}function _0x1218bd(){const _0x53a97a=_0x4de46a[_0x5dd98e([0x73,0x70,0x6c,0x69,0x74])](_0x5dd98e([0x2e]));if(0x3!=_0x53a97a[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x101836(_0x53a97a[0x1]);function _0x101836(_0x515d21){const _0x1d14db=_0x1ea320(_0x515d21);return _0x1d14db&&_0x54dcaf()?_0x1d14db:null;function _0x54dcaf(){const _0x3f0513=_0x1d14db[_0x5dd98e([0x6a,0x74,0x69])],_0x342864=window[_0x5dd98e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f0513[_0x5dd98e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f0513[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2eb25e={..._0x1d14db,[_0x5dd98e([0x6a,0x74,0x69])]:_0x3f0513[_0x5dd98e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f0513[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2eb25e[_0x5dd98e([0x76,0x63])],_0x57eba4(_0x2eb25e)==_0x342864;}}}async function _0x2dd199(){let _0x2a508a=!0x0;try{const _0x4ae04e=_0x4de46a[_0x5dd98e([0x73,0x70,0x6c,0x69,0x74])](_0x5dd98e([0x2e])),[_0x1b70b1,_0x377921,_0x484861]=_0x4ae04e;return _0x3e756e(_0x1b70b1),await _0x3b8d06(_0x1b70b1,_0x377921,_0x484861),_0x2a508a;}catch{return!0x1;}function _0x3e756e(_0x34ffab){const _0x9a8196=_0x1ea320(_0x34ffab);_0x9a8196&&_0x9a8196[_0x5dd98e([0x61,0x6c,0x67])]==_0x5dd98e([0x45,0x53,0x32,0x35,0x36])||(_0x2a508a=!0x1);}async function _0x3b8d06(_0x5c60b5,_0x2baf85,_0x476e98){const _0x469562=window[_0x5dd98e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5dd98e([0x66,0x72,0x6f,0x6d])](_0x414e15(_0x476e98),_0x49ec35=>_0x49ec35[_0x5dd98e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5322bf=new window[(_0x5dd98e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5dd98e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c60b5+_0x5dd98e([0x2e])+_0x2baf85),_0x4fd869=window[_0x5dd98e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5dd98e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4fd869)return;const _0x3ea090=await _0x4fd869[_0x5dd98e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5dd98e([0x6a,0x77,0x6b]),_0x2d5457,{[_0x5dd98e([0x6e,0x61,0x6d,0x65])]:_0x5dd98e([0x45,0x43,0x44,0x53,0x41]),[_0x5dd98e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5dd98e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5dd98e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4fd869[_0x5dd98e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5dd98e([0x6e,0x61,0x6d,0x65])]:_0x5dd98e([0x45,0x43,0x44,0x53,0x41]),[_0x5dd98e([0x68,0x61,0x73,0x68])]:{[_0x5dd98e([0x6e,0x61,0x6d,0x65])]:_0x5dd98e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ea090,_0x469562,_0x5322bf)||(_0x2a508a=!0x1);}}function _0x1ea320(_0x2a9c43){return _0x2a9c43[_0x5dd98e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5dd98e([0x65,0x79]))?JSON[_0x5dd98e([0x70,0x61,0x72,0x73,0x65])](_0x414e15(_0x2a9c43)):null;}function _0x414e15(_0x297db8){return window[_0x5dd98e([0x61,0x74,0x6f,0x62])](_0x297db8[_0x5dd98e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5dd98e([0x2b]))[_0x5dd98e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5dd98e([0x2f])));}function _0x57eba4(_0xb557b8){let _0x24d423=0x1505;function _0x145c20(_0x4b7c06){for(let _0x21a0a7=0x0;_0x21a0a7<_0x4b7c06[_0x5dd98e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21a0a7++){const _0x950f04=_0x4b7c06[_0x5dd98e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21a0a7);_0x24d423=(_0x24d423<<0x5)+_0x24d423+_0x950f04,_0x24d423&=_0x24d423;}}function _0x3333b7(_0x1a2a7b){Array[_0x5dd98e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a2a7b)?_0x1a2a7b[_0x5dd98e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3333b7):_0x1a2a7b&&typeof _0x1a2a7b==_0x5dd98e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5dd98e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a2a7b)[_0x5dd98e([0x73,0x6f,0x72,0x74])]()[_0x5dd98e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb43d68,_0x25e0f4])=>{_0x145c20(_0xb43d68),_0x3333b7(_0x25e0f4);}):_0x145c20(window[_0x5dd98e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a2a7b));}return _0x3333b7(_0xb557b8),_0x24d423>>>0x0;}function _0x298c6d(_0x19835d){return _0x19835d[_0x5dd98e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5dd98e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5dd98e([0x30]));}function _0x2bde68(_0x263dcd){return _0x263dcd[_0x5dd98e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5dd98e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5dd98e([0x6a,0x6f,0x69,0x6e])]('');}function _0x58f40c(){}function _0x5dd98e(_0x15d9b2){return _0x15d9b2['map'](_0x35567a=>String['fromCharCode'](_0x35567a))['join']('');}_0x4eff2d(await _0x3e10de());}(this);}['_validateConfig'](){const _0x19964c=this['editor'];if(!_0x19964c['config']['get']('lineHeight.supportAllValues'))return;const _0x1c52c6=_0x19964c['config']['get']('lineHeight.options')['filter'](_0x5dc8fc=>'string'==typeof _0x5dc8fc&&(!H(_0x5dc8fc)&&isNaN(Number(_0x5dc8fc))));if(_0x1c52c6['length'])throw new _0x3914a1('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1c52c6});}['_prepareAnyValueConverters'](){const _0x3fd36=this['editor'],_0x4c9016=this['editor']['config']['get']('lineHeight.defaultValue');_0x3fd36['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x1b0928=>String(_0x1b0928)===String(_0x4c9016)?null:{'key':'style','value':{'line-height':_0x1b0928}}}),_0x3fd36['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x396e77=>{let _0x2c2f0d=_0x396e77['getStyle']('line-height');return _0x1b32c2(_0x2c2f0d)&&(_0x2c2f0d=String(Number(_0x2c2f0d['slice'](0x0,-0x1))/0x64)),String(_0x2c2f0d)===String(_0x4c9016)?null:_0x2c2f0d;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x178180=this['editor'],_0x55fe96=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4fd74c=function(_0x191f58,_0x1cdf84){const _0xf37326={'model':{'key':_0x191f58,'values':[]},'view':{}};for(const _0x2ca2c3 of _0x1cdf84)'class'===_0x2ca2c3['view']?.['key']?(_0xf37326['model']['values']['push'](_0x2ca2c3['model']),_0xf37326['view'][_0x2ca2c3['model']]={'key':'class','value':_0x2ca2c3['view']['value']}):(_0xf37326['model']['values']['push'](_0x2ca2c3['model']),_0xf37326['view'][_0x2ca2c3['model']]={'key':'style','value':'line-height:'+_0x2ca2c3['model']+';'});return _0xf37326;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x26ee94=>_0x26ee94['model']));_0x178180['conversion']['attributeToAttribute'](_0x4fd74c),_0x178180['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x521773=>{let _0x2c7b84=_0x521773['getStyle']('line-height');return _0x1b32c2(_0x2c7b84)&&(_0x2c7b84=String(Number(_0x2c7b84['slice'](0x0,-0x1))/0x64)),_0x2c7b84===String(_0x55fe96)?null:_0x4fd74c['model']['values']['includes'](_0x2c7b84)?_0x2c7b84:null;}}});}}class LineHeightUI extends _0x1f3179{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1044c3={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1044c3),this['_registerMenuBarComponent'](_0x1044c3),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2a7d93=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f41c9;for(const _0x3ed3d in _0x2a7d93){const _0x1dd383=_0x3ed3d,_0xf63277=_0x2a7d93[_0x1dd383];if('lineHeightLicenseKeyValid'==_0xf63277||'lineHeightLicenseKeyInvalid'==_0xf63277||'lineHeightLicenseKeyExpired'==_0xf63277||'lineHeightLicenseKeyDomainLimit'==_0xf63277||'lineHeightLicenseKeyNotAllowed'==_0xf63277||'lineHeightLicenseKeyEvaluationLimit'==_0xf63277||'lineHeightLicenseKeyUsageLimit'==_0xf63277){delete _0x2a7d93[_0x1dd383],_0x3f41c9=_0xf63277,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3f41c9&&_0x2a7d93['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5e70c7=this['editor'],t=_0x5e70c7['t'],_0xa1fd89=_0x5e70c7['config']['get']('lineHeight'),_0x458053={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0xa1fd89)['map'](_0x30a5de=>{const _0x551141=_0x458053[_0x30a5de['title']];return _0x551141&&_0x551141!=_0x30a5de['title']&&(_0x30a5de=Object['assign']({},_0x30a5de,{'title':_0x551141})),_0x30a5de;});}['_prepareListOptions'](){const _0x1d17ec=this['editor']['commands']['get']('lineHeight'),_0x12d402=this['editor']['config']['get']('lineHeight.defaultValue'),_0x51b0cd=this['_getLocalizedLineHeightOptions'](),_0x159659=new _0xbc65a1(),_0x2e5b4c=_0x754069=>'default'===_0x754069||String(_0x12d402)===_0x754069;for(const _0x177a62 of _0x51b0cd){const _0xa09f5e={'type':'button','model':new _0x323c4a({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x177a62['title'],'withText':!0x0})};_0x2e5b4c(_0x177a62['model'])?(_0xa09f5e['model']['bind']('isOn')['to'](_0x1d17ec,'value',_0x410788=>!_0x410788),_0xa09f5e['model']['commandParam']=void 0x0):(_0xa09f5e['model']['bind']('isOn')['to'](_0x1d17ec,'value',_0x1de530=>_0x1de530===_0x177a62['model']),_0xa09f5e['model']['commandParam']=_0x177a62['model']),_0x159659['add'](_0xa09f5e);}if(this['_shouldRenderCustomValueOption']()){const _0x453e30=this['_getCustomValueOptionDefinition'](_0x51b0cd);_0x159659['add'](_0x453e30);}return _0x159659;}['_getCustomValueOptionDefinition'](_0x397edb){const _0x2a0f7a=this['editor'],t=_0x2a0f7a['t'],_0x14923d=_0x2a0f7a['commands']['get']('lineHeight'),_0x1e7fe7=_0x397edb['map'](_0x67391a=>_0x67391a['model']),_0x480edf={'type':'button','model':new _0x323c4a({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x480edf['model']['bind']('commandParam')['to'](_0x14923d,'value'),_0x480edf['model']['bind']('isOn')['to'](_0x14923d,'value',_0x1cb66d=>!!_0x1cb66d&&!_0x1e7fe7['includes'](String(_0x1cb66d))),_0x480edf['model']['bind']('label')['to'](_0x14923d,'value',_0x4e6787=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4e6787))),_0x480edf;}['_registerToolbarComponent']({accessibleLabel:_0x5d6ea6,options:_0x1ca8ce}){const _0x7661c8=this['editor'],_0xb92a14=_0x7661c8['commands']['get']('lineHeight');_0x7661c8['ui']['componentFactory']['add']('lineHeight',_0x188aa9=>{const _0x1680f8=_0x114d93(_0x188aa9);return _0x440c77(_0x1680f8,_0x1ca8ce,{'role':'menu','ariaLabel':_0x5d6ea6}),_0x1680f8['buttonView']['set']({'label':_0x5d6ea6,'tooltip':!0x0,'icon':_0x81c0a9}),_0x1680f8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1680f8['bind']('isEnabled')['to'](_0xb92a14),this['listenTo'](_0x1680f8,'execute',_0x430b3e=>{_0x7661c8['execute'](_0x430b3e['source']['commandName'],{'value':_0x430b3e['source']['commandParam']}),_0x7661c8['editing']['view']['focus']();}),_0x1680f8['once']('change:isOpen',()=>{const _0x18825f=_0x1680f8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1680f8,_0x1ca8ce,_0x18825f);}),_0x1680f8;});}['_registerMenuBarComponent']({accessibleLabel:_0x4daf74,options:_0x49bcd7}){const _0x1325d9=this['editor'],_0x658bed=_0x1325d9['commands']['get']('lineHeight');_0x1325d9['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3ef521=>{const _0x3a3109=new _0x24549a(_0x3ef521);_0x3a3109['buttonView']['set']({'label':_0x4daf74,'icon':_0x81c0a9}),_0x3a3109['bind']('isEnabled')['to'](_0x658bed);const _0x33e0de=new _0x5279aa(_0x3ef521);for(const _0xb9e016 of _0x49bcd7){const _0x536074=new _0x4c7540(_0x3ef521,_0x3a3109),_0x5277ce=new _0x3fe10f(_0x3ef521);_0x5277ce['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5277ce['bind'](...Object['keys'](_0xb9e016['model']))['to'](_0xb9e016['model']),_0x5277ce['delegate']('execute')['to'](_0x3a3109),_0x5277ce['on']('execute',()=>{_0x1325d9['execute'](_0xb9e016['model']['commandName'],{'value':_0xb9e016['model']['commandParam']}),_0x1325d9['editing']['view']['focus']();}),_0x536074['children']['add'](_0x5277ce),_0x33e0de['items']['add'](_0x536074);}return _0x3a3109['panelView']['children']['add'](_0x33e0de),this['_attachCustomOptionVisibilityHandler'](_0x3a3109,_0x49bcd7,_0x33e0de),_0x3a3109;});}['_attachCustomOptionVisibilityHandler'](_0x44a271,_0x25b53a,_0x280205){if(!this['_shouldRenderCustomValueOption']())return;const _0x4d64fa=()=>{if(!_0x44a271['isOpen'])return;_0x280205['items']['last']['isVisible']=Boolean(_0x25b53a['last']['model']['isOn']);};_0x4d64fa(),_0x44a271['on']('change:isOpen',()=>{_0x4d64fa();});}}class LineHeight extends _0x1f3179{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.3",
|
|
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.3",
|
|
29
|
+
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.3",
|
|
30
|
+
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.3",
|
|
31
|
+
"@ckeditor/ckeditor5-list": "48.8.1-alpha.3",
|
|
32
|
+
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.3",
|
|
33
|
+
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.3"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
36
|
"dist",
|