Home › Forums › General Issues › Restricted-InnerBlocks example: content doesn\'t display › Reply To: Restricted-InnerBlocks example: content doesn\'t display
I can only confirm this issue – I registeres the Restricted block from the docs as well as a minimal block with just an <InnerBlocks /> element, but when I insert them in the editor, I see no editable content area. No errors, no cache issue.
When I inspect the DOM, this is the HTML that is displayed for this block:
<div aria-label="Block: Restricted" role="group" id="block-e7e75935-f1de-4cca-82f7-53a85e043e73" class="block-editor-block-list__block wp-block is-selected wp-block" data-block="e7e75935-f1de-4cca-82f7-53a85e043e73" data-type="acf/restricted" data-title="Restricted" tabindex="0"><div class="acf-block-component acf-block-body"><div><div class="acf-block-preview"></div></div></div></div>
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz
— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.