Hello. With CKEDITOR, I'd like to know when a user moves their mouse over an element with a class name of "findme".
I can get this to work when the user clicks, but not with a mouseover/hover type event. Any ideas?
this.document.on( 'click', function(e) {
var editordata = CKEDITOR.instances.meeting_notes.getData();
element = CKEDITOR.instances.meeting_notes.getSelection().getStartElement();
elementtext = element.getText();
if(element.getId() != null)
{
if(element.hasClass("findme"))
{
alert('hello world');
}
}
});
How can I get the Alert to fire anytime the user moves thier mouse over an element with Class = findme?
thanks