Skip to content

Commit

Permalink
Add a fixture for the wp/block pattern block current version with ove…
Browse files Browse the repository at this point in the history
…rrides (#59492)

Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: talldan <talldanwp@git.wordpress.org>
  • Loading branch information
3 people authored Mar 1, 2024
1 parent 1b5360c commit 44b5cd5
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- wp:core/block {"ref":123,"content":{"Nice paragraph":{"content":"Some value"}}} /-->
15 changes: 15 additions & 0 deletions test/integration/fixtures/blocks/core__block__overrides.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"name": "core/block",
"isValid": true,
"attributes": {
"ref": 123,
"content": {
"Nice paragraph": {
"content": "Some value"
}
}
},
"innerBlocks": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"blockName": "core/block",
"attrs": {
"ref": 123,
"content": {
"Nice paragraph": {
"content": "Some value"
}
}
},
"innerBlocks": [],
"innerHTML": "",
"innerContent": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- wp:block {"ref":123,"content":{"Nice paragraph":{"content":"Some value"}}} /-->

0 comments on commit 44b5cd5

Please sign in to comment.