HelpSegmentEditorModel Class

Represents an editor model for a single help content segment.

Definition

Namespace: MobileTrack.Web.Portal.Pages.Admin.CustomPages
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
internal sealed class HelpSegmentEditorModel
Inheritance
Object    HelpSegmentEditorModel

Constructors

HelpSegmentEditorModelInitializes a new instance of the HelpSegmentEditorModel class

Properties

Id Guid ID of the content segment.
Image Base64 representation of the uploaded image.
ImageReference Image reference for the uploaded image.
IsEditorActive Indicates whether the editor is currently displayed.
IsImageSelected True if the content segment is an image.
IsRendered True if the content segment has been rendered.
IsTextSelected True if the content segment is text.
IsVideoSelected True if the content segment is a video.
QuillHtml The text editor instance used for editing content.
QuillHtmlContent The HTML content managed by the editor.

Methods

GetHtml Get text from the editor
HandleLogoInputLoaded Handle the callback to retrieve the image from the logo input field
ToggleSelection Toggles the selection of the content segment type.

See Also