mirror of https://github.com/zulip/zulip.git
pills: Use insertText for copy/paste.
This commit is contained in:
parent
3fd8d718f4
commit
d48fb1d776
|
@ -309,7 +309,7 @@ exports.create = function (opts) {
|
|||
var text = (e.originalEvent || e).clipboardData.getData('text/plain');
|
||||
|
||||
// insert text manually
|
||||
document.execCommand("insertHTML", false, text);
|
||||
document.execCommand("insertText", false, text);
|
||||
|
||||
funcs.insertManyPills(store.$input.text().trim());
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue