Closed phette23 closed 3 years ago
See wagtail/wagtail#1167 where they just finished some work on this. Docs: https://docs.wagtail.io/en/latest/advanced_topics/customisation/rich_text_internals.html#link-rewrite-handlers
The link rewrite handlers only operate site-wide, so while we could do something like make all external (or another certain type) links open in a new window we cannot specify particular ones, so this is still blocked and it seems like the Wagtail team really does not want to implement something in the link UI to make one-off exceptions. I'm just going to close this for now to clean up the issue queue and if it's requested again, I can research whether the status has changed.
The Wagtail text editor (draftail) doesn't allow you to use a
target="_blank"
attribute on hyperlinks to force them to open in a new window.The majority of the time this behavior is desirable, but not having the option to do otherwise is problematic in some instances.