@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20260121.0 → 0.0.0-nightly-20260122.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +5 -0
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +6 -0
- package/lang/translations/af.po +28 -0
- package/lang/translations/ar.po +28 -0
- package/lang/translations/ast.po +28 -0
- package/lang/translations/az.po +28 -0
- package/lang/translations/be.po +28 -0
- package/lang/translations/bg.po +28 -0
- package/lang/translations/bn.po +28 -0
- package/lang/translations/bs.po +28 -0
- package/lang/translations/ca.po +28 -0
- package/lang/translations/cs.po +28 -0
- package/lang/translations/da.po +28 -0
- package/lang/translations/de-ch.po +28 -0
- package/lang/translations/de.po +28 -0
- package/lang/translations/el.po +28 -0
- package/lang/translations/en-au.po +28 -0
- package/lang/translations/en-gb.po +28 -0
- package/lang/translations/en.po +28 -0
- package/lang/translations/eo.po +28 -0
- package/lang/translations/es-co.po +28 -0
- package/lang/translations/es.po +28 -0
- package/lang/translations/et.po +28 -0
- package/lang/translations/eu.po +28 -0
- package/lang/translations/fa.po +28 -0
- package/lang/translations/fi.po +28 -0
- package/lang/translations/fr.po +28 -0
- package/lang/translations/gl.po +28 -0
- package/lang/translations/gu.po +28 -0
- package/lang/translations/he.po +28 -0
- package/lang/translations/hi.po +28 -0
- package/lang/translations/hr.po +28 -0
- package/lang/translations/hu.po +28 -0
- package/lang/translations/hy.po +28 -0
- package/lang/translations/id.po +28 -0
- package/lang/translations/it.po +28 -0
- package/lang/translations/ja.po +28 -0
- package/lang/translations/jv.po +28 -0
- package/lang/translations/kk.po +28 -0
- package/lang/translations/km.po +28 -0
- package/lang/translations/kn.po +28 -0
- package/lang/translations/ko.po +28 -0
- package/lang/translations/ku.po +28 -0
- package/lang/translations/lt.po +28 -0
- package/lang/translations/lv.po +28 -0
- package/lang/translations/ms.po +28 -0
- package/lang/translations/nb.po +28 -0
- package/lang/translations/ne.po +28 -0
- package/lang/translations/nl.po +28 -0
- package/lang/translations/no.po +28 -0
- package/lang/translations/oc.po +28 -0
- package/lang/translations/pl.po +28 -0
- package/lang/translations/pt-br.po +28 -0
- package/lang/translations/pt.po +28 -0
- package/lang/translations/ro.po +28 -0
- package/lang/translations/ru.po +28 -0
- package/lang/translations/si.po +28 -0
- package/lang/translations/sk.po +28 -0
- package/lang/translations/sl.po +28 -0
- package/lang/translations/sq.po +28 -0
- package/lang/translations/sr-latn.po +28 -0
- package/lang/translations/sr.po +28 -0
- package/lang/translations/sv.po +28 -0
- package/lang/translations/th.po +28 -0
- package/lang/translations/ti.po +28 -0
- package/lang/translations/tk.po +28 -0
- package/lang/translations/tr.po +28 -0
- package/lang/translations/tt.po +28 -0
- package/lang/translations/ug.po +28 -0
- package/lang/translations/uk.po +28 -0
- package/lang/translations/ur.po +28 -0
- package/lang/translations/uz.po +28 -0
- package/lang/translations/vi.po +28 -0
- package/lang/translations/zh-cn.po +28 -0
- package/lang/translations/zh.po +28 -0
- package/package.json +49 -24
- package/src/augmentation.js +23 -0
- package/src/index.js +23 -0
- package/{dist → src}/integrations/todolist.d.ts +1 -1
- package/src/integrations/todolist.js +23 -0
- package/{dist → src}/lineheight.d.ts +1 -1
- package/src/lineheight.js +23 -0
- package/{dist → src}/lineheightcommand.d.ts +1 -1
- package/src/lineheightcommand.js +23 -0
- package/{dist → src}/lineheightconfig.d.ts +1 -1
- package/src/lineheightconfig.js +23 -0
- package/{dist → src}/lineheightediting.d.ts +1 -1
- package/src/lineheightediting.js +23 -0
- package/{dist → src}/lineheightui.d.ts +1 -1
- package/src/lineheightui.js +23 -0
- package/src/utils.js +23 -0
- package/theme/integrations/todolist.css +46 -0
- package/theme/lineheight.css +16 -0
- /package/{dist → src}/augmentation.d.ts +0 -0
- /package/{dist → src}/index.d.ts +0 -0
- /package/{dist → src}/utils.d.ts +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x23a6(_0x4d421f,_0x2a98f0){const _0x4e5f8e=_0x4e5f();return _0x23a6=function(_0x23a6ad,_0x4848d0){_0x23a6ad=_0x23a6ad-0x9e;let _0x156af1=_0x4e5f8e[_0x23a6ad];return _0x156af1;},_0x23a6(_0x4d421f,_0x2a98f0);}const _0x389cf0=_0x23a6;(function(_0x24882a,_0x35187b){const _0x574707=_0x23a6,_0x5a5e21=_0x24882a();while(!![]){try{const _0x3b5cfe=parseInt(_0x574707(0xab))/0x1+parseInt(_0x574707(0xb4))/0x2*(-parseInt(_0x574707(0xa2))/0x3)+parseInt(_0x574707(0xb6))/0x4*(parseInt(_0x574707(0xb8))/0x5)+-parseInt(_0x574707(0xae))/0x6+parseInt(_0x574707(0xaf))/0x7+parseInt(_0x574707(0xb0))/0x8*(parseInt(_0x574707(0xad))/0x9)+-parseInt(_0x574707(0xbb))/0xa*(parseInt(_0x574707(0x9f))/0xb);if(_0x3b5cfe===_0x35187b)break;else _0x5a5e21['push'](_0x5a5e21['shift']());}catch(_0x3a59e4){_0x5a5e21['push'](_0x5a5e21['shift']());}}}(_0x4e5f,0x78d46));import{Command as _0x4c733f}from'ckeditor5/src/core.js';import{first as _0x29e729}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4c733f{[_0x389cf0(0xb9)](){const _0x53ef6=_0x389cf0,_0x358723=this[_0x53ef6(0xb5)][_0x53ef6(0xac)][_0x53ef6(0xba)],_0x54a1d9=_0x29e729(_0x358723[_0x53ef6(0xb2)][_0x53ef6(0xb3)]());this[_0x53ef6(0xa9)]=Boolean(_0x54a1d9)&&this[_0x53ef6(0xaa)](_0x54a1d9),this[_0x53ef6(0x9e)]=this[_0x53ef6(0xa9)]&&_0x54a1d9[_0x53ef6(0xb1)](_0x53ef6(0xa4));}[_0x389cf0(0xa1)](_0x5dd434={}){const _0x137b99=_0x389cf0,_0x3b6c85=this[_0x137b99(0xb5)][_0x137b99(0xac)],_0x3c9516=_0x3b6c85[_0x137b99(0xba)][_0x137b99(0xb2)],_0x3d4edf=_0x5dd434[_0x137b99(0x9e)];_0x3b6c85[_0x137b99(0xa5)](_0x456ee8=>{const _0x75285=_0x137b99,_0x1f0798=Array[_0x75285(0xa7)](_0x3c9516[_0x75285(0xb3)]())[_0x75285(0xa6)](_0x3fd329=>this[_0x75285(0xaa)](_0x3fd329));for(const _0x205a34 of _0x1f0798)_0x3d4edf?_0x456ee8[_0x75285(0xa3)](_0x75285(0xa4),_0x3d4edf,_0x205a34):_0x456ee8[_0x75285(0xa0)](_0x75285(0xa4),_0x205a34);});}[_0x389cf0(0xaa)](_0x3da694){const _0x1d1949=_0x389cf0;return this[_0x1d1949(0xb5)][_0x1d1949(0xac)][_0x1d1949(0xb7)][_0x1d1949(0xa8)](_0x3da694,_0x1d1949(0xa4));}}function _0x4e5f(){const _0x2d49a0=['340025tjsjqb','model','332271ZdcgdC','921666ysFbVs','6491618AUNRSu','16oeCDYa','getAttribute','selection','getSelectedBlocks','118jOCkhy','editor','1890436vcPOxm','schema','5GtAsqf','refresh','document','508010QesNit','value','44GRLTmA','removeAttribute','execute','48921TzJZbh','setAttribute','lineHeight','change','filter','from','checkAttribute','isEnabled','_canHaveLineHeight'];_0x4e5f=function(){return _0x2d49a0;};return _0x4e5f();}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module line-height/lineheightconfig
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import type { DowncastAttributeDescriptor } from '
|
|
9
|
+
import type { DowncastAttributeDescriptor } from 'ckeditor5/src/engine.js';
|
|
10
10
|
/**
|
|
11
11
|
* The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
|
|
12
12
|
*
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export{};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module line-height/lineheightediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from '
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
9
|
import { LineHeightTodoListIntegration } from './integrations/todolist.js';
|
|
10
10
|
/**
|
|
11
11
|
* The line height editing feature.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x207e83=_0x11d5;(function(_0xf84d02,_0x156d50){const _0x12dcbb=_0x11d5,_0x3e12c2=_0xf84d02();while(!![]){try{const _0x3b9fcf=-parseInt(_0x12dcbb(0x83))/0x1+-parseInt(_0x12dcbb(0x87))/0x2*(parseInt(_0x12dcbb(0x97))/0x3)+parseInt(_0x12dcbb(0x98))/0x4*(parseInt(_0x12dcbb(0xa7))/0x5)+-parseInt(_0x12dcbb(0x90))/0x6*(parseInt(_0x12dcbb(0x72))/0x7)+-parseInt(_0x12dcbb(0x9e))/0x8*(parseInt(_0x12dcbb(0xa8))/0x9)+-parseInt(_0x12dcbb(0x92))/0xa*(-parseInt(_0x12dcbb(0xa3))/0xb)+parseInt(_0x12dcbb(0xa5))/0xc*(parseInt(_0x12dcbb(0x9f))/0xd);if(_0x3b9fcf===_0x156d50)break;else _0x3e12c2['push'](_0x3e12c2['shift']());}catch(_0x4d524b){_0x3e12c2['push'](_0x3e12c2['shift']());}}}(_0x27c9,0xd901c));function _0x11d5(_0x17cf90,_0x14b09c){const _0x27c92a=_0x27c9();return _0x11d5=function(_0x11d539,_0x431368){_0x11d539=_0x11d539-0x70;let _0xf92e6e=_0x27c92a[_0x11d539];return _0xf92e6e;},_0x11d5(_0x17cf90,_0x14b09c);}import{Plugin as _0x35afc2}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x41035c}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4ad03e}from'ckeditor5/src/engine.js';import{uid as _0xc61028,CKEditorError as _0x40ae60}from'ckeditor5/src/utils.js';import{buildDefinition as _0x2b803b,isLineHeightDefaultValue as _0x5d6b8d,normalizeOptions as _0x21857c}from'./utils.js';import{LineHeightTodoListIntegration as _0x504030}from'./integrations/todolist.js';function _0x27c9(){const _0xc3f2d1=['setAttributeProperties','init','string','attributeToAttribute','config','line-height-invalid-use-of-named-presets','requires','href','downcast','extend','values','includes','getStyle','lineHeight','1726038xamezN','style','add','slice','2WTuJuS','define','commands','editor','get','map','$block','lineHeight.defaultValue','afterInit','2522472OXPQyg','conversion','10EJOUZK','for','join','schema','model','2412633FfNrVc','2172376vfOQKi','LineHeightEditing','_preparePredefinedConverters','_validateConfig','pluginName','_prepareAnyValueConverters','409296nxgQFq','5005AxBjcJ','lineHeight.supportAllValues','length','line-height','9859190EYFomU','isOfficialPlugin','105108ULYmfM','lineHeight.options','5IrDxZX','171PAPeny','isPremiumPlugin','upcast','filter','7KHNRWG','fromCharCode','default'];_0x27c9=function(){return _0xc3f2d1;};return _0x27c9();}export class LineHeightEditing extends _0x35afc2{static get[_0x207e83(0x9c)](){const _0x33ed58=_0x207e83;return _0x33ed58(0x99);}static get[_0x207e83(0x7b)](){return[_0x504030];}static get[_0x207e83(0xa4)](){return!0x0;}static get[_0x207e83(0xa9)](){return!0x0;}constructor(_0x5cc433){const _0x9b0568=_0x207e83;super(_0x5cc433),_0x5cc433[_0x9b0568(0x79)][_0x9b0568(0x88)](_0x9b0568(0x82),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x9b0568(0x74),0x2,2.5,0x3]});}[_0x207e83(0x76)](){const _0x3c44de=_0x207e83,_0x13bca2=this[_0x3c44de(0x8a)];this[_0x3c44de(0x9b)](),_0x13bca2[_0x3c44de(0x96)][_0x3c44de(0x95)][_0x3c44de(0x7e)](_0x3c44de(0x8d),{'allowAttributes':_0x3c44de(0x82)}),_0x13bca2[_0x3c44de(0x96)][_0x3c44de(0x95)][_0x3c44de(0x75)](_0x3c44de(0x82),{'isFormatting':!0x0}),_0x13bca2[_0x3c44de(0x89)][_0x3c44de(0x85)](_0x3c44de(0x82),new _0x41035c(_0x13bca2)),this[_0x3c44de(0x8a)][_0x3c44de(0x79)][_0x3c44de(0x8b)](_0x3c44de(0xa0))?this[_0x3c44de(0x9d)]():this[_0x3c44de(0x9a)]();}[_0x207e83(0x8f)](){!async function(_0x315ca4){const _0x2ab28b=_0x4fe066([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]),_0x221698=0x45ddd215,_0x59316d=0x45daad9d^_0x221698,_0x27c570=window[_0x4fe066([0x44,0x61,0x74,0x65])][_0x4fe066([0x6e,0x6f,0x77])](),_0x3a5c4e=_0x315ca4[_0x4fe066([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a3f51=new window[(_0x4fe066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2908d9=>{_0x3a5c4e[_0x4fe066([0x6f,0x6e,0x63,0x65])](_0x4fe066([0x72,0x65,0x61,0x64,0x79]),_0x2908d9);}),_0x4afca8={[_0x4fe066([0x6b,0x74,0x79])]:_0x4fe066([0x45,0x43]),[_0x4fe066([0x75,0x73,0x65])]:_0x4fe066([0x73,0x69,0x67]),[_0x4fe066([0x63,0x72,0x76])]:_0x4fe066([0x50,0x2d,0x32,0x35,0x36]),[_0x4fe066([0x78])]:_0x4fe066([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]),[_0x4fe066([0x79])]:_0x4fe066([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]),[_0x4fe066([0x61,0x6c,0x67])]:_0x4fe066([0x45,0x53,0x32,0x35,0x36])},_0x37b379=_0x3a5c4e[_0x4fe066([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4fe066([0x67,0x65,0x74])](_0x4fe066([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5cf0e2(){let _0x578db7,_0x4eeaf9=null,_0x150abf=null;try{if(_0x37b379==_0x4fe066([0x47,0x50,0x4c]))return _0x4fe066([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x578db7=_0x1956a4(),!_0x578db7)return _0x4fe066([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x578db7[_0x4fe066([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x150abf=_0x173fac(_0x578db7[_0x4fe066([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x578db7[_0x4fe066([0x6a,0x74,0x69])])),await _0x51176e()?_0xa39869()?_0x3a4b89()?_0x4fe066([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x286627()?(_0x578db7[_0x4fe066([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fe066([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4eeaf9=_0x20d411(_0x4fe066([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d25f5()):_0x4fe066([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4fe066([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4fe066([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4fe066([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3a4b89(){const _0x335e22=[_0x4fe066([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4fe066([0x74,0x72,0x69,0x61,0x6c])][_0x4fe066([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x578db7[_0x4fe066([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27c570/0x3e8:0xe10*_0x59316d;return _0x578db7[_0x4fe066([0x65,0x78,0x70])]<_0x335e22;}function _0xa39869(){const _0x427d65=_0x578db7[_0x4fe066([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x427d65&&(!!_0x427d65[_0x4fe066([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fe066([0x2a]))||!!_0x427d65[_0x4fe066([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fe066([0x4c,0x48])));}function _0x286627(){const _0x23428d=_0x11d5,_0x70b32e=_0x578db7[_0x4fe066([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x70b32e||0x0==_0x70b32e[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x10ef8d}=new URL(window[_0x4fe066([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x23428d(0x7c)]);if(_0x70b32e[_0x4fe066([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10ef8d))return!0x0;const _0x36cc84=_0x10ef8d[_0x4fe066([0x73,0x70,0x6c,0x69,0x74])](_0x4fe066([0x2e]));return _0x70b32e[_0x4fe066([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1138f5=>_0x1138f5[_0x4fe066([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fe066([0x2a])))[_0x4fe066([0x6d,0x61,0x70])](_0x1dc68a=>_0x1dc68a[_0x4fe066([0x73,0x70,0x6c,0x69,0x74])](_0x4fe066([0x2e])))[_0x4fe066([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f4dc6=>_0x1f4dc6[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x36cc84[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4fe066([0x6d,0x61,0x70])](_0x30a353=>Array(_0x36cc84[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30a353[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4fe066([0x66,0x69,0x6c,0x6c])](_0x30a353[0x0]===_0x4fe066([0x2a])?_0x4fe066([0x2a]):'')[_0x4fe066([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30a353))[_0x4fe066([0x73,0x6f,0x6d,0x65])](_0x39b3fe=>_0x36cc84[_0x4fe066([0x65,0x76,0x65,0x72,0x79])]((_0x244c46,_0x3efc8d)=>_0x39b3fe[_0x3efc8d]===_0x244c46||_0x39b3fe[_0x3efc8d]===_0x4fe066([0x2a])));}function _0x4d25f5(){return _0x4eeaf9&&_0x150abf?new window[(_0x4fe066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x539a48,_0x22370e)=>{_0x4eeaf9[_0x4fe066([0x74,0x68,0x65,0x6e])](_0x539a48,_0x22370e),_0x150abf[_0x4fe066([0x74,0x68,0x65,0x6e])](_0x21dce7=>{_0x21dce7!=_0x4fe066([0x56,0x61,0x6c,0x69,0x64])&&_0x539a48(_0x21dce7);},_0x22370e);}):_0x4eeaf9||_0x150abf||_0x4fe066([0x56,0x61,0x6c,0x69,0x64]);}}function _0x173fac(_0x110ff0,_0x382033){return new window[(_0x4fe066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3af6d6=>{if(_0x53142f())return _0x3af6d6(_0x4fe066([0x56,0x61,0x6c,0x69,0x64]));_0x93e3c4(),_0x3a5c4e[_0x4fe066([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4fe066([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x288f2a=!0x1;const _0x26602e=_0xc61028();function _0x1f98c7(_0x3e00fd){return!!_0x3e00fd&&(typeof _0x3e00fd===_0x4fe066([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e00fd===_0x4fe066([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e00fd[_0x4fe066([0x74,0x68,0x65,0x6e])]===_0x4fe066([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e00fd[_0x4fe066([0x63,0x61,0x74,0x63,0x68])]===_0x4fe066([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2211e8(_0x27c38f){_0x2fc3c6(_0x27c38f)[_0x4fe066([0x74,0x68,0x65,0x6e])](_0x31f09c=>{if(!_0x31f09c||_0x31f09c[_0x4fe066([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4fe066([0x6f,0x6b]))return _0x4fe066([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x173322(_0x48a7e5(_0x26602e+_0x382033))!=_0x31f09c[_0x4fe066([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4fe066([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4fe066([0x56,0x61,0x6c,0x69,0x64]);})[_0x4fe066([0x74,0x68,0x65,0x6e])](_0xb120cb=>(_0x2b518a(),_0xb120cb),()=>{const _0x319563=_0x54aeea();return null==_0x319563?(_0x2b518a(),_0x4fe066([0x56,0x61,0x6c,0x69,0x64])):_0x4fe066(_0x27c570-_0x319563>(0x61d15615^_0x221698)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4fe066([0x74,0x68,0x65,0x6e])](_0x3af6d6)[_0x4fe066([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3af6d6(_0x4fe066([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d186d=0x45eb3c95^_0x221698;function _0x2b518a(){const _0x21ab4a=_0x4fe066([0x6c,0x6c,0x63,0x74,0x2d])+_0x173322(_0x48a7e5(_0x110ff0)),_0x5990b3=_0x2a780f(_0x173322(window[_0x4fe066([0x4d,0x61,0x74,0x68])][_0x4fe066([0x63,0x65,0x69,0x6c])](_0x27c570/_0x1d186d)));window[_0x4fe066([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fe066([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21ab4a,_0x5990b3);}function _0x54aeea(){const _0x589108=_0x4fe066([0x6c,0x6c,0x63,0x74,0x2d])+_0x173322(_0x48a7e5(_0x110ff0)),_0x4abfb2=window[_0x4fe066([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fe066([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x589108);return _0x4abfb2?window[_0x4fe066([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a780f(_0x4abfb2),0x10)*_0x1d186d:null;}function _0x2fc3c6(_0xf7b165){return new window[(_0x4fe066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x454490,_0x5c729f)=>{_0xf7b165[_0x4fe066([0x74,0x68,0x65,0x6e])](_0x454490,_0x5c729f),window[_0x4fe066([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c729f,0x45dc06d5^_0x221698);});}}_0x3a5c4e[_0x4fe066([0x6f,0x6e])](_0x4fe066([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x494d9b,_0x2ad562)=>{if(_0x2ad562[0x0]!=_0x110ff0)return _0x3af6d6(_0x4fe066([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ad562[0x1]={..._0x2ad562[0x1],[_0x4fe066([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26602e};},{[_0x4fe066([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fe066([0x68,0x69,0x67,0x68])}),_0x3a5c4e[_0x4fe066([0x6f,0x6e])](_0x4fe066([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e0c75=>{_0x1f98c7(_0x3e0c75[_0x4fe066([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x288f2a=!0x0,_0x2211e8(_0x3e0c75[_0x4fe066([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4fe066([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fe066([0x6c,0x6f,0x77])}),_0x4a3f51[_0x4fe066([0x74,0x68,0x65,0x6e])](()=>{_0x288f2a||_0x3af6d6(_0x4fe066([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53142f(){return _0x3a5c4e[_0x4fe066([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fe066([0x76,0x69,0x65,0x77])][_0x4fe066([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4fe066([0x61,0x75,0x74,0x6f]);}function _0x93e3c4(){_0x3a5c4e[_0x4fe066([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fe066([0x76,0x69,0x65,0x77])][_0x4fe066([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fe066([0x61,0x75,0x74,0x6f]);}}function _0x20d411(_0x5a261e){const _0x3f9a44=[new window[(_0x4fe066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58d8b4=>setTimeout(_0x58d8b4,0x45d4ecd9^_0x221698)),_0x4a3f51[_0x4fe066([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4fe066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bed98=>{let _0x12c70f=0x0;_0x3a5c4e[_0x4fe066([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fe066([0x6f,0x6e])](_0x4fe066([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x372c76,_0x1c8e54)=>{_0x1c8e54[0x0][_0x4fe066([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12c70f++,_0x12c70f==(0x45ddd7fd^_0x221698)&&(_0x3bed98(),_0x372c76[_0x4fe066([0x6f,0x66,0x66])]());});}))];return window[_0x4fe066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fe066([0x72,0x61,0x63,0x65])](_0x3f9a44)[_0x4fe066([0x74,0x68,0x65,0x6e])](()=>_0x5a261e);}async function _0x4f5897(){await _0x4a3f51,_0x3a5c4e[_0x4fe066([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fe066([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53fc3c,_0x3a5c4e[_0x4fe066([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fe066([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53fc3c,_0x3a5c4e[_0x4fe066([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4fe066([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e7ec6(_0x595110){const _0x419e31=_0x584613();_0x3a5c4e[_0x419e31]=_0x4fe066([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x595110,_0x595110!=_0x4fe066([0x56,0x61,0x6c,0x69,0x64])&&_0x4f5897();}function _0x584613(){const _0x439617=window[_0x4fe066([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4fe066([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4fe066([0x6e,0x6f,0x77])]())[_0x4fe066([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4fe066([0x2e]),'');let _0x2f0841=_0x4fe066([0x50]);for(let _0x3ee0f7=0x0;_0x3ee0f7<_0x439617[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ee0f7+=0x2){let _0x57be93=window[_0x4fe066([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x439617[_0x4fe066([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ee0f7,_0x3ee0f7+0x2));_0x57be93>=_0x2ab28b[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57be93-=_0x2ab28b[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f0841+=_0x2ab28b[_0x57be93];}return _0x2f0841;}function _0x1956a4(){const _0x30c14c=_0x37b379[_0x4fe066([0x73,0x70,0x6c,0x69,0x74])](_0x4fe066([0x2e]));if(0x3!=_0x30c14c[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x359f4c(_0x30c14c[0x1]);function _0x359f4c(_0x3092a4){const _0x41a587=_0x504896(_0x3092a4);return _0x41a587&&_0x20cc68()?_0x41a587:null;function _0x20cc68(){const _0xc74bd7=_0x41a587[_0x4fe066([0x6a,0x74,0x69])],_0x86eae9=window[_0x4fe066([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc74bd7[_0x4fe066([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc74bd7[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3664b1={..._0x41a587,[_0x4fe066([0x6a,0x74,0x69])]:_0xc74bd7[_0x4fe066([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc74bd7[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3664b1[_0x4fe066([0x76,0x63])],_0x48a7e5(_0x3664b1)==_0x86eae9;}}}async function _0x51176e(){let _0x47e061=!0x0;try{const _0x1e9831=_0x37b379[_0x4fe066([0x73,0x70,0x6c,0x69,0x74])](_0x4fe066([0x2e])),[_0x41c92c,_0x5a2759,_0x32f32d]=_0x1e9831;return _0xef5a68(_0x41c92c),await _0x4def14(_0x41c92c,_0x5a2759,_0x32f32d),_0x47e061;}catch{return!0x1;}function _0xef5a68(_0x501a57){const _0x4968d6=_0x504896(_0x501a57);_0x4968d6&&_0x4968d6[_0x4fe066([0x61,0x6c,0x67])]==_0x4fe066([0x45,0x53,0x32,0x35,0x36])||(_0x47e061=!0x1);}async function _0x4def14(_0x326c1a,_0x52a1fc,_0x10c889){const _0x4a70e7=window[_0x4fe066([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4fe066([0x66,0x72,0x6f,0x6d])](_0x492d1d(_0x10c889),_0x23297f=>_0x23297f[_0x4fe066([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17e18a=new window[(_0x4fe066([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4fe066([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x326c1a+_0x4fe066([0x2e])+_0x52a1fc),_0x5b90f7=window[_0x4fe066([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4fe066([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b90f7)return;const _0x394977=await _0x5b90f7[_0x4fe066([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4fe066([0x6a,0x77,0x6b]),_0x4afca8,{[_0x4fe066([0x6e,0x61,0x6d,0x65])]:_0x4fe066([0x45,0x43,0x44,0x53,0x41]),[_0x4fe066([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4fe066([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4fe066([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b90f7[_0x4fe066([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4fe066([0x6e,0x61,0x6d,0x65])]:_0x4fe066([0x45,0x43,0x44,0x53,0x41]),[_0x4fe066([0x68,0x61,0x73,0x68])]:{[_0x4fe066([0x6e,0x61,0x6d,0x65])]:_0x4fe066([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x394977,_0x4a70e7,_0x17e18a)||(_0x47e061=!0x1);}}function _0x504896(_0x13c152){return _0x13c152[_0x4fe066([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4fe066([0x65,0x79]))?JSON[_0x4fe066([0x70,0x61,0x72,0x73,0x65])](_0x492d1d(_0x13c152)):null;}function _0x492d1d(_0x56c82d){return window[_0x4fe066([0x61,0x74,0x6f,0x62])](_0x56c82d[_0x4fe066([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4fe066([0x2b]))[_0x4fe066([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4fe066([0x2f])));}function _0x48a7e5(_0x3a9469){let _0x5cd07e=0x1505;function _0x41706a(_0x110e4c){for(let _0x58650a=0x0;_0x58650a<_0x110e4c[_0x4fe066([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58650a++){const _0x4c0ece=_0x110e4c[_0x4fe066([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58650a);_0x5cd07e=(_0x5cd07e<<0x5)+_0x5cd07e+_0x4c0ece,_0x5cd07e&=_0x5cd07e;}}function _0x39a911(_0x5acf5a){Array[_0x4fe066([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5acf5a)?_0x5acf5a[_0x4fe066([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39a911):_0x5acf5a&&typeof _0x5acf5a==_0x4fe066([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4fe066([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5acf5a)[_0x4fe066([0x73,0x6f,0x72,0x74])]()[_0x4fe066([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3cc306,_0x30f2bf])=>{_0x41706a(_0x3cc306),_0x39a911(_0x30f2bf);}):_0x41706a(window[_0x4fe066([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5acf5a));}return _0x39a911(_0x3a9469),_0x5cd07e>>>0x0;}function _0x173322(_0x21c886){return _0x21c886[_0x4fe066([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4fe066([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4fe066([0x30]));}function _0x2a780f(_0x449a48){return _0x449a48[_0x4fe066([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4fe066([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4fe066([0x6a,0x6f,0x69,0x6e])]('');}function _0x53fc3c(){}function _0x4fe066(_0x4159c0){const _0x4778a7=_0x11d5;return _0x4159c0[_0x4778a7(0x8c)](_0x197002=>String[_0x4778a7(0x73)](_0x197002))[_0x4778a7(0x94)]('');}_0x3e7ec6(await _0x5cf0e2());}(this);}[_0x207e83(0x9b)](){const _0x5fc375=_0x207e83,_0x3b92e9=this[_0x5fc375(0x8a)];if(!_0x3b92e9[_0x5fc375(0x79)][_0x5fc375(0x8b)](_0x5fc375(0xa0)))return;const _0x2e27c1=_0x3b92e9[_0x5fc375(0x79)][_0x5fc375(0x8b)](_0x5fc375(0xa6))[_0x5fc375(0x71)](_0x5691bc=>_0x5fc375(0x77)==typeof _0x5691bc&&(!_0x5d6b8d(_0x5691bc)&&isNaN(Number(_0x5691bc))));if(_0x2e27c1[_0x5fc375(0xa1)])throw new _0x40ae60(_0x5fc375(0x7a),null,{'namedPresets':_0x2e27c1});}[_0x207e83(0x9d)](){const _0xbcf2c7=_0x207e83,_0xee3d73=this[_0xbcf2c7(0x8a)],_0x2caa2a=this[_0xbcf2c7(0x8a)][_0xbcf2c7(0x79)][_0xbcf2c7(0x8b)](_0xbcf2c7(0x8e));_0xee3d73[_0xbcf2c7(0x91)][_0xbcf2c7(0x93)](_0xbcf2c7(0x7d))[_0xbcf2c7(0x78)]({'model':{'key':_0xbcf2c7(0x82)},'view':_0x4a2255=>String(_0x4a2255)===String(_0x2caa2a)?null:{'key':_0xbcf2c7(0x84),'value':{'line-height':_0x4a2255}}}),_0xee3d73[_0xbcf2c7(0x91)][_0xbcf2c7(0x93)](_0xbcf2c7(0x70))[_0xbcf2c7(0x78)]({'model':{'key':_0xbcf2c7(0x82),'value':_0x3e39a5=>{const _0x527a1e=_0xbcf2c7;let _0x412edb=_0x3e39a5[_0x527a1e(0x81)](_0x527a1e(0xa2));return _0x4ad03e(_0x412edb)&&(_0x412edb=String(Number(_0x412edb[_0x527a1e(0x86)](0x0,-0x1))/0x64)),String(_0x412edb)===String(_0x2caa2a)?null:_0x412edb;}},'view':{'styles':{'line-height':/.*/}}});}[_0x207e83(0x9a)](){const _0x5de4dc=_0x207e83,_0x542769=this[_0x5de4dc(0x8a)],_0xabede=this[_0x5de4dc(0x8a)][_0x5de4dc(0x79)][_0x5de4dc(0x8b)](_0x5de4dc(0x8e)),_0x3643ed=_0x21857c(this[_0x5de4dc(0x8a)][_0x5de4dc(0x79)][_0x5de4dc(0x8b)](_0x5de4dc(0x82)))[_0x5de4dc(0x71)](_0x21f2ee=>_0x21f2ee[_0x5de4dc(0x96)]),_0x57ddb1=_0x2b803b(_0x5de4dc(0x82),_0x3643ed);_0x542769[_0x5de4dc(0x91)][_0x5de4dc(0x78)](_0x57ddb1),_0x542769[_0x5de4dc(0x91)][_0x5de4dc(0x93)](_0x5de4dc(0x70))[_0x5de4dc(0x78)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5de4dc(0x82),'value':_0x4755dd=>{const _0x3c2f87=_0x5de4dc;let _0x39613a=_0x4755dd[_0x3c2f87(0x81)](_0x3c2f87(0xa2));return _0x4ad03e(_0x39613a)&&(_0x39613a=String(Number(_0x39613a[_0x3c2f87(0x86)](0x0,-0x1))/0x64)),_0x39613a===String(_0xabede)?null:_0x57ddb1[_0x3c2f87(0x96)][_0x3c2f87(0x7f)][_0x3c2f87(0x80)](_0x39613a)?_0x39613a:null;}}});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module line-height/lineheightui
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from '
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
import '../theme/lineheight.css';
|
|
10
10
|
/**
|
|
11
11
|
* The line height UI plugin. It introduces the `'lineHeight'` dropdown.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
import{Plugin as _0x54e5f6}from'ckeditor5/src/core.js';import{addListToDropdown as _0xf477ad,createDropdown as _0x5070fa,MenuBarMenuListItemButtonView as _0x3e2f95,MenuBarMenuListItemView as _0x287058,MenuBarMenuListView as _0x12f3ef,MenuBarMenuView as _0x19e002,UIModel as _0x3cb741}from'ckeditor5/src/ui.js';import{Collection as _0x1167f5}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x256e16}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x52be22}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x54e5f6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xc20abe={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xc20abe),this['_registerMenuBarComponent'](_0xc20abe),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7c9f02=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d08b1;for(const _0x372232 in _0x7c9f02){const _0x2903d1=_0x372232,_0x2e302a=_0x7c9f02[_0x2903d1];if('lineHeightLicenseKeyValid'==_0x2e302a||'lineHeightLicenseKeyInvalid'==_0x2e302a||'lineHeightLicenseKeyExpired'==_0x2e302a||'lineHeightLicenseKeyDomainLimit'==_0x2e302a||'lineHeightLicenseKeyNotAllowed'==_0x2e302a||'lineHeightLicenseKeyEvaluationLimit'==_0x2e302a||'lineHeightLicenseKeyUsageLimit'==_0x2e302a){delete _0x7c9f02[_0x2903d1],_0x5d08b1=_0x2e302a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5d08b1&&_0x7c9f02['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5d08b1&&_0x7c9f02['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5d08b1&&_0x7c9f02['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5d08b1&&_0x7c9f02['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5d08b1&&_0x7c9f02['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5d08b1&&_0x7c9f02['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2145d5=this['editor'],t=_0x2145d5['t'],_0x3ebf5e=_0x2145d5['config']['get']('lineHeight'),_0x593667={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x52be22(_0x3ebf5e)['map'](_0x210fd3=>{const _0x3ea363=_0x593667[_0x210fd3['title']];return _0x3ea363&&_0x3ea363!=_0x210fd3['title']&&(_0x210fd3=Object['assign']({},_0x210fd3,{'title':_0x3ea363})),_0x210fd3;});}['_prepareListOptions'](){const _0x26fa82=this['editor']['commands']['get']('lineHeight'),_0x5b3338=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5cda14=this['_getLocalizedLineHeightOptions'](),_0x428abc=new _0x1167f5(),_0x25a662=_0x4f8f06=>'default'===_0x4f8f06||String(_0x5b3338)===_0x4f8f06;for(const _0x16a556 of _0x5cda14){const _0x975c1f={'type':'button','model':new _0x3cb741({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x16a556['title'],'withText':!0x0})};_0x25a662(_0x16a556['model'])?(_0x975c1f['model']['bind']('isOn')['to'](_0x26fa82,'value',_0x4e8393=>!_0x4e8393),_0x975c1f['model']['commandParam']=void 0x0):(_0x975c1f['model']['bind']('isOn')['to'](_0x26fa82,'value',_0x1ef4c7=>_0x1ef4c7===_0x16a556['model']),_0x975c1f['model']['commandParam']=_0x16a556['model']),_0x428abc['add'](_0x975c1f);}if(this['_shouldRenderCustomValueOption']()){const _0x4d9563=this['_getCustomValueOptionDefinition'](_0x5cda14);_0x428abc['add'](_0x4d9563);}return _0x428abc;}['_getCustomValueOptionDefinition'](_0x3172dc){const _0x2759c2=this['editor'],t=_0x2759c2['t'],_0x146225=_0x2759c2['commands']['get']('lineHeight'),_0x338d84=_0x3172dc['map'](_0x29320e=>_0x29320e['model']),_0x921c58={'type':'button','model':new _0x3cb741({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x921c58['model']['bind']('commandParam')['to'](_0x146225,'value'),_0x921c58['model']['bind']('isOn')['to'](_0x146225,'value',_0x49784c=>!!_0x49784c&&!_0x338d84['includes'](String(_0x49784c))),_0x921c58['model']['bind']('label')['to'](_0x146225,'value',_0xc3721=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0xc3721))),_0x921c58;}['_registerToolbarComponent']({accessibleLabel:_0x19b832,options:_0x31bf77}){const _0x28eca3=this['editor'],_0x3311ef=_0x28eca3['commands']['get']('lineHeight');_0x28eca3['ui']['componentFactory']['add']('lineHeight',_0x581258=>{const _0x5e35d8=_0x5070fa(_0x581258);return _0xf477ad(_0x5e35d8,_0x31bf77,{'role':'menu','ariaLabel':_0x19b832}),_0x5e35d8['buttonView']['set']({'label':_0x19b832,'tooltip':!0x0,'icon':_0x256e16}),_0x5e35d8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5e35d8['bind']('isEnabled')['to'](_0x3311ef),this['listenTo'](_0x5e35d8,'execute',_0x261687=>{_0x28eca3['execute'](_0x261687['source']['commandName'],{'value':_0x261687['source']['commandParam']}),_0x28eca3['editing']['view']['focus']();}),_0x5e35d8['once']('change:isOpen',()=>{const _0x65502b=_0x5e35d8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5e35d8,_0x31bf77,_0x65502b);}),_0x5e35d8;});}['_registerMenuBarComponent']({accessibleLabel:_0x4bb63e,options:_0x5379a8}){const _0x3b5eb2=this['editor'],_0x4c1437=_0x3b5eb2['commands']['get']('lineHeight');_0x3b5eb2['ui']['componentFactory']['add']('menuBar:lineHeight',_0xa5aef2=>{const _0x174e1f=new _0x19e002(_0xa5aef2);_0x174e1f['buttonView']['set']({'label':_0x4bb63e,'icon':_0x256e16}),_0x174e1f['bind']('isEnabled')['to'](_0x4c1437);const _0xfb1358=new _0x12f3ef(_0xa5aef2);for(const _0x570336 of _0x5379a8){const _0x45c89a=new _0x287058(_0xa5aef2,_0x174e1f),_0x31e9f2=new _0x3e2f95(_0xa5aef2);_0x31e9f2['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x31e9f2['bind'](...Object['keys'](_0x570336['model']))['to'](_0x570336['model']),_0x31e9f2['delegate']('execute')['to'](_0x174e1f),_0x31e9f2['on']('execute',()=>{_0x3b5eb2['execute'](_0x570336['model']['commandName'],{'value':_0x570336['model']['commandParam']}),_0x3b5eb2['editing']['view']['focus']();}),_0x45c89a['children']['add'](_0x31e9f2),_0xfb1358['items']['add'](_0x45c89a);}return _0x174e1f['panelView']['children']['add'](_0xfb1358),this['_attachCustomOptionVisibilityHandler'](_0x174e1f,_0x5379a8,_0xfb1358),_0x174e1f;});}['_attachCustomOptionVisibilityHandler'](_0x709d1c,_0x1a51be,_0x3f3a5a){if(!this['_shouldRenderCustomValueOption']())return;const _0x367eec=()=>{if(!_0x709d1c['isOpen'])return;_0x3f3a5a['items']['last']['isVisible']=Boolean(_0x1a51be['last']['model']['isOn']);};_0x367eec(),_0x709d1c['on']('change:isOpen',()=>{_0x367eec();});}}
|
package/src/utils.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(function(_0x11dcd0,_0x1a5daa){const _0x30e495=_0x5475,_0x426379=_0x11dcd0();while(!![]){try{const _0x34749a=parseInt(_0x30e495(0x208))/0x1+-parseInt(_0x30e495(0x204))/0x2+parseInt(_0x30e495(0x201))/0x3*(-parseInt(_0x30e495(0x209))/0x4)+parseInt(_0x30e495(0x1ef))/0x5+parseInt(_0x30e495(0x20e))/0x6+parseInt(_0x30e495(0x202))/0x7*(-parseInt(_0x30e495(0x1ff))/0x8)+-parseInt(_0x30e495(0x20b))/0x9*(-parseInt(_0x30e495(0x205))/0xa);if(_0x34749a===_0x1a5daa)break;else _0x426379['push'](_0x426379['shift']());}catch(_0x73d046){_0x426379['push'](_0x426379['shift']());}}}(_0x1048,0x3eec8));const v={get 'single'(){const _0x4089f2=_0x5475;return{'title':_0x4089f2(0x207),'model':_0x4089f2(0x203),'view':{'key':_0x4089f2(0x1ed),'value':_0x4089f2(0x1f0)}};},get 'double'(){const _0x525a2a=_0x5475;return{'title':_0x525a2a(0x20d),'model':_0x525a2a(0x1f8),'view':{'key':_0x525a2a(0x1ed),'value':_0x525a2a(0x1f1)}};}};export function isLineHeightDefaultValue(_0x5d73c1){const _0x2e3151=_0x5475;return _0x2e3151(0x1fd)==typeof _0x5d73c1&&_0x2e3151(0x1f4)===_0x5d73c1[_0x2e3151(0x200)]();}function _0x5475(_0xf01ca2,_0x3bec55){const _0x104862=_0x1048();return _0x5475=function(_0x5475ce,_0x180bbd){_0x5475ce=_0x5475ce-0x1ed;let _0x477c70=_0x104862[_0x5475ce];return _0x477c70;},_0x5475(_0xf01ca2,_0x3bec55);}export function normalizeOptions(_0x2191ce){const _0x537dd9=_0x5475;return _0x2191ce[_0x537dd9(0x1f7)][_0x537dd9(0x1f5)](_0x25fcf8=>isLineHeightDefaultValue(_0x25fcf8)?{'title':String(_0x2191ce[_0x537dd9(0x1f6)]),'model':_0x537dd9(0x1f4)}:(_0x537dd9(0x1fe)==typeof _0x25fcf8&&(_0x25fcf8=String(_0x25fcf8)),_0x537dd9(0x1fd)!=typeof _0x25fcf8?_0x25fcf8:parseFloat(_0x25fcf8)?{'title':_0x25fcf8,'model':_0x25fcf8,'view':{'name':_0x537dd9(0x1f9),'styles':{'line-height':_0x25fcf8}}}:findPreset(_0x25fcf8)))[_0x537dd9(0x1fa)](_0x20e50f=>void 0x0!==_0x20e50f);}function _0x1048(){const _0xa07c30=['view','model','string','number','63808VmETCc','toLowerCase','51sxaanG','329FLnkJG','single','816582zJScYW','70JjbHfn','line-height:','Single','31342EoPImf','114220MXlYYO','push','1626021nsIpGC','style','Double','557334zIDZYe','class','value','687100DeilXZ','line-height-single','line-height-double','values','key','default','map','defaultValue','options','double','span','filter'];_0x1048=function(){return _0xa07c30;};return _0x1048();}export function findPreset(_0x54f625){const _0x46194d=_0x5475;return _0x46194d(0x1fd)==typeof _0x54f625?v[_0x54f625]:v[_0x54f625[_0x46194d(0x1fc)]];}export function buildDefinition(_0x4a5123,_0x4b10cb){const _0x3d7a49=_0x5475,_0x60ff79={'model':{'key':_0x4a5123,'values':[]},'view':{}};for(const _0x13fa31 of _0x4b10cb)_0x3d7a49(0x1ed)===_0x13fa31[_0x3d7a49(0x1fb)]?.[_0x3d7a49(0x1f3)]?(_0x60ff79[_0x3d7a49(0x1fc)][_0x3d7a49(0x1f2)][_0x3d7a49(0x20a)](_0x13fa31[_0x3d7a49(0x1fc)]),_0x60ff79[_0x3d7a49(0x1fb)][_0x13fa31[_0x3d7a49(0x1fc)]]={'key':_0x3d7a49(0x1ed),'value':_0x13fa31[_0x3d7a49(0x1fb)][_0x3d7a49(0x1ee)]}):(_0x60ff79[_0x3d7a49(0x1fc)][_0x3d7a49(0x1f2)][_0x3d7a49(0x20a)](_0x13fa31[_0x3d7a49(0x1fc)]),_0x60ff79[_0x3d7a49(0x1fb)][_0x13fa31[_0x3d7a49(0x1fc)]]={'key':_0x3d7a49(0x20c),'value':_0x3d7a49(0x206)+_0x13fa31[_0x3d7a49(0x1fc)]+';'});return _0x60ff79;}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--ck-content-list-marker-line-height: var(--ck-content-line-height);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ck-content .todo-list {
|
|
15
|
+
& li.ck-list-marker-line-height {
|
|
16
|
+
/*
|
|
17
|
+
* Workaround for misplacement of checkbox when change to-do list item
|
|
18
|
+
* type from item with description to item without description. Without this
|
|
19
|
+
* checkbox will be vertically shifted.
|
|
20
|
+
*/
|
|
21
|
+
&::before {
|
|
22
|
+
line-height: var(--ck-content-list-marker-line-height);
|
|
23
|
+
content: '';
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
& > .todo-list__label.todo-list__label_without-description {
|
|
27
|
+
position: absolute;
|
|
28
|
+
width: 0;
|
|
29
|
+
line-height: var(--ck-content-list-marker-line-height);
|
|
30
|
+
|
|
31
|
+
& input[type=checkbox] {
|
|
32
|
+
position: relative;
|
|
33
|
+
margin: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ck-editor__editable.ck-content .todo-list {
|
|
40
|
+
& li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description {
|
|
41
|
+
& > span[contenteditable="false"] {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
width: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
.ck-content .line-height-single {
|
|
11
|
+
line-height: 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ck-content .line-height-double {
|
|
15
|
+
line-height: 2;
|
|
16
|
+
}
|
|
File without changes
|
/package/{dist → src}/index.d.ts
RENAMED
|
File without changes
|
/package/{dist → src}/utils.d.ts
RENAMED
|
File without changes
|