innerText for clipboard copy

practiced-songs
Matthew Huntington 1 year ago
parent 6a54cea56b
commit ae9367384b

@ -14,7 +14,7 @@
})
},
copy(event){
navigator.clipboard.writeText(event.target.innerHTML);
navigator.clipboard.writeText(event.target.innerText);
}
},
mounted() {

@ -14,7 +14,7 @@
},
methods: {
copy(event){
navigator.clipboard.writeText(event.target.innerHTML);
navigator.clipboard.writeText(event.target.innerText);
}
},
}

Loading…
Cancel
Save