trix icon indicating copy to clipboard operation
trix copied to clipboard

Pasting an image from the clipboard on iOS can insert multiple images

Open zachwaugh opened this issue 5 years ago • 2 comments

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:

  1. Go to trix-editor.org in mobile Safari on iOS 13
  2. Focus the field and insert a Memoji from the keyboard
  3. It will insert a JPG and PNG

OR...

  1. Go to trix-editor.org in mobile Safari on iOS 13
  2. Take a screenshot and tap the floating thumbnail
  3. From the screenshot markup screen, tap the share button and choose "Copy".
  4. You'll now have a JPG and PNG on the clipboard.
  5. Focus the editor and choose "Paste"
  6. It will insert both the JPG and PNG
Screen Shot 2020-01-03 at 5 35 35 PM

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

zachwaugh avatar Jan 03 '20 22:01 zachwaugh

This issue has been automatically marked as stale after 90 days of inactivity. It will be closed if no further activity occurs.

stale[bot] avatar Apr 02 '20 22:04 stale[bot]

Also appears in Safari on the Mac when using HEY and dragging images from other Safari windows.

Safari HEY Drag from Safari

chrisgrande avatar Sep 03 '20 16:09 chrisgrande