Need the "Justify" text option in wysiwyg editor

3 posts by 3 authors in: Forums > CMS Builder
Last Post: May 20, 2009   (RSS)

By QuietCalm - May 1, 2009

The editor as default has left aligned, center aligned and right aligned. Where is the "justify" aligned option> Can I turn it on somehow?

QuietCalme

Re: [QuietCalm] Need the "Justify" text option in wysiwyg editor

By ross - May 1, 2009

Hi there.

Thanks for posting!

Full justify isn't a default option but can easily be added. All you need to do is open up /lib/wysiwyg.php and find this line:

theme_advanced_buttons1 :

it will have a bunch of buttons on it. You can add justifyfull anywhere you like to get that button going. Make sure to properly comma the list with your new button.

If you like, I've attached a new copy of the file to my post. You can just use that (if you are using version 1.28).

Also, check out this full list of buttons you can have:


http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference


Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/