Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(iOS): Copy all mime-types to clipboard
Previously we only copied data under UTIs, but this isn't enough information for us to do a proper rich paste, and UTI-copied data of certain types can be slightly changed by the process of copying it. Luckily, iOS's clipboard allows copying data under any identifier, including our mime-types, so we can keep copying data under UTIs for compatibility but also copy data under mime-types for our own use. When we read the clipboard, we still need to read UTIs as other apps might have placed them on the keyboard, but we want to avoid overwriting any mime-type data because - as mentioned - it can be slightly changed by the copying process (if it's text or images, we need to wrap it in Apple's types before copying it to the clipboard) Signed-off-by: Skyler Grey <skyler.grey@collabora.com> Change-Id: Ifb13fd910d63a985ad015335658815af3bd69f6b
- Loading branch information