editorjs-blocks-react-renderer icon indicating copy to clipboard operation
editorjs-blocks-react-renderer copied to clipboard

How to better configure "config"

Open testBP0612 opened this issue 3 years ago • 3 comments

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?

testBP0612 avatar May 11 '22 04:05 testBP0612

Hi @testBP0612 In the case of Tailwind, we normally use the Typography plugin and wrap the <Blocks /> with prose CSS class.

lightningspirit avatar Aug 05 '22 12:08 lightningspirit

how to config styled Link and Marker Please?

kobkosgit avatar Aug 29 '22 09:08 kobkosgit

@kobkosgit I'm afraid you have to follow the same approach, you have to customize the CSS.

lightningspirit avatar Sep 03 '22 21:09 lightningspirit