textarea
This commit is contained in:
parent
7133d14883
commit
15b03efe6d
|
@ -2377,6 +2377,7 @@ Utils.prototype.getTextArea = function () {
|
|||
};
|
||||
|
||||
Utils.prototype.insertText = function (textarea, text) {
|
||||
textarea.focus();
|
||||
textarea.selectionStart = 0;
|
||||
textarea.selectionEnd = textarea.value.length;
|
||||
document.execCommand("insertText", false, text);
|
||||
|
|
Loading…
Reference in New Issue