π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Fix editor class names
Smaug673915d6527f6e71
diff --git a/frontend/components/MarkdownEditor/LazyMarkdownEditor.vue b/frontend/components/MarkdownEditor/LazyMarkdownEditor.vueindex 6a080729..d6a13ff5 100644--- a/frontend/components/MarkdownEditor/LazyMarkdownEditor.vue+++ b/frontend/components/MarkdownEditor/LazyMarkdownEditor.vue@@ -5,7 +5,7 @@<input placeholder="Description" class="description" v-model="document.description" /><div class="markdown" ref="container"><InlineToolbar ref="toolbar" @execute-action="(a: string) => exec(a)" />- <textarea ref="textarea" class="textarea content markdown-input" @scroll="syncScroll" @input="update" v-html="document.content_markdown || ''" placeholder="Write something or use the toolbar to create your document..."></textarea>+ <textarea ref="textarea" class="content markdown-input" @scroll="syncScroll" @input="update" v-html="document.content_markdown || ''" placeholder="Write something or use the toolbar to create your document..."></textarea><div v-if="editor.showPreview.value" class="markdown-preview document-theme" ref="markdownPreview" v-html="document.content_html || ''"></div></div></div>@@ -88,7 +88,7 @@ function saveDocument() {}input,-.textarea {+textarea {border: none;outline: none;background-color: var(--bg-color);@@ -112,8 +112,7 @@ input {content: '';}-.textarea {- white-space: break-spaces;+textarea {font-family: monospace;line-height: 1.2;font-size: 16px;