Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

References

Renames and re-exports Quill

Type Aliases

DeltaOperation: { delete?: number; insert?: any; retain?: number } & OptionalAttributes

A stricter type definition would be:

type DeltaOperation ({ insert: any } | { delete: number } | { retain: number }) & OptionalAttributes;

But this would break a lot of existing code as it would require manual discrimination of the union types.

EditorChangeHandler: ((name: "text-change", delta: DeltaStatic, oldContents: DeltaStatic, source: Sources) => any) | ((name: "selection-change", range: RangeStatic, oldRange: RangeStatic, source: Sources) => any)
SelectionChangeHandler: ((range: RangeStatic, oldRange: RangeStatic, source: Sources) => any)

Type declaration

Sources: "api" | "user" | "silent"
TextChangeHandler: ((delta: DeltaStatic, oldContents: DeltaStatic, source: Sources) => any)

Type declaration

Generated using TypeDoc