{noteType === 'richtext' ? (
-
{ setContent(v); setIsDirty(true) }}
- className="min-h-[60vh] text-lg font-light leading-relaxed text-foreground/80"
- onImageUpload={uploadImageFile}
- />
+
+ { setContent(v); setIsDirty(true) }}
+ className="min-h-[280px] text-lg font-light leading-relaxed"
+ onImageUpload={uploadImageFile}
+ />
+
) : (noteType === 'markdown' || noteType === 'text') && showMarkdownPreview ? (
!readOnly && setShowMarkdownPreview(false)}
>
{!readOnly && (
-
- Click to edit
+
+ Cliquez pour éditer
)}
@@ -836,22 +863,13 @@ export function NoteEditor({ note, readOnly = false, onClose, fullPage = false }