New search function et drag and drop clean
This commit is contained in:
27
notes/projets/frontend/codemirror-integration.md
Normal file
27
notes/projets/frontend/codemirror-integration.md
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
title: "CodeMirror Integration"
|
||||
date: "10-11-2025"
|
||||
last_modified: "10-11-2025:19:21"
|
||||
tags: ["projet", "frontend", "editor"]
|
||||
---
|
||||
|
||||
# CodeMirror 6 Integration
|
||||
|
||||
## Configuration
|
||||
|
||||
Nous utilisons CodeMirror 6 avec:
|
||||
- `@codemirror/lang-markdown` pour le Markdown
|
||||
- `@codemirror/theme-one-dark` pour le thème
|
||||
- `@codemirror/basic-setup` pour les fonctionnalités de base
|
||||
|
||||
## Slash Commands
|
||||
|
||||
Système de commandes rapides avec `/`:
|
||||
- /h1, /h2, /h3 - Titres
|
||||
- /date - Date actuelle
|
||||
- /table - Tableau
|
||||
- /code - Bloc de code
|
||||
|
||||
## Auto-save
|
||||
|
||||
Déclenché après 2 secondes d'inactivité.
|
||||
Reference in New Issue
Block a user