diff --git a/frontend/src/components/MailMarkdownEditor.vue b/frontend/src/components/MailMarkdownEditor.vue index 3e3cb33..8b9f079 100644 --- a/frontend/src/components/MailMarkdownEditor.vue +++ b/frontend/src/components/MailMarkdownEditor.vue @@ -15,6 +15,8 @@ import { } from 'lucide-vue-next' import { onBeforeUnmount, watch } from 'vue' +import { SkyButton, SkyIcon, SkyToolbar, SkyToolbarPane } from '@/ui' + export type MailEditorLabels = { bold: string bulletList: string @@ -22,6 +24,7 @@ export type MailEditorLabels = { numberedList: string quote: string redo: string + toolbar: string undo: string } @@ -41,6 +44,7 @@ const props = withDefaults( numberedList: 'Numbered list', quote: 'Quote', redo: 'Redo', + toolbar: 'Formatting tools', undo: 'Undo', }), placeholder: '', @@ -111,126 +115,159 @@ onBeforeUnmount(() => editor.value?.destroy())