The result of an edit in RadzenMarkdownEditor, sent to the browser to refresh the editing surface.
Object
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class MarkdownEditorUpdateThe result of an edit in RadzenMarkdownEditor, sent to the browser to refresh the editing surface.
public MarkdownEditorUpdate()The design surface HTML, or null when the surface does not need to be replaced.
public string Html { get; set; }
| Type | Description |
|---|---|
| string | The design surface HTML, or null when the surface does not need to be replaced. |
The text segments of Html as flat triples of document position start, position end and rendered length.
public Int32[] Segments { get; set; }
| Type | Description |
|---|---|
| Int32[] | The text segments of Html as flat triples of document position start, position end and rendered length. |
The selection end after the edit, in the same units as SelectionStart.
public int SelectionEnd { get; set; }
| Type | Description |
|---|---|
| int | The selection end after the edit, in the same units as SelectionStart. |
The selection start after the edit: a position in the rendered document in Design mode, an offset in the markdown text in Source mode.
public int SelectionStart { get; set; }
| Type | Description |
|---|---|
| int | The selection start after the edit: a position in the rendered document in Design mode, an offset in the markdown text in Source mode. |
The tool state at the selection after the edit.
public MarkdownEditorToolState State { get; set; }
| Type | Description |
|---|---|
| MarkdownEditorToolState | The tool state at the selection after the edit. |
The whole markdown text, sent when the source textarea must be replaced.
public string Text { get; set; }
| Type | Description |
|---|---|
| string | The whole markdown text, sent when the source textarea must be replaced. |
The version of the edit this update answers, as sent by the browser.
public int Version { get; set; }
| Type | Description |
|---|---|
| int | The version of the edit this update answers, as sent by the browser. |