diff --git a/packages/blocks/src/api/constants.js b/packages/blocks/src/api/constants.js index b852fe3932fa05..22205777d14e4b 100644 --- a/packages/blocks/src/api/constants.js +++ b/packages/blocks/src/api/constants.js @@ -214,6 +214,7 @@ export const __EXPERIMENTAL_STYLE_PROPERTY = { export const __EXPERIMENTAL_ELEMENTS = { link: 'a', + heading: 'h1, h2, h3, h4, h5, h6', h1: 'h1', h2: 'h2', h3: 'h3', @@ -221,6 +222,8 @@ export const __EXPERIMENTAL_ELEMENTS = { h5: 'h5', h6: 'h6', button: '.wp-element-button, .wp-block-button__link', + caption: + '.wp-element-caption, .wp-block-audio figcaption, .wp-block-embed figcaption, .wp-block-gallery figcaption, .wp-block-image figcaption, .wp-block-table figcaption, .wp-block-video figcaption', }; export const __EXPERIMENTAL_PATHS_WITH_MERGE = {