Skip to content

Commit

Permalink
Spacer: Add example attribute to block
Browse files Browse the repository at this point in the history
  • Loading branch information
SainathPoojary committed Dec 27, 2024
1 parent 5af740f commit 358c009
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/block-library/src/spacer/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"clientNavigation": true
}
},
"example": {
"attributes": {
"height": "100px",
"width": "100%"
}
},
"editorStyle": "wp-block-spacer-editor",
"style": "wp-block-spacer"
}

0 comments on commit 358c009

Please sign in to comment.