Commit e5238358 authored by Ben Hayward's avatar Ben Hayward

Update embed-image.plugin.ts

1 merge request!531[Sprint/ModestMonkey](fix): Return void if there is no selected or deselected image
Pipeline #79479835 passed with stages
in 49 minutes and 31 seconds
......@@ -237,7 +237,7 @@ export class EmbedImage {
public selectImage(e) {
let $image = e.target;
if (!$image || $image.tagname) {
if (!$image || !$image.tagname) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment