[WordPress] 外掛分享: GT Table Block

首頁外掛目錄 › GT Table Block
WordPress 外掛 GT Table Block 的封面圖片
100+
安裝啟用
尚無評分
36 天前
最後更新
25%
問題解決
WordPress 6.6+ PHP 7.4+ v0.2.0 上架:2026-05-03

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.0) 或搜尋安裝

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

原文外掛簡介

GT Table Block extends the built-in core/table block with optional features that compose cleanly — each feature is an independent toggle, not a block style, so any combination can be active on the same table.
Available in this release:

Sticky header row — the

row pins to the top of the viewport while the table body scrolls. Includes a numeric offset control for sites with a fixed admin bar or site header. Pure CSS at runtime (no frontend JavaScript). The sticky background is an opaque CSS variable with full theme.json customization support (see FAQ below).
Styled first column — gives the first column the same visual weight as the header row (bold, optional themeable background) and adds scope="row" to those cells in the saved markup so screen readers announce them as row headers. Addresses Gutenberg core issue #1470 (open since 2017). Pure CSS for the styling; the a11y attribute is added at save time only, so the editor preview stays unchanged.

Planned for future releases:

Sticky first column for wide tables with horizontal scroll — v0.3.0.
Merge / unmerge cells via a block toolbar control — v0.4.0.

Why a variation, not a replacement block?
The plugin deliberately extends core/table rather than forking it, so existing tables stay compatible with core as it evolves. Independent boolean attributes also let any combination of features be active at once — which block styles (a mutually exclusive radio group) cannot offer.
Source code
Source code, build tools, issue tracker, and development log: https://github.com/bph/gt-table-block
The plugin is built with @wordpress/scripts (see the repository’s README for build instructions). Each tagged release on GitHub corresponds to the stable tag published here.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon