#Is there a way to change the icons of blocks inside richtext lexical?
5 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
- Lexical Converters - Lexical => JSX - Converting Lexical Blocks to JSX
- Rich Text Editor - Extending the lexical editor with Features - Features: The Building Blocks
- React Hooks - useDocumentForm
- Custom Features
- Lexical Converters - Lexical => JSX
Community-Help:
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!
Glad your issue was resolved! :tada: If you want to help make payload better, please give us a :star: on GitHub and review us - It helps us a lot.
🌟 Star Us on GitHub
👍 Review Us
It would be helpful if you prepare a tutorial, blog post or a GitHub Gist