mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
fix for #2574
This commit is contained in:
parent
70fdc7dcd7
commit
644536b27b
2 changed files with 16 additions and 2 deletions
|
@ -98,7 +98,18 @@ 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), WARNING: 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
|
||||
WARNING: This causes copy & paste events to lose bold etc. attributes
|
||||
NOTE: The walking-zombie caret issue seems to have been fixed in FF upstream
|
||||
so let's try diabling pre-wrap and see how we get on now.
|
||||
For more details see: https://github.com/ether/etherpad-lite/issues/2574
|
||||
*/
|
||||
word-wrap: break-word; /* fix for issue #1648 - firefox not wrapping long lines (without spaces) correctly */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue