diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 6d2343ffda8003..a7bf34a80888c9 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -248,7 +248,7 @@ Display multiple images in a rich gallery. ([Source](https://github.com/WordPres - **Name:** core/gallery - **Category:** media -- **Supports:** align, anchor +- **Supports:** align, anchor, ~~html~~ - **Attributes:** allowResize, caption, columns, fixedHeight, ids, imageCrop, images, linkTarget, linkTo, shortCodeTransforms, sizeSlug ## Group diff --git a/packages/block-library/CHANGELOG.md b/packages/block-library/CHANGELOG.md index 722c970700e3fe..97e9ab4c00d4a7 100644 --- a/packages/block-library/CHANGELOG.md +++ b/packages/block-library/CHANGELOG.md @@ -10,6 +10,7 @@ ### Bug Fix +- Gallery block: disable edit as html support ([#39318](https://github.com/WordPress/gutenberg/pull/39318)). - Removed unused `@wordpress/escape-html` and `@wordpress/is-shallow-equal` dependencies ([#38388](https://github.com/WordPress/gutenberg/pull/38388)). ## 6.1.0 (2022-01-27) diff --git a/packages/block-library/src/gallery/block.json b/packages/block-library/src/gallery/block.json index fb8db7d14c35ef..e44a88747ca15f 100644 --- a/packages/block-library/src/gallery/block.json +++ b/packages/block-library/src/gallery/block.json @@ -106,7 +106,8 @@ }, "supports": { "anchor": true, - "align": true + "align": true, + "html": false }, "editorStyle": "wp-block-gallery-editor", "style": "wp-block-gallery"