You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"query": "Create a new block that uses Inner Blocks (container block), has simple frontend interactivity (a click toggles a CSS class), and uses the most modern, recommended scaffolding and metadata.",
"expected_behavior": [
"Step 1: Run wordpress-router to classify repo kind",
"Step 2: Run wp-project-triage to detect tooling and WP version",
"Step 3: Route to wp-block-development for scaffolding and wp-interactivity-api for directives",
"Step 4: Recommend @wordpress/create-block with interactive template",
"Step 5: Use useInnerBlocksProps/InnerBlocks for nested content",
"Step 6: Set up Interactivity API store with toggle action",
"Step 7: Add data-wp-interactive namespace to wrapper",
"Step 8: Add data-wp-on--click directive for toggle",
"Step 9: Add data-wp-class--active for conditional class",
"Step 10: Verify wrapper attributes are correct in edit and save/render"