-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 page randomly wont display #4625
Comments
I haven't been able to reproduce this exactly as described, but I could reproduce the same behaviour like so:
@maddisondesigns: When you see this happening (without making any changes to the post), do you recall if the "Update" button is enabled or disabled? Also, do you have any plugins enabled on this site? |
I have a feeling the Update button was enabled because I was retesting multiple issues that I'd raised and I think on this occasion I had click on the Text Columns block, changed the number of columns, broke the Text Columns block and then tried to preview. If I do those steps now (Open page, Click Text Columns block, Change the number of columns, Click Prewiew), I can reliably replicate the issue. If I also open the page, add a Paragraph Block (with or without text) and then try to preview, the same thing occurs. Even by opening the page, adding a character to an existing Paragraph block and then clicking Preview, produces the same result. Currently activated plugins are: But I've also just deactivated every plugin (except Gutenberg) and can reproduce the same issue by performing the above steps |
If I simply open a page and then click preview (without doing anything else), the preview seems to work ok |
Cool, thanks for the extra info. This should be fixed by #4218, which adds autosaving support for published posts, amongst a bunch of other autosaving improvements. (The preview button needs to make a successful autosave before it can open the preview URL.) |
So I'm not going to be able to open a page and click preview straight away? That'll be really annoying! |
|
Not fixed. Preview only works for me if the document has first been saved. |
Seconded. This issue still exists and is easily reproducible by performing the steps I mentioned above (Open page, Click Text Columns block, Change the number of columns, Click Preview) |
This was closed as a duplicate of #4218, which hasn't been merged yet. |
Can you be a little clearer next time then please. Saying it's Fixed is not helpful to us when it hasn't actually been merged. For people who are testing with the plugin, it's only 'Fixed' when it's actually merged in the plugin and we can test it. |
I just installed the Gutenberg plugin. Same problem, except it's every time. I can't get the preview to work at all. In any case, converting my page completely borked the layout. I'll be installing the classic editor plugin when they roll this into core — it's a PITA. |
Can someone please reopen this as it's still not fixed. Using Gutenberg v2.7.0 I can easily replicate the issue by performing the steps mentioned above. |
I appreciate that it's frustrating that previewing published posts doesn't work, but that's not the bug here. The issue is that the autosave API hasn't been implemented yet, previewing published posts cannot work without that. The particular behaviour reported in this issue is a single aspect of a much larger problem. We can certainly reopen this issue if, after #6257 is merged, previewing published posts still doesn't work. |
Issue Overview
Tried to preview a page that I'd previously created and all it showed was "Please wait…Generating preview."
Steps to Reproduce (for bugs)
Expected Behavior
I expect to be able to preview my pages EVERY TIME
Current Behavior
Gutenberg randomly wont let you preview the page.
Firefox Quantum 57.0.4 (64-bit)
Gutenberg 2.0.0
WordPress 4.9.2
The text was updated successfully, but these errors were encountered: