@ckeditor/ckeditor5-list 45.0.0 → 45.1.0-alpha.1

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 CHANGED
@@ -419,6 +419,7 @@ import { DomEventObserver, Matcher, TreeWalker, getFillerOffset } from '@ckedito
419
419
  * @internal
420
420
  * @param blocks The block or iterable of blocks.
421
421
  * @param writer The model writer.
422
+ * @param options Additional options.
422
423
  * @param options.expand Whether should expand the list of blocks to include complete list items.
423
424
  * @param options.indentBy The number of levels the indentation should change (could be negative).
424
425
  */ function indentBlocks(blocks, writer, { expand, indentBy = 1 } = {}) {
@@ -1968,10 +1969,10 @@ function shouldUseBogusParagraph(item, attributeNames, blocks = getAllListItemBl
1968
1969
  const multiBlock = editor.config.get('list.multiBlock');
1969
1970
  if (editor.plugins.has('LegacyListEditing')) {
1970
1971
  /**
1971
- * The `List` feature can not be loaded together with the `LegacyList` plugin.
1972
+ * The `List` feature cannot be loaded together with the `LegacyList` plugin.
1972
1973
  *
1973
1974
  * @error list-feature-conflict
1974
- * @param conflictPlugin Name of the plugin.
1975
+ * @param {string} conflictPlugin Name of the plugin.
1975
1976
  */ throw new CKEditorError('list-feature-conflict', this, {
1976
1977
  conflictPlugin: 'LegacyListEditing'
1977
1978
  });
@@ -2690,6 +2691,7 @@ function shouldUseBogusParagraph(item, attributeNames, blocks = getAllListItemBl
2690
2691
  * Executes the command.
2691
2692
  *
2692
2693
  * @fires execute
2694
+ * @param options Execute options.
2693
2695
  * @param options.startIndex The list start index.
2694
2696
  */ execute({ startIndex = 1 } = {}) {
2695
2697
  const model = this.editor.model;
@@ -6528,7 +6530,8 @@ function getViewListItemLength(element) {
6528
6530
  /**
6529
6531
  * Checks if the provided list style is valid. Also changes the selection to a list if it's not set yet.
6530
6532
  *
6531
- * @param The type of the list style. If `null` is specified, the function does nothing.
6533
+ * @param options Additional options.
6534
+ * @param options.type The type of the list style. If `null` is specified, the function does nothing.
6532
6535
  */ _tryToConvertItemsToList(options) {
6533
6536
  if (!options.type) {
6534
6537
  return;
@@ -6600,6 +6603,7 @@ function getViewListItemLength(element) {
6600
6603
  * Executes the command.
6601
6604
  *
6602
6605
  * @fires execute
6606
+ * @param options Execute options.
6603
6607
  * @param options.startIndex The list start index.
6604
6608
  */ execute({ startIndex = 1 } = {}) {
6605
6609
  const model = this.editor.model;