The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Help fixing the background color and text in the new editor

View previous topic View next topic Go down

Help fixing the background color and text in the new editor

Post by Shen Rajinto on August 14th 2013, 7:42 pm

I have read the thread http://help.forumotion.com/t124671-only-topic-new-editor and tried the examples listed below to change the background and text color of my editor. However, it only changes the SourceMode editor and not the WYSIWYG editor. I'm hoping someone can help me.

@Made wrote:
@Sanket wrote:Made, add this to your css & check.
Code:
div.sceditor-container textarea {
  background-color: #000000 !important;
}
div.sceditor-container {
  background-color: #000000 !important;
}
We're half way there, Sanket, lol. 'cause now I have a black background which is great but black text Confused
I need the text to be white by default Smile

@Sanket wrote:Try this in your css.
Code:
.sceditor-container iframe, .sceditor-container textarea {
  color: #ff0000 !important;
}

Shen Rajinto
Forumember

Male Posts : 42
Reputation : 1
Language : English
Location : USA

http://insun.forumotion.com

Back to top Go down

Re: Help fixing the background color and text in the new editor

Post by Shen Rajinto on August 16th 2013, 4:50 pm

I have found the problem as to why it's not working in the WYSIWYG editor, but I still do not know how to fix it.

When you are in sourceMode editor, the data entry area is called "textarea".

But when you are in wysiwygMode, the data entry area becomes an "iframe" with a <body> and <p> is the actual text entry line.

Shen Rajinto
Forumember

Male Posts : 42
Reputation : 1
Language : English
Location : USA

http://insun.forumotion.com

Back to top Go down

Re: Help fixing the background color and text in the new editor

Post by Kralj on August 16th 2013, 6:38 pm

If it is solved please tag solved, if it's not, please writte what is your forum version, and can you explain what is problem?

Kralj
Forumember

Male Posts : 128
Reputation : 6
Language : Croatian || English || HTML
Location : Croatia

Back to top Go down

Re: Help fixing the background color and text in the new editor

Post by Shen Rajinto on August 16th 2013, 7:42 pm

It's not solved, I'm just trying to provide more information about what is going on.

I'm using Invision, the url is http://intersun.forumotion.com

I'm trying to change the background color and the text color of the text editor.

When I put the changes listed in the OP into my CSS, it changes the colors on the Source Mode editor (no formatting shown), but not the WYSIWYG Mode. Using Firefox and the Inspect tool, I found out that the sceditor-container no longer has a "textarea" that it is now an iframe.

If i place:
Code:
div.sceditor-container iframe {
 background-color: #000000 !important;
 color: #c2c2c2 !important;
}
into my CSS, it only changes the background color and not the text color.

EDIT: I did some more digging with Firefox, and found that the text is being colored by this code:
Code:
body,code:before,html,p,table{
  color:#111;
  font-family:Verdana,Arial,Helvetica,sans-serif;
  font-size:13px;
  margin:0;
  padding:0
}
which is loaded to the css from an external file: http://illiweb.com/rs4/76/frm/SCEditor/minified/jquery.sceditor.default.min.css

But I can't figure out where it's called and how to fix it to change the text color to what I want.


Last edited by Shen Rajinto on August 16th 2013, 8:50 pm; edited 1 time in total (Reason for editing : Added information)

Shen Rajinto
Forumember

Male Posts : 42
Reputation : 1
Language : English
Location : USA

http://insun.forumotion.com

Back to top Go down

Re: Help fixing the background color and text in the new editor

Post by Sir Chivas™ on August 17th 2013, 11:32 pm

@Kralj wrote:If it is solved please tag solved, if it's not, please writte what is your forum version, and can you explain what is problem?
Please be aware that you're banned from not following the rules, this has been your last chances, therefore, you've been banned.



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Re: Help fixing the background color and text in the new editor

Post by Shen Rajinto on August 19th 2013, 6:17 pm

Still looking for help on this.

Shen Rajinto
Forumember

Male Posts : 42
Reputation : 1
Language : English
Location : USA

http://insun.forumotion.com

Back to top Go down

Re: Help fixing the background color and text in the new editor

Post by Shen Rajinto on August 23rd 2013, 5:59 pm

Still hoping for help. I can't figure out how to bypass the external css that affects the WYSIWYG editor.

Shen Rajinto
Forumember

Male Posts : 42
Reputation : 1
Language : English
Location : USA

http://insun.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum