Skip to content
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

Previews aren't showing current content #1933

Open
1 task done
traed opened this issue Aug 16, 2024 · 0 comments
Open
1 task done

Previews aren't showing current content #1933

traed opened this issue Aug 16, 2024 · 0 comments

Comments

@traed
Copy link
Contributor

traed commented Aug 16, 2024

Description

When editing a post (any post type with gutenberg enabled) and clicking on the preview button the autosaved content isn't being displayed. It seems to work sometimes which leads me to believe this is some sort of caching issue. GraphiQL also displays up-to-date content which further leads me to believe it's something to do with caching.

Steps to reproduce

  1. Setup a new project as shown here: https://faustjs.org/tutorial/get-started-with-faust
  2. Log into WP admin and create a new page and publish it
  3. Make some change but don't save and then hit the Preview button. The preview opens correctly.
  4. Make another change and hit the preview button again. The focus switches to the previously opened preview tab. Reload the page. The new change doesn't appear.
  5. What a while, then reload. The changes (maybe) appear?

Additional context

No response

@faustwp/core Version

3.0.3

@faustwp/cli Version

3.0.2

FaustWP Plugin Version

1.3.2

WordPress Version

6.6.1

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant