jpuri / react-draft-wysiwyg

A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
MIT License
6.41k stars 1.16k forks source link

[QUESTION] Help needed for custom plugin #465

Open jtbonhomme opened 7 years ago

jtbonhomme commented 7 years ago

Hello,

I would like to implement my own component on top of react-draft-wysiwyg. Does anybody could help me with an example or tutorial ? I wonder if I have to use native draft-js plugin mechansim or something ...

Thank you !

jpuri commented 6 years ago

Hey @jtbonhomme : editor is highly customizable: check this on demo page: 4. Editor with new custom toolbar option - insert star

ghost commented 3 years ago

When applying the demo example i get this errors Property 'editorState' does not exist on type 'Readonly<{}> & Readonly<{ children?: ReactNode; }>'.ts(2339)