[WEB-4361] fix: add onChange to collaborative editor #7246

This commit is contained in:
Prateek Shourya 2025-06-20 17:24:49 +05:30 committed by GitHub
parent f26b4d3d06
commit 7045a1f2af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,