Skip to content

Commit 0f71a3f

Browse files
committed
💄(frontend) force light theme on BlockNote editor
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.
1 parent 839b78a commit 0f71a3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export const BlockNoteContent = ({ doc, provider }: BlockNoteContentProps) => {
7878
editor={editor}
7979
formattingToolbar={false}
8080
editable={doc.abilities.partial_update}
81+
theme="light"
8182
>
8283
<BlockNoteToolbar />
8384
</BlockNoteView>

0 commit comments

Comments
 (0)