Class ShiftEnterKeyTag
Specifies a tag to be used in the SfRichTextEditor component when the Shift + Enter keys are pressed.
Inheritance
System.Object
ShiftEnterKeyTag
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class ShiftEnterKeyTag : Enum
Remarks
This setting configures the tag inserted when Shift + Enter keys are pressed for soft breaks.
Fields
BR
When Shift + Enter keys are pressed, a new line break <br> tag will be inserted.
Declaration
public const ShiftEnterKeyTag BR
Field Value
Type | Description |
---|---|
ShiftEnterKeyTag | The <br> tag for a single line break. |
Remarks
Use for single line spacing without starting a new paragraph.
DIV
When Shift + Enter keys are pressed, a new <div> tag will be inserted.
Declaration
public const ShiftEnterKeyTag DIV
Field Value
Type | Description |
---|---|
ShiftEnterKeyTag | The <div> tag for divisions. |
Remarks
Suitable for soft separation of block elements.
P
When Shift + Enter keys are pressed, a new <p> tag will be inserted.
Declaration
public const ShiftEnterKeyTag P
Field Value
Type | Description |
---|---|
ShiftEnterKeyTag | The <p> tag for paragraphs. |
Remarks
Can be used for more significant breaks in content.