Font Styles
2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 1, 2010 (RSS)
By Big_Lu - February 28, 2010
How do I get a font style (arial, etc.) drop down list added to my CMS editor?
Thanks!
Thanks!
Re: [Big_Lu] Font Styles
By Dave - March 1, 2010
Hi Big_Lu,
You can add a font dropdown to TinyMCE by modifying a line in cmsAdmin/lib/wysiwyg.php. Change this line:
to this: (new code in red)
We use the open-source tinyMCE wysiwyg editor and it has lots more documentation here: http://wiki.moxiecode.com/index.php/TinyMCE:Index
Hope that helps!
You can add a font dropdown to TinyMCE by modifying a line in cmsAdmin/lib/wysiwyg.php. Change this line:
theme_advanced_buttons1 : "formatselect,fontsizeselect,bold,italic,underline,|,justifyleft,justifycenter,justifyright,|,bullist,numlist,|,outdent,indent,|,removeformat,fullscreen",
to this: (new code in red)
theme_advanced_buttons1 : "formatselect,fontselect,fontsizeselect,bold,italic,underline,|,justifyleft,justifycenter,justifyright,|,bullist,numlist,|,outdent,indent,|,removeformat,fullscreen",
We use the open-source tinyMCE wysiwyg editor and it has lots more documentation here: http://wiki.moxiecode.com/index.php/TinyMCE:Index
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com