# ResetIndentUsingClasses

class

The list item block indentation behavior that resets class-based indentation toward zero.

Unlike [`IndentUsingClasses`](module_indent_indentcommandbehavior_indentusingclasses-IndentUsingClasses.md), this behavior is enabled only in the backward (outdent) direction when a class-based indentation is set. This is because class-based indentation values cannot be negative, so the only way to reset them to zero is to remove the class by outdenting.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/resetindentusingclasses.ts#L22)

<a id="properties">

## Properties

<a id="member-classes">

### `classes: Array<string>` _(inherited)_

A list of classes used for indentation.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/indentusingclasses.ts#L26)

<a id="member-isForward">

### `isForward: boolean` _(inherited)_

The direction of indentation.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/indentusingclasses.ts#L21)

<a id="methods">

## Methods

<a id="function-constructor">

### `constructor( config = { config.classes, config.direction } )` _(inherited)_

Creates an instance of the indentation behavior.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/indentusingclasses.ts#L34)

#### Parameters

* `config: object`

  Properties

  * `config.classes: Array<string>`

    A list of classes used for indentation.

  * `config.direction: 'forward' | 'backward'`

    The direction of indentation.

<a id="function-checkEnabled">

### `checkEnabled( indentAttributeValue ) → boolean`

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/resetindentusingclasses.ts#L26)

#### Parameters

* `indentAttributeValue: string`

#### Returns

* `boolean`

<a id="function-getNextIndent">

### `getNextIndent( indentAttributeValue ) → string | undefined` _(inherited)_

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-indent/src/indentcommandbehavior/indentusingclasses.ts#L55)

#### Parameters

* `indentAttributeValue: string`

#### Returns

* `string | undefined`

---

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