[WordPress] 外掛分享: Attributes for Blocks

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

內容簡介

此外掛為 Gutenberg 區塊新增進階檢視器控制項,可讓您新增任意自訂 HTML 屬性至區塊前端輸出。這使您可以新增內嵌樣式以微調區塊外觀,設定 Aria 屬性以增強網站的可訪問性,加入資料屬性以與任何 JavaScript 模組整合,甚至包含onclick、onchange 或 onload 等 JavaScript DOM 事件屬性。

外掛標籤

開發者團隊

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

① 下載 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
Apply Filters
Mastodon