Description
To reproduce:
- Create a new post
- Add an image (source of the image doesn't matter)
- Tap on image
What I expected
To be able to add a link for the image as with the visual editor:
What I observed
The options available does not include the option add a link:
Additional testing
If I hyperlink the image in the Visual editor, and then switch to the Aztec editor, the link is moved to after the image, i.e. the img
tag is no longer wrapped in the a
tags as it should be. In the HTML view it looks like this:
This also happens if manually typing the HTML in HTML view, switching to Visual, and then switching back to HTML, as reported in #196
I also tried to long-press the image, and then add a link via the hyperlink button in the toolbar (as it works in the Calypso editor in my mobile browser). The result is the same as above. That doesn't work in the Visual editor either, though - in the visual editor the image is simply removed if I try to add a link that way - so not necessarily an Aztec bug.
Tested
Nexus 5X on Android 8.0.0 with WordPress for Android 8.3.1
Originally reported by an iOS user via Twitter.