The problem whatsoever is, is that no other styles are being applied to this element, e.g. if I try to make it Italic or some other style, it just ignores it. Would highly appreciate the help as I've tried pretty much everything today, unsure what else to do. The API documentation doesn't really tell much about this, and I don't want to override the editor styles manually as that would contradict the philosophy of Tailwind CSS.
I'd love to add CSS classes, more specifically, Tailwind classes to the blocks (elements) in the editor content.
E.g.
If I press on a Heading 2 in a toolbar, I'd love an element to look like:
I've managed to do that like this:
The problem whatsoever is, is that no other styles are being applied to this element, e.g. if I try to make it Italic or some other style, it just ignores it. Would highly appreciate the help as I've tried pretty much everything today, unsure what else to do. The API documentation doesn't really tell much about this, and I don't want to override the editor styles manually as that would contradict the philosophy of Tailwind CSS.