[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) => {
|
export const useCollaborativeEditor = (props: TCollaborativeEditorHookProps) => {
|
||||||
const {
|
const {
|
||||||
|
onChange,
|
||||||
onTransaction,
|
onTransaction,
|
||||||
disabledExtensions,
|
disabledExtensions,
|
||||||
editable,
|
editable,
|
||||||
|
|
@ -105,6 +106,7 @@ export const useCollaborativeEditor = (props: TCollaborativeEditorHookProps) =>
|
||||||
forwardedRef,
|
forwardedRef,
|
||||||
handleEditorReady,
|
handleEditorReady,
|
||||||
mentionHandler,
|
mentionHandler,
|
||||||
|
onChange,
|
||||||
onTransaction,
|
onTransaction,
|
||||||
placeholder,
|
placeholder,
|
||||||
provider,
|
provider,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue