Support

Account

Home Forums Gutenberg Register block preview image with acf_register_block_type? Reply To: Register block preview image with acf_register_block_type?

  • Hi, with this solution often the WYSIWYG editor breaks when you hover over the block inserter elements. I have seen this in multiple sites that use this technique.

    It seems that the ACF code breaks whenever the preview is not yet fully loaded.

    A native acf solution for this would be highly appreciated.

    You would like clients to see a preview image of what they are actually going to insert. The current idea of an actual render of the component seems like a nice idea but requires a lot more work from the developer and is not worth it. Adding an image would be such a simple solution.