@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20260124.0 → 0.0.0-nightly-20260125.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 _0x1a8075=_0x3c8c;function _0x3c8c(_0x505f14,_0x532f8e){const _0x293825=_0x2938();return _0x3c8c=function(_0x3c8c79,_0x128a4b){_0x3c8c79=_0x3c8c79-0x10a;let _0x366378=_0x293825[_0x3c8c79];return _0x366378;},_0x3c8c(_0x505f14,_0x532f8e);}function _0x2938(){const _0x264b63=['28zgrxKa','532668VZbHLS','filter','change','536170fhcdMa','getSelectedBlocks','editor','document','522984qiOQvf','selection','removeAttribute','_canHaveLineHeight','313460DPixEe','243189oKuEky','execute','lineHeight','value','isEnabled','30834fPYpRK','schema','setAttribute','from','checkAttribute','getAttribute','refresh','model','117SSxsfU','203495dCcSSE','119MszUod'];_0x2938=function(){return _0x264b63;};return _0x2938();}(function(_0x200ae2,_0x29b66b){const _0x3e777b=_0x3c8c,_0x3dd50f=_0x200ae2();while(!![]){try{const _0x49fd56=-parseInt(_0x3e777b(0x124))/0x1+parseInt(_0x3e777b(0x11b))/0x2+parseInt(_0x3e777b(0x118))/0x3+-parseInt(_0x3e777b(0x117))/0x4*(parseInt(_0x3e777b(0x115))/0x5)+-parseInt(_0x3e777b(0x10c))/0x6*(parseInt(_0x3e777b(0x116))/0x7)+-parseInt(_0x3e777b(0x11f))/0x8+parseInt(_0x3e777b(0x114))/0x9*(parseInt(_0x3e777b(0x123))/0xa);if(_0x49fd56===_0x29b66b)break;else _0x3dd50f['push'](_0x3dd50f['shift']());}catch(_0x4924a5){_0x3dd50f['push'](_0x3dd50f['shift']());}}}(_0x2938,0x2a121));import{Command as _0x59c1e0}from'ckeditor5/src/core.js';import{first as _0x1c2061}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x59c1e0{[_0x1a8075(0x112)](){const _0x52f37=_0x1a8075,_0x31adf9=this[_0x52f37(0x11d)][_0x52f37(0x113)][_0x52f37(0x11e)],_0x59baf5=_0x1c2061(_0x31adf9[_0x52f37(0x120)][_0x52f37(0x11c)]());this[_0x52f37(0x10b)]=Boolean(_0x59baf5)&&this[_0x52f37(0x122)](_0x59baf5),this[_0x52f37(0x10a)]=this[_0x52f37(0x10b)]&&_0x59baf5[_0x52f37(0x111)](_0x52f37(0x126));}[_0x1a8075(0x125)](_0x3e2685={}){const _0xd08e08=_0x1a8075,_0x446a3d=this[_0xd08e08(0x11d)][_0xd08e08(0x113)],_0x41c510=_0x446a3d[_0xd08e08(0x11e)][_0xd08e08(0x120)],_0xbb3abe=_0x3e2685[_0xd08e08(0x10a)];_0x446a3d[_0xd08e08(0x11a)](_0x3849d1=>{const _0xa35df9=_0xd08e08,_0x5d29e5=Array[_0xa35df9(0x10f)](_0x41c510[_0xa35df9(0x11c)]())[_0xa35df9(0x119)](_0x588dcc=>this[_0xa35df9(0x122)](_0x588dcc));for(const _0x1236d7 of _0x5d29e5)_0xbb3abe?_0x3849d1[_0xa35df9(0x10e)](_0xa35df9(0x126),_0xbb3abe,_0x1236d7):_0x3849d1[_0xa35df9(0x121)](_0xa35df9(0x126),_0x1236d7);});}[_0x1a8075(0x122)](_0x3661cd){const _0x13347a=_0x1a8075;return this[_0x13347a(0x11d)][_0x13347a(0x113)][_0x13347a(0x10d)][_0x13347a(0x110)](_0x3661cd,_0x13347a(0x126));}}
|
|
@@ -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 _0x38255b=_0x4bfe;(function(_0x56def9,_0x3dc44f){const _0x5a5a9d=_0x4bfe,_0x77addc=_0x56def9();while(!![]){try{const _0xe0abe=parseInt(_0x5a5a9d(0x15e))/0x1+-parseInt(_0x5a5a9d(0x170))/0x2*(parseInt(_0x5a5a9d(0x195))/0x3)+-parseInt(_0x5a5a9d(0x16b))/0x4+parseInt(_0x5a5a9d(0x182))/0x5*(parseInt(_0x5a5a9d(0x17a))/0x6)+-parseInt(_0x5a5a9d(0x180))/0x7+parseInt(_0x5a5a9d(0x191))/0x8*(-parseInt(_0x5a5a9d(0x188))/0x9)+parseInt(_0x5a5a9d(0x16c))/0xa*(parseInt(_0x5a5a9d(0x167))/0xb);if(_0xe0abe===_0x3dc44f)break;else _0x77addc['push'](_0x77addc['shift']());}catch(_0xd97dab){_0x77addc['push'](_0x77addc['shift']());}}}(_0x55e7,0xb8907));import{Plugin as _0x19687b}from'ckeditor5/src/core.js';function _0x55e7(){const _0x538cc9=['style','conversion','setAttributeProperties','init','map','18NQpAyR','add','isPremiumPlugin','LineHeightEditing','requires','for','filter','fromCharCode','getStyle','2092920SQdAML','length','lineHeight.options','model','355326UtPXbN','441479HhWmBs','downcast','values','slice','default','_prepareAnyValueConverters','attributeToAttribute','editor','line-height','77Vgjxzn','string','_validateConfig','commands','4078584hqFNGh','1683380HeDrSH','lineHeight.defaultValue','lineHeight','$block','8MKEwpx','join','pluginName','define','schema','lineHeight.supportAllValues','line-height-invalid-use-of-named-presets','config','includes','extend','2000292ugzoJw','_preparePredefinedConverters','isOfficialPlugin','get','href','upcast','1265278eXMTOw','afterInit','20TWyaFE'];_0x55e7=function(){return _0x538cc9;};return _0x55e7();}import{LineHeightCommand as _0x521a84}from'./lineheightcommand.js';function _0x4bfe(_0x529082,_0x4764be){const _0x55e7d9=_0x55e7();return _0x4bfe=function(_0x4bfe87,_0x237e19){_0x4bfe87=_0x4bfe87-0x15e;let _0x3c7542=_0x55e7d9[_0x4bfe87];return _0x3c7542;},_0x4bfe(_0x529082,_0x4764be);}import{isPercentageStyleValue as _0x21e85d}from'ckeditor5/src/engine.js';import{uid as _0x1d6d10,CKEditorError as _0x409fce}from'ckeditor5/src/utils.js';import{buildDefinition as _0x6b23cd,isLineHeightDefaultValue as _0x37618e,normalizeOptions as _0x2ab7a8}from'./utils.js';import{LineHeightTodoListIntegration as _0x67978}from'./integrations/todolist.js';export class LineHeightEditing extends _0x19687b{static get[_0x38255b(0x172)](){const _0x295b41=_0x38255b;return _0x295b41(0x18b);}static get[_0x38255b(0x18c)](){return[_0x67978];}static get[_0x38255b(0x17c)](){return!0x0;}static get[_0x38255b(0x18a)](){return!0x0;}constructor(_0x31cfb8){const _0x1db618=_0x38255b;super(_0x31cfb8),_0x31cfb8[_0x1db618(0x177)][_0x1db618(0x173)](_0x1db618(0x16e),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1db618(0x162),0x2,2.5,0x3]});}[_0x38255b(0x186)](){const _0x218f93=_0x38255b,_0xa11098=this[_0x218f93(0x165)];this[_0x218f93(0x169)](),_0xa11098[_0x218f93(0x194)][_0x218f93(0x174)][_0x218f93(0x179)](_0x218f93(0x16f),{'allowAttributes':_0x218f93(0x16e)}),_0xa11098[_0x218f93(0x194)][_0x218f93(0x174)][_0x218f93(0x185)](_0x218f93(0x16e),{'isFormatting':!0x0}),_0xa11098[_0x218f93(0x16a)][_0x218f93(0x189)](_0x218f93(0x16e),new _0x521a84(_0xa11098)),this[_0x218f93(0x165)][_0x218f93(0x177)][_0x218f93(0x17d)](_0x218f93(0x175))?this[_0x218f93(0x163)]():this[_0x218f93(0x17b)]();}[_0x38255b(0x181)](){!async function(_0x3f8631){const _0x18d14c=_0x5721ae([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]),_0x341d74=0x45ddd215,_0x3f9691=0x45daadc5^_0x341d74,_0x51c3a6=window[_0x5721ae([0x44,0x61,0x74,0x65])][_0x5721ae([0x6e,0x6f,0x77])](),_0x3af22a=_0x3f8631[_0x5721ae([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e4e68=new window[(_0x5721ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x186a9c=>{_0x3af22a[_0x5721ae([0x6f,0x6e,0x63,0x65])](_0x5721ae([0x72,0x65,0x61,0x64,0x79]),_0x186a9c);}),_0xc3b439={[_0x5721ae([0x6b,0x74,0x79])]:_0x5721ae([0x45,0x43]),[_0x5721ae([0x75,0x73,0x65])]:_0x5721ae([0x73,0x69,0x67]),[_0x5721ae([0x63,0x72,0x76])]:_0x5721ae([0x50,0x2d,0x32,0x35,0x36]),[_0x5721ae([0x78])]:_0x5721ae([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]),[_0x5721ae([0x79])]:_0x5721ae([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]),[_0x5721ae([0x61,0x6c,0x67])]:_0x5721ae([0x45,0x53,0x32,0x35,0x36])},_0x410678=_0x3af22a[_0x5721ae([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5721ae([0x67,0x65,0x74])](_0x5721ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3363c7(){let _0x5ca544,_0x41e555=null,_0x2486ae=null;try{if(_0x410678==_0x5721ae([0x47,0x50,0x4c]))return _0x5721ae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ca544=_0x4fefa0(),!_0x5ca544)return _0x5721ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ca544[_0x5721ae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2486ae=_0x247fbb(_0x5ca544[_0x5721ae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ca544[_0x5721ae([0x6a,0x74,0x69])])),await _0x49aec1()?_0x5de348()?_0x276cea()?_0x5721ae([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x44f96d()?(_0x5ca544[_0x5721ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5721ae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41e555=_0xf574eb(_0x5721ae([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fcd98()):_0x5721ae([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5721ae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5721ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5721ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x276cea(){const _0x4a3006=[_0x5721ae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5721ae([0x74,0x72,0x69,0x61,0x6c])][_0x5721ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ca544[_0x5721ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51c3a6/0x3e8:0xe10*_0x3f9691;return _0x5ca544[_0x5721ae([0x65,0x78,0x70])]<_0x4a3006;}function _0x5de348(){const _0x146eef=_0x5ca544[_0x5721ae([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x146eef&&(!!_0x146eef[_0x5721ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5721ae([0x2a]))||!!_0x146eef[_0x5721ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5721ae([0x4c,0x48])));}function _0x44f96d(){const _0x470bbe=_0x4bfe,_0x14ed88=_0x5ca544[_0x5721ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14ed88||0x0==_0x14ed88[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e9d53}=new URL(window[_0x5721ae([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x470bbe(0x17e)]);if(_0x14ed88[_0x5721ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e9d53))return!0x0;const _0x5f34a5=_0x5e9d53[_0x5721ae([0x73,0x70,0x6c,0x69,0x74])](_0x5721ae([0x2e]));return _0x14ed88[_0x5721ae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18c93e=>_0x18c93e[_0x5721ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5721ae([0x2a])))[_0x5721ae([0x6d,0x61,0x70])](_0x284982=>_0x284982[_0x5721ae([0x73,0x70,0x6c,0x69,0x74])](_0x5721ae([0x2e])))[_0x5721ae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x127eef=>_0x127eef[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5f34a5[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5721ae([0x6d,0x61,0x70])](_0x270d93=>Array(_0x5f34a5[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x270d93[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5721ae([0x66,0x69,0x6c,0x6c])](_0x270d93[0x0]===_0x5721ae([0x2a])?_0x5721ae([0x2a]):'')[_0x5721ae([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x270d93))[_0x5721ae([0x73,0x6f,0x6d,0x65])](_0x2a0a3b=>_0x5f34a5[_0x5721ae([0x65,0x76,0x65,0x72,0x79])]((_0x342bc1,_0x9292ed)=>_0x2a0a3b[_0x9292ed]===_0x342bc1||_0x2a0a3b[_0x9292ed]===_0x5721ae([0x2a])));}function _0x2fcd98(){return _0x41e555&&_0x2486ae?new window[(_0x5721ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5250df,_0x41a747)=>{_0x41e555[_0x5721ae([0x74,0x68,0x65,0x6e])](_0x5250df,_0x41a747),_0x2486ae[_0x5721ae([0x74,0x68,0x65,0x6e])](_0xc4b978=>{_0xc4b978!=_0x5721ae([0x56,0x61,0x6c,0x69,0x64])&&_0x5250df(_0xc4b978);},_0x41a747);}):_0x41e555||_0x2486ae||_0x5721ae([0x56,0x61,0x6c,0x69,0x64]);}}function _0x247fbb(_0x50989e,_0x529083){return new window[(_0x5721ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x580b84=>{if(_0x2fdfae())return _0x580b84(_0x5721ae([0x56,0x61,0x6c,0x69,0x64]));_0x146fa1(),_0x3af22a[_0x5721ae([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5721ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15823f=!0x1;const _0x3988ae=_0x1d6d10();function _0x55d348(_0x128b86){return!!_0x128b86&&(typeof _0x128b86===_0x5721ae([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x128b86===_0x5721ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x128b86[_0x5721ae([0x74,0x68,0x65,0x6e])]===_0x5721ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x128b86[_0x5721ae([0x63,0x61,0x74,0x63,0x68])]===_0x5721ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51b6fd(_0x5cdf96){_0x5d3836(_0x5cdf96)[_0x5721ae([0x74,0x68,0x65,0x6e])](_0x48f094=>{if(!_0x48f094||_0x48f094[_0x5721ae([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5721ae([0x6f,0x6b]))return _0x5721ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x13489e(_0x3c92f5(_0x3988ae+_0x529083))!=_0x48f094[_0x5721ae([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5721ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5721ae([0x56,0x61,0x6c,0x69,0x64]);})[_0x5721ae([0x74,0x68,0x65,0x6e])](_0x317c24=>(_0x5b621d(),_0x317c24),()=>{const _0x12fbcc=_0x29c24e();return null==_0x12fbcc?(_0x5b621d(),_0x5721ae([0x56,0x61,0x6c,0x69,0x64])):_0x5721ae(_0x51c3a6-_0x12fbcc>(0x61d15615^_0x341d74)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5721ae([0x74,0x68,0x65,0x6e])](_0x580b84)[_0x5721ae([0x63,0x61,0x74,0x63,0x68])](()=>{_0x580b84(_0x5721ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x428325=0x45eb3c95^_0x341d74;function _0x5b621d(){const _0x4c8ce3=_0x5721ae([0x6c,0x6c,0x63,0x74,0x2d])+_0x13489e(_0x3c92f5(_0x50989e)),_0x3cac13=_0x57133a(_0x13489e(window[_0x5721ae([0x4d,0x61,0x74,0x68])][_0x5721ae([0x63,0x65,0x69,0x6c])](_0x51c3a6/_0x428325)));window[_0x5721ae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5721ae([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c8ce3,_0x3cac13);}function _0x29c24e(){const _0xf54ce0=_0x5721ae([0x6c,0x6c,0x63,0x74,0x2d])+_0x13489e(_0x3c92f5(_0x50989e)),_0x31f5f9=window[_0x5721ae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5721ae([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf54ce0);return _0x31f5f9?window[_0x5721ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57133a(_0x31f5f9),0x10)*_0x428325:null;}function _0x5d3836(_0x11c5b5){return new window[(_0x5721ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fc79c,_0x532004)=>{_0x11c5b5[_0x5721ae([0x74,0x68,0x65,0x6e])](_0x4fc79c,_0x532004),window[_0x5721ae([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x532004,0x45dc06d5^_0x341d74);});}}_0x3af22a[_0x5721ae([0x6f,0x6e])](_0x5721ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x36279a,_0x3d016a)=>{if(_0x3d016a[0x0]!=_0x50989e)return _0x580b84(_0x5721ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d016a[0x1]={..._0x3d016a[0x1],[_0x5721ae([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3988ae};},{[_0x5721ae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5721ae([0x68,0x69,0x67,0x68])}),_0x3af22a[_0x5721ae([0x6f,0x6e])](_0x5721ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x594bc4=>{_0x55d348(_0x594bc4[_0x5721ae([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15823f=!0x0,_0x51b6fd(_0x594bc4[_0x5721ae([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5721ae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5721ae([0x6c,0x6f,0x77])}),_0x4e4e68[_0x5721ae([0x74,0x68,0x65,0x6e])](()=>{_0x15823f||_0x580b84(_0x5721ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fdfae(){return _0x3af22a[_0x5721ae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5721ae([0x76,0x69,0x65,0x77])][_0x5721ae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5721ae([0x61,0x75,0x74,0x6f]);}function _0x146fa1(){_0x3af22a[_0x5721ae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5721ae([0x76,0x69,0x65,0x77])][_0x5721ae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5721ae([0x61,0x75,0x74,0x6f]);}}function _0xf574eb(_0x1f1562){const _0xafee3a=[new window[(_0x5721ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a767b=>setTimeout(_0x2a767b,0x45d4ecd9^_0x341d74)),_0x4e4e68[_0x5721ae([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5721ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x498d4b=>{let _0x227114=0x0;_0x3af22a[_0x5721ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x5721ae([0x6f,0x6e])](_0x5721ae([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3fe332,_0x5b1bb6)=>{_0x5b1bb6[0x0][_0x5721ae([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x227114++,_0x227114==(0x45ddd7fd^_0x341d74)&&(_0x498d4b(),_0x3fe332[_0x5721ae([0x6f,0x66,0x66])]());});}))];return window[_0x5721ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5721ae([0x72,0x61,0x63,0x65])](_0xafee3a)[_0x5721ae([0x74,0x68,0x65,0x6e])](()=>_0x1f1562);}async function _0x5d2322(){await _0x4e4e68,_0x3af22a[_0x5721ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x5721ae([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35746e,_0x3af22a[_0x5721ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x5721ae([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35746e,_0x3af22a[_0x5721ae([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5721ae([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55b0ab(_0x462d5a){const _0x38e0e4=_0x4402d9();_0x3af22a[_0x38e0e4]=_0x5721ae([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x462d5a,_0x462d5a!=_0x5721ae([0x56,0x61,0x6c,0x69,0x64])&&_0x5d2322();}function _0x4402d9(){const _0x1dafdd=window[_0x5721ae([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5721ae([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5721ae([0x6e,0x6f,0x77])]())[_0x5721ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5721ae([0x2e]),'');let _0xce94e7=_0x5721ae([0x50]);for(let _0x3c30cb=0x0;_0x3c30cb<_0x1dafdd[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c30cb+=0x2){let _0x52c7da=window[_0x5721ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dafdd[_0x5721ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c30cb,_0x3c30cb+0x2));_0x52c7da>=_0x18d14c[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x52c7da-=_0x18d14c[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xce94e7+=_0x18d14c[_0x52c7da];}return _0xce94e7;}function _0x4fefa0(){const _0x54d536=_0x410678[_0x5721ae([0x73,0x70,0x6c,0x69,0x74])](_0x5721ae([0x2e]));if(0x3!=_0x54d536[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3bff56(_0x54d536[0x1]);function _0x3bff56(_0x56cf85){const _0xb32ec0=_0x3285a4(_0x56cf85);return _0xb32ec0&&_0x2363bf()?_0xb32ec0:null;function _0x2363bf(){const _0x124c4c=_0xb32ec0[_0x5721ae([0x6a,0x74,0x69])],_0x472b34=window[_0x5721ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x124c4c[_0x5721ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x124c4c[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f59c3={..._0xb32ec0,[_0x5721ae([0x6a,0x74,0x69])]:_0x124c4c[_0x5721ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x124c4c[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f59c3[_0x5721ae([0x76,0x63])],_0x3c92f5(_0x4f59c3)==_0x472b34;}}}async function _0x49aec1(){let _0x59ac98=!0x0;try{const _0xa145dc=_0x410678[_0x5721ae([0x73,0x70,0x6c,0x69,0x74])](_0x5721ae([0x2e])),[_0x13bd03,_0x2101a2,_0x458d2e]=_0xa145dc;return _0x4cec46(_0x13bd03),await _0x46a55e(_0x13bd03,_0x2101a2,_0x458d2e),_0x59ac98;}catch{return!0x1;}function _0x4cec46(_0x4e4dd4){const _0x344ea4=_0x3285a4(_0x4e4dd4);_0x344ea4&&_0x344ea4[_0x5721ae([0x61,0x6c,0x67])]==_0x5721ae([0x45,0x53,0x32,0x35,0x36])||(_0x59ac98=!0x1);}async function _0x46a55e(_0x4f4a9d,_0x2de833,_0xed81e2){const _0x4a88cd=window[_0x5721ae([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5721ae([0x66,0x72,0x6f,0x6d])](_0x442b32(_0xed81e2),_0x340e57=>_0x340e57[_0x5721ae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa28d77=new window[(_0x5721ae([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5721ae([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f4a9d+_0x5721ae([0x2e])+_0x2de833),_0x537742=window[_0x5721ae([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5721ae([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x537742)return;const _0x37b650=await _0x537742[_0x5721ae([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5721ae([0x6a,0x77,0x6b]),_0xc3b439,{[_0x5721ae([0x6e,0x61,0x6d,0x65])]:_0x5721ae([0x45,0x43,0x44,0x53,0x41]),[_0x5721ae([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5721ae([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5721ae([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x537742[_0x5721ae([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5721ae([0x6e,0x61,0x6d,0x65])]:_0x5721ae([0x45,0x43,0x44,0x53,0x41]),[_0x5721ae([0x68,0x61,0x73,0x68])]:{[_0x5721ae([0x6e,0x61,0x6d,0x65])]:_0x5721ae([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37b650,_0x4a88cd,_0xa28d77)||(_0x59ac98=!0x1);}}function _0x3285a4(_0x33b3f8){return _0x33b3f8[_0x5721ae([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5721ae([0x65,0x79]))?JSON[_0x5721ae([0x70,0x61,0x72,0x73,0x65])](_0x442b32(_0x33b3f8)):null;}function _0x442b32(_0x352888){return window[_0x5721ae([0x61,0x74,0x6f,0x62])](_0x352888[_0x5721ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5721ae([0x2b]))[_0x5721ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5721ae([0x2f])));}function _0x3c92f5(_0x132e58){let _0x2e5ecc=0x1505;function _0x47ccb0(_0x552e7e){for(let _0x40b0a6=0x0;_0x40b0a6<_0x552e7e[_0x5721ae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40b0a6++){const _0x2f3316=_0x552e7e[_0x5721ae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40b0a6);_0x2e5ecc=(_0x2e5ecc<<0x5)+_0x2e5ecc+_0x2f3316,_0x2e5ecc&=_0x2e5ecc;}}function _0x5666df(_0x14fee8){Array[_0x5721ae([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14fee8)?_0x14fee8[_0x5721ae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5666df):_0x14fee8&&typeof _0x14fee8==_0x5721ae([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5721ae([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14fee8)[_0x5721ae([0x73,0x6f,0x72,0x74])]()[_0x5721ae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c6b11,_0x470076])=>{_0x47ccb0(_0x4c6b11),_0x5666df(_0x470076);}):_0x47ccb0(window[_0x5721ae([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14fee8));}return _0x5666df(_0x132e58),_0x2e5ecc>>>0x0;}function _0x13489e(_0x5899d4){return _0x5899d4[_0x5721ae([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5721ae([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5721ae([0x30]));}function _0x57133a(_0x1da659){return _0x1da659[_0x5721ae([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5721ae([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5721ae([0x6a,0x6f,0x69,0x6e])]('');}function _0x35746e(){}function _0x5721ae(_0x1d232c){const _0x267659=_0x4bfe;return _0x1d232c[_0x267659(0x187)](_0x3c5fd6=>String[_0x267659(0x18f)](_0x3c5fd6))[_0x267659(0x171)]('');}_0x55b0ab(await _0x3363c7());}(this);}[_0x38255b(0x169)](){const _0x1e0a1c=_0x38255b,_0x38c6f6=this[_0x1e0a1c(0x165)];if(!_0x38c6f6[_0x1e0a1c(0x177)][_0x1e0a1c(0x17d)](_0x1e0a1c(0x175)))return;const _0x39d089=_0x38c6f6[_0x1e0a1c(0x177)][_0x1e0a1c(0x17d)](_0x1e0a1c(0x193))[_0x1e0a1c(0x18e)](_0x1b359d=>_0x1e0a1c(0x168)==typeof _0x1b359d&&(!_0x37618e(_0x1b359d)&&isNaN(Number(_0x1b359d))));if(_0x39d089[_0x1e0a1c(0x192)])throw new _0x409fce(_0x1e0a1c(0x176),null,{'namedPresets':_0x39d089});}[_0x38255b(0x163)](){const _0x3b1d2f=_0x38255b,_0x97d9f8=this[_0x3b1d2f(0x165)],_0x2efa24=this[_0x3b1d2f(0x165)][_0x3b1d2f(0x177)][_0x3b1d2f(0x17d)](_0x3b1d2f(0x16d));_0x97d9f8[_0x3b1d2f(0x184)][_0x3b1d2f(0x18d)](_0x3b1d2f(0x15f))[_0x3b1d2f(0x164)]({'model':{'key':_0x3b1d2f(0x16e)},'view':_0x547be1=>String(_0x547be1)===String(_0x2efa24)?null:{'key':_0x3b1d2f(0x183),'value':{'line-height':_0x547be1}}}),_0x97d9f8[_0x3b1d2f(0x184)][_0x3b1d2f(0x18d)](_0x3b1d2f(0x17f))[_0x3b1d2f(0x164)]({'model':{'key':_0x3b1d2f(0x16e),'value':_0x4a9097=>{const _0x499c55=_0x3b1d2f;let _0x2358ef=_0x4a9097[_0x499c55(0x190)](_0x499c55(0x166));return _0x21e85d(_0x2358ef)&&(_0x2358ef=String(Number(_0x2358ef[_0x499c55(0x161)](0x0,-0x1))/0x64)),String(_0x2358ef)===String(_0x2efa24)?null:_0x2358ef;}},'view':{'styles':{'line-height':/.*/}}});}[_0x38255b(0x17b)](){const _0x55a0ae=_0x38255b,_0x3cfc69=this[_0x55a0ae(0x165)],_0x368a7a=this[_0x55a0ae(0x165)][_0x55a0ae(0x177)][_0x55a0ae(0x17d)](_0x55a0ae(0x16d)),_0x14cc13=_0x2ab7a8(this[_0x55a0ae(0x165)][_0x55a0ae(0x177)][_0x55a0ae(0x17d)](_0x55a0ae(0x16e)))[_0x55a0ae(0x18e)](_0x429cd9=>_0x429cd9[_0x55a0ae(0x194)]),_0x4e75c5=_0x6b23cd(_0x55a0ae(0x16e),_0x14cc13);_0x3cfc69[_0x55a0ae(0x184)][_0x55a0ae(0x164)](_0x4e75c5),_0x3cfc69[_0x55a0ae(0x184)][_0x55a0ae(0x18d)](_0x55a0ae(0x17f))[_0x55a0ae(0x164)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x55a0ae(0x16e),'value':_0xf9d6c9=>{const _0xb747c4=_0x55a0ae;let _0x1ea7f6=_0xf9d6c9[_0xb747c4(0x190)](_0xb747c4(0x166));return _0x21e85d(_0x1ea7f6)&&(_0x1ea7f6=String(Number(_0x1ea7f6[_0xb747c4(0x161)](0x0,-0x1))/0x64)),_0x1ea7f6===String(_0x368a7a)?null:_0x4e75c5[_0xb747c4(0x194)][_0xb747c4(0x160)][_0xb747c4(0x178)](_0x1ea7f6)?_0x1ea7f6: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 _0x3253df}from'ckeditor5/src/core.js';import{addListToDropdown as _0x2d148c,createDropdown as _0x4a0918,MenuBarMenuListItemButtonView as _0x23cb96,MenuBarMenuListItemView as _0x14575b,MenuBarMenuListView as _0x4869a7,MenuBarMenuView as _0x29d196,UIModel as _0x56b975}from'ckeditor5/src/ui.js';import{Collection as _0x1ace69}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x20fe33}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x351970}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x3253df{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x410dcb={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x410dcb),this['_registerMenuBarComponent'](_0x410dcb),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b59c2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x419e87;for(const _0x53ee00 in _0x5b59c2){const _0x5a06d1=_0x53ee00,_0x40bb15=_0x5b59c2[_0x5a06d1];if('lineHeightLicenseKeyValid'==_0x40bb15||'lineHeightLicenseKeyInvalid'==_0x40bb15||'lineHeightLicenseKeyExpired'==_0x40bb15||'lineHeightLicenseKeyDomainLimit'==_0x40bb15||'lineHeightLicenseKeyNotAllowed'==_0x40bb15||'lineHeightLicenseKeyEvaluationLimit'==_0x40bb15||'lineHeightLicenseKeyUsageLimit'==_0x40bb15){delete _0x5b59c2[_0x5a06d1],_0x419e87=_0x40bb15,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x419e87&&_0x5b59c2['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x419e87&&_0x5b59c2['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x419e87&&_0x5b59c2['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x419e87&&_0x5b59c2['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x419e87&&_0x5b59c2['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x419e87&&_0x5b59c2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x28837e=this['editor'],t=_0x28837e['t'],_0x5d9cd4=_0x28837e['config']['get']('lineHeight'),_0x43a152={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x351970(_0x5d9cd4)['map'](_0xdfe973=>{const _0x1eff98=_0x43a152[_0xdfe973['title']];return _0x1eff98&&_0x1eff98!=_0xdfe973['title']&&(_0xdfe973=Object['assign']({},_0xdfe973,{'title':_0x1eff98})),_0xdfe973;});}['_prepareListOptions'](){const _0x352784=this['editor']['commands']['get']('lineHeight'),_0x4dd0eb=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5dc4c5=this['_getLocalizedLineHeightOptions'](),_0x2c225b=new _0x1ace69(),_0x4563fb=_0x4b3cb5=>'default'===_0x4b3cb5||String(_0x4dd0eb)===_0x4b3cb5;for(const _0x51128e of _0x5dc4c5){const _0x59f305={'type':'button','model':new _0x56b975({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x51128e['title'],'withText':!0x0})};_0x4563fb(_0x51128e['model'])?(_0x59f305['model']['bind']('isOn')['to'](_0x352784,'value',_0x5f8bcf=>!_0x5f8bcf),_0x59f305['model']['commandParam']=void 0x0):(_0x59f305['model']['bind']('isOn')['to'](_0x352784,'value',_0x4dfcfe=>_0x4dfcfe===_0x51128e['model']),_0x59f305['model']['commandParam']=_0x51128e['model']),_0x2c225b['add'](_0x59f305);}if(this['_shouldRenderCustomValueOption']()){const _0x5b30c3=this['_getCustomValueOptionDefinition'](_0x5dc4c5);_0x2c225b['add'](_0x5b30c3);}return _0x2c225b;}['_getCustomValueOptionDefinition'](_0x4a6e3c){const _0x21deb4=this['editor'],t=_0x21deb4['t'],_0x21af2f=_0x21deb4['commands']['get']('lineHeight'),_0xda65ac=_0x4a6e3c['map'](_0x262324=>_0x262324['model']),_0xe9638e={'type':'button','model':new _0x56b975({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xe9638e['model']['bind']('commandParam')['to'](_0x21af2f,'value'),_0xe9638e['model']['bind']('isOn')['to'](_0x21af2f,'value',_0x415291=>!!_0x415291&&!_0xda65ac['includes'](String(_0x415291))),_0xe9638e['model']['bind']('label')['to'](_0x21af2f,'value',_0x4848a9=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4848a9))),_0xe9638e;}['_registerToolbarComponent']({accessibleLabel:_0x17fad0,options:_0x5cc8c9}){const _0x239afd=this['editor'],_0x4ec0a1=_0x239afd['commands']['get']('lineHeight');_0x239afd['ui']['componentFactory']['add']('lineHeight',_0x2dcb02=>{const _0x27b24f=_0x4a0918(_0x2dcb02);return _0x2d148c(_0x27b24f,_0x5cc8c9,{'role':'menu','ariaLabel':_0x17fad0}),_0x27b24f['buttonView']['set']({'label':_0x17fad0,'tooltip':!0x0,'icon':_0x20fe33}),_0x27b24f['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x27b24f['bind']('isEnabled')['to'](_0x4ec0a1),this['listenTo'](_0x27b24f,'execute',_0xf02f18=>{_0x239afd['execute'](_0xf02f18['source']['commandName'],{'value':_0xf02f18['source']['commandParam']}),_0x239afd['editing']['view']['focus']();}),_0x27b24f['once']('change:isOpen',()=>{const _0x401edb=_0x27b24f['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x27b24f,_0x5cc8c9,_0x401edb);}),_0x27b24f;});}['_registerMenuBarComponent']({accessibleLabel:_0x369d54,options:_0x5303e3}){const _0x446667=this['editor'],_0x4c2e4a=_0x446667['commands']['get']('lineHeight');_0x446667['ui']['componentFactory']['add']('menuBar:lineHeight',_0x22bd7b=>{const _0x391117=new _0x29d196(_0x22bd7b);_0x391117['buttonView']['set']({'label':_0x369d54,'icon':_0x20fe33}),_0x391117['bind']('isEnabled')['to'](_0x4c2e4a);const _0x2f16eb=new _0x4869a7(_0x22bd7b);for(const _0x476b37 of _0x5303e3){const _0x4c7e6a=new _0x14575b(_0x22bd7b,_0x391117),_0xf692a3=new _0x23cb96(_0x22bd7b);_0xf692a3['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xf692a3['bind'](...Object['keys'](_0x476b37['model']))['to'](_0x476b37['model']),_0xf692a3['delegate']('execute')['to'](_0x391117),_0xf692a3['on']('execute',()=>{_0x446667['execute'](_0x476b37['model']['commandName'],{'value':_0x476b37['model']['commandParam']}),_0x446667['editing']['view']['focus']();}),_0x4c7e6a['children']['add'](_0xf692a3),_0x2f16eb['items']['add'](_0x4c7e6a);}return _0x391117['panelView']['children']['add'](_0x2f16eb),this['_attachCustomOptionVisibilityHandler'](_0x391117,_0x5303e3,_0x2f16eb),_0x391117;});}['_attachCustomOptionVisibilityHandler'](_0x5dcb5f,_0x4db290,_0x14a478){if(!this['_shouldRenderCustomValueOption']())return;const _0x13886a=()=>{if(!_0x5dcb5f['isOpen'])return;_0x14a478['items']['last']['isVisible']=Boolean(_0x4db290['last']['model']['isOn']);};_0x13886a(),_0x5dcb5f['on']('change:isOpen',()=>{_0x13886a();});}}
|
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(_0x358170,_0x26ac77){const _0x5440d5=_0x3cae,_0xcf2ad4=_0x358170();while(!![]){try{const _0x3fc512=parseInt(_0x5440d5(0x86))/0x1*(parseInt(_0x5440d5(0x70))/0x2)+-parseInt(_0x5440d5(0x6c))/0x3*(-parseInt(_0x5440d5(0x8b))/0x4)+-parseInt(_0x5440d5(0x8d))/0x5+-parseInt(_0x5440d5(0x76))/0x6+parseInt(_0x5440d5(0x74))/0x7+-parseInt(_0x5440d5(0x78))/0x8*(-parseInt(_0x5440d5(0x87))/0x9)+-parseInt(_0x5440d5(0x85))/0xa;if(_0x3fc512===_0x26ac77)break;else _0xcf2ad4['push'](_0xcf2ad4['shift']());}catch(_0x6fa939){_0xcf2ad4['push'](_0xcf2ad4['shift']());}}}(_0x49e6,0x9a967));const v={get 'single'(){const _0x226abd=_0x3cae;return{'title':_0x226abd(0x81),'model':_0x226abd(0x7d),'view':{'key':_0x226abd(0x88),'value':_0x226abd(0x6f)}};},get 'double'(){const _0x21334d=_0x3cae;return{'title':_0x21334d(0x72),'model':_0x21334d(0x84),'view':{'key':_0x21334d(0x88),'value':_0x21334d(0x75)}};}};export function isLineHeightDefaultValue(_0x276f23){const _0x478453=_0x3cae;return _0x478453(0x79)==typeof _0x276f23&&_0x478453(0x71)===_0x276f23[_0x478453(0x7c)]();}export function normalizeOptions(_0x52f388){const _0x24c012=_0x3cae;return _0x52f388[_0x24c012(0x82)][_0x24c012(0x6d)](_0x221606=>isLineHeightDefaultValue(_0x221606)?{'title':String(_0x52f388[_0x24c012(0x89)]),'model':_0x24c012(0x71)}:(_0x24c012(0x7b)==typeof _0x221606&&(_0x221606=String(_0x221606)),_0x24c012(0x79)!=typeof _0x221606?_0x221606:parseFloat(_0x221606)?{'title':_0x221606,'model':_0x221606,'view':{'name':_0x24c012(0x6e),'styles':{'line-height':_0x221606}}}:findPreset(_0x221606)))[_0x24c012(0x7e)](_0x27bf0a=>void 0x0!==_0x27bf0a);}function _0x3cae(_0x4e065b,_0x38a850){const _0x49e63e=_0x49e6();return _0x3cae=function(_0x3cae88,_0x502514){_0x3cae88=_0x3cae88-0x6c;let _0x2742a6=_0x49e63e[_0x3cae88];return _0x2742a6;},_0x3cae(_0x4e065b,_0x38a850);}function _0x49e6(){const _0x30f74b=['11833340vNlRqV','2cgPipY','1096866MYgFdJ','class','defaultValue','value','1568bdfwuX','key','6094895xafHgT','8907WrBDIG','map','span','line-height-single','1004342iWSsNX','default','Double','view','2511656jlLJoz','line-height-double','2798916ixKtje','values','64lEAHUr','string','style','number','toLowerCase','single','filter','line-height:','model','Single','options','push','double'];_0x49e6=function(){return _0x30f74b;};return _0x49e6();}export function findPreset(_0x43fa10){const _0x213c06=_0x3cae;return _0x213c06(0x79)==typeof _0x43fa10?v[_0x43fa10]:v[_0x43fa10[_0x213c06(0x80)]];}export function buildDefinition(_0x51e8c4,_0x3b0e2a){const _0x337c04=_0x3cae,_0x316be1={'model':{'key':_0x51e8c4,'values':[]},'view':{}};for(const _0x16062c of _0x3b0e2a)_0x337c04(0x88)===_0x16062c[_0x337c04(0x73)]?.[_0x337c04(0x8c)]?(_0x316be1[_0x337c04(0x80)][_0x337c04(0x77)][_0x337c04(0x83)](_0x16062c[_0x337c04(0x80)]),_0x316be1[_0x337c04(0x73)][_0x16062c[_0x337c04(0x80)]]={'key':_0x337c04(0x88),'value':_0x16062c[_0x337c04(0x73)][_0x337c04(0x8a)]}):(_0x316be1[_0x337c04(0x80)][_0x337c04(0x77)][_0x337c04(0x83)](_0x16062c[_0x337c04(0x80)]),_0x316be1[_0x337c04(0x73)][_0x16062c[_0x337c04(0x80)]]={'key':_0x337c04(0x7a),'value':_0x337c04(0x7f)+_0x16062c[_0x337c04(0x80)]+';'});return _0x316be1;}
|
|
@@ -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
|