editorjs-blocks-react-renderer
editorjs-blocks-react-renderer copied to clipboard
How to better configure "config"
Purpose
- [ ] Documentation
Description
I want to use tailwindcss to set header, like this:
header: { className: "font-bold" },
but i can't set <h1> <h2> <h3>...?
Also, if I don't set config I lose all style, why?
Hi @testBP0612
In the case of Tailwind, we normally use the Typography plugin and wrap the <Blocks /> with prose CSS class.
how to config styled Link and Marker Please?
@kobkosgit I'm afraid you have to follow the same approach, you have to customize the CSS.