Image block Attachment Page link option lingers after switching to media to external URL #36266
Labels
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
[Type] Bug
An existing feature does not function as intended
Description
If an Image block uses self-host media and has a "Link To" set to "Attachment Page," changing the media to be an external image URL in the web editor leaves the mobile editor displaying a stale "Link To" value of "Attachment Page." This was discovered in #34846, as that work enabled this issue to be visible.
Step-by-step reproduction instructions
Expected behaviour
The "Link to" continues to be set to the self-hosted image and displays as a "Custom URL."
Actual behaviour
The "Link to" continues to be set to the self-hosted image and displays as "Attachment Page." The "Attachment Page" option is not available in the list of items, which makes its display even more odd.
Screenshots or screen recording (optional)
image-block-stale-link-to.MP4
WordPress information
Device information
The text was updated successfully, but these errors were encountered: