feat: Make mention button add mention

This commit is contained in:
Jesse Wierzbinski 2024-06-23 15:21:28 -10:00
parent fd16518387
commit b2989e898e
No known key found for this signature in database

View file

@ -15,7 +15,7 @@
</div>
<FileUploader v-model:files="files" ref="uploader" />
<div class="flex flex-row gap-1 border-white/20">
<Button title="Mention someone">
<Button title="Mention someone" @click="content = content + '@'">
<iconify-icon height="1.5rem" width="1.5rem" icon="tabler:at" aria-hidden="true" />
</Button>
<Button title="Toggle Markdown" @click="markdown = !markdown" :toggled="markdown">
@ -38,7 +38,7 @@
:disabled="!canSubmit || loading">
<span>{{
respondingType === "edit" ? "Edit!" : "Send!"
}}</span>
}}</span>
</ButtonPrimary>
</div>
</div>