AdvancedCustomFields / AdvancedCustomFields/acf

Standard Gutenberg Blocks not showing in Preview when ACF is installed

Open
#118 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

When adding/updating vanilla Gutenberg blocks, the blocks are not updated when previewing the page. I have to update the page to see the Gutenberg changes reflected. This only occurs when a page is already published. Pages set to Draft appear to work as expected.

I am currently using an ACF Group field which is set as a meta box (not as a Gutenberg block) to the front page.

When uninstalling ACF OR removing the ACF meta boxes from the page, preview works as expected when a page is currently published.

Note: Previewing the front-end display of the ACF fields works as expected, it is just vanilla Gutenberg block content that is not updated in preview.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with ACF installed and a published front page using an ACF Group field as a meta box, then preview changes to a vanilla Gutenberg block. Compare this with a draft page and with ACF or the meta box removed; done means published-page previews show updated Gutenberg content without requiring a page update.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, content
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.