trix
trix copied to clipboard
Pasting an image from the clipboard on iOS can insert multiple images
When pasting an image from the clipboard on iOS 13 that has multiple representations, it can insert all representations instead of just a single image. It may affect earlier versions of iOS, but I haven't seen it until iOS 13.
Steps to Reproduce
Here are two methods:
- Go to trix-editor.org in mobile Safari on iOS 13
- Focus the field and insert a Memoji from the keyboard
- It will insert a JPG and PNG
OR...
- Go to trix-editor.org in mobile Safari on iOS 13
- Take a screenshot and tap the floating thumbnail
- From the screenshot markup screen, tap the share button and choose "Copy".
- You'll now have a JPG and PNG on the clipboard.
- Focus the editor and choose "Paste"
- It will insert both the JPG and PNG

Here's an input inspector profile of pasting the screenshot: https://input-inspector.now.sh/profiles/F4Rcp0EGKqE6OJcDFL1L
Details
- Trix version: 1.2.2
- Browser name and version: Safari
- Operating system: iOS 13.3
This issue has been automatically marked as stale after 90 days of inactivity. It will be closed if no further activity occurs.
Also appears in Safari on the Mac when using HEY and dragging images from other Safari windows.
