Opened 4 years ago

Last modified 2 years ago

#12156 confirmed Bug

[Safari] Paste URL/Link from Twitter or other browser doesn't work

Reported by: Mark Wade Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version:
Keywords: Webkit VendorFix Cc:

Description (last modified by Jakub Ś)

On the default Twitter App on Mac OS X, copy a link to a tweet (right-click > Copy Link To Tweet) and try to paste it into CKEditor - nothing appears.

Reproducible only on Safari.


  1. Open Chrome and browse to a URL, copy the URL from the address bar to the clipboard
  2. Switch to Safari and open CKEditor
  3. Attempt to paste the URL into CKEditor

Results: It is not possible to paste URL from Chrome to Safari. It works however with Chrome/Chrome or Safari/Chrome or even Firefox/Safari but not Chrome/Safari.

Change History (8)

comment:1 Changed 4 years ago by Piotrek Koszuliński

Status: newpending
Version: 4.4.2

I see the link pasted (it's pasted as text). Checked on http://ckeditor.com/demo on Chrome and Twitter 3.0.1.

comment:2 Changed 4 years ago by Piotrek Koszuliński

On which browser do you test it, how do you paste it (ctrl+v?) and what's your CKEditor build and configuration?

comment:3 Changed 4 years ago by Mark Wade

Browser is Safari Version 7.0.4 (9537.76.4) - can reproduce on the demo. Am pasting with cmd+v.

comment:4 Changed 4 years ago by Piotrek Koszuliński

Keywords: Webkit VendorFix added
Status: pendingconfirmed

That is a Safari bug unfortuantely. It pastes:

 <a href="https://twitter.com/anowodzinski/status/483942968215101440"></a>

You can check it on https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/clipboard/dev/clipboard.html sample.

We will need to report it on the Webkit bug tracker.

comment:5 Changed 4 years ago by Piotrek Koszuliński

Description: modified (diff)
Summary: Paste from Twitter[Safari] Paste from Twitter

comment:6 Changed 4 years ago by Olek Nowodziński

Google Chrome

"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36"
14:16:49EDITOR 1 > beforePaste auto
14:16:49EDITOR 1 > beforePaste(prior:999) auto
14:16:49EDITOR 1 > paste(prior:-1) auto - "https://twitter.com/ckeditor/status/481464095766769664"
14:16:49EDITOR 1 > paste(prior:10) html - "https://twitter.com/ckeditor/status/481464095766769664"
14:16:49EDITOR 1 > paste(prior:999) html - "https://twitter.com/ckeditor/status/481464095766769664"
14:16:49EDITOR 1 > afterPaste

Editor data after paste

<p>http://ckeditor.dev/plugins/clipboard/dev/clipboard.html</p>

Safari

"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4"
14:18:59EDITOR 1 > beforePaste auto
14:18:59EDITOR 1 > beforePaste(prior:999) auto
14:18:59EDITOR 1 > paste(prior:-1) auto - "<a href="https://twitter.com/ckeditor/status/481464095766769664"></a>"
14:18:59EDITOR 1 > paste(prior:10) html - "<a href="https://twitter.com/ckeditor/status/481464095766769664"></a>"
14:18:59EDITOR 1 > paste(prior:999) html - "<a href="https://twitter.com/ckeditor/status/481464095766769664"></a>"
14:18:59EDITOR 1 > afterPaste

Editor data after paste is empty.

comment:7 Changed 2 years ago by Jakub Ś

Description: modified (diff)
Summary: [Safari] Paste from Twitter[Safari] Paste URL/Link from Twitter or other browser doesn't work

comment:8 Changed 2 years ago by Jakub Ś

#14734 was marked as duplicate.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy