The active formats and history availability at the current design-surface selection, reported by JavaScript.
Object
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class MarkdownEditorToolStateThe active formats and history availability at the current design-surface selection, reported by JavaScript.
public MarkdownEditorToolState()The block at the current selection: p or h1 to h6, an empty string when the selection spans several kinds of blocks, or null when it contains no paragraph or heading at all.
public string Block { get; set; }
| Type | Description |
|---|---|
| string | The block at the current selection: p or h1 to h6, an empty string when the selection spans several kinds of blocks, or null when it contains no paragraph or heading at all. |
Whether the editor's history has a state to redo to.
public bool CanRedo { get; set; }
| Type | Description |
|---|---|
| bool | Whether the editor's history has a state to redo to. |
Whether the editor's history has a state to undo to.
public bool CanUndo { get; set; }
| Type | Description |
|---|---|
| bool | Whether the editor's history has a state to undo to. |
The commands (see MarkdownEditorCommands) active at the current selection.
public String[] Formats { get; set; }
| Type | Description |
|---|---|
| String[] | The commands (see MarkdownEditorCommands) active at the current selection. |
The alignment of the table column at the caret: none, left, center or right.
public string TableAlignment { get; set; }
| Type | Description |
|---|---|
| string | The alignment of the table column at the caret: none, left, center or right. |
The index of the table column at the caret, or -1 outside a table.
public int TableColumn { get; set; }
| Type | Description |
|---|---|
| int | The index of the table column at the caret, or -1 outside a table. |
The number of columns of the table at the caret, or 0 outside a table.
public int TableColumns { get; set; }
| Type | Description |
|---|---|
| int | The number of columns of the table at the caret, or 0 outside a table. |
The index of the table row at the caret, or -1 outside a table.
public int TableRow { get; set; }
| Type | Description |
|---|---|
| int | The index of the table row at the caret, or -1 outside a table. |
The number of rows of the table at the caret, or 0 outside a table.
public int TableRows { get; set; }
| Type | Description |
|---|---|
| int | The number of rows of the table at the caret, or 0 outside a table. |