After implementing #19 it uncovered a little bug, the mousedown.editor listener is being added to the body multiple times, one for each time you click inside the editable area. Can be fixed with
$('body').unbind('mousedown.editor').bind('mousedown.editor', function(e) {
Or by simply making editableInit bail out before that.
After implementing #19 it uncovered a little bug, the
mousedown.editorlistener is being added to thebodymultiple times, one for each time you click inside the editable area. Can be fixed withOr by simply making
editableInitbail out before that.