Skip to content

Commit

Permalink
Add __experimentalAutoInsert to block.json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Aug 10, 2023
1 parent b1c3a45 commit c758751
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions schemas/json/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,17 @@
"render": {
"type": "string",
"description": "Template file loaded on the server when rendering a block."
},
"__experimentalAutoInsert": {
"type": "object",
"description": "Blocks to auto-insert this block next to.",
"patternProperties": {
"[a-zA-Z]": {
"type": "string",
"description": "Position relative to the block to auto-insert this block next to.",
"enum": [ "before", "after", "firstChild", "lastChild" ]
}
}
}
},
"required": [ "name", "title" ],
Expand Down

0 comments on commit c758751

Please sign in to comment.