diff --git a/packages/editor/src/hooks/use-editor.ts b/packages/editor/src/hooks/use-editor.ts index cc6324f9b..89e9d3214 100644 --- a/packages/editor/src/hooks/use-editor.ts +++ b/packages/editor/src/hooks/use-editor.ts @@ -59,7 +59,7 @@ export const useEditor = ( }; }, // eslint-disable-next-line react-hooks/exhaustive-deps - [...deps, forceUpdate, options] + deps ); useEffect(() => { diff --git a/packages/editor/src/index.ts b/packages/editor/src/index.ts index 1889b7b2b..3df6bfd09 100644 --- a/packages/editor/src/index.ts +++ b/packages/editor/src/index.ts @@ -205,8 +205,6 @@ const useTiptap = ( injectCSS: false }), [ - doubleSpacedLines, - isMobile, onDownloadAttachment, onOpenAttachmentPicker, PortalProviderAPI,