Insert this after line 117:
.on('paste', function (e) {
e.preventDefault();
var contentOnBlur = (e.originalEvent || e).clipboardData.getData('text/plain') || prompt('Paste something..');
contentOnBlur = contentOnBlur.replace(/(<([^>]+)>)/ig,'');
document.execCommand('insertText', false, contentOnBlur);
})
Insert the same block after 171 lines (do not forget that the previous paste could move it lower).
source
share