mirror of https://github.com/keeweb/keeweb.git
fixed copypaste
This commit is contained in:
parent
85b89a2d80
commit
59aebd3666
|
@ -52,6 +52,9 @@ const CopyPaste = {
|
||||||
|
|
||||||
copyHtml(html) {
|
copyHtml(html) {
|
||||||
const el = document.createElement('div');
|
const el = document.createElement('div');
|
||||||
|
el.style.userSelect = 'auto';
|
||||||
|
el.style.webkitUserSelect = 'auto';
|
||||||
|
el.style.mozUserSelect = 'auto';
|
||||||
el.innerHTML = html;
|
el.innerHTML = html;
|
||||||
document.body.appendChild(el);
|
document.body.appendChild(el);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue