diff --git a/docs/block-api.md b/docs/block-api.md index 27061c0a5c75ec..34bb7596f111b8 100644 --- a/docs/block-api.md +++ b/docs/block-api.md @@ -280,14 +280,14 @@ anchor: true, - `customClassName` (default `true`): This property adds a field to define a custom className for the block's wrapper. ```js -// Remove the support for a the custom className . +// Remove the support for the custom className. customClassName: false, ``` - `className` (default `true`): By default, Gutenberg adds a class with the form `.wp-block-your-block-name` to the root element of your saved markup. This helps having a consistent mechanism for styling blocks that themes and plugins can rely on. If for whatever reason a class is not desired on the markup, this functionality can be disabled. ```js -// Remove the support for a the generated className . +// Remove the support for the generated className. className: false, ```