[WIKI-564] fix: editor deps #8069

This commit is contained in:
M. Palanikannan 2025-11-06 17:33:51 +05:30 committed by GitHub
parent 9b3bd11c03
commit d709465a89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,7 +59,7 @@ const DocumentEditor = (props: IDocumentEditorProps) => {
})
);
return additionalExtensions;
}, []);
}, [disabledExtensions, editable, extendedEditorProps, fileHandler, flaggedExtensions, user]);
const editor = useEditor({
disabledExtensions,