Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Background color change
![bposner](https://us.v-cdn.net/5018160/uploads/userpics/440/n2YCWBMZ4ZUFJ.jpg)
Hi
How can I change the default background and text color in the WYSIWYG (CLEditor)
Thanks
0
Comments
@bposner
Check if there is a custom.css file in the CLEditor folder.
If so, make the necessary changes there. Use a tool like Firebug in Firefox to see which css elements need to be changed.
If there isn't a custom.css file in the plugin, add the rules in your theme's custom.css file.
CLEditor is loaded using an iframe so the above will not work I'm afraid. You'll have to edit
jquery.cleditor.css
instead.Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
Thanks.. I just need the area in the jquery.cleditor.css file to change default color of text. I found how to change the background color, but default color of text remains black. I'm not by any stretch a coder, but can edit files just fine if I know where to edit/add things.
Thanks
@bposner: To change the font color for text of the cleditor , edit the jquery.cleditor.min.js and the jquery.cleditor.js , go to the part after Doctype HTML. this part controls the rich editor side of the cleditor .
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks but that didn't help, V.
are you sure you edited the javascript? jquery.cleditor.min.js and jquery.cleditor.js ?
That is what I did to make the text in the cleditor white because I made the background dark.
there are two sides to the cleditor, the html side which you access by the link < > and the rich editor side, the main. You can change the font color of the html side as you would with any text area with css. But for the rich text editor side, you must edit the javascript.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
http://vanillaforums.org/discussion/21846/how-to-style-cleditor-anyway-you-want
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks, V. that made a lot easier, appreciate your spot on replies.