This project has moved. For the latest updates, please go here.

onblur onfocus

Jun 18, 2014 at 6:19 PM
As far as I can tell, there is no way to detect onblur or onfocus, if so, can this be implemented?
Jun 18, 2014 at 9:52 PM
You can actually use this.editor.body
For myself, I implemented this:
getEditorBody: function () {
            return $(this.editor.body);
 }

//and then later...

$('#foobar').htmlarea('getEditorBody').focus(function(){
 //do something
});
Marked as answer by relipse on 6/18/2014 at 2:52 PM