Remove h1 from atomic title (https://github.com/woocommerce/woocommerce-blocks/pull/1167)
* remove option to use H1
This commit is contained in:
parent
a84990d10f
commit
f6401a87c4
|
@ -55,7 +55,7 @@ const blockConfig = {
|
|||
<p>{ __( 'Level', 'woo-gutenberg-products-block' ) }</p>
|
||||
<HeadingToolbar
|
||||
isCollapsed={ false }
|
||||
minLevel={ 1 }
|
||||
minLevel={ 2 }
|
||||
maxLevel={ 7 }
|
||||
selectedLevel={ level }
|
||||
onChange={ ( newLevel ) =>
|
||||
|
|
|
@ -21,7 +21,7 @@ class HeadingToolbar extends Component {
|
|||
const isActive = targetLevel === selectedLevel;
|
||||
return {
|
||||
icon: <HeadingLevelIcon level={ targetLevel } />,
|
||||
// translators: %s: heading level e.g: "1", "2", "3"
|
||||
// translators: %s: heading level e.g: "2", "3", "4"
|
||||
title: sprintf( __( 'Heading %d' ), targetLevel ),
|
||||
isActive,
|
||||
onClick: () => onChange( targetLevel ),
|
||||
|
|
Loading…
Reference in New Issue