SnippetMaster Support Forums
Return to main website
 
August 31, 2009, 07:21:49 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 31, 2009, 07:21:49 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: I can't see black text in editor « previous next »
Pages: [1] Print
Author Topic: I can't see black text in editor  (Read 65 times)
DougZ

Posts: 16


[-] I can't see black text in editor
« on: August 26, 2009, 01:29:18 PM »

Is there anyway I can change the background color of the editor so my client can see black text?
Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 386



[-] Re: I can't see black text in editor
« Reply #1 on: August 27, 2009, 01:05:35 AM »

Report to moderator   Logged

Kelvyn
DougZ

Posts: 16


[-] Re: I can't see black text in editor
« Reply #2 on: August 27, 2009, 02:15:15 PM »

Thank you.  The first post worked: "Simply add this line to the end of your main CSS file:
.mceContentBody { background-image: none; background-color: White; color: Black; } /*SnippetMaster editor bg color*/

Too bad snippetmaster doesn't display the page as designed (wysiwyg?).  This would make editing for most users more familiar and friendly.

Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 386



[-] Re: I can't see black text in editor
« Reply #3 on: August 28, 2009, 01:34:34 AM »

Too bad snippetmaster doesn't display the page as designed (wysiwyg?). 

But it does if css styles are applied to the elements within the snippet. For example, if snippet tags are placed around a block level element such as a <div> and that div is styled  in css then the style will be applied within the editor. If that div contains <p> elements then they should also be defined in the style sheet.
Report to moderator   Logged

Kelvyn
DougZ

Posts: 16


[-] Re: I can't see black text in editor
« Reply #4 on: August 28, 2009, 07:30:43 PM »

Thank you for helping me set this up.  I tried placing divs within snippet tags.  It worked - the snippet edit window now does show the background of that div as defined in the stylesheet.

However, now the div can be resized by the user with the handles on the div border box.  I tried to prevent this in the editor list but that didn’t work. 
Is there a way to prevent the user from resizing the divs and other elements within the snippet?

Another problem is with the background, not defined by the div.  I would like it to be displayed as gray so that black and white text can be seen for editing. I used the following code at the bottom of the stylesheet as you originally suggested with the addition of the gray code.   

“.mceContentBody { background-image: none; background-color: #999999; color: Black; } /*SnippetMaster editor bg color*/ “

This worked in IE8 but failed with Firefox 3.5 and Chrome 2.0.1 that displayed the snippet edit page as black.  This happened after clearing the catches. 
Is there a way to instruct Firefox and Chrome to display the edit page background as gray?
Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 386



[-] Re: I can't see black text in editor
« Reply #5 on: Today at 11:07:32 AM »

FF & Chrome cache the css and that cache is not cleared easily. For how to clear FireFox css cache see  http://www.snippetmaster.com/forums/index.php/topic,1667.msg6886.html#msg6886
Report to moderator   Logged

Kelvyn
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: I can't see black text in editor « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!