I need to change background color of CkEditor, on some basic jQuery methods, like ready, change, etc.
Tried with things like:
$(document).on('click','.change-task-status', function(e){
$(".cke_editable").css("background-color", 'red');
})
... but nothing happens.
Can you help me how to achieve this?
Thank you in advance!
PS. yes, I do have jQuery adapter loaded on page.
UPDATE:
Some improvement is made - when I run next code in console, it changes background color
$( ".cke_wysiwyg_frame" ).contents().find( ".cke_editable" ).css( "background-color", "#BADA55" );
Now just to find why it does not execute in code...