From b657676bdd8a38dfb64bd005d8bdc4a71a5ff5e2 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 24 Jun 2014 19:02:40 +0100 Subject: [PATCH] gah can only do 1/2 a fix --- 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 a2930c0f1..cb928c023 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: pre-wrap; */ /* Enabling this causes Paste as plain text in Chrome to remove line breaks, this is probably undesirable */ + white-space: pre-wrap; /*Must be pre-wrap to keep trailing spaces. Otherwise you get a zombie caret, walking around your screen (see #1766), WARNING: Enabling this causes Paste as plain text in Chrome to remove line breaks, this is probably undesirable */ word-wrap: break-word; /* fix for issue #1648 - firefox not wrapping long lines (without spaces) correctly */ }