Class HtmlEditorCommands
Contains the commands which RadzenHtmlEditor supports.
Inherited Members
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public static class HtmlEditorCommands
Fields
AlignCenter
Centers the selected text.
Declaration
public static string AlignCenter
Field Value
Type | Description |
---|---|
string |
AlignLeft
Aligns the selected text to the left.
Declaration
public static string AlignLeft
Field Value
Type | Description |
---|---|
string |
AlignRight
Aligns the selected text to the right.
Declaration
public static string AlignRight
Field Value
Type | Description |
---|---|
string |
Background
Sets the background color of the selected text.
Declaration
public static string Background
Field Value
Type | Description |
---|---|
string |
Bold
Bolds the selected text.
Declaration
public static string Bold
Field Value
Type | Description |
---|---|
string |
Color
Sets the text color of the selection.
Declaration
public static string Color
Field Value
Type | Description |
---|---|
string |
FontName
Sets the font of the selected text.
Declaration
public static string FontName
Field Value
Type | Description |
---|---|
string |
FontSize
Sets the font size of the selected text.
Declaration
public static string FontSize
Field Value
Type | Description |
---|---|
string |
FormatBlock
Formats the selection as paragraph, heading etc.
Declaration
public static string FormatBlock
Field Value
Type | Description |
---|---|
string |
Indent
Indents the selection.
Declaration
public static string Indent
Field Value
Type | Description |
---|---|
string |
InsertHtml
Inserts html at cursor location.
Declaration
public static string InsertHtml
Field Value
Type | Description |
---|---|
string |
Italic
Makes the selected text italic.
Declaration
public static string Italic
Field Value
Type | Description |
---|---|
string |
Justify
Justifies the selected text.
Declaration
public static string Justify
Field Value
Type | Description |
---|---|
string |
OrderedList
Inserts an empty ordered list or makes an ordered list from the selected text.
Declaration
public static string OrderedList
Field Value
Type | Description |
---|---|
string |
Outdent
Outdents the selected text.
Declaration
public static string Outdent
Field Value
Type | Description |
---|---|
string |
Redo
Repeats the last edit operations.
Declaration
public static string Redo
Field Value
Type | Description |
---|---|
string |
RemoveFormat
Removes visual formatting from the selected text.
Declaration
public static string RemoveFormat
Field Value
Type | Description |
---|---|
string |
StrikeThrough
Strikes through the selected text.
Declaration
public static string StrikeThrough
Field Value
Type | Description |
---|---|
string |
Subscript
Applies subscript styling to the selected text.
Declaration
public static string Subscript
Field Value
Type | Description |
---|---|
string |
Superscript
Applies superscript styling to the selected text.
Declaration
public static string Superscript
Field Value
Type | Description |
---|---|
string |
Underline
Underlines the selected text.
Declaration
public static string Underline
Field Value
Type | Description |
---|---|
string |
Undo
Undoes the last edit operation.
Declaration
public static string Undo
Field Value
Type | Description |
---|---|
string |
Unlink
Unlinks a link.
Declaration
public static string Unlink
Field Value
Type | Description |
---|---|
string |
UnorderedList
Inserts an empty unordered list or makes an unordered list from the selected text.
Declaration
public static string UnorderedList
Field Value
Type | Description |
---|---|
string |