1
0
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:
Puyodead1 2023-12-09 21:25:59 -05:00
parent ec515df13d
commit 0b23d2acba
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC

View File

@ -37,6 +37,15 @@ export default {
icon: "mdiIdentifier",
},
},
{
label: "Copy Raw Text",
onClick: () => {
navigator.clipboard.writeText(message.content);
},
iconProps: {
icon: "mdiRaw",
},
},
];
if (canDeleteMessage) {