Class CodeBlockLanguageModel
Represents a model for configuring supported code block languages in the Rich Text Editor.
Inherited Members
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class CodeBlockLanguageModel
Remarks
Used to populate the code block language selection dropdown in the editor's toolbar.
Constructors
CodeBlockLanguageModel()
Declaration
public CodeBlockLanguageModel()
Properties
Label
Gets or sets the display label of the language (e.g., "C", "HTML").
Declaration
public string Label { get; set; }
Property Value
| Type |
|---|
| string |
Language
Gets or sets the language identifier used by the syntax highlighter (e.g., "c", "html").
Declaration
public string Language { get; set; }
Property Value
| Type |
|---|
| string |