Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove bootstrap dependency from summernote #766

Closed
u-approach-ricardo opened this issue Dec 1, 2014 · 59 comments
Closed

Remove bootstrap dependency from summernote #766

u-approach-ricardo opened this issue Dec 1, 2014 · 59 comments

Comments

@u-approach-ricardo
Copy link

Hello there,

I have a problem, when i intergrate bootstrap on my current project there goes a lot wrong in the style.
is it posible to use summernote without bootstrap, or with a custom that doesnt do anything with my style?

is there already a custom css/js file special for summernote, that wont harm any default code?

@rodw
Copy link

rodw commented Dec 2, 2014

Just to +1 this request, I would also strongly welcome a summernote distribution with the minimal set of dependencies. I'd like to deploy summernote on sites that don't use bootstrap.

@coniel
Copy link

coniel commented Dec 4, 2014

+1 for no bootstrap. I don't want to add bootstrap just to use summernote (but I really want to use it...).

@karldanninger
Copy link

+1

1 similar comment
@easylogic
Copy link
Member

+1

@ghost
Copy link

ghost commented Dec 7, 2014

+1 at present with what I have planned for LibrCMS, seperating Summernote from Bootstrap to allow any other framework to be used with my CMS would be handy. I could do this myself, but will break future Summernote Updates, not to mention be annoying.

@karldanninger
Copy link

I just stumbled on this! Looks like it's been done for meteor https://atmospherejs.com/summernote/standalone I've tried it out, looks to be working with my custom bootstrap

@hoganhenderson
Copy link

+1

@hackerwins
Copy link
Member

@hoganhenderson, @kdanninger, @StudioJunkyard, @coniel, @rodw, @u-approach-ricardo Thanks for reporting.
We have a planning to develop feature about standalone but It will be hard for us and takes a long time.

This is not perfect, But You can use summernote without entire page style affected by bootstrap now.
Include dist/summernote-bs3.css instead of original bootstrap css. It's just a little trick. If you open summernote-bs3.css, You will find .note-editor selector surround all of original bootstrap css means only affected under the .note-editor(In normal case using bootstrap, please don't include this file).

@dago64
Copy link

dago64 commented Jun 2, 2015

@hackerwins Thanks for the tip! But how do you deal with the jQuery which was contained in bootstrap? (the dropdowns are not working anymore on my summernote toolbar...)

Console says: "Uncaught Error: no such method 'hide' for tooltip widget instance"

@hackerwins
Copy link
Member

@dago64
Please include boostrap.js
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.js"></script>

@mikkhait
Copy link

+1

@andrewhayes1979
Copy link

+1 for removing bootstrap dependency

@Frexuz
Copy link

Frexuz commented Sep 4, 2015

+1

@hackerwins
Copy link
Member

Let's talk about this with #1324.

@ghost
Copy link

ghost commented Oct 4, 2015

+1

4 similar comments
@navneet35371
Copy link

+1

@bopeng87
Copy link

+1

@albertosouza
Copy link

+1

@gplume
Copy link

gplume commented Oct 31, 2015

+1

@Lorelei
Copy link

Lorelei commented May 31, 2016

+1

3 similar comments
@bebor
Copy link

bebor commented Jun 2, 2016

+1

@bryanwayb
Copy link

+1

@powerdot
Copy link

powerdot commented Sep 9, 2016

+1

@zerotoinfinite2006
Copy link

+1
With no dependency upon bootstrap it would be more awesome. Or at least, it should have minimum code required from bootstrap.cs or .js

@yaxhpal
Copy link

yaxhpal commented Sep 10, 2016

+1

@mauroricardomarfil
Copy link

+1

1 similar comment
@chevas
Copy link

chevas commented Oct 18, 2016

+1

@apocist
Copy link

apocist commented Nov 12, 2016

+1 for removing bootstrap

@M-Blobby
Copy link

+1

1 similar comment
@PanJiaChen
Copy link

+1

@tatoshko
Copy link

+1 for removing bootstrap

@hackerwins
Copy link
Member

Sorry for late.
We have plan to develop a summernote for bs4 when bootstrap 4 is released. After that I'll do this too.

@ghost
Copy link

ghost commented Dec 29, 2016

Hi @hackerwins hope you had a Merry Christmas.
While I more than appreciate all your efforts in starting the development of Summernote, I'm wondering if it would just be better to not worry about Bootstrap, but rather just jump straight into removing that dependency? There's no reason not to style the interface accordingly for BS3, and BS4 using CSS so users can load the look they want. I guess you also have to think about the Javascript BS dependency.

@ilkerbfl
Copy link

ilkerbfl commented Feb 3, 2017

+1

6 similar comments
@yshelomentsev
Copy link

+1

@nicolas-besnard
Copy link

+1

@phelsajc
Copy link

+1

@victor-stagurov
Copy link

+1

@jenya-p
Copy link

jenya-p commented Feb 26, 2017

+1

@nugrahawahyu
Copy link

+1

@jsaunders92
Copy link

Hi guys,

I was having this problem too. I got around almost all over the overriding CSS by having my own Stylesheet loading second, but I still had one or two problems. I've just used this: https://formden.com/blog/isolate-bootstrap ... IT WORKS! Thought it might come in handy for some of you.

@hackerwins
Copy link
Member

related with #2434.

@hackerwins hackerwins added this to the v0.8.8 milestone Aug 28, 2017
@aldrienht
Copy link

I used Summernote without including full bootstrap styles(since I'm using other framework).
Try only to include summer-note-bs3.css, you can get from this link https://ci.open-paas.org/stash/projects/OR/repos/material-admin/browse/vendors/bower_components/summernote/dist/summernote-bs3.css?at=806b7534d138eb8a0e624d3b5484ef870b2d730e&raw

@hackerwins
Copy link
Member

@aldrienht Thanks for the information.
For your information, we also provide summernote-lite for using summernote without bootstrap.
https://summernote.org/getting-started/#without-bootstrap

@aldrienht
Copy link

Oohhh, This site can’t be reached...

@DennisSuitters
Copy link
Member

Works fine for me...

@aldrienht
Copy link

I don't know why I cannot access the site :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests