Copy/paste bug
I'm working on a script, so when I go to copy and paste what I've written already, it all counts as a single line and scrollbars don't appear. Also, I cannot change the text style of anything that this happens to. Sometimes I can get it to treat the pasted text normally if I create a bunch of lines by repeatedly hitting enter, and paste the text into that, but that doesn't always work.
I have the same problem. When I copy and paste a body of text, I lose all newlines and formatting of any kind.
same here
same here
same here. version 1.5.7
What browser are you copying FROM? Where are you pasting TO?
Same here.
Copying from: Firefox 48.0 Chrome 53.0.2785.89 Chromium 52.0.2743.116 Evolution 3.12.9 Gedit 3.14.0
Pasting to all the browsers above fails.
Copying from icedove 45.2.0, works just nice.
This is a quite serious issue, tbh. It could be duplicated, though. See #2625
Do you need me to do any further testing on this? I am willing to see this fixed on my etherpad deployment :-)
Same here. Firefox ESR 45.4.0 (Debian 8). What could I try, or how can I help to fix it ?
Same here.
Google Chrome Linux Version 55.0.2883.75
with Firefox 50.1.0 it's working.
I can still reproduce it in Epiphany 3.22, but it seems to be gone from FF 50 or Chromium 55.
Looks like the problem in Safari and epiphany is originated by the workaround introduced in #1766. I just reverted this one and the copy&paste works well now in Epiphany:
--- ./etherpad-lite/node_modules/ep_etherpad-lite/static/css/iframe_editor.css.orig 2017-02-02 10:21:45.201005469 +0100
+++ ./etherpad-lite/node_modules/ep_etherpad-lite/static/css/iframe_editor.css 2017-02-02 10:23:02.612889597 +0100
@@ -120,8 +120,6 @@
}
- body.doesWrap:not(.noprewrap) > div{
- /* Related to #1766 */
- white-space: pre-wrap;
- }
#innerdocbody {
Same problem here in Firefox 56.0.1 on Windows -- makes Gist painful to use when it won't preserve newlines from plain text.
Same problem with Firefox 56.0 on Fedora. But Chrome 62.0 works fine!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
On etherpad 1.8.3, apparently there seems to be a difference between pasting with middle mouse button, which squashes all lines into one, and pasting with Ctrl-V, which does the right thing.
@rohieb afaik it's fixed in develop
ctl-shift-v solved this problem for me in firefox 79 on Ubuntu 18