Thursday 12 July 2012 4:07:05 pm - 1 reply
Hi folks,
I'd like to change the background of the tiny mce editor when there is an error when validating the textarea. I tried to change it with adding a class "error-validation-textarea" when the attribute has error validation and give the tinymce class the background color red.
But the problem is that the tinymce is loaded in an frame so i cant change it with html/css.
Do you have any ideas how I can change the backgroundfhe tinymce when error validation?
Greeting from Germany.
Timmy
Thursday 12 July 2012 4:33:23 pm
Hi Tim,
Never to do something like that, but you could acces to frame with Javascript. For example :
window.parent.frames[0].document
So you could modify css class ![]()
In Jquery you could write something like that
$(window.parent.frames[0].document).ready(function() {
Hope it could help
Cheers
Philippe
Modified on Thursday 12 July 2012 4:35:04 pm by Philippe Vincent-Royol
You must be logged in to post messages in this topic!