I’m using ACF Pro 5.10.1 on WordPress 5.8.
Here’s the issue I’m running into:
- Create a new page, and add a block that has ACF fields.
- Edit the block within the content editor, by clicking the pencil icon to switch out of preview mode.
- Save the page and exit the editor screen, leaving the block in edit mode (not preview).
- Reopen the page editor, and WordPress has remembered that the block was last in edit mode, so displays it in the editor that way.
acf-block-preview
class is applied around the ACF fields used for editing (it’s a default action on page load?).
This can cause a few styling issues with CSS targeting acf-block-preview
changing the look of the ACF fields, and possibly accidentally disabling them (eg. acf-block-preview a { pointer-events: none;}
.
Just a small thing, amazing how few issues ACF has had over the years!