Skip to content

Commit

Permalink
Update: Block styles documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Jun 4, 2024
1 parent 503bd62 commit c5950d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference-guides/block-api/block-styles.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Styles

Block Styles allow alternative styles to be applied to existing blocks. They work by adding a className to the block's wrapper. This className can be used to provide an alternative styling for the block if the block style is selected. See the [Getting Started with JavaScript tutorial](/docs/how-to-guides/javascript/) for a full example.
Block Styles allow alternative styles to be applied to existing blocks. They work by adding a className to the block's wrapper. This className can be used to provide an alternative styling for the block if the block style is selected. See the [Use styles and stylesheets](/docs/how-to-guides/block-tutorial/applying-styles-with-stylesheets.md) for a full example on how to apply styles to a block.

_Example:_

Expand Down

2 comments on commit c5950d3

@jorgefilipecosta
Copy link
Member Author

Choose a reason for hiding this comment

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

The old link does not work and returns 404. This commit updates the link to another that is relevant and rephrases things to match the new link.
It was committed directly by mistake I missed creating a branch before the commit and push 😅 But it is a simple change so as long as the CI is green I guess we can keep the commit. If there is any feedback just let me know and I will iterate.

@github-actions
Copy link

Choose a reason for hiding this comment

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

Flaky tests detected in c5950d3.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9365295029
📝 Reported issues:

Please sign in to comment.