CSS fix for pasting plain-text in chrome, needs thorough testing

pull/2186/head
John McLear 2014-06-24 18:45:54 +01:00
parent a76dc697f0
commit db045c6ffd
1 changed files with 3 additions and 2 deletions

View File

@ -75,8 +75,8 @@ body.grayedout { background-color: #eee !important }
} }
body.doesWrap { body.doesWrap {
white-space: pre-wrap; /*Must be pre-wrap to keep trailing spaces. Otherwise you get a zombie caret, walking around your screen (see #1766) */ /* white-space: pre-wrap; */ /* 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 */ word-wrap: break-word;
} }
#innerdocbody { #innerdocbody {
@ -87,6 +87,7 @@ body.doesWrap {
overflow: hidden; overflow: hidden;
/* blank 1x1 gif, so that IE8 doesn't consider the body transparent */ /* blank 1x1 gif, so that IE8 doesn't consider the body transparent */
background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==); background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==);
font-family:Arial, sans-serif;
} }
#sidediv { #sidediv {