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.

Remove french comments

Smaug6739bf6ebd5b2886
diff --git a/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue b/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue
index 8c43ee2a..6f02460d 100644
--- a/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue
+++ b/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue
@@ -291,15 +291,10 @@ function snippetSource(context: CompletionContext) {
if (!word && !context.explicit) return null;
return {
from: word ? word.from : context.pos,
- // MODIFICATION CLÉ: Remplacer snippetCompletion() par un objet Completion littéral
- // avec 'apply: snippet(s.label)'
-
options: [...snippets, ...katexSnippets].map(s => ({
- label: s.label, // Le déclencheur qui apparaît dans la liste (ex: !yellow)
+ label: s.label,
detail: 'Snippet',
type: 'snippet',
- // On utilise 'snippet' pour créer explicitement la fonction d'application
- // qui va analyser et gérer le curseur pour $0, $1, etc.
apply: snippet(s.label),
})),
};