alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum SlashMenuCommand

    Defines predefined commands for the slash menu.

    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public enum SlashMenuCommand
    Remarks

    These commands provide built-in functionality for common editing tasks, such as inserting structural elements or media. They are designed to work seamlessly with the editor's existing command system, ensuring consistency across slash menu interactions.

    Examples

    Use a predefined command in a slash menu item:

    new SlashMenuItemModel { Command = SlashMenuCommand.Heading1 }

    Fields

    Name Description
    Audio

    Inserts an audio element at the cursor position.

    Blockquote

    Inserts a blockquote element.

    CodeBlock

    Inserts a code block element.

    Heading1

    Inserts a level 1 heading element.

    Heading2

    Inserts a level 2 heading element.

    Heading3

    Inserts a level 3 heading element.

    Heading4

    Inserts a level 4 heading element.

    Image

    Inserts an image at the cursor position.

    Link

    Creates a hyperlink from the selected text or inserts a link.

    OrderedList

    Inserts an ordered (numbered) list.

    Paragraph

    Inserts a paragraph element.

    Table

    Inserts a table element.

    UnorderedList

    Inserts an unordered (bulleted) list.

    Video

    Inserts a video element at the cursor position.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved