Changing standard text color tinymce

Questions about how to use the online - editors and suggestions how to improve them
Post Reply
ajvangent
Posts: 17
Joined: Thu Dec 31, 2009 4:23 pm

Changing standard text color tinymce

Post by ajvangent » Sat Aug 07, 2010 9:58 am

I frequently build CMSImple websites with a colored backround so the standard black text is not visible. So now I have to select the text before editing in a color other than for example white, change the text and change th ecolor back again to white, because then the text is visible. Can I change the backround color of the editscreen AND the textcolor standard to another color...

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: Changing standard text color tinymce

Post by Holger » Mon Aug 09, 2010 8:19 am

Hi!

Maybe this solution for FCKeditor is working with TinyMCE too:
A nice Idea of Jens: Give "body" an ID:

Code: Select all

<body id="body" <?php echo onload();?>>
Now you can give "body" the background that also is used in the editor-textarea, and the "ID" give the background for the frontend:

Code: Select all

body {background: #000; ... ;}
#body {background: #fff; ... ;}
Now the background for the editor textarea is black, and the background of the body (frontend) is white.
Beside this, there's a solution for TinyMCE posted at the Wiki: http://cmsimplewiki.com/doku.php/editor ... background

WBR
Holger

Nicky
Posts: 164
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Re: Changing standard text color tinymce

Post by Nicky » Sat Sep 25, 2010 11:20 am

Where do these codes have to be added??

Is this for template.htm ?
<body id="body" <?php echo onload();?>>


And this for stylesheet.css ?
body {background: #000; ... ;}
#body {background: #fff; ... ;}

Does this work for fckeditor?

Post Reply