Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix color

Smaug6739eccc3cfb05a6
diff --git a/frontend/components/MarkdownEditor/MarkdownEditor.vue b/frontend/components/MarkdownEditor/MarkdownEditor.vue
index 3b22215c..4e1fc64d 100644
--- a/frontend/components/MarkdownEditor/MarkdownEditor.vue
+++ b/frontend/components/MarkdownEditor/MarkdownEditor.vue
@@ -44,6 +44,7 @@ function exec(action: string) {
editor.actions(action);
switch (action) {
case 'exit':
+ if (props.options?.toolbar == 'minimal') return;
useRouter().push(document.value.id ? `/dashboard/docs/${document.value.id}` : '/dashboard');
break;
case 'save':