sstur / react-rte

Pure React rich text WYSIWYG editor based on draft-js.
https://react-rte.org
ISC License
2.86k stars 430 forks source link

Accessing `blockRenderMap` prop #408

Open FSaldanha opened 3 years ago

FSaldanha commented 3 years ago

Although the README says "All the props you can pass to Draft.js Editor can be passed to RichTextEditor", I could not access blockRenderMap. It is not defined in the props list. Passing it anyway gave no results.

I'm trying to get the rich text editor to accept new block types as explained in Draft.js docs.

Could you help me to understand what I am supposed to do to achieve this?