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.
[Solved] Cleditor text to white?
Eiliene
New
Ho w to change cleditor text to white? i have black bg in editor so the txt is kinda hard to read .
0
Best Answer
-
Kasper Vanilla Staff
I believe the only way is using jQuery: http://stackoverflow.com/questions/3714880/how-to-apply-css-to-iframe-content
Then perhaps do something like this:
$('.cleditorMain iframe').livequery(function() { $(this).contents().find('body').css({ color: 'white' }); });
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
2
Answers
actually this does look a little tricky.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I believe the only way is using jQuery: http://stackoverflow.com/questions/3714880/how-to-apply-css-to-iframe-content
Then perhaps do something like this:
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
Uset in default master and it works . Thanx.
No worries, glad I could be of help!
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub