[Accessibility] Fix typo in AligmentToolbarButton function name (#48651)
This commit is contained in:
parent
e5c6477a4e
commit
7d8cd500b5
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: tweak
|
||||||
|
|
||||||
|
Fix typo in AligmentToolbarButton function name
|
|
@ -18,7 +18,7 @@ import type {
|
||||||
TextAreaBlockEditAttributes,
|
TextAreaBlockEditAttributes,
|
||||||
TextAreaBlockEditProps,
|
TextAreaBlockEditProps,
|
||||||
} from './types';
|
} from './types';
|
||||||
import AligmentToolbarButton from './toolbar/toolbar-button-alignment';
|
import AlignmentToolbarButton from './toolbar/toolbar-button-alignment';
|
||||||
import { useClearSelectedBlockOnBlur } from '../../../hooks/use-clear-selected-block-on-blur';
|
import { useClearSelectedBlockOnBlur } from '../../../hooks/use-clear-selected-block-on-blur';
|
||||||
import useProductEntityProp from '../../../hooks/use-product-entity-prop';
|
import useProductEntityProp from '../../../hooks/use-product-entity-prop';
|
||||||
import { Label } from '../../../components/label/label';
|
import { Label } from '../../../components/label/label';
|
||||||
|
@ -100,7 +100,7 @@ export function TextAreaBlockEdit( {
|
||||||
<div { ...blockProps }>
|
<div { ...blockProps }>
|
||||||
{ isRichTextMode && (
|
{ isRichTextMode && (
|
||||||
<BlockControls { ...blockControlsBlockProps }>
|
<BlockControls { ...blockControlsBlockProps }>
|
||||||
<AligmentToolbarButton
|
<AlignmentToolbarButton
|
||||||
align={ align }
|
align={ align }
|
||||||
setAlignment={ setAlignment }
|
setAlignment={ setAlignment }
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -38,7 +38,7 @@ export const ALIGNMENT_CONTROLS = [
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export default function AligmentToolbarButton( {
|
export default function AlignmentToolbarButton( {
|
||||||
align,
|
align,
|
||||||
setAlignment,
|
setAlignment,
|
||||||
}: AlignmentControl ) {
|
}: AlignmentControl ) {
|
||||||
|
|
Loading…
Reference in New Issue