wordpress-mobile / WordPress-Editor-iOS

⛔️ [DEPRECATED] A reusable iOS rich text editor component.
GNU General Public License v2.0
1.06k stars 210 forks source link

Media: Add support for tapping to remove media from post #866

Open rachelmcr opened 7 years ago

rachelmcr commented 7 years ago

It would be helpful to have the option to tap to delete media from the post (e.g. an 'x' to tap to remove the media), instead of having to backspace over the media. Alternately, the option to tap the image and backspace (instead of placing the cursor after the image and then backspacing) would be helpful.

For comparison, the visual web editor has a popup that appears when you click on an image in the editor, with an 'x' to remove the image:

image

Related Android editor issue: https://github.com/wordpress-mobile/WordPress-Editor-Android/issues/301

rachelmcr commented 7 years ago

Another reason for adding this support: consistency for removing media from the post.

Currently, you cannot backspace over a failed media upload to remove it. Instead, you have to tap on the image and choose to remove the failed upload. Adding support for tapping to remove successfully uploaded media would create a consistent tap-to-remove experience.