# ListPropertiesConfig

interface

The configuration of the [list properties](module_list_listproperties-ListProperties.md) feature and the [legacy list properties](module_list_legacylistproperties-LegacyListProperties.md) feature.

This configuration controls the individual list properties. For instance, it enables or disables specific editor commands operating on lists ([`'listStyle'`](module_list_listproperties_liststylecommand-ListStyleCommand.md), [`'listStart'`](module_list_listproperties_liststartcommand-ListStartCommand.md), [`'listReversed'`](module_list_listproperties_listreversedcommand-ListReversedCommand.md), or on the legacy lists [`'listStyle'`](module_list_legacylistproperties_legacyliststylecommand-LegacyListStyleCommand.md), [`'listStart'`](module_list_legacylistproperties_legacyliststartcommand-LegacyListStartCommand.md), [`'listReversed'`](module_list_legacylistproperties_legacylistreversedcommand-LegacyListReversedCommand.md)), the look of the UI (`'numberedList'` and `'bulletedList'` dropdowns), and the editor data pipeline (allowed HTML attributes).

```typescript
ClassicEditor
	.create( {
		list: {
			properties: {
				styles: true,
				startIndex: true,
				reversed: true
			}
		}
	} )
	.then( ... )
	.catch( ... );
```

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/listconfig.ts#L112)

<a id="properties">

## Properties

<a id="member-reversed">

### `reversed?: boolean`

When set, the reversed list feature will be enabled. It allows changing the `reversed` HTML attribute of the numbered lists. As a result, it will be possible to make the list order descending instead of ascending.

**Note**: This configuration does not affect bulleted and to-do lists.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/listconfig.ts#L144)

Defaults to `false`

<a id="member-startIndex">

### `startIndex?: boolean`

When set, the list start index feature will be enabled. It allows changing the `start` HTML attribute of the numbered lists. As a result, it will be possible to specify the start value of the first item in an ordered list.

**Note**: This configuration does not affect bulleted and to-do lists.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/listconfig.ts#L134)

Defaults to `false`

<a id="member-styles">

### `styles?: boolean | ListPropertiesStyleConfig | ArrayOrItem<ListPropertiesStyleListType>`

When set, the list style feature will be enabled. It allows changing the `list-style-type` style or the `type` HTML attribute of a list.

**Note**: Styling using the `type` HTML attribute is only available in [list properties](module_list_listproperties-ListProperties.md) ([learn more](module_list_listconfig-ListPropertiesStyleConfig.md)).

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-list/src/listconfig.ts#L124)

Defaults to `true`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
