UNPKG

quill-delta-to-html

Version:
41 lines (40 loc) 1.31 kB
import { IOpAttributes } from './OpAttributeSanitizer'; import { InsertData } from './InsertData'; declare class DeltaInsertOp { readonly insert: InsertData; readonly attributes: IOpAttributes; constructor(insertVal: InsertData | string, attrs?: IOpAttributes); static createNewLineOp(): DeltaInsertOp; isContainerBlock(): boolean; isBlockAttribute(): boolean; isBlockquote(): boolean; isHeader(): boolean; isTable(): boolean; isSameHeaderAs(op: DeltaInsertOp): boolean; hasSameAdiAs(op: DeltaInsertOp): boolean; hasSameIndentationAs(op: DeltaInsertOp): boolean; hasSameAttr(op: DeltaInsertOp): boolean; hasHigherIndentThan(op: DeltaInsertOp): boolean; isInline(): boolean; isCodeBlock(): boolean; hasSameLangAs(op: DeltaInsertOp): boolean; isJustNewline(): boolean; isList(): boolean; isOrderedList(): boolean; isBulletList(): boolean; isCheckedList(): boolean; isUncheckedList(): boolean; isACheckList(): boolean; isSameListAs(op: DeltaInsertOp): boolean; isSameTableRowAs(op: DeltaInsertOp): boolean; isText(): boolean; isImage(): boolean; isFormula(): boolean; isVideo(): boolean; isLink(): boolean; isCustomEmbed(): boolean; isCustomEmbedBlock(): boolean; isCustomTextBlock(): boolean; isMentions(): boolean; } export { DeltaInsertOp };