fixed copypaste

This commit is contained in:
antelle 2019-09-28 12:25:07 +02:00
parent 85b89a2d80
commit 59aebd3666
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ const CopyPaste = {
copyHtml(html) {
const el = document.createElement('div');
el.style.userSelect = 'auto';
el.style.webkitUserSelect = 'auto';
el.style.mozUserSelect = 'auto';
el.innerHTML = html;
document.body.appendChild(el);