为ueditor加入粘贴文本功能加入了原生读取剪贴板功能
因使用了箭头函数=>导致ERROR in xxx.js from UglifyJs打包异常
es5和es6的区别 https://www.cnblogs.com/sunshinezjb/p/9248533.html
navigator.clipboard.readText()
.then(function(txt) {
me .focus();
// 插入纯文字
me .execCommand('inserthtml', txt);
}).catch(function(e){
console.log("paste error: "+e);
alert(me.getLang('pastemsg'));
})