-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Image block media link #11046
Copy link
Copy link
Closed
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Milestone
Description
Describe the bug
The image block link option links to the thumbnail selected, not the original image.
This doesn't allow to make lightbox behaviour for example, and this was the classic editor behaviour.
To Reproduce
Steps to reproduce the behavior:
- Go to an article
- Insert one image
- Select on right panel a thumbnail for the display
- On the "Link settings" select Media file
Expected behavior
The source media url is used instead of the thumbnail.
Desktop (please complete the following information):
- OS: OSX
- Browser : chrome
- Version : last
Just changing the line
| href = this.props.attributes.url; |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.