MAKE THE STYLES FROM YOUR EXTERNAL CSS STYLE SHEET AVAILABLE IN THE WYSIWYG EDITOR - OLDER VERSIONS - Aug 6th, 2010


According to Damon from Interactive Tools:

You can add a custom styles drop down to the WYSIWYG editor with these steps:

1. Open both these files:

/cmsAdmin/lib/wysiwyg.css
/cmsAdmin/lib/wysiwyg.php

- make a backup of both before making any changes.
2. In the wysiwyg.php file, search for:



theme_advanced_buttons1 : "formatselect



and change it to:



theme_advanced_buttons1 : "styleselect, formatselect



3. In the wysiwyg.css file, on line 31, add classes to have them appear in your 'styleselect' drop down. This will allow
your users to add classes and visually see the effect in the editor.
4. Add the same custom styles to the css file that is linked to your published pages.



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service