Skip to main content
All docs
V24.1

HtmlEditorMarkupType Enum

Lists markup languages in which the HTML Editor stores its markup.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum HtmlEditorMarkupType

Members

Name Description
Html

HyperText Markup Language (HTML).

Markdown

Markdown markup language.

Related API Members

The following properties accept/return HtmlEditorMarkupType values:

Remarks

Use the MarkupType property to specify the editor’s markup language.

Example

Html Editor - Markdown Markup Type

<DxHtmlEditor @bind-Markup="@Markup"
              MarkupType="HtmlEditorMarkupType.Markdown"
              Height="200px"
              Width="100%" />

<p><b>The result markup:</b> @Markup</p>

@code {
    string Markup { get; set; } = "";
}
See Also