Pages: [1] |
|
|
Author |
Topic: I can't see black text in editor (Read 65 times) |
DougZ
Posts: 16
|
Is there anyway I can change the background color of the editor so my client can see black text?
|
|
|
|
|
DougZ
Posts: 16
|
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.
|
|
|
|
Jenkinhill
|
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.
|
Kelvyn
|
|
|
DougZ
Posts: 16
|
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?
|
|
|
|
|
|
Pages: [1]
|
|
|
|