This question is locked. New answers and comments are not allowed.
Am intending on showing/hiding the editor toolbar when the editor gains focus.
Not haivng much luck on binding to the focus at the moment. I assume jquery doesn't register an event for focus on the body tag.
Anyone have any tips on how i can achieve this?
Not haivng much luck on binding to the focus at the moment. I assume jquery doesn't register an event for focus on the body tag.
Anyone have any tips on how i can achieve this?
$('iframe..t-content').contents().find('body').bind({ focus: function() { alert('focus'); }, focusout: function() { alert('focusout'); }});