跳到内容

Attributes for Blocks

v1.0.15

ska-dev · 2021年8月25日 上架

Allows to add HTML attributes to Gutenberg blocks.

正在使用
4,000+
评分
5.0 / 5
累计下载
5.8 万
最近更新
2026年8月20日
21 条评价需要 WordPress 6.2+已测试到 7.1.5PHP 7.4+

截图

Adding style attribute to paragraph block
Adding style attribute to paragraph block

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums