HelpSegmentEditorModel Class

Represents an editor model for a single help content segment.

Definition

Namespace: MobileTrack.Web.Portal.Pages.Admin.Helps
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public 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.
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