Comments (6)
I think this is probably caused by the added Tailwind styles, there must be a conflict going in. Any thoughts what it could be? I think I'm able to reproduce, so will check as well
from blocknote.
Good point, since it doesn't seem to be happening in https://blocknote-main.vercel.app/...
However, on closer look, even if I removed the Tailwind styles (editorDOMAttributes
and defaultStyles
override), the bug is still there
from blocknote.
What if you remove the tailwind stylesheets? Maybe some globals are affected
from blocknote.
Ahh yup, you're right! Some of the Tailwind globals are conflicting with the Mantine classes
from blocknote.
Another odd thing is if I set prose-h1:text-2xl
, the font size changes but the transition/resulting div doesn't change with it:
Should I open up a new issue for this?
from blocknote.
Ahh yup, you're right! Some of the Tailwind globals are conflicting with the Mantine classes
+1
This style from @tailwind base
overrides the Mantine class:
button, [type='button'], [type='reset'], [type='submit'] {
-webkit-appearance: button;
background-color: transparent; /* this one */
background-image: none;
}`
from blocknote.
Related Issues (20)
- Manipulate block after connecting with collaboration service HOT 2
- Cannot read properties of undefined (reading 'dispatch') HOT 1
- Tag example broken
- Handle Text Alignment when parsing HTML
- Handle Images/Tables combined with Text when Parsing HTML HOT 1
- List placeholder shows on top of pasted custom inline element HOT 1
- Global Dragstart events might be interfering with text selection in custom block. HOT 3
- Mantine adding data-mantine-color-scheme to the html tag HOT 1
- :sparkles: Editor API for AI Text Suggestion HOT 2
- Unable to have "focus stealing" components in Suggestion menu and formatting toolbar HOT 4
- Table doesn't save columns width after refresh
- Slash menu scrolls the page to top when triggered first time after loading document.
- Multiple editor instances cause duplicates on drag&drop
- Bug: Cannot add space at the end of a custom block's content HOT 3
- Placeholder customization, to add a new text or data HOT 1
- About the best rerendering strategy HOT 1
- Passing a new theme object causes editor to lose focus HOT 1
- Add custom comment data to my editor block
- Question: How to add/overwrite keyboard shortcuts? HOT 1
- Setting Text Cursor Position
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blocknote.