Steffen
Well-known member
- Affected version
- 2.2.3
In the WYSIWYG editor, clicking a link opens a toolbar with three buttons. This issue is about the leftmost button: "Open link".
If you've inserted a link using Froala, then the link has a
But if you a) edit the post later on or b) toggle the editor mode while editing (in both cases it's now XenForo that generates the post's HTML code) then the link doesn't have a
I think clicking links in the editor should always open a new tab, no matter how the link got there (and no matter whether it is an internal or an external link).
If you've inserted a link using Froala, then the link has a
target="_blank"
attribute and the "Open link" button opens the link in a new tab. Everything is fine.But if you a) edit the post later on or b) toggle the editor mode while editing (in both cases it's now XenForo that generates the post's HTML code) then the link doesn't have a
target="_blank"
attribute and clicking the "Open link" button opens the link in the same tab which is unexpected and can lead to data loss.I think clicking links in the editor should always open a new tab, no matter how the link got there (and no matter whether it is an internal or an external link).