We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
data-mantine-color-scheme
1 parent c9a53bb commit c7954d9Copy full SHA for c7954d9
packages/mantine/src/index.tsx
@@ -160,7 +160,11 @@ export const BlockNoteView = <
160
{/* as proposed here: https://github.com/orgs/mantinedev/discussions/5685 */}
161
<MantineProvider
162
theme={mantineTheme}
163
- cssVariablesSelector=".bn-container">
+ cssVariablesSelector=".bn-container"
164
+ // This gets the element to set `data-mantine-color-scheme` on. Since we
165
+ // don't need this attribute (we use our own theming API), we return
166
+ // undefined here.
167
+ getRootElement={() => undefined}>
168
<BlockNoteViewRaw
169
theme={typeof theme === "object" ? undefined : theme}
170
{...rest}
0 commit comments