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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
docomo
Forum Members
Forum Members
Posts: 44
Joined: Mon Jan 23, 2006 10:39 am

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

Post 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?
stefan

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

Post 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).
docomo
Forum Members
Forum Members
Posts: 44
Joined: Mon Jan 23, 2006 10:39 am

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

Post by docomo »

Thanks for that fractal, that fixed the problem.

Cheers
Locked

Return to “CMSMS Core”