Need the "Justify" text option in wysiwyg editor

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

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/

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

By InHouse - May 20, 2009

Don't forget that justified text is really flaky on some browsers. Tjos cam also depend on how the text is justfied.

FireFox, Safari and Chrome behave well. Older IE clients do very silly things with line widows and orphans. IE7 can get mixed results based on a variety of conditions. Not sure about IE8 yet.

$0.02
J.