From 596b0d8b962e05b19c727029d6c654334743d553 Mon Sep 17 00:00:00 2001 From: Aki Hamano <54422211+t-hamano@users.noreply.github.com> Date: Thu, 4 Jan 2024 10:48:38 +0900 Subject: [PATCH] Block JSON schema: add renaming key to supports definition (#57373) --- schemas/json/block.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/schemas/json/block.json b/schemas/json/block.json index 7e0c8715a4abda..fd69ea1badb339 100644 --- a/schemas/json/block.json +++ b/schemas/json/block.json @@ -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.",