plugin-icon

GT Table Block

제작자: Birgit Pauli-Haack·
Sticky header and styled first column for the core Table block, delivered as an opt-in block variation that leaves existing tables untouched.
버전
0.2.0
활성화된 설치 항목
100
최근 업데이트일
May 19, 2026
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 <thead> 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.

무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.9.4
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.