Skip to main content

QuillSelection

Namespace: Wisej.Web.Ext.QuillJS

Assembly: Wisej.Web.Ext.QuillJS (4.1.0.0)

Represents a selection within the QuillJS editor.

public class QuillSelection

Instances are returned by GetSelectionAsync. Positions are zero-based character offsets in the editor content, where each embed (image, video) counts as one character.

Constructors​

Instance member QuillSelection()​

Initializes a new instance of QuillSelection.

Properties​

Instance member Index​

Int32: Returns or sets the zero-based starting index of the selection.

Instance member Length​

Int32: Returns or sets the length of the selection. A length of 0 indicates the position of the caret.