-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview link broken until post is saved for the first time #2544
Comments
Duplicate #1773 (comment) ? |
Despite #1773 being closed, I can still replicate this myself. |
Can also replicate this. |
I can replicate this too by opening the demo post on my own site and hitting Preview right away. But that is likely related to the core issue I reported earlier, as I cannot (auto)save a post, so the REST API task label is 👌 . |
Current status: This was intentionally not implemented because it is not possible yet to support in the REST API. Related: |
Looks like this is still an issue: Notably, it's a bug because the "Preview" button is broken until the first revision is saved. In my GIF, I write "Foo" in the title and then immediately hit the "Preview" button. The first preview UX is broken. However, by the time I navigate back, the first revision is saved and preview begins working correctly. |
Likely blocked by #6257 |
@aduth Can you summarize the underlying issue here, and what needs to be done to address it? |
@danielbachhuber See also #7179. Basically, to be able to complete the redirect, we need a preview link. This is made available for a full save on the post endpoint's In parallel, the |
Closed by #7130. |
Issue Overview
Gutenberg 0.9
Preview link at top of page does not work unless I update the page first. I get a new browser tab -
about:blank.
Steps to Reproduce (for bugs)
Expected Behavior
If I make changes in a post I should be able to preview the post before Updating, especially if this is a Published post and not a Draft post.
Preview link should work like it does currently.
Current Behavior
Preview link at top of page does not work unless I update the page first. I get a new browser tab about:blank.
Possible Solution
Related Issues and/or PRs
Todos
The text was updated successfully, but these errors were encountered: