From 196dc1f3b4dac46e7e1e43a449d2abc6b07562ec Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Mon, 20 Mar 2023 12:07:14 +0400 Subject: [PATCH] Buttons: Disable HTML editing (#49097) --- 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 1dee5a7509d7b1..a968809070291a 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 266646d96bcee5..71d5aa302cfc9b 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,