react-summernote icon indicating copy to clipboard operation
react-summernote copied to clipboard

Summernote react adaptation without bootstrap

Open erwinangeles opened this issue 4 years ago • 3 comments

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

erwinangeles avatar May 12 '20 21:05 erwinangeles

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.

TheStu avatar Nov 26 '20 02:11 TheStu

Is there any update on this?

arthedza avatar Mar 17 '21 08:03 arthedza

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

deflexable avatar Feb 22 '23 21:02 deflexable