Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Preview: Enable published posts preview #7189
Note: Merges to
This pull request seeks to allow the user to preview changes to a published post without first updating the post (i.e. the autosave revision preview).
In doing so, it...
To the latter point, I landed at the conclusion that
Related Trac tickets:
Thus, if there are no unsaved changes for a post, the Preview button is effectively a link to
This is an interesting idea. I hadn't considered it this way before, but it seems like a reasonable decision to me (particularly because I don't think core's existing implementation of previews is this well-considered).
referenced this pull request
Jun 6, 2018
I can reproduce this, and it seems to affect where we're previewing a post we'd already previewed once before in the same session:
Expected: Preview is shown with updated title
The problem is that the second time we preview, we already have a
Another complication: For repeated previews of a draft post, even if I make changes, the preview URL will never change (e.g.