Merge pull request #359 from adamjimenez/master
This is a Fix for: "Make keyboard infrastructure route keys like []^$ the right way."
This commit is contained in:
commit
f31f5842f4
1 changed files with 2 additions and 2 deletions
|
|
@ -64,9 +64,9 @@ var TextInput = function(parentNode, host) {
|
||||||
if (value.charCodeAt(value.length-1) == PLACEHOLDER.charCodeAt(0)) {
|
if (value.charCodeAt(value.length-1) == PLACEHOLDER.charCodeAt(0)) {
|
||||||
value = value.slice(0, -1);
|
value = value.slice(0, -1);
|
||||||
if (value)
|
if (value)
|
||||||
host.onTextInput(value);
|
host.onTextInput(value, !pasted);
|
||||||
} else {
|
} else {
|
||||||
host.onTextInput(value);
|
host.onTextInput(value, !pasted);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If editor is no longer focused we quit immediately, since
|
// If editor is no longer focused we quit immediately, since
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue