Page 1 of 1

Change tinyMCE behaviour?

Posted: Tue Oct 28, 2008 2:17 am
by ptomblin
One of the things that absolutely drives me batty about tinyMCE is every time I hit return, change a style, or paste into the editor, it changes to centered text.  Since I never use centered text, I then have to change it back.  Is there any way to chnge that behaviour so that it stays left justified?

Re: Change tinyMCE behaviour?

Posted: Tue Oct 28, 2008 8:15 am
by KO
Have you tried adding on TinyMCE editor configuration page "text-align:left" to  "Body tag CSS:"

You most likely have centered layout and "text-align:center" on body tag. That's what editor is reading and you need to override that on editor settings.

Re: Change tinyMCE behaviour?

Posted: Thu Oct 30, 2008 12:27 am
by ptomblin
KO wrote: Have you tried adding on TinyMCE editor configuration page "text-align:left" to  "Body tag CSS:"
That works great, thanks.

Re: Change tinyMCE behaviour?

Posted: Thu Oct 30, 2008 7:37 am
by KO
Remember to add [Solved] on your first mails subject.