Page 1 of 1
TinyMCE - initial cursor position
Posted: Fri May 20, 2011 4:02 pm
by Steady
Using a fresh install of CMCMS (ver 1.9.4.1). When I create a new page and click in the content window to type the cursor appears to be aligned in the middle of the page (horizontally) and a scroll bar is present at the bottom of the window already indicating that the window is wider than the 'viewport'. On entering text I discover that the content is being automatically centre aligned. I can select it and align it left from the toolbar but this is good for the end user. How can I set it to align left to start with?
Regards, Edward
Re: TinyMCE - initial cursor position
Posted: Fri May 20, 2011 9:11 pm
by uniqu3
TinyMCE loads your template stylesheet by default, if you have text aligned to center on your frontend this is how TinyMCE will display it.
You can change these settings under "Extensions -> TinyMCE" and click on tab "Advanced".
In the "Additions to stylesheet:" textarea you can add your style as needed for example:
body {text-align: left;}
Re: TinyMCE - initial cursor position
Posted: Fri May 20, 2011 9:50 pm
by Steady
Fantastic. uniqu3, thanks so much. I had tried adding this to the Body Tag CSS but to no avail. Thanks again.
Regards, Edward
Re: TinyMCE - initial cursor position
Posted: Sun Jul 17, 2011 5:47 pm
by Dr.CSS
This happens on first install because the default template is set to NCleanBlue which has body text align center if you change the default template to any of the others you won't see this...