alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum RichTextEditorEnterKeyBehavior

    Specifies the HTML element type generated when the Enter key is pressed in the SfRichTextEditor.

    Namespace: Syncfusion.Maui.RichTextEditor
    Assembly: Syncfusion.Maui.RichTextEditor.dll
    Syntax
    public enum RichTextEditorEnterKeyBehavior

    Fields

    Name Description
    BR

    Creates line break (<br>) elements when Enter key is pressed. Results in single-line breaks without creating new block elements.

    DIV

    Creates division (<div>) elements when Enter key is pressed. Useful for layouts that require block-level containers without paragraph semantics.

    P

    Creates paragraph (<p>) elements when Enter key is pressed. This is the default and recommended mode for semantic HTML structure.

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