Skip to content

Commit

Permalink
Removed pointer-events none inline style due it blocking crop action (W…
Browse files Browse the repository at this point in the history
…ordPress#60305)

Co-authored-by: n2erjo00 <n2erjo00@git.wordpress.org>
Co-authored-by: ndiego <ndiego@git.wordpress.org>
Co-authored-by: MadtownLems <madtownlems@git.wordpress.org>
  • Loading branch information
4 people authored and cbravobernal committed Apr 9, 2024
1 parent 6e02739 commit 8e72bb7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/block-library/src/image/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ const ImageWrapper = ( { href, children } ) => {
// When the Image block is linked,
// it's wrapped with a disabled <a /> tag.
// Restore cursor style so it doesn't appear 'clickable'
// and remove pointer events. Safari needs the display property.
pointerEvents: 'none',
// Safari needs the display property.
cursor: 'default',
display: 'inline',
} }
Expand Down

0 comments on commit 8e72bb7

Please sign in to comment.