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?

  • @paulgagu do you have a working example with the new block.json since version 6.0? I use this but when I for example try the following code and have the hallo.jpg inside the same folder as the block.json, it doesnt work :/:

    "example": {
        "attributes": {
            "data": {
                "preview_image_help" : "../accordion/hallo.jpg"
            }
        }
    }