Editor text color change
3 posters
Page 1 of 1
Editor text color change
Hello,
How can i change the self-written text color in my editor ?
-screenshots deleted by Joost-
How can i change the self-written text color in my editor ?
-screenshots deleted by Joost-
Last edited by Joost on August 7th 2017, 8:35 pm; edited 2 times in total
Re: Editor text color change
CSS:
- Code:
.sceditor-container iframe, .sceditor-container textarea {
color: YOUR COLOR;
}


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Editor text color change
- Code:
.sceditor-container iframe, .sceditor-container textarea {
color: YOUR COLOR !important;
}


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Editor text color change
Add it to the top of your CSS stylesheet. If this does not work, please clear your browser's cache and history.


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Editor text color change
Hi there, since the editor is an iframe, you have to add CSS via JavaScript.
Add this to your JavaScripts.
Title: Whatever you please.
Placement: all pages.
Where it says color:YOUR COLOR!important;. That's where you edit your text color in the editor.
Add this to your JavaScripts.
Title: Whatever you please.
Placement: all pages.
- Code:
$(function() {
$(function() {
$(".sceditor-container iframe")
.contents()
.find("head")
.append(
"<style>body,html,code:before,p,table{color:#FFFFFF!important;}</style>"
);
});
});
Where it says color:YOUR COLOR!important;. That's where you edit your text color in the editor.

» Change text color on New Editor
» How To change the Default text using editor[color]
» HOW TO CHANGE the main text editor color an look
» Change Post New Topic text editor color
» Editor Text Color
» How To change the Default text using editor[color]
» HOW TO CHANGE the main text editor color an look
» Change Post New Topic text editor color
» Editor Text Color
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum