Skip to content

Commit

Permalink
Doc: Fixed missing link to Block Styles page (#46695)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Dec 21, 2022
1 parent a03158d commit c05d7c5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The Editor offers rich new value to users with visual, drag-and-drop creation to
Whether you want to extend the functionality of the block editor, or create a plugin based on it, [see the developer documentation](/docs/how-to-guides/README.md) to find all the information about the basic concepts you need to get started, the block editor APIs and its architecture.

- [Gutenberg Architecture](/docs/explanations/architecture/README.md)
- [Block Styles](/docs/reference-guides/filters/block-filters.md#block-styles)
- [Block Styles](/docs/reference-guides/block-api/block-styles.md)
- [Creating Block Patterns](/docs/reference-guides/block-api/block-patterns.md)
- [Theming for the Block Editor](/docs/how-to-guides/themes/README.md)
- [Block API Reference](/docs/reference-guides/block-api/README.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Extending the Block Editor

Let's look at using the [Block Style example](/docs/reference-guides/filters/block-filters.md#block-styles) to extend the editor. This example allows you to add your own custom CSS class name to any core block type.
Let's look at using the [Block Style example](/docs/reference-guides/block-api/block-styles.md) to extend the editor. This example allows you to add your own custom CSS class name to any core block type.

Replace the existing `console.log()` code in your `myguten.js` file with:

Expand Down
2 changes: 1 addition & 1 deletion docs/reference-guides/block-api/block-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ It contains as set of options to control features used in the editor. See the [t

Block styles can be used to provide alternative styles to block. It works by adding a class name to the block's wrapper. Using CSS, a theme developer can target the class name for the block style if it is selected.

Plugins and Themes can also register [custom block style](/docs/reference-guides/filters/block-filters.md#block-styles) for existing blocks.
Plugins and Themes can also register [custom block style](/docs/reference-guides/block-api/block-styles.md) for existing blocks.

### Example

Expand Down
2 changes: 1 addition & 1 deletion docs/reference-guides/block-api/block-registration.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ styles: [
],
```

Plugins and Themes can also register [custom block style](/docs/reference-guides/filters/block-filters.md#block-styles) for existing blocks.
Plugins and Themes can also register [custom block style](/docs/reference-guides/block-api/block-styles.md) for existing blocks.

#### attributes (optional)

Expand Down

0 comments on commit c05d7c5

Please sign in to comment.