mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
fix for #2574
This commit is contained in:
parent
70fdc7dcd7
commit
644536b27b
2 changed files with 16 additions and 2 deletions
|
@ -608,8 +608,11 @@ function Ace2Inner(){
|
|||
|
||||
// Chrome can't handle the truth.. If CSS rule white-space:pre-wrap
|
||||
// is true then any paste event will insert two lines..
|
||||
// Sadly this will mean you get a walking Caret in Chrome when clicking on a URL
|
||||
// So this has to be set to pre-wrap ;(
|
||||
// We need to file a bug w/ the Chromium team.
|
||||
if(browser.chrome){
|
||||
$("#innerdocbody").css({"white-space":"normal"});
|
||||
$("#innerdocbody").css({"white-space":"pre-wrap"});
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue