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

This commit is contained in:
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 {
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 */
/* 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;
}
#innerdocbody {
@ -87,6 +87,7 @@ body.doesWrap {
overflow: hidden;
/* blank 1x1 gif, so that IE8 doesn't consider the body transparent */
background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==);
font-family:Arial, sans-serif;
}
#sidediv {