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
  • Loading branch information
talldan committed Mar 1, 2024
1 parent c53b018 commit 33a0de9
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 33a0de9

Please sign in to comment.