Page 1 of 1
TinyMCE default font?
Posted: Wed Aug 03, 2016 10:01 am
by NC Software
Where is your default font set for the tinymce editor? The 8-10px font size is crazy small for this day and age of computers/resolutions. I'd like to bump it up to about 14px to make readability better in the admin/product pages, etc.
Also, please update tinymce, it seems yours is significantly out of date by about 4 years.
Re: TinyMCE default font?
Posted: Thu Aug 04, 2016 1:28 am
by Naveed
The TinyMCE editor is initialized in the WebControls/HtmlEditor.cs under CommerceBuilder.UI project. In the OnLoad function you can configure the default font-size etc. Please add the following javascript settings where we are building the "initScript":
initScript.AppendLine("setup : function(ed) { ed.onInit.add(function(ed) { ed.getDoc().body.style.fontSize = '14px'; }); },");
add it just below the line where we are configuring "theme" and "plugins".
Re: TinyMCE default font?
Posted: Thu Aug 04, 2016 1:38 am
by NC Software
Thanks Naveed, I'll give that a shot. I suggest considering making your default larger going forward, that's really small font in this era what it's currently set to.
Re: TinyMCE default font?
Posted: Thu Aug 04, 2016 2:02 am
by NC Software
MUCH better! Works perfect, thanks again.