mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
CSS fix for pasting plain-text in chrome, needs thorough testing
This commit is contained in:
parent
a76dc697f0
commit
db045c6ffd
1 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue