Block Data
Categories
Component ID
2577597
Component name
Block Data
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
869
Component created
Component changed
Component body
Block Data provides the ability to add data attributes to blocks that come in handy when working with external APIs or JavaScript frameworks. This can be anything from adding data attributes for theme enhancements like modals and tooltips, to adding additional inline style attributes to a block.


This module works very similar to Block Class in that it utilizes the Core Block API and stores data attributes in the block table.
Dependencies
Options Element provides us a better UI for adding data attributes that is easy to understand for the end-user.
