From 0f71a3fcfaecc5954ba831d46ee30875cc760a43 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Mon, 15 Jul 2024 10:28:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84(frontend)=20force=20light=20theme?= =?UTF-8?q?=20on=20BlockNote=20editor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The BlockNote editor theme was not being forced to light mode. Depend the user theme preference, the blocknote theme could be dark. We force it to light mode. --- .../src/features/docs/doc-editor/components/BlockNoteEditor.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx index cfbc09f2..322b9bb6 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx @@ -78,6 +78,7 @@ export const BlockNoteContent = ({ doc, provider }: BlockNoteContentProps) => { editor={editor} formattingToolbar={false} editable={doc.abilities.partial_update} + theme="light" >