mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-22 02:12:38 +01:00
add 'copy raw text' context menu option
This commit is contained in:
parent
ec515df13d
commit
0b23d2acba
@ -37,6 +37,15 @@ export default {
|
||||
icon: "mdiIdentifier",
|
||||
},
|
||||
},
|
||||
{
|
||||
label: "Copy Raw Text",
|
||||
onClick: () => {
|
||||
navigator.clipboard.writeText(message.content);
|
||||
},
|
||||
iconProps: {
|
||||
icon: "mdiRaw",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
if (canDeleteMessage) {
|
||||
|
Loading…
Reference in New Issue
Block a user