Fix “Alt text” button submitting form in moderation interface (#35147)
This commit is contained in:
parent
0276354775
commit
9954acf61d
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ export const AltTextBadge: React.FC<{
|
|||
return (
|
||||
<>
|
||||
<button
|
||||
type='button'
|
||||
ref={anchorRef}
|
||||
className='media-gallery__alt__label'
|
||||
onClick={handleClick}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue