-
-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slash menu style is distorted on Next.js project #670
Comments
Am also hitting this issue on a fresh repo |
Same issue here. It is not working in regular project as well. |
@i-am-chitti and @quuu I have been able to fix it by installing
|
In order to get this to work with latest @blocknote I had to do what @siddharthbulia suggested above, but I had to install @mantine/core@7.7.1 instead of 7.5.0 (which gave me dependency warnings and didn't work). |
Same problem here. Nextjs 14.1. @siddharthbulia fixed the Blocknote layout but broke up all styles of my app 😅 I'm using Tailwind and shadcn. Bellow some images to exemplify. Blocknote without manually import: Blocknote manually importing @mantime/core/styles.css: |
Thanks for the reports. This seems like a recent regression, we'll fix it asap! |
@YousefED Thanks. Do post an update when fixed please. |
it works like this so far Adding "@mantine/core/styles.css" and also importing "@/app/globals.css" "@mantine/core": "^7.7.1" |
Hi all! Turns out this was caused by a Mantine update. It should be fixed in the latest BlockNote release! (0.12.4) |
Describe the bug
I used this library with a fresh Next.js @ 14.1.4 release. On loading the editor as guided here- https://www.blocknotejs.org/docs/advanced/nextjs, the slash menu style is broken -
Also, noticed that this style is broken -
To Reproduce
cd blocknote-next-js
npm install @blocknote/core @blocknote/react
/
and you'll get the distorted stylingMisc
Note
I'm using the exact same code as suggested in the doc. Have already imported the "react/style.css"
The text was updated successfully, but these errors were encountered: