summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2013-11-22 17:18:30 +0100
committerMarcel Klehr <mklehr@gmx.net>2013-11-22 17:18:30 +0100
commit5d803a05239b75ea592d00a16f84368416287095 (patch)
tree8d7b249a80f689f52c742d8fdbff61e802b8ea60 /src
parent117a4ab1a8025b1427fa69dd7b152cd036c911c2 (diff)
downloadetherpad-lite-5d803a05239b75ea592d00a16f84368416287095.zip
Fix walking caret bug
white-space css prop must be set to pre-wrap to keep trailing spaces fixes #1766
Diffstat (limited to 'src')
-rw-r--r--src/static/css/iframe_editor.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/css/iframe_editor.css b/src/static/css/iframe_editor.css
index 3ed5322d..cee07d26 100644
--- a/src/static/css/iframe_editor.css
+++ b/src/static/css/iframe_editor.css
@@ -75,7 +75,7 @@ body.grayedout { background-color: #eee !important }
}
body.doesWrap {
- white-space: normal;
+ white-space: pre-wrap; /*Must be pre-wrap to keep trailing spaces. Otherwise you get a zombie caret, walking around your screen (see #1766) */
word-wrap: break-word; /* fix for issue #1648 - firefox not wrapping long lines (without spaces) correctly */
}