Skip to content

Commit

Permalink
Update label; update active status when lightbox is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed Jan 30, 2024
1 parent 13bea5a commit 6e1efc6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,11 @@ const ImageURLInputUI = ( {
<ToolbarButton
icon={ linkIcon }
className="components-toolbar__control"
label={ url ? __( 'Edit link' ) : __( 'Add link' ) }
label={ __( 'Link' ) }
aria-expanded={ isOpen }
onClick={ openLinkUI }
ref={ setPopoverAnchor }
isActive={ !! url }
isActive={ !! url || lightboxEnabled }
/>
{ isOpen && (
<URLPopover
Expand Down

0 comments on commit 6e1efc6

Please sign in to comment.