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.
TinyMCE default font?
- NC Software
- AbleCommerce Partner
- Posts: 4620
- Joined: Mon Sep 13, 2004 6:06 pm
- Contact:
TinyMCE default font?
Neal Culiner
NC Software, Inc.
NC Software, Inc.
Re: TinyMCE default font?
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".
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".
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
- NC Software
- AbleCommerce Partner
- Posts: 4620
- Joined: Mon Sep 13, 2004 6:06 pm
- Contact:
Re: TinyMCE default font?
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.
Neal Culiner
NC Software, Inc.
NC Software, Inc.
- NC Software
- AbleCommerce Partner
- Posts: 4620
- Joined: Mon Sep 13, 2004 6:06 pm
- Contact: