editorFocus and editorBlur events do not fire in Chrome or IE
Reported by kpobococ | January 7th, 2010 @ 05:13 PM | in 0.5
Reproduce code:
new MooEditable(textarea, {
'baseCSS': 'html { height: 100%; cursor: text } body.focus { background: red; } ',
'onEditorFocus': function() {
this.doc.body.addClass('focus');
},
'onEditorBlur': function() {
this.doc.body.removeClass('focus');
}
});
Expected behavior: background color change Actual behavior: no change in Chrome or IE8 Tested on: Firefox 3.5, Opera 9.6, IE8, Chrome 3
It seems, that focus and blur events are not correctly fired on those browsers, are not intercepted by MooEditable and are not re-fired as editor events. Theoretically, bug also applies to Safari and earlier versions of IE, but I can't confirm.
P.S. Sorry for a duplicate issue on github. I didn't notice this tracker at first... :)
Comments and changes to this ticket
-
Lim Chee Aun January 7th, 2010 @ 09:44 PM
- State changed from new to resolved
- Tag set to focus blur events bug
Fixed. Thanks :)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A simple web-based WYSIWYG editor, written in Mootools.