Open el-quick opened 8 years ago
Couldn't you attach your own double click handler that will instantiate Medium and focus in the field? This seems like auxiliary logic that doesn't belong in Medium.
Maybe this will work:
el.addEventListener('dblclick', function elDblClick() {
el.removeEventListener('dblclick', elDblClick);
new Medium({ element: el });
});
Please add a custom option to enable edition on click or doble click.