-
-
Notifications
You must be signed in to change notification settings - Fork 623
Closed
Labels
Description
Describe the bug
We are using your awesome BlockNote on Twenty and wanted to migrate to the new version: https://github.com/twentyhq/twenty/pull/3517/files
From the release notes:
Breaking Changes
Change import "@blocknote/core/style.css"; to import "@blocknote/react/style.css"; if you're using @blocknote/react
This update changes how themes and styles are applied to the editor. This means if you were previously overriding CSS using the componentStyles field in a Theme object, you should convert those styles to CSS rules. See the new theming and styling documentation [here](https://www.blocknotejs.org/docs/theming).
However, react/style.css does change the style of non block-note related class, for example:
body,html{height:100%}...
This is an issue as we import it in our project using @blocknote/react/style.css, it completely breaks our page layout.
(see that the Sort button for example is broken)