Post by peteruittilburg » Wed Mar 18, 2015 3:28 am

The summernote WYSIWYG editor was showing some strange behavior when using the bold button. When starting with a new product, bold was often already highlighted in the menu, but when entering text, it wasn't bold at all. And if I wanted to get it in bold, I had to push the bold button a couple of times, to get it in bold. It worked fine when adding bold in de code mode. Googling around, I found that I wasn't the only one, but nobody had an answer or solution.

I found out it was a crossbrowser problem. Firefox had it, Chrome worked fine. The solution is to be found in the stylesheet of the admin. At the top, in the styles of "html, body" you will find "font-weight: 500;". Change this to "font-weight: normal;", and the problem is gone, with no visible crossbrowser problems I could detect. To me it looks more like a bug in Firefox, but I don't know summernote that well. It could be a Summernote issue.


Posts

Joined
Sat Apr 16, 2011 10:02 pm

Post by Dana » Sat Apr 25, 2015 8:55 pm

You're my hero, thank you. :)

User avatar
New member

Posts

Joined
Tue Jun 29, 2010 8:13 pm

Post by giproc » Thu Nov 19, 2015 7:41 am

Thanks for this. Same problem here.

Which admin stylesheet do I need to look into?

I tried to make the mod in this file....

public_html/admin/view/stylesheet/stylesheet.css

but it made no difference. Any ideas?

Cheers.

New member

Posts

Joined
Sat Aug 29, 2015 9:24 pm
Who is online

Users browsing this forum: No registered users and 6 guests