summernote / react-summernote

Summernote (Super simple WYSIWYG editor) adaptation for react
http://summernote.org
MIT License
230 stars 108 forks source link

Summernote react adaptation without bootstrap #82

Open erwinangeles opened 4 years ago

erwinangeles commented 4 years ago

Would it be possible to compile a version of summernote.js to use the lite version? The bootstrap dependencies clash with materialize.

As you can see summernote has a lite version without the bootstrap dependency. https://summernote.org/getting-started/#without-bootstrap

TheStu commented 3 years ago

Yes this would be great. Alternatively, is there a good way to scope the bootstrap CSS to just the component? Maybe I'm just dense but it seems incredibly difficult to figure this out.

Edit: Figured out how to scope Bootstrap at least. What I ended up doing ... copied bootstrap.css in to a local file in my project. Changed it to a .scss file and scoped it as described here: https://stackoverflow.com/a/55463420/1378823 and also set dialogsInBody to false in the ReactSummerNote config options.

arthedza commented 3 years ago

Is there any update on this?

deflexable commented 1 year ago

hey @arthedza @erwinangeles you can try https://www.npmjs.com/package/react-summernote-lite