• Is it possible to use this plugin to add data attributes to an image block? According to the plugin documentation, I should be able to “extend the predefined list of block names by hooking into the mypreview.blockDataAttributeAllowedBlocks filter provided by the plugin.”

    I’m not sure how to do this, would you be able to provide some help please? Thank you.

Viewing 1 replies (of 1 total)
  • I have the exact same question. Please improve the documentation to explain how to add code to functions.php to add the image block to the list of allowed blocks.

Viewing 1 replies (of 1 total)

The topic ‘Data attributes on an image block’ is closed to new replies.