Page 1 of 1

SOLVED - tiny MCE centralising all text in edit window in 1.3

Posted: Fri Jun 13, 2008 1:53 pm
by scotch33
Hi,

Tiny MCE on all pages in the admin section is centralising text when opened.  It is only doing this to content when viewed within the actual editor itself - NOT having affect on the formatting in the site.  Looking at the code in the wysiwg its definately somethign the editor is doing in itself only - there are no code references that would make the text central.  Its making it hard to edit anything and get an accurate feel for how it will look.  Is there a setting somewhere for the editor only that can chamnge default formatting of text. 

Can anyone help.

Ta.
J

Re: tiny MCE centralising all text in edit window in 1.3

Posted: Fri Jun 13, 2008 2:06 pm
by Sonya
It is because you have text-align:center somewhere in your layout.

To make text left-aligned in TinyMCE go to Extensions->TinyMCE WYSIWYG Basic->Settings and put in "Body tag CSS":

Code: Select all

text-align:left

Re: tiny MCE centralising all text in edit window in 1.3

Posted: Mon Jun 16, 2008 3:38 pm
by scotch33
perfect - thanks.