mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Merge branch 'develop' of github.com:ether/etherpad-lite into editbar-accessibility
This commit is contained in:
commit
7e99724fec
4 changed files with 29 additions and 15 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