/** * External dependencies */ import { map, includes, toUpper } from 'lodash' /** * WordPress dependencies */ import { __ } from '@wordpress/i18n' import { InspectorControls } from '@wordpress/block-editor' import { PanelBody, SelectControl, CheckboxControl, } from '@wordpress/components' export default ( { attributes, setAttributes, excludeHeadings, setExcludeHeadings } ) => { return ( { setAttributes( { titleWrapper } ) } } __next40pxDefaultSize={ true } __nextHasNoMarginBottom={ true } />

{ __( 'Exclude Headings', 'seo-by-rank-math' ) }

{ map( [ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' ], ( value ) => { return ( setExcludeHeadings( value, newVlaue ) } __nextHasNoMarginBottom={ true } /> ) } ) }
) }