pills: Use insertText for copy/paste.

This commit is contained in:
Steve Howell 2018-03-31 07:09:50 -04:00 committed by Tim Abbott
parent 3fd8d718f4
commit d48fb1d776
1 changed files with 1 additions and 1 deletions

View File

@ -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());
});