Skip to content

ACF Blocks v2.10.2

Choose a tag to compare

@github-actions github-actions released this 06 Aug 10:35
· 2 commits to main since this release

What's Changed

Fixed

  • Collapsible TOC rendered a double border on themes that style <details> as a card. The block drew its own hairline frame and summary divider around the <details> element, so themes with disclosure-card styling (such as Marketers Delight) showed two nested borders. The render template now adds an acf-toc--collapsible modifier class, and the block stylesheet drops its frame, summary divider, and duplicate content padding for that variant, letting the theme's disclosure card own the chrome. Non-collapsible TOCs are unchanged.

Notes

  • blocks/toc-block/block.json now declares "version", so the enqueued stylesheet URL busts CDN caches on plugin updates.

Commits

  • 2.10.2: fix collapsible TOC double border on themes with details cards (55a1f59)

Stats

  • Commits: 1
  • Changes: 9 files changed, 49 insertions(+), 12 deletions(-)

Plugin Info

  • Blocks included: 29
  • Requires WordPress: 6.0+
  • Requires PHP: 7.4+
  • Requires: ACF Pro 6.0+ or Secure Custom Fields

Installation

  1. Download acf-blocks-plugin-*.zip from the assets below
  2. Go to Plugins → Add New → Upload Plugin in WordPress admin
  3. Upload the zip file and activate