Skip to content

relase 1.0.6 : allow to use nested tabs block#18

Merged
MarieComet merged 5 commits intorelease/1.0.6from
feat/tabs-in-tabs
Feb 11, 2026
Merged

relase 1.0.6 : allow to use nested tabs block#18
MarieComet merged 5 commits intorelease/1.0.6from
feat/tabs-in-tabs

Conversation

@MarieComet
Copy link
Copy Markdown
Contributor

@MarieComet MarieComet commented Feb 11, 2026

Mise à jour des scripts view et edit pour permettre l'utilisation de tabs imbriquées (un bloc tabs à l'intérieur d'un bloc onglet).

  • view script : on initialise le script sur les enfants direct du bloc, pour différencier le bloc parent du bloc enfant
  • edit scripts : on contextualise la tab courante dans l'éditeur afin de mettre à jour le bloc tabs parents

Note

Medium Risk
Changes core editor state syncing and front-end DOM traversal for tab activation; regressions could break tab selection/keyboard behavior, especially with complex block nesting.

Overview
Adds editor support for nested blockparty/tabs by replacing the global TabsFocus selection handler with a new SyncTabsActive component mounted in tabs-nav-item and tabs-panel-item, so only the owning tabs block updates its tabsActive.

Updates the front-end script.js to scope tab/panel discovery to the direct tabs-nav and its sibling panels container (instead of querying the closest .wp-block-blockparty-tabs), avoiding interference between parent and nested tabs. Also bumps plugin/block/package versions to 1.0.6 and updates changelogs.

Written by Cursor Bugbot for commit d50113f. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread src/blockparty-tabs/SyncTabsActive.js
@MarieComet MarieComet merged commit 9d57a58 into release/1.0.6 Feb 11, 2026
2 of 3 checks passed
@firestar300 firestar300 deleted the feat/tabs-in-tabs branch February 11, 2026 13:32
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