Home Forums Gutenberg Gutenberg block rendering problem in code editor


Gutenberg block rendering problem in code editor

  • Hi Eliot,

    Very glad to see that ACF almost ready with Gutenberg!

    I have seen there’re a problem when you change the block in the code editor mode or deactivated the Gutenberg Plugin, the block code doesn’t render in HTML properly.

    Screenshot attached:


  • Hi @sayfur-rahman

    Thanks for the email,
    Elliot here – ACF dev​​​.

    ACF Blocks are dynamic, meaning the “HTML” is left empty, and all data is saved as an object within the “HTML comment”.

    ACF then renders the HTML via your “render_callback” usng this data. I hope this info is helpful.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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.