uedit,检测粘贴事件,替换粘贴内容

vue.editor.addListener("beforepaste",function(type, arg1, arg2){
arg1.html="ddddddd"
})
此时就粘贴板里内容换成了ddddd了。

学而不思则罔,思而不结则殆,结而不看,一事无成
原文地址:https://www.cnblogs.com/windseek/p/8883890.html