The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
2 posters

    How to change the color code in the editor

    zzlasperpen
    zzlasperpen
    Forumember


    Male Posts : 56
    Reputation : 3
    Language : VietNam

    In progress How to change the color code in the editor

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

    How to change the color code in the editor Xh8DAje
    I want to switch to wysiwyg editor, the color code text white
    please help me
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

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

    Post by Ange Tuteur 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

      Current date/time is September 22nd 2024, 10:27 pm