Skip to content

Commit

Permalink
Block JSON schema: add renaming key to supports definition (#57373)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Jan 4, 2024
1 parent 832ae44 commit 596b0d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions schemas/json/block.json
Expand Up @@ -344,6 +344,11 @@
"description": "By default, all blocks will appear in the inserter, block transforms menu, Style Book, etc. To hide a block from all parts of the user interface so that it can only be inserted programmatically, set inserter to false.",
"default": true
},
"renaming": {
"type": "boolean",
"description": "By default, a block can be renamed by a user from the block 'Options' dropdown or the 'Advanced' panel. To disable this behavior, set renaming to false.",
"default": true
},
"layout": {
"default": false,
"description": "This value only applies to blocks that are containers for inner blocks. If set to `true` the layout type will be `flow`. For other layout types it's necessary to set the `type` explicitly inside the `default` object.",
Expand Down

0 comments on commit 596b0d8

Please sign in to comment.