[Safari 8] Pasting a copied or cut linewise selection adds an extra line
See original GitHub issueRepro (Safari only):
On codemirror.net, cut the line beginning with var editor
: move the cursor to the beginning of the line, hold down Shift, press Down, release Shift, cut with Cmd + X, then paste with Cmd + V.
One more line is pasted than was cut, so after the operation you’ve got a blank line that wasn’t there before:
<script>
var editor = CodeMirror.fromTextArea(myTextarea, {
mode: "text/html"
});
</script>
Only appears to repro for the new version of Safari that shipped with Yosemite (i.e. Safari 8). Perhaps a regression of this WebKit bug? https://bugs.webkit.org/show_bug.cgi?id=49288
Issue Analytics
- State:
- Created 9 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
[Safari 8] Pasting a copied or cut linewise selection adds an ...
Repro (Safari only): On codemirror.net, cut the line beginning with var editor: move the cursor to the beginning of the line, ...
Read more >Select, cut, copy, and paste text on iPhone - Apple Support
Select, cut, copy, and paste text on iPhone. In apps on iPhone, you can use the onscreen keyboard to select and edit text...
Read more >Copying Whole Lines - EmacsWiki
SlickEdit, TextMate and VisualStudio have clever line-wise behavior: if no text is selected, the copy and cut commands act on the current line...
Read more >How to Strip Formatting When You Copy and Paste Text: 5 Ways
Head to File > Options and select the Advanced tab on the left. Here, look under the Cut, copy, and paste header for...
Read more >How to use Guacamole to copy and paste text or files in ...
After the text is copied to the remote clipboard, the Guacamole menu can be closed. The text from the clipboard can be pasted...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just FYI, still broken as of Safari 10.0.3.
JavaFX WebView component is also affected (Version 11 and 12-ea). It’s also based on Webkit.