You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On an ACF block, when using InnerBlocks and setting the templateLock prop to "contentOnly", the fields disppear from the sidebar. When using the "all" or "insert" values, they remain.
To Reproduce
Steps to reproduce the behavior:
Create an ACF block with at least 1 custom field
Add InnerBlocks support to the block with `"supports": { "jsx": true }
Create some mark and include the <InnerBlocks /> component
Add templateLock="contentOnly" to the InnerBlocks component and your fields will disappear from the sidebar
Expected behavior
ACF fields should remain for all templateLock values.
Screenshots or Video
Version Information:
WordPress Version 6.3.2
PHP Version 8.1.23
ACF Version ACF PRO 6.3
Browser All browsers
The text was updated successfully, but these errors were encountered:
This is a tricky one. The ACF field can only refer to the content, but also to the design. Therefore, just showing all ACF fields in case of contentOnly is not the right way.
To do it properly, something would have to be defined for each ACF field depending on whether it is a content field or not.
Describe the bug
On an ACF block, when using InnerBlocks and setting the templateLock prop to "contentOnly", the fields disppear from the sidebar. When using the "all" or "insert" values, they remain.
To Reproduce
Steps to reproduce the behavior:
<InnerBlocks />
componenttemplateLock="contentOnly"
to theInnerBlocks
component and your fields will disappear from the sidebarExpected behavior
ACF fields should remain for all
templateLock
values.Screenshots or Video
Version Information:
The text was updated successfully, but these errors were encountered: