Hi,
adding this as a feature is not directly possible in the media library, unfortunately. The reason is that that’s coming directly from WordPress.
If you use the “Insert Link” button, you can however choose to have the link open in a new window.
Now, in your case, you did add the target="_blank"
, but in the wrong place. Instead of adding it to the <img>
tag, it has to be added to the <a>
tag, see my example above.
By the way: Most web experts consider forcing links to open in a new window/tab a bad thing, because it takes away freedom from the user, see https://css-tricks.com/use-target_blank/
Regards,
Tobias
Regards,
Tobias