Skip to content

Commit

Permalink
Fixes heading hierarchy in block filters (#57239)
Browse files Browse the repository at this point in the history
  • Loading branch information
bacoords committed Dec 20, 2023
1 parent b924779 commit 6bf61f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference-guides/filters/block-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ wp.hooks.addFilter(
);
```

#### `blocks.getSaveContent.extraProps`
### `blocks.getSaveContent.extraProps`

A filter that applies to all blocks returning a WP Element in the `save` function. This filter is used to add extra props to the root element of the `save` function. For example: to add a className, an id, or any valid prop for this element.

Expand Down Expand Up @@ -229,7 +229,7 @@ const withMyPluginControls = createHigherOrderComponent( ( BlockEdit ) => {
}, 'withMyPluginControls' );
```

#### `editor.BlockListBlock`
### `editor.BlockListBlock`

Used to modify the block's wrapper component containing the block's `edit` component and all toolbars. It receives the original `BlockListBlock` component and returns a new wrapped component.

Expand Down

0 comments on commit 6bf61f9

Please sign in to comment.