Page 1 of 1

Description editor bold function didn't work properly.

Posted: Wed Mar 18, 2015 3:28 am
by peteruittilburg
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.

Re: Description editor bold function didn't work properly.

Posted: Sat Apr 25, 2015 8:55 pm
by Dana
You're my hero, thank you. :)

Re: Description editor bold function didn't work properly.

Posted: Thu Nov 19, 2015 7:41 am
by giproc
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.