[WEB-4361] fix: add onChange to collaborative editor #7246
This commit is contained in:
parent
f26b4d3d06
commit
7045a1f2af
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ import { TCollaborativeEditorHookProps } from "@/types";
|
|||
|
||||
export const useCollaborativeEditor = (props: TCollaborativeEditorHookProps) => {
|
||||
const {
|
||||
onChange,
|
||||
onTransaction,
|
||||
disabledExtensions,
|
||||
editable,
|
||||
|
|
@ -105,6 +106,7 @@ export const useCollaborativeEditor = (props: TCollaborativeEditorHookProps) =>
|
|||
forwardedRef,
|
||||
handleEditorReady,
|
||||
mentionHandler,
|
||||
onChange,
|
||||
onTransaction,
|
||||
placeholder,
|
||||
provider,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue