diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 79639b8a..0328e4d5 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -18,7 +18,7 @@ export interface EditorOptions { editable: boolean, onInit: () => void, onUpdate: () => void, - onTransaction: () => void, + onTransaction: (props: { transaction: Transaction }) => void, onFocus: (props: { event: FocusEvent }) => void, onBlur: (props: { event: FocusEvent }) => void, }