Not a bug Links from the preview feature don't open in new window, taking you away from the composition page and potentially losing your post

RobinHood

Well-known member
Affected version
2.1
As above, I added a link to a post, hit preview, clicked the link and it opened in the same window making me lose my post as it hadn't saved yet.
 
I suspect the timeline was actually longer than you suggested. We automatically save a draft when you click the preview button so that implies that you clicked preview, added some extra content to your post and then clicked the link.

Either way, I don't think we'll be making any changes here. The links that render here render with the same rules as they do in a normal post. Internal links will open in the current tab, external links will open in a new tab. This has been the same behaviour from the start.

Even if you miss the draft saving, navigating to another page and then back again doesn't necessarily lose any of the post content as most browsers have a sensible approach to saving the current state of the page when you're navigating forwards and backwards though your history.
 
Back
Top Bottom