Increase and Decrease Indent in ASP.NET Core Rich Text Editor Control
18 Nov 20181 minute to read
The Rich Text Editor allows you to set indentation for text blocks such as paragraphs, headings, or lists. This feature helps you visually organize and structure your content, making it easier to read and understand.
The Rich Text Editor allows you to configure two types of indentation tools, Indent and Outdent tool in the Rich Text Editor toolbar using the ToolbarSettings items property.
| Options | Description |
|---|---|
| Indent | Increases the indentation |
| Outdent | Decreases the indentation |
To adjust the text indentation:
- Select the desired text or paragraph.
- Click the Indent or Outdent button in the toolbar.
- The indentation of the selected text will be modified accordingly.
To configure the Indent and Outdent toolbar item, refer to the below code.