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.8+821604ea552bde242964120acb39b21c90d2b4af
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