@ckeditor/ckeditor5-list 45.0.0-alpha.9 → 45.1.0-alpha.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/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/legacylistproperties/legacyliststartcommand.d.ts +1 -0
- package/src/legacylistproperties/legacyliststartcommand.js +1 -0
- package/src/legacylistproperties/legacyliststylecommand.d.ts +2 -1
- package/src/legacylistproperties/legacyliststylecommand.js +2 -1
- package/src/list/listediting.js +2 -2
- package/src/list/utils/model.d.ts +1 -0
- package/src/list/utils/model.js +1 -0
- package/src/listproperties/liststartcommand.d.ts +1 -0
- package/src/listproperties/liststartcommand.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-list",
|
|
3
|
-
"version": "45.
|
|
3
|
+
"version": "45.1.0-alpha.0",
|
|
4
4
|
"description": "Ordered and unordered lists feature to CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-clipboard": "45.
|
|
17
|
-
"@ckeditor/ckeditor5-core": "45.
|
|
18
|
-
"@ckeditor/ckeditor5-engine": "45.
|
|
19
|
-
"@ckeditor/ckeditor5-enter": "45.
|
|
20
|
-
"@ckeditor/ckeditor5-icons": "45.
|
|
21
|
-
"@ckeditor/ckeditor5-typing": "45.
|
|
22
|
-
"@ckeditor/ckeditor5-ui": "45.
|
|
23
|
-
"@ckeditor/ckeditor5-utils": "45.
|
|
24
|
-
"ckeditor5": "45.
|
|
16
|
+
"@ckeditor/ckeditor5-clipboard": "45.1.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-enter": "45.1.0-alpha.0",
|
|
20
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.0",
|
|
21
|
+
"@ckeditor/ckeditor5-typing": "45.1.0-alpha.0",
|
|
22
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.0",
|
|
23
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.0",
|
|
24
|
+
"ckeditor5": "45.1.0-alpha.0"
|
|
25
25
|
},
|
|
26
26
|
"author": "CKSource (http://cksource.com/)",
|
|
27
27
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -61,7 +61,8 @@ export default class LegacyListStyleCommand extends Command {
|
|
|
61
61
|
/**
|
|
62
62
|
* Checks if the provided list style is valid. Also changes the selection to a list if it's not set yet.
|
|
63
63
|
*
|
|
64
|
-
* @param
|
|
64
|
+
* @param options Additional options.
|
|
65
|
+
* @param options.type The type of the list style. If `null` is specified, the function does nothing.
|
|
65
66
|
*/
|
|
66
67
|
private _tryToConvertItemsToList;
|
|
67
68
|
}
|
|
@@ -83,7 +83,8 @@ export default class LegacyListStyleCommand extends Command {
|
|
|
83
83
|
/**
|
|
84
84
|
* Checks if the provided list style is valid. Also changes the selection to a list if it's not set yet.
|
|
85
85
|
*
|
|
86
|
-
* @param
|
|
86
|
+
* @param options Additional options.
|
|
87
|
+
* @param options.type The type of the list style. If `null` is specified, the function does nothing.
|
|
87
88
|
*/
|
|
88
89
|
_tryToConvertItemsToList(options) {
|
|
89
90
|
if (!options.type) {
|
package/src/list/listediting.js
CHANGED
|
@@ -68,10 +68,10 @@ export default class ListEditing extends Plugin {
|
|
|
68
68
|
const multiBlock = editor.config.get('list.multiBlock');
|
|
69
69
|
if (editor.plugins.has('LegacyListEditing')) {
|
|
70
70
|
/**
|
|
71
|
-
* The `List` feature
|
|
71
|
+
* The `List` feature cannot be loaded together with the `LegacyList` plugin.
|
|
72
72
|
*
|
|
73
73
|
* @error list-feature-conflict
|
|
74
|
-
* @param conflictPlugin Name of the plugin.
|
|
74
|
+
* @param {string} conflictPlugin Name of the plugin.
|
|
75
75
|
*/
|
|
76
76
|
throw new CKEditorError('list-feature-conflict', this, { conflictPlugin: 'LegacyListEditing' });
|
|
77
77
|
}
|
|
@@ -137,6 +137,7 @@ export declare function mergeListItemBefore(listBlock: Node, parentBlock: Elemen
|
|
|
137
137
|
* @internal
|
|
138
138
|
* @param blocks The block or iterable of blocks.
|
|
139
139
|
* @param writer The model writer.
|
|
140
|
+
* @param options Additional options.
|
|
140
141
|
* @param options.expand Whether should expand the list of blocks to include complete list items.
|
|
141
142
|
* @param options.indentBy The number of levels the indentation should change (could be negative).
|
|
142
143
|
*/
|
package/src/list/utils/model.js
CHANGED
|
@@ -212,6 +212,7 @@ export function mergeListItemBefore(listBlock, parentBlock, writer) {
|
|
|
212
212
|
* @internal
|
|
213
213
|
* @param blocks The block or iterable of blocks.
|
|
214
214
|
* @param writer The model writer.
|
|
215
|
+
* @param options Additional options.
|
|
215
216
|
* @param options.expand Whether should expand the list of blocks to include complete list items.
|
|
216
217
|
* @param options.indentBy The number of levels the indentation should change (could be negative).
|
|
217
218
|
*/
|