Closed xhanglizhu closed 6 years ago
现在想将复制的内容粘贴到div[contenteditable],发现会出现两次同样的内容。 这个有什么好的解决思路?pasteText
$(ele).on('paste', function (ev) { ev.preventDefault(); })
现在想将复制的内容粘贴到div[contenteditable],发现会出现两次同样的内容。 这个有什么好的解决思路?pasteText