From ffd7826e4f3a62a91be91b3e059810eb4236cee4 Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Wed, 15 Mar 2023 17:35:45 +0400 Subject: [PATCH] Buttons: Disable HTML editing --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/buttons/block.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 1dee5a7509d7b..a968809070291 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -59,7 +59,7 @@ Prompt visitors to take action with a group of button-style links. ([Source](htt - **Name:** core/buttons - **Category:** design -- **Supports:** align (full, wide), anchor, spacing (blockGap, margin), typography (fontSize, lineHeight) +- **Supports:** align (full, wide), anchor, spacing (blockGap, margin), typography (fontSize, lineHeight), ~~html~~ - **Attributes:** ## Calendar diff --git a/packages/block-library/src/buttons/block.json b/packages/block-library/src/buttons/block.json index 266646d96bcee..71d5aa302cfc9 100644 --- a/packages/block-library/src/buttons/block.json +++ b/packages/block-library/src/buttons/block.json @@ -10,6 +10,7 @@ "supports": { "anchor": true, "align": [ "wide", "full" ], + "html": false, "__experimentalExposeControlsToChildren": true, "spacing": { "blockGap": true,