react-markdown-editor-lite
react-markdown-editor-lite copied to clipboard
How to pass props for own plugins?
I want to use some custom props for my own plugins, is it possible to pass props somehow to my own plugins, e.g.:
<Editor pluginProps={{..hereComeCustomProps}} />
I don't think that's a bug, personally i created a context to pass data i wanted to work dynamically with. Of course if it's not dynamic you can use Editor.use(YourPlugin, { size: 4, right: true }) for example