@ckeditor/ckeditor5-line-height 48.1.0-alpha.7 → 48.1.0-alpha.8
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 _0x9a4b5e,Plugin as _0x36c102}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x383099,CKEditorError as _0x486c7c,uid as _0x116129,Collection as _0x49f338}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x115e43,isPercentageStyleValue as _0x265101}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x2e1aef,createDropdown as _0x1546b7,addListToDropdown as _0x2e1e44,MenuBarMenuView as _0x1270b8,MenuBarMenuListView as _0x16a399,MenuBarMenuListItemView as _0x5b011c,MenuBarMenuListItemButtonView as _0x489d7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x4d5926}from'@ckeditor/ckeditor5-icons/dist/index.js';class p extends _0x9a4b5e{['refresh'](){const _0x538874=this['editor']['model']['document'],_0x3f2cc7=_0x383099(_0x538874['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x3f2cc7)&&this['_canHaveLineHeight'](_0x3f2cc7),this['value']=this['isEnabled']&&_0x3f2cc7['getAttribute']('lineHeight');}['execute'](_0x143fb7={}){const _0x59c561=this['editor']['model'],_0x41cda0=_0x59c561['document']['selection'],_0x37ed6c=_0x143fb7['value'];_0x59c561['change'](_0x456952=>{const _0x3e4db7=Array['from'](_0x41cda0['getSelectedBlocks']())['filter'](_0x23f8e8=>this['_canHaveLineHeight'](_0x23f8e8));for(const _0x5504c9 of _0x3e4db7)_0x37ed6c?_0x456952['setAttribute']('lineHeight',_0x37ed6c,_0x5504c9):_0x456952['removeAttribute']('lineHeight',_0x5504c9);});}['_canHaveLineHeight'](_0x734a2c){return this['editor']['model']['schema']['checkAttribute'](_0x734a2c,'lineHeight');}}const y={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function H(_0x2f7a73){return'string'==typeof _0x2f7a73&&'default'===_0x2f7a73['toLowerCase']();}function L(_0x5d2c27){return _0x5d2c27['options']['map'](_0x341292=>{return H(_0x341292)?{'title':String(_0x5d2c27['defaultValue']),'model':'default'}:('number'==typeof _0x341292&&(_0x341292=String(_0x341292)),'string'!=typeof _0x341292?_0x341292:parseFloat(_0x341292)?{'title':_0x341292,'model':_0x341292,'view':{'name':'span','styles':{'line-height':_0x341292}}}:'string'==typeof(_0x3d38d3=_0x341292)?y[_0x3d38d3]:y[_0x3d38d3['model']]);var _0x3d38d3;})['filter'](_0x5b159e=>void 0x0!==_0x5b159e);}class v extends _0x36c102{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x1ef3dc,conversion:_0x32a110}=this['editor'];if(!_0x1ef3dc['has']('ListEditing')||!_0x1ef3dc['has']('TodoListEditing'))return;_0x1ef3dc['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x5c16c9,_0x5a589d,_0x18cca1,_0x18bebf,_0x4f10f9){'todo'==_0x4f10f9['getAttribute']('listType')&&_0x5a589d&&(_0x5c16c9['addClass']('ck-list-marker-line-height',_0x18cca1),_0x5c16c9['setStyle']('--ck-content-list-marker-line-height',_0x5a589d,_0x18cca1));}}),_0x32a110['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x32a110['for']('upcast')['add'](_0x37d23d=>{_0x37d23d['on']('element:li',function(_0x3aef31){const _0x611a2c=new _0x115e43(_0x3aef31);return(_0x2ddb32,_0x3e877c,_0x5b54c8)=>{const _0x814fa0=_0x611a2c['match'](_0x3e877c['viewItem']);if(!_0x814fa0)return;const _0x45225e=_0x814fa0['match'];_0x45225e['name']=!0x1,_0x5b54c8['consumable']['consume'](_0x3e877c['viewItem'],_0x45225e);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class b extends _0x36c102{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x79b95e){super(_0x79b95e),_0x79b95e['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0xc4311c=this['editor'];this['_validateConfig'](),_0xc4311c['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0xc4311c['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0xc4311c['commands']['add']('lineHeight',new p(_0xc4311c)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x4e1293){const _0x3af768=_0x3b1b21([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]),_0x8690aa=0x45ddd215,_0x158a58=0x45da5bcd^_0x8690aa,_0x3a50d3=window[_0x3b1b21([0x44,0x61,0x74,0x65])][_0x3b1b21([0x6e,0x6f,0x77])](),_0x3e5f8e=_0x4e1293[_0x3b1b21([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x30e876=new window[(_0x3b1b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b663c=>{_0x3e5f8e[_0x3b1b21([0x6f,0x6e,0x63,0x65])](_0x3b1b21([0x72,0x65,0x61,0x64,0x79]),_0x1b663c);}),_0x3b7278={[_0x3b1b21([0x6b,0x74,0x79])]:_0x3b1b21([0x45,0x43]),[_0x3b1b21([0x75,0x73,0x65])]:_0x3b1b21([0x73,0x69,0x67]),[_0x3b1b21([0x63,0x72,0x76])]:_0x3b1b21([0x50,0x2d,0x32,0x35,0x36]),[_0x3b1b21([0x78])]:_0x3b1b21([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]),[_0x3b1b21([0x79])]:_0x3b1b21([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]),[_0x3b1b21([0x61,0x6c,0x67])]:_0x3b1b21([0x45,0x53,0x32,0x35,0x36])},_0x1ae267=_0x3e5f8e[_0x3b1b21([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b1b21([0x67,0x65,0x74])](_0x3b1b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10334a(){let _0x34c24a,_0x5b7008=null,_0x5d25c7=null;try{if(_0x1ae267==_0x3b1b21([0x47,0x50,0x4c]))return _0x3b1b21([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34c24a=_0x5835ee(),!_0x34c24a)return _0x3b1b21([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34c24a[_0x3b1b21([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d25c7=_0x1e8da1(_0x34c24a[_0x3b1b21([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34c24a[_0x3b1b21([0x6a,0x74,0x69])])),await _0x391353()?_0x55aa19()?_0x2adba7()?_0x3b1b21([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e94c9()?(_0x34c24a[_0x3b1b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b1b21([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b7008=_0x31dc69(_0x3b1b21([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a5132()):_0x3b1b21([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b1b21([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b1b21([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b1b21([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2adba7(){const _0x398c39=[_0x3b1b21([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b1b21([0x74,0x72,0x69,0x61,0x6c])][_0x3b1b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c24a[_0x3b1b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a50d3/0x3e8:0xe10*_0x158a58;return _0x34c24a[_0x3b1b21([0x65,0x78,0x70])]<_0x398c39;}function _0x55aa19(){const _0x5bff8b=_0x34c24a[_0x3b1b21([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bff8b&&(!!_0x5bff8b[_0x3b1b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b1b21([0x2a]))||!!_0x5bff8b[_0x3b1b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b1b21([0x4c,0x48])));}function _0x2e94c9(){const _0x495ff8=_0x34c24a[_0x3b1b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x495ff8||0x0==_0x495ff8[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf0c4af}=new URL(window[_0x3b1b21([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x495ff8[_0x3b1b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0c4af))return!0x0;const _0x26d12b=_0xf0c4af[_0x3b1b21([0x73,0x70,0x6c,0x69,0x74])](_0x3b1b21([0x2e]));return _0x495ff8[_0x3b1b21([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38fb36=>_0x38fb36[_0x3b1b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b1b21([0x2a])))[_0x3b1b21([0x6d,0x61,0x70])](_0x1afd29=>_0x1afd29[_0x3b1b21([0x73,0x70,0x6c,0x69,0x74])](_0x3b1b21([0x2e])))[_0x3b1b21([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4542fc=>_0x4542fc[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26d12b[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b1b21([0x6d,0x61,0x70])](_0x2b98e5=>Array(_0x26d12b[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b98e5[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b1b21([0x66,0x69,0x6c,0x6c])](_0x2b98e5[0x0]===_0x3b1b21([0x2a])?_0x3b1b21([0x2a]):'')[_0x3b1b21([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b98e5))[_0x3b1b21([0x73,0x6f,0x6d,0x65])](_0x243562=>_0x26d12b[_0x3b1b21([0x65,0x76,0x65,0x72,0x79])]((_0x8a35a5,_0xd084b0)=>_0x243562[_0xd084b0]===_0x8a35a5||_0x243562[_0xd084b0]===_0x3b1b21([0x2a])));}function _0x3a5132(){return _0x5b7008&&_0x5d25c7?new window[(_0x3b1b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22ca81,_0x281846)=>{_0x5b7008[_0x3b1b21([0x74,0x68,0x65,0x6e])](_0x22ca81,_0x281846),_0x5d25c7[_0x3b1b21([0x74,0x68,0x65,0x6e])](_0x22108b=>{_0x22108b!=_0x3b1b21([0x56,0x61,0x6c,0x69,0x64])&&_0x22ca81(_0x22108b);},_0x281846);}):_0x5b7008||_0x5d25c7||_0x3b1b21([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1e8da1(_0x3ac884,_0x5b518a){return new window[(_0x3b1b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f9fe1=>{if(_0x1466dd())return _0x2f9fe1(_0x3b1b21([0x56,0x61,0x6c,0x69,0x64]));_0x86fa80(),_0x3e5f8e[_0x3b1b21([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b1b21([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x508b20=!0x1;const _0x25b6c4=_0x116129();function _0x304b66(_0x5030cc){return!!_0x5030cc&&(typeof _0x5030cc===_0x3b1b21([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5030cc===_0x3b1b21([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5030cc[_0x3b1b21([0x74,0x68,0x65,0x6e])]===_0x3b1b21([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5030cc[_0x3b1b21([0x63,0x61,0x74,0x63,0x68])]===_0x3b1b21([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ef7c3(_0x115b93){_0x1b0840(_0x115b93)[_0x3b1b21([0x74,0x68,0x65,0x6e])](_0x19180f=>{if(!_0x19180f||_0x19180f[_0x3b1b21([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b1b21([0x6f,0x6b]))return _0x3b1b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x306f01(_0x32aad7(_0x25b6c4+_0x5b518a))!=_0x19180f[_0x3b1b21([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b1b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b1b21([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b1b21([0x74,0x68,0x65,0x6e])](_0xb3298=>(_0x338198(),_0xb3298),()=>{const _0x297a59=_0x3f7915();return null==_0x297a59?(_0x338198(),_0x3b1b21([0x56,0x61,0x6c,0x69,0x64])):_0x3b1b21(_0x3a50d3-_0x297a59>(0x61d15615^_0x8690aa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b1b21([0x74,0x68,0x65,0x6e])](_0x2f9fe1)[_0x3b1b21([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f9fe1(_0x3b1b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2de2e8=0x45eb3c95^_0x8690aa;function _0x338198(){const _0x43a3b2=_0x3b1b21([0x6c,0x6c,0x63,0x74,0x2d])+_0x306f01(_0x32aad7(_0x3ac884)),_0x35fce5=_0x2286d5(_0x306f01(window[_0x3b1b21([0x4d,0x61,0x74,0x68])][_0x3b1b21([0x63,0x65,0x69,0x6c])](_0x3a50d3/_0x2de2e8)));window[_0x3b1b21([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b1b21([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43a3b2,_0x35fce5);}function _0x3f7915(){const _0xd4c5d6=_0x3b1b21([0x6c,0x6c,0x63,0x74,0x2d])+_0x306f01(_0x32aad7(_0x3ac884)),_0xe25e22=window[_0x3b1b21([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b1b21([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd4c5d6);return _0xe25e22?window[_0x3b1b21([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2286d5(_0xe25e22),0x10)*_0x2de2e8:null;}function _0x1b0840(_0x181ca2){return new window[(_0x3b1b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x103e4e,_0x3bce89)=>{_0x181ca2[_0x3b1b21([0x74,0x68,0x65,0x6e])](_0x103e4e,_0x3bce89),window[_0x3b1b21([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3bce89,0x45dc06d5^_0x8690aa);});}}_0x3e5f8e[_0x3b1b21([0x6f,0x6e])](_0x3b1b21([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ae23c,_0x3aa46a)=>{if(_0x3aa46a[0x0]!=_0x3ac884)return _0x2f9fe1(_0x3b1b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3aa46a[0x1]={..._0x3aa46a[0x1],[_0x3b1b21([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25b6c4};},{[_0x3b1b21([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b1b21([0x68,0x69,0x67,0x68])}),_0x3e5f8e[_0x3b1b21([0x6f,0x6e])](_0x3b1b21([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44b19f=>{_0x304b66(_0x44b19f[_0x3b1b21([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x508b20=!0x0,_0x1ef7c3(_0x44b19f[_0x3b1b21([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b1b21([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b1b21([0x6c,0x6f,0x77])}),_0x30e876[_0x3b1b21([0x74,0x68,0x65,0x6e])](()=>{_0x508b20||_0x2f9fe1(_0x3b1b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1466dd(){return _0x3e5f8e[_0x3b1b21([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b1b21([0x76,0x69,0x65,0x77])][_0x3b1b21([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b1b21([0x61,0x75,0x74,0x6f]);}function _0x86fa80(){_0x3e5f8e[_0x3b1b21([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b1b21([0x76,0x69,0x65,0x77])][_0x3b1b21([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b1b21([0x61,0x75,0x74,0x6f]);}}function _0x31dc69(_0x2fa8af){const _0x8c3ec6=[new window[(_0x3b1b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ed9f3=>setTimeout(_0x2ed9f3,0x45d4ecd9^_0x8690aa)),_0x30e876[_0x3b1b21([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b1b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5656d0=>{let _0x3b4b55=0x0;_0x3e5f8e[_0x3b1b21([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b1b21([0x6f,0x6e])](_0x3b1b21([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28a21a,_0x11fd7d)=>{_0x11fd7d[0x0][_0x3b1b21([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b4b55++,_0x3b4b55==(0x45ddd7fd^_0x8690aa)&&(_0x5656d0(),_0x28a21a[_0x3b1b21([0x6f,0x66,0x66])]());});}))];return window[_0x3b1b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b1b21([0x72,0x61,0x63,0x65])](_0x8c3ec6)[_0x3b1b21([0x74,0x68,0x65,0x6e])](()=>_0x2fa8af);}async function _0x7a9011(){await _0x30e876,_0x3e5f8e[_0x3b1b21([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b1b21([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35f009,_0x3e5f8e[_0x3b1b21([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b1b21([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35f009,_0x3e5f8e[_0x3b1b21([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b1b21([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19a79e(_0x548f64){const _0x16f352=_0xb009dc();_0x3e5f8e[_0x16f352]=_0x3b1b21([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x548f64,_0x548f64!=_0x3b1b21([0x56,0x61,0x6c,0x69,0x64])&&_0x7a9011();}function _0xb009dc(){const _0x332c07=window[_0x3b1b21([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b1b21([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b1b21([0x6e,0x6f,0x77])]())[_0x3b1b21([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b1b21([0x2e]),'');let _0x91a063=_0x3b1b21([0x50]);for(let _0x32f506=0x0;_0x32f506<_0x332c07[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32f506+=0x2){let _0x5b144b=window[_0x3b1b21([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x332c07[_0x3b1b21([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32f506,_0x32f506+0x2));_0x5b144b>=_0x3af768[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b144b-=_0x3af768[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x91a063+=_0x3af768[_0x5b144b];}return _0x91a063;}function _0x5835ee(){const _0x456a7a=_0x1ae267[_0x3b1b21([0x73,0x70,0x6c,0x69,0x74])](_0x3b1b21([0x2e]));if(0x3!=_0x456a7a[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x516cd5(_0x456a7a[0x1]);function _0x516cd5(_0x3df5a7){const _0xd6bcb1=_0x39749f(_0x3df5a7);return _0xd6bcb1&&_0x432884()?_0xd6bcb1:null;function _0x432884(){const _0x23461b=_0xd6bcb1[_0x3b1b21([0x6a,0x74,0x69])],_0x1c70af=window[_0x3b1b21([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23461b[_0x3b1b21([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23461b[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5989d0={..._0xd6bcb1,[_0x3b1b21([0x6a,0x74,0x69])]:_0x23461b[_0x3b1b21([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23461b[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5989d0[_0x3b1b21([0x76,0x63])],_0x32aad7(_0x5989d0)==_0x1c70af;}}}async function _0x391353(){let _0x142165=!0x0;try{const _0xc20a0f=_0x1ae267[_0x3b1b21([0x73,0x70,0x6c,0x69,0x74])](_0x3b1b21([0x2e])),[_0x4e861b,_0x256d38,_0x229f98]=_0xc20a0f;return _0x4b95be(_0x4e861b),await _0x390cc7(_0x4e861b,_0x256d38,_0x229f98),_0x142165;}catch{return!0x1;}function _0x4b95be(_0x1110ac){const _0x362b44=_0x39749f(_0x1110ac);_0x362b44&&_0x362b44[_0x3b1b21([0x61,0x6c,0x67])]==_0x3b1b21([0x45,0x53,0x32,0x35,0x36])||(_0x142165=!0x1);}async function _0x390cc7(_0x52737c,_0x48adcb,_0xcd938a){const _0x7a2173=window[_0x3b1b21([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b1b21([0x66,0x72,0x6f,0x6d])](_0x55f84a(_0xcd938a),_0x1f593b=>_0x1f593b[_0x3b1b21([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe7dd78=new window[(_0x3b1b21([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b1b21([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x52737c+_0x3b1b21([0x2e])+_0x48adcb),_0x4f8f6e=window[_0x3b1b21([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b1b21([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f8f6e)return;const _0x5d0364=await _0x4f8f6e[_0x3b1b21([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b1b21([0x6a,0x77,0x6b]),_0x3b7278,{[_0x3b1b21([0x6e,0x61,0x6d,0x65])]:_0x3b1b21([0x45,0x43,0x44,0x53,0x41]),[_0x3b1b21([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b1b21([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b1b21([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f8f6e[_0x3b1b21([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b1b21([0x6e,0x61,0x6d,0x65])]:_0x3b1b21([0x45,0x43,0x44,0x53,0x41]),[_0x3b1b21([0x68,0x61,0x73,0x68])]:{[_0x3b1b21([0x6e,0x61,0x6d,0x65])]:_0x3b1b21([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d0364,_0x7a2173,_0xe7dd78)||(_0x142165=!0x1);}}function _0x39749f(_0x572a0c){return _0x572a0c[_0x3b1b21([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b1b21([0x65,0x79]))?JSON[_0x3b1b21([0x70,0x61,0x72,0x73,0x65])](_0x55f84a(_0x572a0c)):null;}function _0x55f84a(_0x37ad0d){return window[_0x3b1b21([0x61,0x74,0x6f,0x62])](_0x37ad0d[_0x3b1b21([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b1b21([0x2b]))[_0x3b1b21([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b1b21([0x2f])));}function _0x32aad7(_0x4accbb){let _0x10a537=0x1505;function _0x57f57c(_0x58af1d){for(let _0x979291=0x0;_0x979291<_0x58af1d[_0x3b1b21([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x979291++){const _0x4449a3=_0x58af1d[_0x3b1b21([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x979291);_0x10a537=(_0x10a537<<0x5)+_0x10a537+_0x4449a3,_0x10a537&=_0x10a537;}}function _0x443d2a(_0x38f5f1){Array[_0x3b1b21([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38f5f1)?_0x38f5f1[_0x3b1b21([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x443d2a):_0x38f5f1&&typeof _0x38f5f1==_0x3b1b21([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b1b21([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38f5f1)[_0x3b1b21([0x73,0x6f,0x72,0x74])]()[_0x3b1b21([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ceede,_0xda36ca])=>{_0x57f57c(_0x2ceede),_0x443d2a(_0xda36ca);}):_0x57f57c(window[_0x3b1b21([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38f5f1));}return _0x443d2a(_0x4accbb),_0x10a537>>>0x0;}function _0x306f01(_0x5662a1){return _0x5662a1[_0x3b1b21([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b1b21([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b1b21([0x30]));}function _0x2286d5(_0x1df1ae){return _0x1df1ae[_0x3b1b21([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b1b21([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b1b21([0x6a,0x6f,0x69,0x6e])]('');}function _0x35f009(){}function _0x3b1b21(_0x1e8bbf){return _0x1e8bbf['map'](_0x559af2=>String['fromCharCode'](_0x559af2))['join']('');}_0x19a79e(await _0x10334a());}(this);}['_validateConfig'](){const _0x49a3e3=this['editor'];if(!_0x49a3e3['config']['get']('lineHeight.supportAllValues'))return;const _0x22ae24=_0x49a3e3['config']['get']('lineHeight.options')['filter'](_0x7c0dce=>'string'==typeof _0x7c0dce&&(!H(_0x7c0dce)&&isNaN(Number(_0x7c0dce))));if(_0x22ae24['length'])throw new _0x486c7c('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x22ae24});}['_prepareAnyValueConverters'](){const _0x1f460d=this['editor'],_0x131316=this['editor']['config']['get']('lineHeight.defaultValue');_0x1f460d['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x51166b=>String(_0x51166b)===String(_0x131316)?null:{'key':'style','value':{'line-height':_0x51166b}}}),_0x1f460d['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x850ef7=>{let _0x437d29=_0x850ef7['getStyle']('line-height');return _0x265101(_0x437d29)&&(_0x437d29=String(Number(_0x437d29['slice'](0x0,-0x1))/0x64)),String(_0x437d29)===String(_0x131316)?null:_0x437d29;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x2e7b08=this['editor'],_0x21052e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4f1e31=function(_0x446369,_0x2ab10d){const _0x9c82f={'model':{'key':_0x446369,'values':[]},'view':{}};for(const _0x58b0e4 of _0x2ab10d)'class'===_0x58b0e4['view']?.['key']?(_0x9c82f['model']['values']['push'](_0x58b0e4['model']),_0x9c82f['view'][_0x58b0e4['model']]={'key':'class','value':_0x58b0e4['view']['value']}):(_0x9c82f['model']['values']['push'](_0x58b0e4['model']),_0x9c82f['view'][_0x58b0e4['model']]={'key':'style','value':'line-height:'+_0x58b0e4['model']+';'});return _0x9c82f;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0x1a89f4=>_0x1a89f4['model']));_0x2e7b08['conversion']['attributeToAttribute'](_0x4f1e31),_0x2e7b08['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x154660=>{let _0x4cc5fd=_0x154660['getStyle']('line-height');return _0x265101(_0x4cc5fd)&&(_0x4cc5fd=String(Number(_0x4cc5fd['slice'](0x0,-0x1))/0x64)),_0x4cc5fd===String(_0x21052e)?null:_0x4f1e31['model']['values']['includes'](_0x4cc5fd)?_0x4cc5fd:null;}}});}}class k extends _0x36c102{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x44a604={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x44a604),this['_registerMenuBarComponent'](_0x44a604),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x267dc7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x15a26e;for(const _0xa5d8a9 in _0x267dc7){const _0x40a9aa=_0xa5d8a9,_0x2bf3d5=_0x267dc7[_0x40a9aa];if('lineHeightLicenseKeyValid'==_0x2bf3d5||'lineHeightLicenseKeyInvalid'==_0x2bf3d5||'lineHeightLicenseKeyExpired'==_0x2bf3d5||'lineHeightLicenseKeyDomainLimit'==_0x2bf3d5||'lineHeightLicenseKeyNotAllowed'==_0x2bf3d5||'lineHeightLicenseKeyEvaluationLimit'==_0x2bf3d5||'lineHeightLicenseKeyUsageLimit'==_0x2bf3d5){delete _0x267dc7[_0x40a9aa],_0x15a26e=_0x2bf3d5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x15a26e&&_0x267dc7['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x15a26e&&_0x267dc7['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x15a26e&&_0x267dc7['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x15a26e&&_0x267dc7['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x15a26e&&_0x267dc7['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x15a26e&&_0x267dc7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x363a9b=this['editor'],t=_0x363a9b['t'],_0x44ec80=_0x363a9b['config']['get']('lineHeight'),_0x25816b={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x44ec80)['map'](_0x10ad72=>{const _0x2999a7=_0x25816b[_0x10ad72['title']];return _0x2999a7&&_0x2999a7!=_0x10ad72['title']&&(_0x10ad72=Object['assign']({},_0x10ad72,{'title':_0x2999a7})),_0x10ad72;});}['_prepareListOptions'](){const _0x4ddd95=this['editor']['commands']['get']('lineHeight'),_0xbe9050=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3de0c5=this['_getLocalizedLineHeightOptions'](),_0x44bef9=new _0x49f338(),_0x3adac3=_0x2701ee=>'default'===_0x2701ee||String(_0xbe9050)===_0x2701ee;for(const _0x4cb876 of _0x3de0c5){const _0x120a2a={'type':'button','model':new _0x2e1aef({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4cb876['title'],'withText':!0x0})};_0x3adac3(_0x4cb876['model'])?(_0x120a2a['model']['bind']('isOn')['to'](_0x4ddd95,'value',_0xfe0872=>!_0xfe0872),_0x120a2a['model']['commandParam']=void 0x0):(_0x120a2a['model']['bind']('isOn')['to'](_0x4ddd95,'value',_0x848d76=>_0x848d76===_0x4cb876['model']),_0x120a2a['model']['commandParam']=_0x4cb876['model']),_0x44bef9['add'](_0x120a2a);}if(this['_shouldRenderCustomValueOption']()){const _0x3c3d15=this['_getCustomValueOptionDefinition'](_0x3de0c5);_0x44bef9['add'](_0x3c3d15);}return _0x44bef9;}['_getCustomValueOptionDefinition'](_0x48f61c){const _0xec476a=this['editor'],t=_0xec476a['t'],_0x5e1d0b=_0xec476a['commands']['get']('lineHeight'),_0x24cd8f=_0x48f61c['map'](_0x357927=>_0x357927['model']),_0x4dac11={'type':'button','model':new _0x2e1aef({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4dac11['model']['bind']('commandParam')['to'](_0x5e1d0b,'value'),_0x4dac11['model']['bind']('isOn')['to'](_0x5e1d0b,'value',_0x47e47d=>!!_0x47e47d&&!_0x24cd8f['includes'](String(_0x47e47d))),_0x4dac11['model']['bind']('label')['to'](_0x5e1d0b,'value',_0x457a33=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x457a33))),_0x4dac11;}['_registerToolbarComponent']({accessibleLabel:_0x3a818e,options:_0x3d9c41}){const _0x3dd855=this['editor'],_0x2edab7=_0x3dd855['commands']['get']('lineHeight');_0x3dd855['ui']['componentFactory']['add']('lineHeight',_0x4dec24=>{const _0x350dfe=_0x1546b7(_0x4dec24);return _0x2e1e44(_0x350dfe,_0x3d9c41,{'role':'menu','ariaLabel':_0x3a818e}),_0x350dfe['buttonView']['set']({'label':_0x3a818e,'tooltip':!0x0,'icon':_0x4d5926}),_0x350dfe['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x350dfe['bind']('isEnabled')['to'](_0x2edab7),this['listenTo'](_0x350dfe,'execute',_0x37b74c=>{_0x3dd855['execute'](_0x37b74c['source']['commandName'],{'value':_0x37b74c['source']['commandParam']}),_0x3dd855['editing']['view']['focus']();}),_0x350dfe['once']('change:isOpen',()=>{const _0x39096c=_0x350dfe['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x350dfe,_0x3d9c41,_0x39096c);}),_0x350dfe;});}['_registerMenuBarComponent']({accessibleLabel:_0x3acd51,options:_0x4c5272}){const _0x4a4948=this['editor'],_0x13694f=_0x4a4948['commands']['get']('lineHeight');_0x4a4948['ui']['componentFactory']['add']('menuBar:lineHeight',_0x18fca4=>{const _0x1e6e84=new _0x1270b8(_0x18fca4);_0x1e6e84['buttonView']['set']({'label':_0x3acd51,'icon':_0x4d5926}),_0x1e6e84['bind']('isEnabled')['to'](_0x13694f);const _0x2eff5f=new _0x16a399(_0x18fca4);for(const _0x554de8 of _0x4c5272){const _0x54da16=new _0x5b011c(_0x18fca4,_0x1e6e84),_0x347bcd=new _0x489d7(_0x18fca4);_0x347bcd['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x347bcd['bind'](...Object['keys'](_0x554de8['model']))['to'](_0x554de8['model']),_0x347bcd['delegate']('execute')['to'](_0x1e6e84),_0x347bcd['on']('execute',()=>{_0x4a4948['execute'](_0x554de8['model']['commandName'],{'value':_0x554de8['model']['commandParam']}),_0x4a4948['editing']['view']['focus']();}),_0x54da16['children']['add'](_0x347bcd),_0x2eff5f['items']['add'](_0x54da16);}return _0x1e6e84['panelView']['children']['add'](_0x2eff5f),this['_attachCustomOptionVisibilityHandler'](_0x1e6e84,_0x4c5272,_0x2eff5f),_0x1e6e84;});}['_attachCustomOptionVisibilityHandler'](_0x3e93e0,_0x1ac9bc,_0x30e271){if(!this['_shouldRenderCustomValueOption']())return;const _0x4f4a60=()=>{if(!_0x3e93e0['isOpen'])return;_0x30e271['items']['last']['isVisible']=Boolean(_0x1ac9bc['last']['model']['isOn']);};_0x4f4a60(),_0x3e93e0['on']('change:isOpen',()=>{_0x4f4a60();});}}class _ extends _0x36c102{static get['requires'](){return[b,k];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,p as LineHeightCommand,b as LineHeightEditing,v as LineHeightTodoListIntegration,k as LineHeightUI};
|
|
23
|
+
import{Command as _0x3350f0,Plugin as _0x21c34e}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x25caf0,CKEditorError as _0x2db3cc,uid as _0x3a7e2f,Collection as _0x28ff92}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x30fd0e,isPercentageStyleValue as _0xa87473}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x2291fb,createDropdown as _0x1cfdee,addListToDropdown as _0x20ef1c,MenuBarMenuView as _0x2d2f09,MenuBarMenuListView as _0x30b0ea,MenuBarMenuListItemView as _0x10d8f0,MenuBarMenuListItemButtonView as _0x753f15}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x584195}from'@ckeditor/ckeditor5-icons/dist/index.js';class p extends _0x3350f0{['refresh'](){const _0xe0cd7c=this['editor']['model']['document'],_0xf4cabb=_0x25caf0(_0xe0cd7c['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0xf4cabb)&&this['_canHaveLineHeight'](_0xf4cabb),this['value']=this['isEnabled']&&_0xf4cabb['getAttribute']('lineHeight');}['execute'](_0x53fe1a={}){const _0x355ab4=this['editor']['model'],_0x5d7f4f=_0x355ab4['document']['selection'],_0x3e9701=_0x53fe1a['value'];_0x355ab4['change'](_0x539190=>{const _0x420dae=Array['from'](_0x5d7f4f['getSelectedBlocks']())['filter'](_0x2c38d4=>this['_canHaveLineHeight'](_0x2c38d4));for(const _0x349799 of _0x420dae)_0x3e9701?_0x539190['setAttribute']('lineHeight',_0x3e9701,_0x349799):_0x539190['removeAttribute']('lineHeight',_0x349799);});}['_canHaveLineHeight'](_0x57d69b){return this['editor']['model']['schema']['checkAttribute'](_0x57d69b,'lineHeight');}}const y={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function H(_0x405ba2){return'string'==typeof _0x405ba2&&'default'===_0x405ba2['toLowerCase']();}function L(_0x33e9df){return _0x33e9df['options']['map'](_0x60c2b4=>{return H(_0x60c2b4)?{'title':String(_0x33e9df['defaultValue']),'model':'default'}:('number'==typeof _0x60c2b4&&(_0x60c2b4=String(_0x60c2b4)),'string'!=typeof _0x60c2b4?_0x60c2b4:parseFloat(_0x60c2b4)?{'title':_0x60c2b4,'model':_0x60c2b4,'view':{'name':'span','styles':{'line-height':_0x60c2b4}}}:'string'==typeof(_0x552004=_0x60c2b4)?y[_0x552004]:y[_0x552004['model']]);var _0x552004;})['filter'](_0x1c3be1=>void 0x0!==_0x1c3be1);}class v extends _0x21c34e{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x30c184,conversion:_0x53334f}=this['editor'];if(!_0x30c184['has']('ListEditing')||!_0x30c184['has']('TodoListEditing'))return;_0x30c184['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x52a1c7,_0x4b49a7,_0x5aef8c,_0x3790a3,_0x16ac7c){'todo'==_0x16ac7c['getAttribute']('listType')&&_0x4b49a7&&(_0x52a1c7['addClass']('ck-list-marker-line-height',_0x5aef8c),_0x52a1c7['setStyle']('--ck-content-list-marker-line-height',_0x4b49a7,_0x5aef8c));}}),_0x53334f['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x53334f['for']('upcast')['add'](_0x4fb206=>{_0x4fb206['on']('element:li',function(_0x25cdcb){const _0x95d77=new _0x30fd0e(_0x25cdcb);return(_0x40051d,_0x7de8e5,_0x328ed8)=>{const _0x224f1d=_0x95d77['match'](_0x7de8e5['viewItem']);if(!_0x224f1d)return;const _0x26de03=_0x224f1d['match'];_0x26de03['name']=!0x1,_0x328ed8['consumable']['consume'](_0x7de8e5['viewItem'],_0x26de03);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class b extends _0x21c34e{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[v];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10d050){super(_0x10d050),_0x10d050['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x559e46=this['editor'];this['_validateConfig'](),_0x559e46['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x559e46['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x559e46['commands']['add']('lineHeight',new p(_0x559e46)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x1dfc8b){const _0x20f36b=_0x4b4722([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]),_0x1e25da=0x45ddd215,_0x9e62a7=0x45da5be5^_0x1e25da,_0x1db5c5=window[_0x4b4722([0x44,0x61,0x74,0x65])][_0x4b4722([0x6e,0x6f,0x77])](),_0x32967e=_0x1dfc8b[_0x4b4722([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x24433a=new window[(_0x4b4722([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49b9bf=>{_0x32967e[_0x4b4722([0x6f,0x6e,0x63,0x65])](_0x4b4722([0x72,0x65,0x61,0x64,0x79]),_0x49b9bf);}),_0x38bc80={[_0x4b4722([0x6b,0x74,0x79])]:_0x4b4722([0x45,0x43]),[_0x4b4722([0x75,0x73,0x65])]:_0x4b4722([0x73,0x69,0x67]),[_0x4b4722([0x63,0x72,0x76])]:_0x4b4722([0x50,0x2d,0x32,0x35,0x36]),[_0x4b4722([0x78])]:_0x4b4722([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]),[_0x4b4722([0x79])]:_0x4b4722([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]),[_0x4b4722([0x61,0x6c,0x67])]:_0x4b4722([0x45,0x53,0x32,0x35,0x36])},_0x399827=_0x32967e[_0x4b4722([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b4722([0x67,0x65,0x74])](_0x4b4722([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e490e(){let _0x5d39dd,_0xc24c2a=null,_0x1e356e=null;try{if(_0x399827==_0x4b4722([0x47,0x50,0x4c]))return _0x4b4722([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d39dd=_0x3ae615(),!_0x5d39dd)return _0x4b4722([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d39dd[_0x4b4722([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e356e=_0x1196c4(_0x5d39dd[_0x4b4722([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d39dd[_0x4b4722([0x6a,0x74,0x69])])),await _0x17e8cc()?_0x2a1664()?_0x1e6545()?_0x4b4722([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c4abe()?(_0x5d39dd[_0x4b4722([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b4722([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xc24c2a=_0x4249b6(_0x4b4722([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x341a20()):_0x4b4722([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b4722([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b4722([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b4722([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e6545(){const _0x44aae6=[_0x4b4722([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b4722([0x74,0x72,0x69,0x61,0x6c])][_0x4b4722([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d39dd[_0x4b4722([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1db5c5/0x3e8:0xe10*_0x9e62a7;return _0x5d39dd[_0x4b4722([0x65,0x78,0x70])]<_0x44aae6;}function _0x2a1664(){const _0x2b1f47=_0x5d39dd[_0x4b4722([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b1f47&&(!!_0x2b1f47[_0x4b4722([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b4722([0x2a]))||!!_0x2b1f47[_0x4b4722([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b4722([0x4c,0x48])));}function _0x2c4abe(){const _0x575597=_0x5d39dd[_0x4b4722([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x575597||0x0==_0x575597[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fd90f}=new URL(window[_0x4b4722([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x575597[_0x4b4722([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd90f))return!0x0;const _0x2bbb9d=_0x2fd90f[_0x4b4722([0x73,0x70,0x6c,0x69,0x74])](_0x4b4722([0x2e]));return _0x575597[_0x4b4722([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x529c17=>_0x529c17[_0x4b4722([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b4722([0x2a])))[_0x4b4722([0x6d,0x61,0x70])](_0xd2626d=>_0xd2626d[_0x4b4722([0x73,0x70,0x6c,0x69,0x74])](_0x4b4722([0x2e])))[_0x4b4722([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3206fd=>_0x3206fd[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2bbb9d[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b4722([0x6d,0x61,0x70])](_0x235264=>Array(_0x2bbb9d[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x235264[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b4722([0x66,0x69,0x6c,0x6c])](_0x235264[0x0]===_0x4b4722([0x2a])?_0x4b4722([0x2a]):'')[_0x4b4722([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x235264))[_0x4b4722([0x73,0x6f,0x6d,0x65])](_0x5182bd=>_0x2bbb9d[_0x4b4722([0x65,0x76,0x65,0x72,0x79])]((_0x6c3d5f,_0x1db38d)=>_0x5182bd[_0x1db38d]===_0x6c3d5f||_0x5182bd[_0x1db38d]===_0x4b4722([0x2a])));}function _0x341a20(){return _0xc24c2a&&_0x1e356e?new window[(_0x4b4722([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36c319,_0x27c162)=>{_0xc24c2a[_0x4b4722([0x74,0x68,0x65,0x6e])](_0x36c319,_0x27c162),_0x1e356e[_0x4b4722([0x74,0x68,0x65,0x6e])](_0x363182=>{_0x363182!=_0x4b4722([0x56,0x61,0x6c,0x69,0x64])&&_0x36c319(_0x363182);},_0x27c162);}):_0xc24c2a||_0x1e356e||_0x4b4722([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1196c4(_0x163ba3,_0x533df3){return new window[(_0x4b4722([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x526792=>{if(_0x5a9e6b())return _0x526792(_0x4b4722([0x56,0x61,0x6c,0x69,0x64]));_0x3bf66c(),_0x32967e[_0x4b4722([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b4722([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d689d=!0x1;const _0x5aa1a8=_0x3a7e2f();function _0x1cc324(_0x56836d){return!!_0x56836d&&(typeof _0x56836d===_0x4b4722([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56836d===_0x4b4722([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56836d[_0x4b4722([0x74,0x68,0x65,0x6e])]===_0x4b4722([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56836d[_0x4b4722([0x63,0x61,0x74,0x63,0x68])]===_0x4b4722([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xcf1001(_0x58c599){_0x24a5b2(_0x58c599)[_0x4b4722([0x74,0x68,0x65,0x6e])](_0x3b55b2=>{if(!_0x3b55b2||_0x3b55b2[_0x4b4722([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b4722([0x6f,0x6b]))return _0x4b4722([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49a794(_0x19f41c(_0x5aa1a8+_0x533df3))!=_0x3b55b2[_0x4b4722([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b4722([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b4722([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b4722([0x74,0x68,0x65,0x6e])](_0x15cdf8=>(_0x302b50(),_0x15cdf8),()=>{const _0x5fe457=_0x425fd6();return null==_0x5fe457?(_0x302b50(),_0x4b4722([0x56,0x61,0x6c,0x69,0x64])):_0x4b4722(_0x1db5c5-_0x5fe457>(0x61d15615^_0x1e25da)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b4722([0x74,0x68,0x65,0x6e])](_0x526792)[_0x4b4722([0x63,0x61,0x74,0x63,0x68])](()=>{_0x526792(_0x4b4722([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f645d=0x45eb3c95^_0x1e25da;function _0x302b50(){const _0x5174e1=_0x4b4722([0x6c,0x6c,0x63,0x74,0x2d])+_0x49a794(_0x19f41c(_0x163ba3)),_0x54510f=_0x515403(_0x49a794(window[_0x4b4722([0x4d,0x61,0x74,0x68])][_0x4b4722([0x63,0x65,0x69,0x6c])](_0x1db5c5/_0x1f645d)));window[_0x4b4722([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b4722([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5174e1,_0x54510f);}function _0x425fd6(){const _0x81443b=_0x4b4722([0x6c,0x6c,0x63,0x74,0x2d])+_0x49a794(_0x19f41c(_0x163ba3)),_0x43be56=window[_0x4b4722([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b4722([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x81443b);return _0x43be56?window[_0x4b4722([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x515403(_0x43be56),0x10)*_0x1f645d:null;}function _0x24a5b2(_0xc1ac21){return new window[(_0x4b4722([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x231ea4,_0xa74413)=>{_0xc1ac21[_0x4b4722([0x74,0x68,0x65,0x6e])](_0x231ea4,_0xa74413),window[_0x4b4722([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa74413,0x45dc06d5^_0x1e25da);});}}_0x32967e[_0x4b4722([0x6f,0x6e])](_0x4b4722([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x200588,_0x3a633d)=>{if(_0x3a633d[0x0]!=_0x163ba3)return _0x526792(_0x4b4722([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a633d[0x1]={..._0x3a633d[0x1],[_0x4b4722([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5aa1a8};},{[_0x4b4722([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b4722([0x68,0x69,0x67,0x68])}),_0x32967e[_0x4b4722([0x6f,0x6e])](_0x4b4722([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e9fa8=>{_0x1cc324(_0x2e9fa8[_0x4b4722([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d689d=!0x0,_0xcf1001(_0x2e9fa8[_0x4b4722([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b4722([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b4722([0x6c,0x6f,0x77])}),_0x24433a[_0x4b4722([0x74,0x68,0x65,0x6e])](()=>{_0x2d689d||_0x526792(_0x4b4722([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a9e6b(){return _0x32967e[_0x4b4722([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b4722([0x76,0x69,0x65,0x77])][_0x4b4722([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b4722([0x61,0x75,0x74,0x6f]);}function _0x3bf66c(){_0x32967e[_0x4b4722([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b4722([0x76,0x69,0x65,0x77])][_0x4b4722([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b4722([0x61,0x75,0x74,0x6f]);}}function _0x4249b6(_0x33d77f){const _0x2c9fe0=[new window[(_0x4b4722([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x232408=>setTimeout(_0x232408,0x45d4ecd9^_0x1e25da)),_0x24433a[_0x4b4722([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b4722([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d9478=>{let _0xa7b25=0x0;_0x32967e[_0x4b4722([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b4722([0x6f,0x6e])](_0x4b4722([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x359d6d,_0x29ac3e)=>{_0x29ac3e[0x0][_0x4b4722([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa7b25++,_0xa7b25==(0x45ddd7fd^_0x1e25da)&&(_0x5d9478(),_0x359d6d[_0x4b4722([0x6f,0x66,0x66])]());});}))];return window[_0x4b4722([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b4722([0x72,0x61,0x63,0x65])](_0x2c9fe0)[_0x4b4722([0x74,0x68,0x65,0x6e])](()=>_0x33d77f);}async function _0x33197b(){await _0x24433a,_0x32967e[_0x4b4722([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b4722([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf66a94,_0x32967e[_0x4b4722([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b4722([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf66a94,_0x32967e[_0x4b4722([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b4722([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x174f0a(_0x5a3cfc){const _0x3d22f5=_0x52b9b0();_0x32967e[_0x3d22f5]=_0x4b4722([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a3cfc,_0x5a3cfc!=_0x4b4722([0x56,0x61,0x6c,0x69,0x64])&&_0x33197b();}function _0x52b9b0(){const _0x589d9e=window[_0x4b4722([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b4722([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b4722([0x6e,0x6f,0x77])]())[_0x4b4722([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b4722([0x2e]),'');let _0x123c18=_0x4b4722([0x50]);for(let _0x3ca60a=0x0;_0x3ca60a<_0x589d9e[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ca60a+=0x2){let _0x3b8575=window[_0x4b4722([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x589d9e[_0x4b4722([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ca60a,_0x3ca60a+0x2));_0x3b8575>=_0x20f36b[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b8575-=_0x20f36b[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x123c18+=_0x20f36b[_0x3b8575];}return _0x123c18;}function _0x3ae615(){const _0x34a0f0=_0x399827[_0x4b4722([0x73,0x70,0x6c,0x69,0x74])](_0x4b4722([0x2e]));if(0x3!=_0x34a0f0[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e2baf(_0x34a0f0[0x1]);function _0x4e2baf(_0x167d32){const _0x39e7ff=_0x2ae3c8(_0x167d32);return _0x39e7ff&&_0x5144fe()?_0x39e7ff:null;function _0x5144fe(){const _0x1cb3b6=_0x39e7ff[_0x4b4722([0x6a,0x74,0x69])],_0x46dedf=window[_0x4b4722([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cb3b6[_0x4b4722([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cb3b6[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x274a76={..._0x39e7ff,[_0x4b4722([0x6a,0x74,0x69])]:_0x1cb3b6[_0x4b4722([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1cb3b6[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x274a76[_0x4b4722([0x76,0x63])],_0x19f41c(_0x274a76)==_0x46dedf;}}}async function _0x17e8cc(){let _0x531729=!0x0;try{const _0x3dc729=_0x399827[_0x4b4722([0x73,0x70,0x6c,0x69,0x74])](_0x4b4722([0x2e])),[_0x50b0bd,_0x56d208,_0x175b79]=_0x3dc729;return _0x21c714(_0x50b0bd),await _0xe8a293(_0x50b0bd,_0x56d208,_0x175b79),_0x531729;}catch{return!0x1;}function _0x21c714(_0x3ac336){const _0xc146ff=_0x2ae3c8(_0x3ac336);_0xc146ff&&_0xc146ff[_0x4b4722([0x61,0x6c,0x67])]==_0x4b4722([0x45,0x53,0x32,0x35,0x36])||(_0x531729=!0x1);}async function _0xe8a293(_0x182b03,_0x4c816c,_0x3891f4){const _0xb69a17=window[_0x4b4722([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b4722([0x66,0x72,0x6f,0x6d])](_0x12d4db(_0x3891f4),_0x477624=>_0x477624[_0x4b4722([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27f184=new window[(_0x4b4722([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b4722([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x182b03+_0x4b4722([0x2e])+_0x4c816c),_0x13da5f=window[_0x4b4722([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b4722([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x13da5f)return;const _0x13fd56=await _0x13da5f[_0x4b4722([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b4722([0x6a,0x77,0x6b]),_0x38bc80,{[_0x4b4722([0x6e,0x61,0x6d,0x65])]:_0x4b4722([0x45,0x43,0x44,0x53,0x41]),[_0x4b4722([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b4722([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b4722([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x13da5f[_0x4b4722([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b4722([0x6e,0x61,0x6d,0x65])]:_0x4b4722([0x45,0x43,0x44,0x53,0x41]),[_0x4b4722([0x68,0x61,0x73,0x68])]:{[_0x4b4722([0x6e,0x61,0x6d,0x65])]:_0x4b4722([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x13fd56,_0xb69a17,_0x27f184)||(_0x531729=!0x1);}}function _0x2ae3c8(_0x3d1613){return _0x3d1613[_0x4b4722([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b4722([0x65,0x79]))?JSON[_0x4b4722([0x70,0x61,0x72,0x73,0x65])](_0x12d4db(_0x3d1613)):null;}function _0x12d4db(_0x259f97){return window[_0x4b4722([0x61,0x74,0x6f,0x62])](_0x259f97[_0x4b4722([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b4722([0x2b]))[_0x4b4722([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b4722([0x2f])));}function _0x19f41c(_0xe0cfd9){let _0x18774f=0x1505;function _0x15935d(_0x57e214){for(let _0x261463=0x0;_0x261463<_0x57e214[_0x4b4722([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x261463++){const _0x3cc0e3=_0x57e214[_0x4b4722([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x261463);_0x18774f=(_0x18774f<<0x5)+_0x18774f+_0x3cc0e3,_0x18774f&=_0x18774f;}}function _0x25e188(_0x4ad919){Array[_0x4b4722([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ad919)?_0x4ad919[_0x4b4722([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25e188):_0x4ad919&&typeof _0x4ad919==_0x4b4722([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b4722([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ad919)[_0x4b4722([0x73,0x6f,0x72,0x74])]()[_0x4b4722([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1968dd,_0x151a26])=>{_0x15935d(_0x1968dd),_0x25e188(_0x151a26);}):_0x15935d(window[_0x4b4722([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ad919));}return _0x25e188(_0xe0cfd9),_0x18774f>>>0x0;}function _0x49a794(_0xaf575d){return _0xaf575d[_0x4b4722([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b4722([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b4722([0x30]));}function _0x515403(_0x10609a){return _0x10609a[_0x4b4722([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b4722([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b4722([0x6a,0x6f,0x69,0x6e])]('');}function _0xf66a94(){}function _0x4b4722(_0x125838){return _0x125838['map'](_0x530497=>String['fromCharCode'](_0x530497))['join']('');}_0x174f0a(await _0x2e490e());}(this);}['_validateConfig'](){const _0xcc2aed=this['editor'];if(!_0xcc2aed['config']['get']('lineHeight.supportAllValues'))return;const _0x24c480=_0xcc2aed['config']['get']('lineHeight.options')['filter'](_0x24349d=>'string'==typeof _0x24349d&&(!H(_0x24349d)&&isNaN(Number(_0x24349d))));if(_0x24c480['length'])throw new _0x2db3cc('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x24c480});}['_prepareAnyValueConverters'](){const _0x7b8254=this['editor'],_0x2b2a13=this['editor']['config']['get']('lineHeight.defaultValue');_0x7b8254['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x52759f=>String(_0x52759f)===String(_0x2b2a13)?null:{'key':'style','value':{'line-height':_0x52759f}}}),_0x7b8254['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0xe08374=>{let _0x1f276d=_0xe08374['getStyle']('line-height');return _0xa87473(_0x1f276d)&&(_0x1f276d=String(Number(_0x1f276d['slice'](0x0,-0x1))/0x64)),String(_0x1f276d)===String(_0x2b2a13)?null:_0x1f276d;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x398ebc=this['editor'],_0x3edc75=this['editor']['config']['get']('lineHeight.defaultValue'),_0x49fbac=function(_0x54296a,_0x21ad96){const _0x5246bc={'model':{'key':_0x54296a,'values':[]},'view':{}};for(const _0x337f73 of _0x21ad96)'class'===_0x337f73['view']?.['key']?(_0x5246bc['model']['values']['push'](_0x337f73['model']),_0x5246bc['view'][_0x337f73['model']]={'key':'class','value':_0x337f73['view']['value']}):(_0x5246bc['model']['values']['push'](_0x337f73['model']),_0x5246bc['view'][_0x337f73['model']]={'key':'style','value':'line-height:'+_0x337f73['model']+';'});return _0x5246bc;}('lineHeight',L(this['editor']['config']['get']('lineHeight'))['filter'](_0xe1d83f=>_0xe1d83f['model']));_0x398ebc['conversion']['attributeToAttribute'](_0x49fbac),_0x398ebc['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x4adaff=>{let _0x45fe6f=_0x4adaff['getStyle']('line-height');return _0xa87473(_0x45fe6f)&&(_0x45fe6f=String(Number(_0x45fe6f['slice'](0x0,-0x1))/0x64)),_0x45fe6f===String(_0x3edc75)?null:_0x49fbac['model']['values']['includes'](_0x45fe6f)?_0x45fe6f:null;}}});}}class k extends _0x21c34e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x532176={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x532176),this['_registerMenuBarComponent'](_0x532176),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x563aa7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x363898;for(const _0x2bdd43 in _0x563aa7){const _0x559cd6=_0x2bdd43,_0x40a90d=_0x563aa7[_0x559cd6];if('lineHeightLicenseKeyValid'==_0x40a90d||'lineHeightLicenseKeyInvalid'==_0x40a90d||'lineHeightLicenseKeyExpired'==_0x40a90d||'lineHeightLicenseKeyDomainLimit'==_0x40a90d||'lineHeightLicenseKeyNotAllowed'==_0x40a90d||'lineHeightLicenseKeyEvaluationLimit'==_0x40a90d||'lineHeightLicenseKeyUsageLimit'==_0x40a90d){delete _0x563aa7[_0x559cd6],_0x363898=_0x40a90d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x363898&&_0x563aa7['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x363898&&_0x563aa7['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x363898&&_0x563aa7['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x363898&&_0x563aa7['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x363898&&_0x563aa7['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x363898&&_0x563aa7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2d06c2=this['editor'],t=_0x2d06c2['t'],_0x55f0b4=_0x2d06c2['config']['get']('lineHeight'),_0x4d6c68={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return L(_0x55f0b4)['map'](_0x4aef4d=>{const _0x9b9312=_0x4d6c68[_0x4aef4d['title']];return _0x9b9312&&_0x9b9312!=_0x4aef4d['title']&&(_0x4aef4d=Object['assign']({},_0x4aef4d,{'title':_0x9b9312})),_0x4aef4d;});}['_prepareListOptions'](){const _0x51e695=this['editor']['commands']['get']('lineHeight'),_0x100155=this['editor']['config']['get']('lineHeight.defaultValue'),_0x20dc2b=this['_getLocalizedLineHeightOptions'](),_0x1b55b4=new _0x28ff92(),_0x202fc7=_0x4213d2=>'default'===_0x4213d2||String(_0x100155)===_0x4213d2;for(const _0x66f82b of _0x20dc2b){const _0x4cfea1={'type':'button','model':new _0x2291fb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x66f82b['title'],'withText':!0x0})};_0x202fc7(_0x66f82b['model'])?(_0x4cfea1['model']['bind']('isOn')['to'](_0x51e695,'value',_0x2acbca=>!_0x2acbca),_0x4cfea1['model']['commandParam']=void 0x0):(_0x4cfea1['model']['bind']('isOn')['to'](_0x51e695,'value',_0x203bda=>_0x203bda===_0x66f82b['model']),_0x4cfea1['model']['commandParam']=_0x66f82b['model']),_0x1b55b4['add'](_0x4cfea1);}if(this['_shouldRenderCustomValueOption']()){const _0xbe4cbc=this['_getCustomValueOptionDefinition'](_0x20dc2b);_0x1b55b4['add'](_0xbe4cbc);}return _0x1b55b4;}['_getCustomValueOptionDefinition'](_0x37a8a9){const _0x4fb583=this['editor'],t=_0x4fb583['t'],_0x350859=_0x4fb583['commands']['get']('lineHeight'),_0x526228=_0x37a8a9['map'](_0x2a8a79=>_0x2a8a79['model']),_0x50a849={'type':'button','model':new _0x2291fb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x50a849['model']['bind']('commandParam')['to'](_0x350859,'value'),_0x50a849['model']['bind']('isOn')['to'](_0x350859,'value',_0x56f5d6=>!!_0x56f5d6&&!_0x526228['includes'](String(_0x56f5d6))),_0x50a849['model']['bind']('label')['to'](_0x350859,'value',_0x12b7aa=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x12b7aa))),_0x50a849;}['_registerToolbarComponent']({accessibleLabel:_0x466881,options:_0xc447db}){const _0x1aeec0=this['editor'],_0x443183=_0x1aeec0['commands']['get']('lineHeight');_0x1aeec0['ui']['componentFactory']['add']('lineHeight',_0x403ca4=>{const _0x930391=_0x1cfdee(_0x403ca4);return _0x20ef1c(_0x930391,_0xc447db,{'role':'menu','ariaLabel':_0x466881}),_0x930391['buttonView']['set']({'label':_0x466881,'tooltip':!0x0,'icon':_0x584195}),_0x930391['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x930391['bind']('isEnabled')['to'](_0x443183),this['listenTo'](_0x930391,'execute',_0x53b8b3=>{_0x1aeec0['execute'](_0x53b8b3['source']['commandName'],{'value':_0x53b8b3['source']['commandParam']}),_0x1aeec0['editing']['view']['focus']();}),_0x930391['once']('change:isOpen',()=>{const _0x11f676=_0x930391['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x930391,_0xc447db,_0x11f676);}),_0x930391;});}['_registerMenuBarComponent']({accessibleLabel:_0x253b40,options:_0x2b9cad}){const _0x3dc1ea=this['editor'],_0x1eda38=_0x3dc1ea['commands']['get']('lineHeight');_0x3dc1ea['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2a4ceb=>{const _0x2f08eb=new _0x2d2f09(_0x2a4ceb);_0x2f08eb['buttonView']['set']({'label':_0x253b40,'icon':_0x584195}),_0x2f08eb['bind']('isEnabled')['to'](_0x1eda38);const _0x5042b5=new _0x30b0ea(_0x2a4ceb);for(const _0x1319ef of _0x2b9cad){const _0x1ff445=new _0x10d8f0(_0x2a4ceb,_0x2f08eb),_0x36d738=new _0x753f15(_0x2a4ceb);_0x36d738['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x36d738['bind'](...Object['keys'](_0x1319ef['model']))['to'](_0x1319ef['model']),_0x36d738['delegate']('execute')['to'](_0x2f08eb),_0x36d738['on']('execute',()=>{_0x3dc1ea['execute'](_0x1319ef['model']['commandName'],{'value':_0x1319ef['model']['commandParam']}),_0x3dc1ea['editing']['view']['focus']();}),_0x1ff445['children']['add'](_0x36d738),_0x5042b5['items']['add'](_0x1ff445);}return _0x2f08eb['panelView']['children']['add'](_0x5042b5),this['_attachCustomOptionVisibilityHandler'](_0x2f08eb,_0x2b9cad,_0x5042b5),_0x2f08eb;});}['_attachCustomOptionVisibilityHandler'](_0x25e846,_0x597592,_0x4734c8){if(!this['_shouldRenderCustomValueOption']())return;const _0x56e0b2=()=>{if(!_0x25e846['isOpen'])return;_0x4734c8['items']['last']['isVisible']=Boolean(_0x597592['last']['model']['isOn']);};_0x56e0b2(),_0x25e846['on']('change:isOpen',()=>{_0x56e0b2();});}}class _ extends _0x21c34e{static get['requires'](){return[b,k];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,p as LineHeightCommand,b as LineHeightEditing,v as LineHeightTodoListIntegration,k as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "48.1.0-alpha.
|
|
3
|
+
"version": "48.1.0-alpha.8",
|
|
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.1.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-icons": "48.1.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-list": "48.1.0-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-ui": "48.1.0-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.
|
|
28
|
+
"@ckeditor/ckeditor5-core": "48.1.0-alpha.8",
|
|
29
|
+
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.8",
|
|
30
|
+
"@ckeditor/ckeditor5-icons": "48.1.0-alpha.8",
|
|
31
|
+
"@ckeditor/ckeditor5-list": "48.1.0-alpha.8",
|
|
32
|
+
"@ckeditor/ckeditor5-ui": "48.1.0-alpha.8",
|
|
33
|
+
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.8"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
36
|
"dist",
|