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

Issue/713 Allows pasting URLs from Safari into the visual editor #825

Closed frosty closed 8 years ago

frosty commented 8 years ago

Fixes #713. Links copied from Safari are only available with the text/uri-list content type, and we were only checking for plain/text. I've updated the paste event handling code to check for links before falling back to plain text.

To Test:

Needs Review: @SergioEstevao (cc @kwonye)

SergioEstevao commented 8 years ago

@frosty should the links when pasted on the editor show up as links? or they just show has plain text in the editor?

frosty commented 8 years ago

I was wondering that myself. I think plain text is probably the right choice, for a couple of reasons:

SergioEstevao commented 8 years ago

:shipit: