Page 1 of 1

How do you set left-justify text by default in TinyMCE

Posted: Sat May 20, 2006 6:16 am
by docomo
Hi,

I have installed the TinyMCE version 2.0.2 module - which i like very much.

When I got to create new content or edit existing content, in 'wysiwyg' mode the text in the editor is centred - which is different from my normal page 'body' style where the text is left aligned.
I'm assuming the text alignment can be changed in one of the TinyMCE stylesheets, would anyone be able to point me in the right direction of how to change this?

Re: How do you set left-justify text by default in TinyMCE

Posted: Sat May 20, 2006 1:12 pm
by stefan
docomo wrote: When I got to create new content or edit existing content, in 'wysiwyg' mode the text in the editor is centred - which is different from my normal page 'body' style where the text is left aligned.
I'm assuming the text alignment can be changed in one of the TinyMCE stylesheets, would anyone be able to point me in the right direction of how to change this?
Just set the field "Body tag CSS" to "text-align: left;" in the configuration of TinyMCE (extensions -> TinyMCE).

Re: How do you set left-justify text by default in TinyMCE

Posted: Sat May 20, 2006 11:45 pm
by docomo
Thanks for that fractal, that fixed the problem.

Cheers