diff --git a/apps/web/src/components/editor/tiptap.tsx b/apps/web/src/components/editor/tiptap.tsx index c2ccd6a65..d4b72db17 100644 --- a/apps/web/src/components/editor/tiptap.tsx +++ b/apps/web/src/components/editor/tiptap.tsx @@ -684,6 +684,12 @@ function TiptapWrapper( } }, [props.spellcheck]); + useEffect(() => { + if (editorContainerRef.current) { + editorContainerRef.current.style.fontSize = `${editorConfig.fontSize}px`; + } + }, [editorConfig.fontSize]); + return (