Replace nonexistent method onDelete call with execCommand("del") in textinput
This commit is contained in:
parent
81f58c4552
commit
8571bee037
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ var TextInput = function(parentNode, host) {
|
||||||
if (data)
|
if (data)
|
||||||
host.onTextInput(data);
|
host.onTextInput(data);
|
||||||
} else
|
} else
|
||||||
host.onDelete();
|
host.execCommand("del", {source: "ace"});
|
||||||
};
|
};
|
||||||
|
|
||||||
var onCompositionStart = function(e) {
|
var onCompositionStart = function(e) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue