Attributes for Blocks

Allows to add HTML attributes to Gutenberg blocks.

Author:websevendev (profile at wordpress.org)
WordPress version required:6.2.0
WordPress version tested:6.5
Plugin version:1.0.6
Added to WordPress repository:25-08-2021
Last updated:07-04-2024
Rating, %:100
Rated by:17
Plugin URI:https://wordpress.org/plugins/attributes-for-...
Total downloads:11 889
Active installs:2 000+
plugin download
Click to start download

This plugin adds additional advanced inspector controls to Gutenberg blocks that allow to add any custom HTML attributes to the block’s front-end output. This allows you to add inline styles to fine-tune the block’s appearance, set aria attributes to improve your site’s accessibility, add data attributes to integrate with any JavaScript modules or even JavaScript DOM event attributes such as onclick, onchange or onload.

Demo


Screenshots
FAQ
ChangeLog