#Is there a way to change the icons of blocks inside richtext lexical?

5 messages · Page 1 of 1 (latest)

topaz junco
#

I would like to use custom icons for each block

topaz junco
#

I managed to do what I wanted by creating a new custom blocks feature, so I can now pass blocks and custom icons for each of them. ChatGPT5 helped a lot.

If anyone is interested in the code please let me know. I'm happy to share it and that it can be improved. Cheers!

alpine pelicanBOT
rancid plinth
#

It would be helpful if you prepare a tutorial, blog post or a GitHub Gist