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

Font Bold/Underline/Italic not working in V0.8.9.2 #72

Closed
m-z-b opened this issue Feb 8, 2018 · 9 comments
Closed

Font Bold/Underline/Italic not working in V0.8.9.2 #72

m-z-b opened this issue Feb 8, 2018 · 9 comments

Comments

@m-z-b
Copy link

m-z-b commented Feb 8, 2018

To reproduce.

  1. Clone current commit 51cd81d (Version 0.8.9.2)
  2. Build the example project, and navigate to the home page in Firefox 58.0.1 or Edge 41.16299.15.0
  3. Create a New Post, type some text, and attempt to Bold some of it.
  4. Nothing happens, whether by using the keyboard accelerator CTRL-B or by clicking the button
  5. Javascript console does not report any errors when using Firefox.

Other buttons not related to font bold/underline/italic/etc. seem to be working normally.

Current version of summernote (as seen live at summernote.org) does not have this issue.

@Aflier
Copy link

Aflier commented Feb 13, 2018

Having the same issue, also with the right and centre formatting buttons.

@luciuschoi
Copy link
Contributor

luciuschoi commented Feb 13, 2018

OK. @hackerwins will fix this as soon as possible.
It may be caused by summernote-bs4.css file which is built with bootstrap 4.0.0.beta version.
Summernote-rails version 0.8.9.2 was built with Bootstrap 4.0.0

@jonalport
Copy link

Yep I am finding this too. The bold & italic buttons don't change the markup.

@Aflier
Copy link

Aflier commented Feb 15, 2018

OK. Did not see that bootstrap went to 4.0.0. I'll try updating them :)

@luciuschoi
Copy link
Contributor

Yepp!
@hackerwins have finally fixed this bugs due to bootstrap version mismatch. He updated summernote-bs4.css with Bootstrap 4.0.0 from 4.0.0.beta.
Now, all buttons works well.

@saadtanvir1994
Copy link

Please add
.note-editable b{font-weight:800;}
to your summernote.css file.

@victorybiz
Copy link

This worked for me on bootstrap 4
/* Please add to your summernote.css / summernote-bs4.css file to fix bold. */
.note-editable b, .note-editable strong { font-weight: bold; }

To fix bold, undeline, etc, use the uncompressed javascript or re-minify the javascript because there seems to be an issue in the minified version of v0.8.9

@regololab
Copy link

I have this problem. The bold key is always active but does not work.
I use bootstrap 4.3.1.

@AlexanderBV
Copy link

@regololab I have the same problem, I am using Bootstrap v4.3.1
image

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

No branches or pull requests

8 participants