Skip to content

Commit

Permalink
Elements: fix heading and caption element selectors (#42479)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Jul 20, 2022
1 parent 9be34aa commit a22b6b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/blocks/src/api/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,16 @@ export const __EXPERIMENTAL_STYLE_PROPERTY = {

export const __EXPERIMENTAL_ELEMENTS = {
link: 'a',
heading: 'h1, h2, h3, h4, h5, h6',
h1: 'h1',
h2: 'h2',
h3: 'h3',
h4: 'h4',
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 = {
Expand Down

0 comments on commit a22b6b0

Please sign in to comment.