Skip to content

Fix the tabs example in the field patterns guide - #184

Merged
dnnsjsk merged 1 commit into
inline0:mainfrom
Contributolo:docs/field-patterns-tabs-format
Oct 26, 2026
Merged

dnnsjsk merged 1 commit into
inline0:mainfrom
Contributolo:docs/field-patterns-tabs-format

Conversation

@Contributolo

Copy link
Copy Markdown
Collaborator

The "Tabs for major sections" example in the field patterns guide puts group objects into "attributes" of a tabs field. The editor reads tabs as "tabs": [{ "title": "...", "attributes": [...] }] (El: item.tabs, e.title, e.attributes), as the block library guide shows, so the example renders no tabs. This rewrites it to that format and adjusts the sentence on how the values are accessed (the fields of each tab are read like top-level fields). Nothing else changes; npm run docs:check passes.

The repro in #4 uses the same shape, which is probably where it came from.

@dnnsjsk

dnnsjsk commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Released in Blockstudio 7.7.9. Thanks for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants