@ckeditor/ckeditor5-list 31.1.0 → 34.0.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/LICENSE.md +2 -2
- package/README.md +2 -1
- package/build/list.js +3 -3
- package/build/list.js.map +1 -0
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -0
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/ckeditor5-metadata.json +8 -4
- package/lang/contexts.json +5 -1
- package/lang/translations/ar.po +17 -1
- package/lang/translations/ast.po +17 -1
- package/lang/translations/az.po +17 -1
- package/lang/translations/bg.po +17 -1
- package/lang/translations/cs.po +17 -1
- package/lang/translations/da.po +17 -1
- package/lang/translations/de-ch.po +17 -1
- package/lang/translations/de.po +17 -1
- package/lang/translations/el.po +40 -24
- package/lang/translations/en-au.po +17 -1
- package/lang/translations/en-gb.po +17 -1
- package/lang/translations/en.po +17 -1
- package/lang/translations/eo.po +17 -1
- package/lang/translations/es.po +35 -19
- package/lang/translations/et.po +17 -1
- package/lang/translations/eu.po +17 -1
- package/lang/translations/fa.po +17 -1
- package/lang/translations/fi.po +17 -1
- package/lang/translations/fr.po +17 -1
- package/lang/translations/gl.po +17 -1
- package/lang/translations/he.po +17 -1
- package/lang/translations/hi.po +17 -1
- package/lang/translations/hr.po +17 -1
- package/lang/translations/hu.po +17 -1
- package/lang/translations/id.po +17 -1
- package/lang/translations/it.po +17 -1
- package/lang/translations/ja.po +17 -1
- package/lang/translations/jv.po +125 -0
- package/lang/translations/km.po +17 -1
- package/lang/translations/kn.po +17 -1
- package/lang/translations/ko.po +17 -1
- package/lang/translations/ku.po +17 -1
- package/lang/translations/lt.po +17 -1
- package/lang/translations/lv.po +17 -1
- package/lang/translations/nb.po +17 -1
- package/lang/translations/ne.po +17 -1
- package/lang/translations/nl.po +17 -1
- package/lang/translations/no.po +17 -1
- package/lang/translations/pl.po +17 -1
- package/lang/translations/pt-br.po +17 -1
- package/lang/translations/pt.po +17 -1
- package/lang/translations/ro.po +17 -1
- package/lang/translations/ru.po +17 -1
- package/lang/translations/si.po +17 -1
- package/lang/translations/sk.po +17 -1
- package/lang/translations/sq.po +17 -1
- package/lang/translations/sr-latn.po +17 -1
- package/lang/translations/sr.po +17 -1
- package/lang/translations/sv.po +17 -1
- package/lang/translations/tk.po +17 -1
- package/lang/translations/tr.po +17 -1
- package/lang/translations/ug.po +17 -1
- package/lang/translations/uk.po +17 -1
- package/lang/translations/uz.po +17 -1
- package/lang/translations/vi.po +17 -1
- package/lang/translations/zh-cn.po +17 -1
- package/lang/translations/zh.po +17 -1
- package/package.json +39 -27
- package/src/documentlist/converters.js +470 -0
- package/src/documentlist/documentlistcommand.js +216 -0
- package/src/documentlist/documentlistediting.js +676 -0
- package/src/documentlist/documentlistindentcommand.js +182 -0
- package/src/documentlist/documentlistmergecommand.js +235 -0
- package/src/documentlist/documentlistsplitcommand.js +114 -0
- package/src/documentlist/utils/listwalker.js +260 -0
- package/src/documentlist/utils/model.js +534 -0
- package/src/documentlist/utils/postfixers.js +138 -0
- package/src/documentlist/utils/view.js +148 -0
- package/src/documentlist.js +36 -0
- package/src/documentlistproperties/converters.js +57 -0
- package/src/documentlistproperties/documentlistpropertiesediting.js +338 -0
- package/src/documentlistproperties/documentlistreversedcommand.js +76 -0
- package/src/documentlistproperties/documentliststartcommand.js +76 -0
- package/src/documentlistproperties/documentliststylecommand.js +140 -0
- package/src/documentlistproperties/utils/style.js +41 -0
- package/src/documentlistproperties.js +37 -0
- package/src/index.js +8 -8
- package/src/{converters.js → list/converters.js} +24 -11
- package/src/{indentcommand.js → list/indentcommand.js} +2 -2
- package/src/{listcommand.js → list/listcommand.js} +3 -3
- package/src/{listediting.js → list/listediting.js} +12 -13
- package/src/{listui.js → list/listui.js} +4 -4
- package/src/{utils.js → list/utils.js} +81 -5
- package/src/list.js +29 -5
- package/src/{liststyleediting.js → listproperties/listpropertiesediting.js} +303 -125
- package/src/listproperties/listpropertiesui.js +313 -0
- package/src/listproperties/listreversedcommand.js +64 -0
- package/src/listproperties/liststartcommand.js +63 -0
- package/src/{liststylecommand.js → listproperties/liststylecommand.js} +40 -25
- package/src/listproperties/ui/collapsibleview.js +152 -0
- package/src/listproperties/ui/listpropertiesview.js +405 -0
- package/src/listproperties.js +101 -0
- package/src/liststyle.js +12 -6
- package/src/{checktodolistcommand.js → todolist/checktodolistcommand.js} +3 -3
- package/src/{todolistconverters.js → todolist/todolistconverters.js} +9 -5
- package/src/{todolistediting.js → todolist/todolistediting.js} +5 -5
- package/src/{todolistui.js → todolist/todolistui.js} +4 -4
- package/src/todolist.js +5 -5
- package/theme/collapsible.css +10 -0
- package/theme/documentlist.css +8 -0
- package/theme/listproperties.css +10 -0
- package/theme/liststyles.css +2 -6
- package/theme/todolist.css +1 -1
- package/src/liststyleui.js +0 -225
package/src/list.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
* @module list/list
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import ListEditing from './listediting';
|
|
11
|
-
import ListUI from './listui';
|
|
10
|
+
import ListEditing from './list/listediting';
|
|
11
|
+
import ListUI from './list/listui';
|
|
12
12
|
|
|
13
13
|
import { Plugin } from 'ckeditor5/src/core';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* The list feature.
|
|
17
17
|
*
|
|
18
|
-
* This is a "glue" plugin that loads the {@link module:list/listediting~ListEditing list editing feature}
|
|
19
|
-
* and {@link module:list/listui~ListUI list UI feature}.
|
|
18
|
+
* This is a "glue" plugin that loads the {@link module:list/list/listediting~ListEditing list editing feature}
|
|
19
|
+
* and {@link module:list/list/listui~ListUI list UI feature}.
|
|
20
20
|
*
|
|
21
21
|
* @extends module:core/plugin~Plugin
|
|
22
22
|
*/
|
|
@@ -35,3 +35,27 @@ export default class List extends Plugin {
|
|
|
35
35
|
return 'List';
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The configuration of the {@link module:list/list~List list} feature
|
|
41
|
+
* and the {@link module:list/documentlist~DocumentList document list} feature.
|
|
42
|
+
*
|
|
43
|
+
* ClassicEditor
|
|
44
|
+
* .create( editorElement, {
|
|
45
|
+
* list: ... // The list feature configuration.
|
|
46
|
+
* } )
|
|
47
|
+
* .then( ... )
|
|
48
|
+
* .catch( ... );
|
|
49
|
+
*
|
|
50
|
+
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
51
|
+
*
|
|
52
|
+
* @interface ListConfig
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The configuration of the {@link module:list/list~List} feature and the {@link module:list/documentlist~DocumentList} feature.
|
|
57
|
+
*
|
|
58
|
+
* Read more in {@link module:list/list~ListConfig}.
|
|
59
|
+
*
|
|
60
|
+
* @member {module:module:list/list~ListConfig} module:core/editor/editorconfig~EditorConfig#list
|
|
61
|
+
*/
|