first attempt at fixing dead keys, it cant be this easy can it?

pull/2621/head
John McLear 2015-04-17 17:01:15 +01:00
parent 29ab7b9026
commit b8192fd015
1 changed files with 5 additions and 0 deletions

View File

@ -3680,6 +3680,11 @@ function Ace2Inner(){
stopped = true; stopped = true;
} }
} }
else if (evt.key === "Dead"){
// If it's a dead key we don't want to do any Etherpad behavior.
stopped = true;
return true;
}
else if (type == "keydown") else if (type == "keydown")
{ {
outsideKeyDown(evt); outsideKeyDown(evt);