Skip to content

Comment input does not respect editor theme #1571

Open
@DrewJohnsonGT

Description

@DrewJohnsonGT

Describe the bug
Comment/thread inputs do not follow the theme prop passed to BlockNoteView

To Reproduce
Comments Example with single alteration to add theme="Dark"
https://stackblitz.com/edit/github-4zkx4rkk?file=App.tsx

Note the comment input remains in light mode:

Image

The "light" class is present on the parent element: "bn-container light bn-mantine bn-comment-editor"
Along with data-color-scheme="light"
and data-mantine-color-scheme="light"

Misc

  • Node version: v22.5.1
  • Package manager: PNPM
  • Browser: Chrome

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions