How to change the color code in the editor

Go down

In progress How to change the color code in the editor

Post by zzlasperpen on November 8th 2015, 2:59 pm


I want to switch to wysiwyg editor, the color code text white
please help me
avatar
zzlasperpen
Forumember

Male Posts : 35
Reputation : 1
Language : VietNam

http://www.hotrofm.net/

Back to top Go down

In progress Re: How to change the color code in the editor

Post by Ange Tuteur on November 8th 2015, 5:23 pm

Hi @zzlasperpen,

For source code mode add this to your CSS :
Administration Panel > Display > Colors > CSS stylesheet
Code:
.sceditor-container textarea{ color:#fff !important }


For WYSIWYG mode create a new script :
Administration Panel > Modules > Javascript codes management > Create a new script


Title : Your choice
Placement : In all the pages
Paste the code below and submit :
Code:
$(function(){$(function(){$(".sceditor-container iframe").contents().find("head").append("<style>body,html,code:before,p,table{color:#fff!important;}</style>")})});

Modify
Code:
#fff
to change the color of the font. Wink
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


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