Skip to content

Commit d352ea8

Browse files
committed
Update Navigation Submenu block documentation
1 parent c360e7b commit d352ea8

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • packages/block-library/src/navigation-submenu

‎packages/block-library/src/navigation-submenu/README.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ _Defined via the [`usesContext` and `providesContext`](https://developer.wordpre
7070

7171
- `core/isInsideSubmenu` → attribute `isParentSubmenu`
7272

73+
## CSS Selectors
74+
75+
_Defined via the [`selectors`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-selectors/) property in block.json._
76+
77+
- **states**:
78+
- -current: `.wp-block-navigation .wp-block-navigation-submenu .current-menu-item`
79+
7380
## Block Markup
7481

7582
This is a [**hybrid block**](https://developer.wordpress.org/block-editor/getting-started/fundamentals/static-dynamic-rendering/). It saves static markup that the server may enhance during rendering.

0 commit comments

Comments
 (0)