You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
to
editorDoubleClick: function(e){
this.actions.each(function(action){
var item = this.toolbar.getItem(action);
if (item) {
var dblclick = MooEditable.Actions[action]['ondblclick'];
if (typeOf(dblclick) == 'function'){
dblclick.attempt([item,e], this);
return;
}
}
}.bind(this));
this.fireEvent('editorDoubleClick', [e, this]);
},
This would allow custom buttons to have a double click feature. For example, the createlink button can be extended so that if the users double clicks on a link then the link dialog will open up for edting.
The text was updated successfully, but these errors were encountered:
Small small typo on line 247 in MooEditable.js:
dbllick: this.editorDoubleClick.bind(this),
should be:
dblclick: this.editorDoubleClick.bind(this),
Also would you be interested in expanding
to
editorDoubleClick: function(e){
this.actions.each(function(action){
var item = this.toolbar.getItem(action);
if (item) {
var dblclick = MooEditable.Actions[action]['ondblclick'];
if (typeOf(dblclick) == 'function'){
dblclick.attempt([item,e], this);
return;
}
}
}.bind(this));
this.fireEvent('editorDoubleClick', [e, this]);
},
This would allow custom buttons to have a double click feature. For example, the createlink button can be extended so that if the users double clicks on a link then the link dialog will open up for edting.
The text was updated successfully, but these errors were encountered: