-
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 doesn't work after modifying on published posts #4099
Comments
Hi @idpokute, Thanks for the report. I can't reproduce this on Does the issue still reproduce for you? If so, can you look at your console to see if there are any relevant JavaScript or network errors? |
I updated Gutenberg V2.1, and I can still reproduce it. As you delete the one block, click the preview button. Than you could reproduce it. |
Thanks for following up, @idpokute. As a matter of fact, I ran into this issue independently yesterday too (working on something unrelated). |
Confirming that I am able to reproduce this on gutenberg 2.3 and wordpress 4.9.4 (I was about to report this myself); console does not display anything. I'm also able to reproduce this on a vanilla wordpress install spun up with vvv with no plugins installed except gutenberg. |
Just confirming that I'm still experiencing this on gutenberg 2.4. I should also note I am able to reproduce this as well if I follow steps 1-3 in the reproduction but instead for step 4, I add another block and added some text to it in case you were hypothesizing that a post without any blocks in it was the cause. (confirming that this is still the case on gutenberg 2.7 as well) |
Just following up, I'm still able to reproduce this on gutenberg 2.6 and wordpress 4.9.5; I have tried this on the vanilla wordpress spun up w/ vvv w/ no plugins; have experienced this on both firefox and chrome. |
Just following up, I'm still able to reproduce this on gutenberg 2.7 and wordpress 4.9.5; I have tried this on the vanilla wordpress spun up w/ vvv w/ no plugins; have experienced this on both firefox and chrome. I'm also able to reproduce this on my staging instance on my server used by production (php 7.1, apache) |
I'm also seeing this on 2.7. I can't see any PHP or JS errors or obvious reason what's gone wrong. I guess this is an effect of this unsupported functionality. |
Still experiencing this on 2.8. I've narrowed down that this only occurs if you do not click update before clicking preview. |
Let's make this happen! |
Closing as duplicate of #2544. |
@danielbachhuber thanks. |
@ginigangadharan This is a known bug that's being worked on. While work is being tracked in #2544 and others, we can keep this issue open for visibility until it's addressed. |
Closed by #7130. |
I do have a slightly different behaviour after updating Gutenberg plugin to version 4.1.0 The url of the preview has id (example: www.mydomain.com/?p=190) and I don't know where this number comes from... post-id would be "2" and the page-url is /about Is that "the same" issue or something completely different? |
Issue Overview
Preview doesn't work after modifying on published posts.
Steps to Reproduce (for bugs)
1.Add new post.
2.Write a title and add new paragraph block.
3.Publish it.
4.Delete the paragraph block.
5.Click Preview
Expected Behavior
Display the preview.
Current Behavior
The blank popup is showed and shows the message"Please wait…Generating preview." but nothing happens.
Possible Solution
Screenshots / Video
The post in the gif was already published. I did Step 4 and 5 of "Steps to Reproduce"
Related Issues and/or PRs
Todos
The text was updated successfully, but these errors were encountered: