Enum RichTextEditorWebMcpToolCommand
Discriminator for entries inside RichTextEditorWebMcpTool. Each built-in value maps to one catalogued tool by its camelCase name. Use Custom for developer-authored tools.
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.RichTextEditor.dll
Syntax
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum RichTextEditorWebMcpToolCommand
Fields
| Name | Description |
|---|---|
| ApplyBulletedListFormat | Applies the specified bullet style to a bulleted list. |
| ApplyNumberedListFormat | Applies the specified numbering style to a numbered list. |
| ClearFormatting | Removes formatting from the current selection. |
| CloseDialog | Closes a built-in editor dialog. |
| Custom | Developer-authored tool. Requires |
| FormatSelectedContent | Applies inline formatting to the current selection. |
| GetContent | Reads the complete HTML content of the editor. |
| GetSelectedHtml | Reads the HTML content of the current selection. |
| InsertBR | Inserts a line break at the cursor or replaces the selection. |
| InsertContent | Inserts plain text or HTML at the cursor or replaces the selection. |
| InsertImage | Inserts an image with the specified source and optional attributes. |
| InsertLink | Inserts a hyperlink. |
| InsertTable | Inserts a table with the specified row and column counts. |
| None | No command is selected; validation rejects this value. |
| PrintContent | Prints the editor content. |
| RedoLastAction | Reapplies the most recently undone editor action. |
| SelectAllContent | Selects all content in the editor. |
| SetBlockType | Changes the block type of the current selection or cursor line. |
| SetCodeBlock | Inserts a syntax-highlighted code block. |
| SetTextAlignment | Changes the horizontal alignment of the selected content. |
| ShowDialog | Opens a built-in editor dialog. |
| UndoLastAction | Reverts the most recent editor action. |