[FIX] web_editor: doubleclick on image in a link
Before this commit, when clicking on an image which is in a link, both the link edition dialog and the image edition dialog were opened. Now only one opens.
This commit is contained in:
@@ -849,6 +849,7 @@ eventHandler.attach = function (oLayoutInfo, options) {
|
||||
if ($(e.target).closest(".note-toolbar").length) return; // prevent icon edition of top bar for default summernote
|
||||
show_tooltip = false;
|
||||
callback();
|
||||
e.stopImmediatePropagation();
|
||||
});
|
||||
|
||||
oLayoutInfo.editor().on("click", selector, function (e) {
|
||||
|
||||
Reference in New Issue
Block a user