From 5d803a05239b75ea592d00a16f84368416287095 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Fri, 22 Nov 2013 17:18:30 +0100 Subject: [PATCH] Fix walking caret bug white-space css prop must be set to pre-wrap to keep trailing spaces fixes #1766 --- src/static/css/iframe_editor.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ }