-
Notifications
You must be signed in to change notification settings - Fork 902
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
Post preview when using Gutenberg does not display changes when Yoast is active. #11923
Comments
I'm having the same issue (with the Parabola theme). |
Same issue with my own theme based off Skeleton.css and Naked Wordpress. |
Tested and confirmed using WordPress 5.0.2 and Yoast SEO 9.3 that I cannot preview changes made to existing posts when Yoast is active but preview works normally if I deactivate Yoast. Video: 1m41s |
I tested this again with WordPress 5.0.3 and Yoast SEO 9.4 and the problem persists.
Result: previews of edits made to published posts do not appear if Yoast SEO 9.4 is installed and activated. (53s) |
Closing because this seems to be a bug on the WP/GB side. See: WordPress/gutenberg#12617 (comment) |
For everyone's reference in WP Release 5.5 they have changed the preview to show Gutenberg updates but not meta field updates. Currently it is the opposite. |
@hughiemolloy Thanks for letting us know! Could you maybe post the related Gutenberg PR/commit here? And can you give more context about what it means exactly for metafields? |
When using Gutenberg autosaving does two saves, one for the Gutenberg editor and one for the metafields. The metafields used to happen second. They have switched the order. The problem is when saving the metafields they have the old post content. And as they are saved second the preview show the second, later, autosave and acts like the editor was not updated. This is the merged PR: WordPress/gutenberg#14877 |
Please give us a description of what happened.
When using the Gutenberg editor, any changes made to the content after publishing the post the first time are not displayed in the post preview.
Please describe what you expected to happen and why.
I expected any changes made to the post to be displayed when clicking the "Preview" button, without having to publish the post first.
How can we reproduce this behavior?
1.While the Yoast SEO plugin is active, create a new post with content. Click "Preview" to see the changes without publishing. The changes should be displayed.
2.Publish the post.
3.Make changes to the post content, like adding a new paragraph. Click "Preview" again without publishing. Changes will not be displayed. Only publishing the post will display any subsequent changes.
Deactivate the Yoast SEO plugin and repeat the steps above. Changes should always be displayed in the preview without having to publish the post.
Technical info
Used versions
The text was updated successfully, but these errors were encountered: