BlazorTextEditor Class

A Blazor component for integrating a Quill text editor.

Definition

Namespace: MobileTrack.Web.Portal.Components.QuillEditor
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class BlazorTextEditor : ComponentBase
Inheritance
Object    ComponentBase    BlazorTextEditor

Constructors

BlazorTextEditorInitializes a new instance of the BlazorTextEditor class

Properties

EditorContent Content to be rendered within the editor.
Placeholder Placeholder text displayed in the editor.
ReadOnly Indicates whether the editor is read-only.
ToolbarContent Content to be rendered within the toolbar.

Methods

EnableEditor Enables or disables the quill editor.
GetContent Retrieves the complete editor content as a delta object.
GetHtml Retrieves the HTML content of the editor.
GetText Retrieves the plain text content of the editor.
InsertImage Inserts an image into the editor at the current cursor position.
InsertText Inserts text into the editor at the current cursor position.
LoadContent Loads content (delta object) into the editor.
LoadHtmlContent Loads HTML content into the editor.
SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

See Also