refactoring
This commit is contained in:
@@ -40,14 +40,14 @@ export type MaybeReturnType<T> = T extends (...args: any) => any
|
|||||||
: T
|
: T
|
||||||
|
|
||||||
export interface EditorEvents {
|
export interface EditorEvents {
|
||||||
beforeCreate: { editor: Editor }
|
beforeCreate: { editor: Editor },
|
||||||
create: { editor: Editor }
|
create: { editor: Editor },
|
||||||
update: { editor: Editor, transaction: Transaction }
|
update: { editor: Editor, transaction: Transaction },
|
||||||
selectionUpdate: { editor: Editor, transaction: Transaction }
|
selectionUpdate: { editor: Editor, transaction: Transaction },
|
||||||
transaction: { editor: Editor, transaction: Transaction }
|
transaction: { editor: Editor, transaction: Transaction },
|
||||||
focus: { editor: Editor, event: FocusEvent, transaction: Transaction }
|
focus: { editor: Editor, event: FocusEvent, transaction: Transaction },
|
||||||
blur: { editor: Editor, event: FocusEvent, transaction: Transaction }
|
blur: { editor: Editor, event: FocusEvent, transaction: Transaction },
|
||||||
destroy: void
|
destroy: void,
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface EditorOptions {
|
export interface EditorOptions {
|
||||||
|
|||||||
Reference in New Issue
Block a user