sstur / react-rte

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

How do I use react-rte with create-react-app #321

Open geebengs opened 5 years ago

geebengs commented 5 years ago

I'm trying to use this with create-react-app. I've followed the instructions in the documentation to the letter. The editor appears fine in my app. However, I noticed when i insert over 5 to 6 paragraphs of text into the editor, the editor doesn't wrap the texts within the editor and a scrollbar should appear. Rather the texts appear outside the editor. I'll appreciate every help I can get to resolve this issue ASAP. Thanks

srianbury commented 5 years ago

I have not seen this issue and I've used it with that many paragraphs and more. Could you try to reproduce it in a sandbox?

The-Code-Monkey commented 5 years ago

what version or react are you using and have you added custom styles to the component?? @geebengs

geebengs commented 5 years ago

Thanks for your response. The react version i'm using is v16.8.1.

I have not added any custom style to the component. I just followed the instruction in the documentation as is. If I need to add custom style to make it work, kindly guide me on how I can go about that without ejecting my react application.