[WordPress] 外掛分享: Attributes for Blocks

首頁外掛目錄 › Attributes for Blocks
4,000+
安裝啟用
★★★★★
5/5 分(21 則評價)
29 天前
最後更新
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.15 上架:2021-08-24

內容簡介

Attributes for Blocks 外掛為 Gutenberg 區塊提供進階檢查器控制項,讓使用者能夠為區塊的前端輸出添加自訂 HTML 屬性,提升佈局的靈活性與可存取性。

【主要功能】
• 添加自訂 HTML 屬性
• 支援 inline styles 調整外觀
• 設定 aria 屬性增強可存取性
• 整合 JavaScript 模組的 data 屬性
• 支援 JavaScript DOM 事件屬性

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.15) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Attributes for Blocks」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Mastodon