💄(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.
This commit is contained in:
@@ -78,6 +78,7 @@ export const BlockNoteContent = ({ doc, provider }: BlockNoteContentProps) => {
|
||||
editor={editor}
|
||||
formattingToolbar={false}
|
||||
editable={doc.abilities.partial_update}
|
||||
theme="light"
|
||||
>
|
||||
<BlockNoteToolbar />
|
||||
</BlockNoteView>
|
||||
|
||||
Reference in New Issue
Block a user