@@ -598,20 +598,21 @@ class WP_Theme_JSON_Gutenberg {
598598 * @var string[]
599599 */
600600 const ELEMENTS = array (
601- 'link ' => 'a:where(:not(.wp-element-button)) ' , // The `where` is needed to lower the specificity.
602- 'heading ' => 'h1, h2, h3, h4, h5, h6 ' ,
603- 'h1 ' => 'h1 ' ,
604- 'h2 ' => 'h2 ' ,
605- 'h3 ' => 'h3 ' ,
606- 'h4 ' => 'h4 ' ,
607- 'h5 ' => 'h5 ' ,
608- 'h6 ' => 'h6 ' ,
601+ 'link ' => 'a:where(:not(.wp-element-button)) ' , // The `where` is needed to lower the specificity.
602+ 'heading ' => 'h1, h2, h3, h4, h5, h6 ' ,
603+ 'h1 ' => 'h1 ' ,
604+ 'h2 ' => 'h2 ' ,
605+ 'h3 ' => 'h3 ' ,
606+ 'h4 ' => 'h4 ' ,
607+ 'h5 ' => 'h5 ' ,
608+ 'h6 ' => 'h6 ' ,
609609 // We have the .wp-block-button__link class so that this will target older buttons that have been serialized.
610- 'button ' => '.wp-element-button, .wp-block-button__link ' ,
610+ 'button ' => '.wp-element-button, .wp-block-button__link ' ,
611611 // The block classes are necessary to target older content that won't use the new class names.
612- '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 ' ,
613- 'cite ' => 'cite ' ,
614- 'select ' => 'select ' ,
612+ '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 ' ,
613+ 'cite ' => 'cite ' ,
614+ 'select ' => 'select ' ,
615+ 'textInput ' => 'textarea, input:where([type=email],[type=number],[type=password],[type=search],[type=text],[type=tel],[type=url]) ' ,
615616 );
616617
617618 const __EXPERIMENTAL_ELEMENT_CLASS_NAMES = array (
0 commit comments