forked from DGNum/metis
Add user-select: all for easier copy when the clipboard is not available
This commit is contained in:
parent
4e63112182
commit
29bce486d2
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
navigator.clipboard
|
||||
.writeText(share)
|
||||
.then(() => (toastText = '<b>Lien de partage copié dans le presse-papier.</b>'))
|
||||
.catch(() => (toastText = 'Erreur de copie.'))
|
||||
.catch(() => (toastText = 'Erreur de copie automatique.'))
|
||||
.finally((isToastOpen = true));
|
||||
};
|
||||
</script>
|
||||
|
@ -81,6 +81,7 @@
|
|||
display: block;
|
||||
overflow-wrap: break-word;
|
||||
cursor: pointer;
|
||||
user-select: all;
|
||||
}
|
||||
|
||||
.share-toast {
|
||||
|
|
Loading…
Reference in a new issue