Closed rachelmcr closed 8 years ago
This looks to be due to a discrepancy between the way the legacy editor stores captions and how Calypso (and the visual editor) does it.
Legacy:
[caption align="alignnone" caption="Caption text"]<image>[/caption]
Calypso/visual editor:
[caption align="alignnone"]<image>Caption text[/caption]
If after step 5 above you open the post in the Calypso editor and switch to HTML mode, the shortcode is also stripped.
Note: the above also happens with the self-hosted editor.
Expected behavior
Image captions added to an image in the legacy editor should be retained when the visual editor is enabled.
Actual behavior
After enabling the visual editor, the image caption text is stripped.
Steps to reproduce
Result: The image is there with
[caption]
shortcodes (including width and alignment), but the caption text is stripped.Tested on Nexus 9, Android 6.0.1, WPAndroid alpha-16
Reported by a user in 114164-h