@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20260119.0 → 0.0.0-nightly-20260120.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 +48 -23
- 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
|
+
const _0x188ce0=_0x3292;function _0x4688(){const _0x2508e2=['5502618HhWhDu','lineHeight','model','5OBWaTR','selection','value','from','1655469DVdMbK','getAttribute','3915kbakrq','editor','isEnabled','schema','getSelectedBlocks','16oVVprz','405838SFqqNn','document','setAttribute','refresh','checkAttribute','removeAttribute','_canHaveLineHeight','13362120gvxytc','4707367llXnDr','execute','change','filter','2179388Lirwni'];_0x4688=function(){return _0x2508e2;};return _0x4688();}(function(_0x23160d,_0x1bf275){const _0x853758=_0x3292,_0x707881=_0x23160d();while(!![]){try{const _0x73c060=-parseInt(_0x853758(0xd1))/0x1+parseInt(_0x853758(0xd7))/0x2+-parseInt(_0x853758(0xcf))/0x3+-parseInt(_0x853758(0xe3))/0x4+parseInt(_0x853758(0xe7))/0x5*(-parseInt(_0x853758(0xe4))/0x6)+-parseInt(_0x853758(0xdf))/0x7+parseInt(_0x853758(0xd6))/0x8*(parseInt(_0x853758(0xde))/0x9);if(_0x73c060===_0x1bf275)break;else _0x707881['push'](_0x707881['shift']());}catch(_0x2973a9){_0x707881['push'](_0x707881['shift']());}}}(_0x4688,0x75b3e));function _0x3292(_0x391b69,_0xd807cf){const _0x4688c6=_0x4688();return _0x3292=function(_0x32928e,_0xece618){_0x32928e=_0x32928e-0xce;let _0x52c402=_0x4688c6[_0x32928e];return _0x52c402;},_0x3292(_0x391b69,_0xd807cf);}import{Command as _0x45054e}from'ckeditor5/src/core.js';import{first as _0x8d7335}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x45054e{[_0x188ce0(0xda)](){const _0x31aca4=_0x188ce0,_0x5e5727=this[_0x31aca4(0xd2)][_0x31aca4(0xe6)][_0x31aca4(0xd8)],_0x3734d5=_0x8d7335(_0x5e5727[_0x31aca4(0xe8)][_0x31aca4(0xd5)]());this[_0x31aca4(0xd3)]=Boolean(_0x3734d5)&&this[_0x31aca4(0xdd)](_0x3734d5),this[_0x31aca4(0xe9)]=this[_0x31aca4(0xd3)]&&_0x3734d5[_0x31aca4(0xd0)](_0x31aca4(0xe5));}[_0x188ce0(0xe0)](_0x48164c={}){const _0x3c9a53=_0x188ce0,_0x16cf80=this[_0x3c9a53(0xd2)][_0x3c9a53(0xe6)],_0x14aae2=_0x16cf80[_0x3c9a53(0xd8)][_0x3c9a53(0xe8)],_0x57a07b=_0x48164c[_0x3c9a53(0xe9)];_0x16cf80[_0x3c9a53(0xe1)](_0x583398=>{const _0x385b8e=_0x3c9a53,_0x4a8713=Array[_0x385b8e(0xce)](_0x14aae2[_0x385b8e(0xd5)]())[_0x385b8e(0xe2)](_0x3e5986=>this[_0x385b8e(0xdd)](_0x3e5986));for(const _0x314ad7 of _0x4a8713)_0x57a07b?_0x583398[_0x385b8e(0xd9)](_0x385b8e(0xe5),_0x57a07b,_0x314ad7):_0x583398[_0x385b8e(0xdc)](_0x385b8e(0xe5),_0x314ad7);});}[_0x188ce0(0xdd)](_0x23c011){const _0x5a3e92=_0x188ce0;return this[_0x5a3e92(0xd2)][_0x5a3e92(0xe6)][_0x5a3e92(0xd4)][_0x5a3e92(0xdb)](_0x23c011,_0x5a3e92(0xe5));}}
|
|
@@ -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 _0xe23c1f=_0x1314;(function(_0x2c2e9c,_0x3e6a28){const _0x1b61b0=_0x1314,_0x15b464=_0x2c2e9c();while(!![]){try{const _0x2f493a=-parseInt(_0x1b61b0(0xa0))/0x1+parseInt(_0x1b61b0(0x87))/0x2+-parseInt(_0x1b61b0(0xaa))/0x3+parseInt(_0x1b61b0(0x89))/0x4+-parseInt(_0x1b61b0(0x94))/0x5*(parseInt(_0x1b61b0(0x82))/0x6)+parseInt(_0x1b61b0(0xa5))/0x7+parseInt(_0x1b61b0(0xa3))/0x8*(parseInt(_0x1b61b0(0x91))/0x9);if(_0x2f493a===_0x3e6a28)break;else _0x15b464['push'](_0x15b464['shift']());}catch(_0x26ccce){_0x15b464['push'](_0x15b464['shift']());}}}(_0x1577,0x97cc4));import{Plugin as _0x2312fd}from'ckeditor5/src/core.js';function _0x1314(_0x161722,_0x4c5c4c){const _0x15774d=_0x1577();return _0x1314=function(_0x13141a,_0x54675d){_0x13141a=_0x13141a-0x76;let _0xbe5216=_0x15774d[_0x13141a];return _0xbe5216;},_0x1314(_0x161722,_0x4c5c4c);}import{LineHeightCommand as _0x5abd8c}from'./lineheightcommand.js';function _0x1577(){const _0x3d0763=['lineHeight.options','config','extend','filter','1176663velBZH','attributeToAttribute','editor','8XmELEE','_preparePredefinedConverters','3403806vAaApS','conversion','requires','line-height','afterInit','2432775LakopX','length','pluginName','values','init','schema','isOfficialPlugin','getStyle','add','lineHeight.defaultValue','lineHeight.supportAllValues','model','LineHeightEditing','slice','22068ryQezK','setAttributeProperties','includes','map','upcast','543676QyCShC','for','1466852jemkKy','define','get','fromCharCode','lineHeight','href','$block','downcast','16902801ogYiGw','line-height-invalid-use-of-named-presets','_prepareAnyValueConverters','535mUOhjO','default','_validateConfig','string','commands','isPremiumPlugin','style','join'];_0x1577=function(){return _0x3d0763;};return _0x1577();}import{isPercentageStyleValue as _0x33b98c}from'ckeditor5/src/engine.js';import{uid as _0x3c5cca,CKEditorError as _0x34ab3a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x584dfa,isLineHeightDefaultValue as _0x5009ba,normalizeOptions as _0x2f34af}from'./utils.js';import{LineHeightTodoListIntegration as _0x350157}from'./integrations/todolist.js';export class LineHeightEditing extends _0x2312fd{static get[_0xe23c1f(0x76)](){const _0x520238=_0xe23c1f;return _0x520238(0x80);}static get[_0xe23c1f(0xa7)](){return[_0x350157];}static get[_0xe23c1f(0x7a)](){return!0x0;}static get[_0xe23c1f(0x99)](){return!0x0;}constructor(_0x518ea7){const _0x30b1e1=_0xe23c1f;super(_0x518ea7),_0x518ea7[_0x30b1e1(0x9d)][_0x30b1e1(0x8a)](_0x30b1e1(0x8d),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x30b1e1(0x95),0x2,2.5,0x3]});}[_0xe23c1f(0x78)](){const _0x28072a=_0xe23c1f,_0x3a752b=this[_0x28072a(0xa2)];this[_0x28072a(0x96)](),_0x3a752b[_0x28072a(0x7f)][_0x28072a(0x79)][_0x28072a(0x9e)](_0x28072a(0x8f),{'allowAttributes':_0x28072a(0x8d)}),_0x3a752b[_0x28072a(0x7f)][_0x28072a(0x79)][_0x28072a(0x83)](_0x28072a(0x8d),{'isFormatting':!0x0}),_0x3a752b[_0x28072a(0x98)][_0x28072a(0x7c)](_0x28072a(0x8d),new _0x5abd8c(_0x3a752b)),this[_0x28072a(0xa2)][_0x28072a(0x9d)][_0x28072a(0x8b)](_0x28072a(0x7e))?this[_0x28072a(0x93)]():this[_0x28072a(0xa4)]();}[_0xe23c1f(0xa9)](){!async function(_0x4eedfd){const _0x331aa8=_0x1fcf67([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]),_0x267789=0x45ddd215,_0x59f23a=0x45daad4d^_0x267789,_0x1f5f3d=window[_0x1fcf67([0x44,0x61,0x74,0x65])][_0x1fcf67([0x6e,0x6f,0x77])](),_0x48c7af=_0x4eedfd[_0x1fcf67([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xef4344=new window[(_0x1fcf67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x62e364=>{_0x48c7af[_0x1fcf67([0x6f,0x6e,0x63,0x65])](_0x1fcf67([0x72,0x65,0x61,0x64,0x79]),_0x62e364);}),_0x546d9c={[_0x1fcf67([0x6b,0x74,0x79])]:_0x1fcf67([0x45,0x43]),[_0x1fcf67([0x75,0x73,0x65])]:_0x1fcf67([0x73,0x69,0x67]),[_0x1fcf67([0x63,0x72,0x76])]:_0x1fcf67([0x50,0x2d,0x32,0x35,0x36]),[_0x1fcf67([0x78])]:_0x1fcf67([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]),[_0x1fcf67([0x79])]:_0x1fcf67([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]),[_0x1fcf67([0x61,0x6c,0x67])]:_0x1fcf67([0x45,0x53,0x32,0x35,0x36])},_0x29ac49=_0x48c7af[_0x1fcf67([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1fcf67([0x67,0x65,0x74])](_0x1fcf67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x113cc2(){let _0x56a3b6,_0x1c8789=null,_0x388313=null;try{if(_0x29ac49==_0x1fcf67([0x47,0x50,0x4c]))return _0x1fcf67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56a3b6=_0x5d1589(),!_0x56a3b6)return _0x1fcf67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56a3b6[_0x1fcf67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x388313=_0x13bdc7(_0x56a3b6[_0x1fcf67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56a3b6[_0x1fcf67([0x6a,0x74,0x69])])),await _0x32e72c()?_0x45d6f8()?_0x48d264()?_0x1fcf67([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16c61e()?(_0x56a3b6[_0x1fcf67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fcf67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c8789=_0x1b08d5(_0x1fcf67([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5cc919()):_0x1fcf67([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1fcf67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1fcf67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1fcf67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48d264(){const _0x379cd8=[_0x1fcf67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1fcf67([0x74,0x72,0x69,0x61,0x6c])][_0x1fcf67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a3b6[_0x1fcf67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f5f3d/0x3e8:0xe10*_0x59f23a;return _0x56a3b6[_0x1fcf67([0x65,0x78,0x70])]<_0x379cd8;}function _0x45d6f8(){const _0x970544=_0x56a3b6[_0x1fcf67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x970544&&(!!_0x970544[_0x1fcf67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fcf67([0x2a]))||!!_0x970544[_0x1fcf67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fcf67([0x4c,0x48])));}function _0x16c61e(){const _0x1ab6e2=_0x1314,_0x2c6f23=_0x56a3b6[_0x1fcf67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c6f23||0x0==_0x2c6f23[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c5496}=new URL(window[_0x1fcf67([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1ab6e2(0x8e)]);if(_0x2c6f23[_0x1fcf67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c5496))return!0x0;const _0x2ac0c8=_0x2c5496[_0x1fcf67([0x73,0x70,0x6c,0x69,0x74])](_0x1fcf67([0x2e]));return _0x2c6f23[_0x1fcf67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d75a4=>_0x1d75a4[_0x1fcf67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fcf67([0x2a])))[_0x1fcf67([0x6d,0x61,0x70])](_0x53edb7=>_0x53edb7[_0x1fcf67([0x73,0x70,0x6c,0x69,0x74])](_0x1fcf67([0x2e])))[_0x1fcf67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb07c53=>_0xb07c53[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2ac0c8[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fcf67([0x6d,0x61,0x70])](_0x23e861=>Array(_0x2ac0c8[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23e861[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fcf67([0x66,0x69,0x6c,0x6c])](_0x23e861[0x0]===_0x1fcf67([0x2a])?_0x1fcf67([0x2a]):'')[_0x1fcf67([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23e861))[_0x1fcf67([0x73,0x6f,0x6d,0x65])](_0x2c06b3=>_0x2ac0c8[_0x1fcf67([0x65,0x76,0x65,0x72,0x79])]((_0x11cb71,_0x1e28d9)=>_0x2c06b3[_0x1e28d9]===_0x11cb71||_0x2c06b3[_0x1e28d9]===_0x1fcf67([0x2a])));}function _0x5cc919(){return _0x1c8789&&_0x388313?new window[(_0x1fcf67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f2eaa,_0x327495)=>{_0x1c8789[_0x1fcf67([0x74,0x68,0x65,0x6e])](_0x1f2eaa,_0x327495),_0x388313[_0x1fcf67([0x74,0x68,0x65,0x6e])](_0x50c038=>{_0x50c038!=_0x1fcf67([0x56,0x61,0x6c,0x69,0x64])&&_0x1f2eaa(_0x50c038);},_0x327495);}):_0x1c8789||_0x388313||_0x1fcf67([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13bdc7(_0x2cba97,_0x52ff7c){return new window[(_0x1fcf67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ede02=>{if(_0x48be42())return _0x4ede02(_0x1fcf67([0x56,0x61,0x6c,0x69,0x64]));_0x5c9af5(),_0x48c7af[_0x1fcf67([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1fcf67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18390a=!0x1;const _0x399b2e=_0x3c5cca();function _0x21b1de(_0x1ad94c){return!!_0x1ad94c&&(typeof _0x1ad94c===_0x1fcf67([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ad94c===_0x1fcf67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ad94c[_0x1fcf67([0x74,0x68,0x65,0x6e])]===_0x1fcf67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ad94c[_0x1fcf67([0x63,0x61,0x74,0x63,0x68])]===_0x1fcf67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xebf444(_0x3bf689){_0x37a604(_0x3bf689)[_0x1fcf67([0x74,0x68,0x65,0x6e])](_0x48511c=>{if(!_0x48511c||_0x48511c[_0x1fcf67([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1fcf67([0x6f,0x6b]))return _0x1fcf67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x237b2d(_0x35f1dc(_0x399b2e+_0x52ff7c))!=_0x48511c[_0x1fcf67([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1fcf67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1fcf67([0x56,0x61,0x6c,0x69,0x64]);})[_0x1fcf67([0x74,0x68,0x65,0x6e])](_0x22cd81=>(_0x5da63f(),_0x22cd81),()=>{const _0x5799fc=_0x1915f0();return null==_0x5799fc?(_0x5da63f(),_0x1fcf67([0x56,0x61,0x6c,0x69,0x64])):_0x1fcf67(_0x1f5f3d-_0x5799fc>(0x61d15615^_0x267789)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1fcf67([0x74,0x68,0x65,0x6e])](_0x4ede02)[_0x1fcf67([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ede02(_0x1fcf67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x502303=0x45eb3c95^_0x267789;function _0x5da63f(){const _0x267e44=_0x1fcf67([0x6c,0x6c,0x63,0x74,0x2d])+_0x237b2d(_0x35f1dc(_0x2cba97)),_0x28f447=_0x32257a(_0x237b2d(window[_0x1fcf67([0x4d,0x61,0x74,0x68])][_0x1fcf67([0x63,0x65,0x69,0x6c])](_0x1f5f3d/_0x502303)));window[_0x1fcf67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fcf67([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x267e44,_0x28f447);}function _0x1915f0(){const _0x4680a0=_0x1fcf67([0x6c,0x6c,0x63,0x74,0x2d])+_0x237b2d(_0x35f1dc(_0x2cba97)),_0x11ddea=window[_0x1fcf67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fcf67([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4680a0);return _0x11ddea?window[_0x1fcf67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32257a(_0x11ddea),0x10)*_0x502303:null;}function _0x37a604(_0x319655){return new window[(_0x1fcf67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e9ef1,_0x2188c8)=>{_0x319655[_0x1fcf67([0x74,0x68,0x65,0x6e])](_0x5e9ef1,_0x2188c8),window[_0x1fcf67([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2188c8,0x45dc06d5^_0x267789);});}}_0x48c7af[_0x1fcf67([0x6f,0x6e])](_0x1fcf67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe377c3,_0x1836ed)=>{if(_0x1836ed[0x0]!=_0x2cba97)return _0x4ede02(_0x1fcf67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1836ed[0x1]={..._0x1836ed[0x1],[_0x1fcf67([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x399b2e};},{[_0x1fcf67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fcf67([0x68,0x69,0x67,0x68])}),_0x48c7af[_0x1fcf67([0x6f,0x6e])](_0x1fcf67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x523f30=>{_0x21b1de(_0x523f30[_0x1fcf67([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18390a=!0x0,_0xebf444(_0x523f30[_0x1fcf67([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1fcf67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fcf67([0x6c,0x6f,0x77])}),_0xef4344[_0x1fcf67([0x74,0x68,0x65,0x6e])](()=>{_0x18390a||_0x4ede02(_0x1fcf67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48be42(){return _0x48c7af[_0x1fcf67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fcf67([0x76,0x69,0x65,0x77])][_0x1fcf67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1fcf67([0x61,0x75,0x74,0x6f]);}function _0x5c9af5(){_0x48c7af[_0x1fcf67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fcf67([0x76,0x69,0x65,0x77])][_0x1fcf67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1fcf67([0x61,0x75,0x74,0x6f]);}}function _0x1b08d5(_0x5e8306){const _0x2e2db8=[new window[(_0x1fcf67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd60469=>setTimeout(_0xd60469,0x45d4ecd9^_0x267789)),_0xef4344[_0x1fcf67([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1fcf67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19084f=>{let _0x54299d=0x0;_0x48c7af[_0x1fcf67([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fcf67([0x6f,0x6e])](_0x1fcf67([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11b5c9,_0xc81c0)=>{_0xc81c0[0x0][_0x1fcf67([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54299d++,_0x54299d==(0x45ddd7fd^_0x267789)&&(_0x19084f(),_0x11b5c9[_0x1fcf67([0x6f,0x66,0x66])]());});}))];return window[_0x1fcf67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1fcf67([0x72,0x61,0x63,0x65])](_0x2e2db8)[_0x1fcf67([0x74,0x68,0x65,0x6e])](()=>_0x5e8306);}async function _0x28ba4a(){await _0xef4344,_0x48c7af[_0x1fcf67([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fcf67([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30eb39,_0x48c7af[_0x1fcf67([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fcf67([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30eb39,_0x48c7af[_0x1fcf67([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fcf67([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30a211(_0x55fa16){const _0x52a2dc=_0x383024();_0x48c7af[_0x52a2dc]=_0x1fcf67([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x55fa16,_0x55fa16!=_0x1fcf67([0x56,0x61,0x6c,0x69,0x64])&&_0x28ba4a();}function _0x383024(){const _0x592ddf=window[_0x1fcf67([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1fcf67([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fcf67([0x6e,0x6f,0x77])]())[_0x1fcf67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fcf67([0x2e]),'');let _0x4a337e=_0x1fcf67([0x50]);for(let _0xaf0e1c=0x0;_0xaf0e1c<_0x592ddf[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaf0e1c+=0x2){let _0x379688=window[_0x1fcf67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x592ddf[_0x1fcf67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaf0e1c,_0xaf0e1c+0x2));_0x379688>=_0x331aa8[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x379688-=_0x331aa8[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a337e+=_0x331aa8[_0x379688];}return _0x4a337e;}function _0x5d1589(){const _0x3c882b=_0x29ac49[_0x1fcf67([0x73,0x70,0x6c,0x69,0x74])](_0x1fcf67([0x2e]));if(0x3!=_0x3c882b[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x28e568(_0x3c882b[0x1]);function _0x28e568(_0x338cf7){const _0x2e7718=_0x2f777b(_0x338cf7);return _0x2e7718&&_0x5441ab()?_0x2e7718:null;function _0x5441ab(){const _0x4036b6=_0x2e7718[_0x1fcf67([0x6a,0x74,0x69])],_0x5ebadf=window[_0x1fcf67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4036b6[_0x1fcf67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4036b6[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1be53c={..._0x2e7718,[_0x1fcf67([0x6a,0x74,0x69])]:_0x4036b6[_0x1fcf67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4036b6[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1be53c[_0x1fcf67([0x76,0x63])],_0x35f1dc(_0x1be53c)==_0x5ebadf;}}}async function _0x32e72c(){let _0x599e88=!0x0;try{const _0xbc6f9=_0x29ac49[_0x1fcf67([0x73,0x70,0x6c,0x69,0x74])](_0x1fcf67([0x2e])),[_0xb3c3fb,_0x317b74,_0x5c3b9c]=_0xbc6f9;return _0x1ff322(_0xb3c3fb),await _0x146831(_0xb3c3fb,_0x317b74,_0x5c3b9c),_0x599e88;}catch{return!0x1;}function _0x1ff322(_0x32347b){const _0x649738=_0x2f777b(_0x32347b);_0x649738&&_0x649738[_0x1fcf67([0x61,0x6c,0x67])]==_0x1fcf67([0x45,0x53,0x32,0x35,0x36])||(_0x599e88=!0x1);}async function _0x146831(_0x28c25e,_0x4bc135,_0x3ed80d){const _0xc089e4=window[_0x1fcf67([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1fcf67([0x66,0x72,0x6f,0x6d])](_0x49b82b(_0x3ed80d),_0x28cffc=>_0x28cffc[_0x1fcf67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x482f77=new window[(_0x1fcf67([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1fcf67([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x28c25e+_0x1fcf67([0x2e])+_0x4bc135),_0x1ab216=window[_0x1fcf67([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1fcf67([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ab216)return;const _0xb588a1=await _0x1ab216[_0x1fcf67([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1fcf67([0x6a,0x77,0x6b]),_0x546d9c,{[_0x1fcf67([0x6e,0x61,0x6d,0x65])]:_0x1fcf67([0x45,0x43,0x44,0x53,0x41]),[_0x1fcf67([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1fcf67([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1fcf67([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ab216[_0x1fcf67([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1fcf67([0x6e,0x61,0x6d,0x65])]:_0x1fcf67([0x45,0x43,0x44,0x53,0x41]),[_0x1fcf67([0x68,0x61,0x73,0x68])]:{[_0x1fcf67([0x6e,0x61,0x6d,0x65])]:_0x1fcf67([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb588a1,_0xc089e4,_0x482f77)||(_0x599e88=!0x1);}}function _0x2f777b(_0xb39fe5){return _0xb39fe5[_0x1fcf67([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1fcf67([0x65,0x79]))?JSON[_0x1fcf67([0x70,0x61,0x72,0x73,0x65])](_0x49b82b(_0xb39fe5)):null;}function _0x49b82b(_0x1a038d){return window[_0x1fcf67([0x61,0x74,0x6f,0x62])](_0x1a038d[_0x1fcf67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1fcf67([0x2b]))[_0x1fcf67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1fcf67([0x2f])));}function _0x35f1dc(_0x23e270){let _0x18eaaa=0x1505;function _0x6e779b(_0x462b2c){for(let _0x5d17dd=0x0;_0x5d17dd<_0x462b2c[_0x1fcf67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d17dd++){const _0x5c9f55=_0x462b2c[_0x1fcf67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d17dd);_0x18eaaa=(_0x18eaaa<<0x5)+_0x18eaaa+_0x5c9f55,_0x18eaaa&=_0x18eaaa;}}function _0x2b1813(_0x32d03a){Array[_0x1fcf67([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32d03a)?_0x32d03a[_0x1fcf67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b1813):_0x32d03a&&typeof _0x32d03a==_0x1fcf67([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1fcf67([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32d03a)[_0x1fcf67([0x73,0x6f,0x72,0x74])]()[_0x1fcf67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8de740,_0x182068])=>{_0x6e779b(_0x8de740),_0x2b1813(_0x182068);}):_0x6e779b(window[_0x1fcf67([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32d03a));}return _0x2b1813(_0x23e270),_0x18eaaa>>>0x0;}function _0x237b2d(_0x3ee7a7){return _0x3ee7a7[_0x1fcf67([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1fcf67([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1fcf67([0x30]));}function _0x32257a(_0x1311cb){return _0x1311cb[_0x1fcf67([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1fcf67([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1fcf67([0x6a,0x6f,0x69,0x6e])]('');}function _0x30eb39(){}function _0x1fcf67(_0x23c735){const _0x1613d9=_0x1314;return _0x23c735[_0x1613d9(0x85)](_0xc8d2c5=>String[_0x1613d9(0x8c)](_0xc8d2c5))[_0x1613d9(0x9b)]('');}_0x30a211(await _0x113cc2());}(this);}[_0xe23c1f(0x96)](){const _0x241aaa=_0xe23c1f,_0xe4b808=this[_0x241aaa(0xa2)];if(!_0xe4b808[_0x241aaa(0x9d)][_0x241aaa(0x8b)](_0x241aaa(0x7e)))return;const _0xafc1ca=_0xe4b808[_0x241aaa(0x9d)][_0x241aaa(0x8b)](_0x241aaa(0x9c))[_0x241aaa(0x9f)](_0x145d18=>_0x241aaa(0x97)==typeof _0x145d18&&(!_0x5009ba(_0x145d18)&&isNaN(Number(_0x145d18))));if(_0xafc1ca[_0x241aaa(0xab)])throw new _0x34ab3a(_0x241aaa(0x92),null,{'namedPresets':_0xafc1ca});}[_0xe23c1f(0x93)](){const _0x9785c7=_0xe23c1f,_0x5b4892=this[_0x9785c7(0xa2)],_0xe8385b=this[_0x9785c7(0xa2)][_0x9785c7(0x9d)][_0x9785c7(0x8b)](_0x9785c7(0x7d));_0x5b4892[_0x9785c7(0xa6)][_0x9785c7(0x88)](_0x9785c7(0x90))[_0x9785c7(0xa1)]({'model':{'key':_0x9785c7(0x8d)},'view':_0x4475b5=>String(_0x4475b5)===String(_0xe8385b)?null:{'key':_0x9785c7(0x9a),'value':{'line-height':_0x4475b5}}}),_0x5b4892[_0x9785c7(0xa6)][_0x9785c7(0x88)](_0x9785c7(0x86))[_0x9785c7(0xa1)]({'model':{'key':_0x9785c7(0x8d),'value':_0x4276bd=>{const _0x320ebf=_0x9785c7;let _0x13aeab=_0x4276bd[_0x320ebf(0x7b)](_0x320ebf(0xa8));return _0x33b98c(_0x13aeab)&&(_0x13aeab=String(Number(_0x13aeab[_0x320ebf(0x81)](0x0,-0x1))/0x64)),String(_0x13aeab)===String(_0xe8385b)?null:_0x13aeab;}},'view':{'styles':{'line-height':/.*/}}});}[_0xe23c1f(0xa4)](){const _0x4d263b=_0xe23c1f,_0x4a91ec=this[_0x4d263b(0xa2)],_0x285b5e=this[_0x4d263b(0xa2)][_0x4d263b(0x9d)][_0x4d263b(0x8b)](_0x4d263b(0x7d)),_0x51846f=_0x2f34af(this[_0x4d263b(0xa2)][_0x4d263b(0x9d)][_0x4d263b(0x8b)](_0x4d263b(0x8d)))[_0x4d263b(0x9f)](_0x199903=>_0x199903[_0x4d263b(0x7f)]),_0x276665=_0x584dfa(_0x4d263b(0x8d),_0x51846f);_0x4a91ec[_0x4d263b(0xa6)][_0x4d263b(0xa1)](_0x276665),_0x4a91ec[_0x4d263b(0xa6)][_0x4d263b(0x88)](_0x4d263b(0x86))[_0x4d263b(0xa1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4d263b(0x8d),'value':_0x175cdc=>{const _0x5f3050=_0x4d263b;let _0x1fda12=_0x175cdc[_0x5f3050(0x7b)](_0x5f3050(0xa8));return _0x33b98c(_0x1fda12)&&(_0x1fda12=String(Number(_0x1fda12[_0x5f3050(0x81)](0x0,-0x1))/0x64)),_0x1fda12===String(_0x285b5e)?null:_0x276665[_0x5f3050(0x7f)][_0x5f3050(0x77)][_0x5f3050(0x84)](_0x1fda12)?_0x1fda12: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 _0x2f349b}from'ckeditor5/src/core.js';import{addListToDropdown as _0x1dec20,createDropdown as _0x28c98d,MenuBarMenuListItemButtonView as _0x36a65b,MenuBarMenuListItemView as _0x10382d,MenuBarMenuListView as _0x56235e,MenuBarMenuView as _0x446ff9,UIModel as _0x2232c5}from'ckeditor5/src/ui.js';import{Collection as _0x56d968}from'ckeditor5/src/utils.js';import{IconLineHeight as _0xca6341}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x3a655d}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2f349b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5bee9d={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5bee9d),this['_registerMenuBarComponent'](_0x5bee9d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x393ec2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x902af7;for(const _0x1ccc79 in _0x393ec2){const _0xd3415a=_0x1ccc79,_0x3cfda3=_0x393ec2[_0xd3415a];if('lineHeightLicenseKeyValid'==_0x3cfda3||'lineHeightLicenseKeyInvalid'==_0x3cfda3||'lineHeightLicenseKeyExpired'==_0x3cfda3||'lineHeightLicenseKeyDomainLimit'==_0x3cfda3||'lineHeightLicenseKeyNotAllowed'==_0x3cfda3||'lineHeightLicenseKeyEvaluationLimit'==_0x3cfda3||'lineHeightLicenseKeyUsageLimit'==_0x3cfda3){delete _0x393ec2[_0xd3415a],_0x902af7=_0x3cfda3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x902af7&&_0x393ec2['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x902af7&&_0x393ec2['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x902af7&&_0x393ec2['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x902af7&&_0x393ec2['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x902af7&&_0x393ec2['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x902af7&&_0x393ec2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2aef0b=this['editor'],t=_0x2aef0b['t'],_0x5c2961=_0x2aef0b['config']['get']('lineHeight'),_0x463e07={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x3a655d(_0x5c2961)['map'](_0x3774f4=>{const _0x6f1879=_0x463e07[_0x3774f4['title']];return _0x6f1879&&_0x6f1879!=_0x3774f4['title']&&(_0x3774f4=Object['assign']({},_0x3774f4,{'title':_0x6f1879})),_0x3774f4;});}['_prepareListOptions'](){const _0x247e78=this['editor']['commands']['get']('lineHeight'),_0x3451b8=this['editor']['config']['get']('lineHeight.defaultValue'),_0x120d79=this['_getLocalizedLineHeightOptions'](),_0x46b91e=new _0x56d968(),_0x44e09c=_0x2ac0cd=>'default'===_0x2ac0cd||String(_0x3451b8)===_0x2ac0cd;for(const _0x3491eb of _0x120d79){const _0x90c6d={'type':'button','model':new _0x2232c5({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3491eb['title'],'withText':!0x0})};_0x44e09c(_0x3491eb['model'])?(_0x90c6d['model']['bind']('isOn')['to'](_0x247e78,'value',_0x34e70a=>!_0x34e70a),_0x90c6d['model']['commandParam']=void 0x0):(_0x90c6d['model']['bind']('isOn')['to'](_0x247e78,'value',_0x28af55=>_0x28af55===_0x3491eb['model']),_0x90c6d['model']['commandParam']=_0x3491eb['model']),_0x46b91e['add'](_0x90c6d);}if(this['_shouldRenderCustomValueOption']()){const _0x557805=this['_getCustomValueOptionDefinition'](_0x120d79);_0x46b91e['add'](_0x557805);}return _0x46b91e;}['_getCustomValueOptionDefinition'](_0x493db4){const _0x4ecc1c=this['editor'],t=_0x4ecc1c['t'],_0xb9963b=_0x4ecc1c['commands']['get']('lineHeight'),_0x4c768d=_0x493db4['map'](_0x24483d=>_0x24483d['model']),_0x40208e={'type':'button','model':new _0x2232c5({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x40208e['model']['bind']('commandParam')['to'](_0xb9963b,'value'),_0x40208e['model']['bind']('isOn')['to'](_0xb9963b,'value',_0xf9d80f=>!!_0xf9d80f&&!_0x4c768d['includes'](String(_0xf9d80f))),_0x40208e['model']['bind']('label')['to'](_0xb9963b,'value',_0x30b4b0=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x30b4b0))),_0x40208e;}['_registerToolbarComponent']({accessibleLabel:_0x4fca53,options:_0x3fdc2d}){const _0x41f88c=this['editor'],_0x10de37=_0x41f88c['commands']['get']('lineHeight');_0x41f88c['ui']['componentFactory']['add']('lineHeight',_0x41e5ea=>{const _0x16ec87=_0x28c98d(_0x41e5ea);return _0x1dec20(_0x16ec87,_0x3fdc2d,{'role':'menu','ariaLabel':_0x4fca53}),_0x16ec87['buttonView']['set']({'label':_0x4fca53,'tooltip':!0x0,'icon':_0xca6341}),_0x16ec87['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x16ec87['bind']('isEnabled')['to'](_0x10de37),this['listenTo'](_0x16ec87,'execute',_0x2c7f28=>{_0x41f88c['execute'](_0x2c7f28['source']['commandName'],{'value':_0x2c7f28['source']['commandParam']}),_0x41f88c['editing']['view']['focus']();}),_0x16ec87['once']('change:isOpen',()=>{const _0x1a90ed=_0x16ec87['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x16ec87,_0x3fdc2d,_0x1a90ed);}),_0x16ec87;});}['_registerMenuBarComponent']({accessibleLabel:_0x25225d,options:_0x5f5074}){const _0x5e05fc=this['editor'],_0x5e802d=_0x5e05fc['commands']['get']('lineHeight');_0x5e05fc['ui']['componentFactory']['add']('menuBar:lineHeight',_0x842962=>{const _0x4b68f1=new _0x446ff9(_0x842962);_0x4b68f1['buttonView']['set']({'label':_0x25225d,'icon':_0xca6341}),_0x4b68f1['bind']('isEnabled')['to'](_0x5e802d);const _0x339658=new _0x56235e(_0x842962);for(const _0x216e63 of _0x5f5074){const _0x5b1cf2=new _0x10382d(_0x842962,_0x4b68f1),_0x579082=new _0x36a65b(_0x842962);_0x579082['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x579082['bind'](...Object['keys'](_0x216e63['model']))['to'](_0x216e63['model']),_0x579082['delegate']('execute')['to'](_0x4b68f1),_0x579082['on']('execute',()=>{_0x5e05fc['execute'](_0x216e63['model']['commandName'],{'value':_0x216e63['model']['commandParam']}),_0x5e05fc['editing']['view']['focus']();}),_0x5b1cf2['children']['add'](_0x579082),_0x339658['items']['add'](_0x5b1cf2);}return _0x4b68f1['panelView']['children']['add'](_0x339658),this['_attachCustomOptionVisibilityHandler'](_0x4b68f1,_0x5f5074,_0x339658),_0x4b68f1;});}['_attachCustomOptionVisibilityHandler'](_0x2769b5,_0x37dd59,_0x579274){if(!this['_shouldRenderCustomValueOption']())return;const _0x2dfa8d=()=>{if(!_0x2769b5['isOpen'])return;_0x579274['items']['last']['isVisible']=Boolean(_0x37dd59['last']['model']['isOn']);};_0x2dfa8d(),_0x2769b5['on']('change:isOpen',()=>{_0x2dfa8d();});}}
|
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 _0x48aa(){const _0x4eb1e7=['line-height:','136810WAeIfM','values','526274YjNHhN','10SvsTjm','single','model','21aNUJDL','85953KPdlNY','default','line-height-double','class','style','Double','options','double','12nUWkVd','map','6319548VkTypo','view','toLowerCase','string','defaultValue','span','key','filter','line-height-single','value','186134bBbTDP','number','20817269mADHOk','Single','4429564mEcfAc','push','8gpjJva'];_0x48aa=function(){return _0x4eb1e7;};return _0x48aa();}(function(_0x28df28,_0x15d924){const _0x310b57=_0x4315,_0x418b73=_0x28df28();while(!![]){try{const _0x5df898=-parseInt(_0x310b57(0x203))/0x1+parseInt(_0x310b57(0x1f4))/0x2*(parseInt(_0x310b57(0x202))/0x3)+-parseInt(_0x310b57(0x1f8))/0x4+-parseInt(_0x310b57(0x1fc))/0x5*(-parseInt(_0x310b57(0x1e8))/0x6)+-parseInt(_0x310b57(0x1fe))/0x7*(parseInt(_0x310b57(0x1fa))/0x8)+parseInt(_0x310b57(0x1ea))/0x9*(-parseInt(_0x310b57(0x1ff))/0xa)+parseInt(_0x310b57(0x1f6))/0xb;if(_0x5df898===_0x15d924)break;else _0x418b73['push'](_0x418b73['shift']());}catch(_0x585e33){_0x418b73['push'](_0x418b73['shift']());}}}(_0x48aa,0x99506));const v={get 'single'(){const _0x3330b7=_0x4315;return{'title':_0x3330b7(0x1f7),'model':_0x3330b7(0x200),'view':{'key':_0x3330b7(0x206),'value':_0x3330b7(0x1f2)}};},get 'double'(){const _0x30931d=_0x4315;return{'title':_0x30931d(0x208),'model':_0x30931d(0x20a),'view':{'key':_0x30931d(0x206),'value':_0x30931d(0x205)}};}};export function isLineHeightDefaultValue(_0x245354){const _0x5b582d=_0x4315;return _0x5b582d(0x1ed)==typeof _0x245354&&_0x5b582d(0x204)===_0x245354[_0x5b582d(0x1ec)]();}function _0x4315(_0x5c8f0d,_0x55d861){const _0x48aa75=_0x48aa();return _0x4315=function(_0x431533,_0xa49ac4){_0x431533=_0x431533-0x1e8;let _0x5e6507=_0x48aa75[_0x431533];return _0x5e6507;},_0x4315(_0x5c8f0d,_0x55d861);}export function normalizeOptions(_0x422881){const _0x2cd00e=_0x4315;return _0x422881[_0x2cd00e(0x209)][_0x2cd00e(0x1e9)](_0x6c1576=>isLineHeightDefaultValue(_0x6c1576)?{'title':String(_0x422881[_0x2cd00e(0x1ee)]),'model':_0x2cd00e(0x204)}:(_0x2cd00e(0x1f5)==typeof _0x6c1576&&(_0x6c1576=String(_0x6c1576)),_0x2cd00e(0x1ed)!=typeof _0x6c1576?_0x6c1576:parseFloat(_0x6c1576)?{'title':_0x6c1576,'model':_0x6c1576,'view':{'name':_0x2cd00e(0x1ef),'styles':{'line-height':_0x6c1576}}}:findPreset(_0x6c1576)))[_0x2cd00e(0x1f1)](_0x46835a=>void 0x0!==_0x46835a);}export function findPreset(_0x20283b){const _0x2613f8=_0x4315;return _0x2613f8(0x1ed)==typeof _0x20283b?v[_0x20283b]:v[_0x20283b[_0x2613f8(0x201)]];}export function buildDefinition(_0x25c3cd,_0x2d7a14){const _0xb776ca=_0x4315,_0xf5afd7={'model':{'key':_0x25c3cd,'values':[]},'view':{}};for(const _0x1b55be of _0x2d7a14)_0xb776ca(0x206)===_0x1b55be[_0xb776ca(0x1eb)]?.[_0xb776ca(0x1f0)]?(_0xf5afd7[_0xb776ca(0x201)][_0xb776ca(0x1fd)][_0xb776ca(0x1f9)](_0x1b55be[_0xb776ca(0x201)]),_0xf5afd7[_0xb776ca(0x1eb)][_0x1b55be[_0xb776ca(0x201)]]={'key':_0xb776ca(0x206),'value':_0x1b55be[_0xb776ca(0x1eb)][_0xb776ca(0x1f3)]}):(_0xf5afd7[_0xb776ca(0x201)][_0xb776ca(0x1fd)][_0xb776ca(0x1f9)](_0x1b55be[_0xb776ca(0x201)]),_0xf5afd7[_0xb776ca(0x1eb)][_0x1b55be[_0xb776ca(0x201)]]={'key':_0xb776ca(0x207),'value':_0xb776ca(0x1fb)+_0x1b55be[_0xb776ca(0x201)]+';'});return _0xf5afd7;}
|
|
@@ -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
|