Skip to content

Conversation

matthewlipski
Copy link
Collaborator

@matthewlipski matthewlipski commented Jul 2, 2024

This PR removes the .bn-container * CSS rule that was applying font-family styles to all elements within BlockNote and causing issues with custom blocks. Also fixes Mantine scoping to make sure additional styles on Mantine components created by BlockNote are only applied to elements within BlockNote.

Closes #878
Closes #888

Copy link

vercel bot commented Jul 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Jul 2, 2024 11:36am
blocknote-website ✅ Ready (Inspect) Visit Preview Jul 2, 2024 11:36am

@YousefED
Copy link
Collaborator

YousefED commented Jul 2, 2024

@matthewlipski also closes #888?

@matthewlipski matthewlipski merged commit f3a5869 into main Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

import "@blocknote/mantine/style.css" would pollute a mantine based project's styles Blocknote's CSS breaks Mantine's design

2 participants