Chrome 58 cannot select image
This commit is contained in:
@ -776,7 +776,8 @@ define("tinymce/util/Quirks", [
|
||||
// Needs to be the setBaseAndExtend or it will fail to select floated images
|
||||
if (/^(IMG|HR)$/.test(target.nodeName)) {
|
||||
e.preventDefault();
|
||||
selection.getSel().setBaseAndExtent(target, 0, target, 1);
|
||||
// selection.getSel().setBaseAndExtent(target, 0, target, 1);
|
||||
selection.select(target);
|
||||
editor.nodeChanged();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user