Page 1 of 1

[RESOLVED] TinyMCE Editor Picks up BG of the main site; how to stop this?

Posted: Mon Feb 04, 2008 9:45 pm
by pixelita
I have searched and haven't found [a solution to] this issue.  When I have a CMSMS site that uses a dark body background color, TinyMCE seems to pick it up in the editor page.  This isn't a problem for me, since I use the popup raw code/HTML editor anyway. But usually, I'm turning the site over to my (usually somewhat technically challenged) client, and this can be an issue with a dark background and black text.

I've poked around all the files to try to figure out where I can edit this specific instance (it's in the textarea of the TinyMCE editing screen only that seems to be the problem), but haven't been able to figure it out. 

Modifying the default admin theme or installing a new admin theme doesn't cure this problem.

Thanks for any help.

Update/Solution Found:  In TinyMCE, there is a tickbox, "Strip Background Tags From CSS" and that did the trick; it reverted to white.  Yay! 

I'm lovin me some CMS-MS!!

Re: [RESOLVED] TinyMCE Editor Picks up BG of the main site; how to stop this?

Posted: Thu Jun 26, 2008 12:16 am
by brianbloom
So I have a very similar problem, and hoped this fix would work for me, but it didn't.

I have CMSMS 1.3.1, TinyMCE 3.0.8 (the latest stuff, installed as of today).
On the site itself I have a very pale green background, the main body of text is in a darkgreen div section called "maincol", and the text is white on top of that.

But when I try to edit content in TinyMCE, it uses the pale green background, and the white text, but leaves out the dark green layer so the text is all but unreadable!

Checking the "strip background tags" didn't seem to do anything.  Anyone have suggestions on how to fix this?

If you're having trouble visualizing the color combos, the site is http://www.portlandpoly.org

Thanks!

Re: [UNRESOLVED] TinyMCE Editor Picks up BG of the main site; how to stop this?

Posted: Tue Jul 01, 2008 4:45 pm
by brianbloom
So does anyone have any tips for this?  I'm sorta stuck.

Re: [RESOLVED] TinyMCE Editor Picks up BG of the main site; how to stop this?

Posted: Sun Jul 06, 2008 7:01 pm
by pixelita
Did you log out and log back in after you checked that box?  The site I posted about earlier is still on CMSMS 1.2.3 (Blackrock) and TinyMCE 2.2.4.  My fear is that once I upgrade CMSMS to the latest (which I believe I should do to avoid security issues), I'll be in the same boat you're in.  :(

Re: [RESOLVED] TinyMCE Editor Picks up BG of the main site; how to stop this?

Posted: Sun Jul 06, 2008 9:15 pm
by Dr.CSS
You should upgrade now...

It helps in tiny to tick the strip CSS box and to go to the advanced, in 1.3 and 1.3.1, tab and add background-color: #FFFFFF to Body tag CSS:..

Re: [RESOLVED] TinyMCE Editor Picks up BG of the main site; how to stop this?

Posted: Wed Jul 09, 2008 7:00 pm
by brianbloom
mark wrote: It helps in tiny to tick the strip CSS box and to go to the advanced, in 1.3 and 1.3.1, tab and add background-color: #FFFFFF to Body tag CSS:..
Thank you!  This was the sneakiness I needed...  In my case I actually needed "background-color: #1d4d01" but that made the Tiny background match my maincol color and now you can actually see words!

I guess I can be called "resolved" as well, more or less.  Would be nice if the css layers "just worked" in TinyMCE, but this at least makes my site usable again.