diff --git a/src/static/css/iframe_editor.css b/src/static/css/iframe_editor.css index a2930c0f..cb928c02 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 */ }