From 6d2164854b4f08e0d664ef5ab8bf2f990bfb508a Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Sun, 22 Dec 2024 12:48:49 +0100 Subject: [PATCH] feat: remove editor split screen and add modal for source code viewing Signed-off-by: Alexander Trost --- .../calendar/entry/EntryViewSlideover.vue | 2 +- app/components/documents/DocumentEditor.vue | 2 +- app/components/documents/DocumentView.vue | 2 +- .../documents/templates/TemplateEditor.vue | 119 ++++++++++-------- app/components/mailer/TemplateEditForm.vue | 2 +- app/components/mailer/TemplatesModal.vue | 1 - app/components/partials/TiptapEditor.vue | 31 +++-- .../partials/TiptapEditorSourceCodeModal.vue | 48 +++++++ .../qualifications/QualificationEditor.vue | 2 +- .../qualifications/QualificationView.vue | 2 +- app/components/wiki/PageEditor.vue | 2 +- i18n/locales/de/de.json | 4 +- i18n/locales/en/en.json | 4 +- 13 files changed, 150 insertions(+), 71 deletions(-) create mode 100644 app/components/partials/TiptapEditorSourceCodeModal.vue diff --git a/app/components/calendar/entry/EntryViewSlideover.vue b/app/components/calendar/entry/EntryViewSlideover.vue index 04021be17..66d184fd8 100644 --- a/app/components/calendar/entry/EntryViewSlideover.vue +++ b/app/components/calendar/entry/EntryViewSlideover.vue @@ -205,7 +205,7 @@ const canDo = computed(() => ({ -
+
diff --git a/app/components/documents/DocumentEditor.vue b/app/components/documents/DocumentEditor.vue index d6a65ef87..7a9ad8bdd 100644 --- a/app/components/documents/DocumentEditor.vue +++ b/app/components/documents/DocumentEditor.vue @@ -645,7 +645,7 @@ logger.info(