Open sgermosen opened 6 years ago
below code will fix the issue
$(document).ready(function () {
document.querySelector("div.Editor-editor[contenteditable]").addEventListener("paste", function (e) {
e.preventDefault();
var text = e.clipboardData.getData("text/plain");
document.execCommand("insertHTML", false, text);
});
})
Hi, how i can paste text without format, or, fix the issues that i have when i paste from word