Fix “Alt text” button submitting form in moderation interface (#35147)

This commit is contained in:
Claire 2025-06-24 11:04:26 +02:00 committed by GitHub
commit 9954acf61d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,6 +33,7 @@ export const AltTextBadge: React.FC<{
return (
<>
<button
type='button'
ref={anchorRef}
className='media-gallery__alt__label'
onClick={handleClick}