# HtmlEditorCommands Class

Contains the commands which [RadzenHtmlEditor](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenHtmlEditor.md) supports.

Namespace: [Radzen](https://blazor.radzen.com/docs/api/Radzen.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- HtmlEditorCommands

## Syntax

```csharp
public static class HtmlEditorCommands
```

## Fields

| Field | Type | Description |
|------|------|-------------|
| AlignCenter | `string` | Centers the selected text. |
| AlignLeft | `string` | Aligns the selected text to the left. |
| AlignRight | `string` | Aligns the selected text to the right. |
| Background | `string` | Sets the background color of the selected text. |
| Bold | `string` | Bolds the selected text. |
| Color | `string` | Sets the text color of the selection. |
| FontName | `string` | Sets the font of the selected text. |
| FontSize | `string` | Sets the font size of the selected text. |
| FormatBlock | `string` | Formats the selection as paragraph, heading etc. |
| Indent | `string` | Indents the selection. |
| InsertHtml | `string` | Inserts html at cursor location. |
| Italic | `string` | Makes the selected text italic. |
| Justify | `string` | Justifies the selected text. |
| OrderedList | `string` | Inserts an empty ordered list or makes an ordered list from the selected text. |
| Outdent | `string` | Outdents the selected text. |
| Redo | `string` | Repeats the last edit operations. |
| RemoveFormat | `string` | Removes visual formatting from the selected text. |
| StrikeThrough | `string` | Strikes through the selected text. |
| Subscript | `string` | Applies subscript styling to the selected text. |
| Superscript | `string` | Applies superscript styling to the selected text. |
| Underline | `string` | Underlines the selected text. |
| Undo | `string` | Undoes the last edit operation. |
| Unlink | `string` | Unlinks a link. |
| UnorderedList | `string` | Inserts an empty unordered list or makes an unordered list from the selected text. |

