pages
This commit is contained in:
parent
8b8d2662b7
commit
92da9196c6
@ -281,7 +281,7 @@ export const Editor: React.FC<EditorProps> = ({ note, onSave, currentFolder = 'N
|
||||
<div className="p-4 border-b border-carnet-border">
|
||||
<input
|
||||
type="text"
|
||||
value={title}
|
||||
value={title ?? ''}
|
||||
onChange={handleTitleChange}
|
||||
placeholder="Titre"
|
||||
className="w-full text-xl font-semibold text-carnet-text-primary placeholder-carnet-text-muted focus:outline-none bg-transparent"
|
||||
@ -303,7 +303,7 @@ export const Editor: React.FC<EditorProps> = ({ note, onSave, currentFolder = 'N
|
||||
</div>
|
||||
) : (
|
||||
<textarea
|
||||
value={content}
|
||||
value={content ?? ''}
|
||||
onChange={handleContentChange}
|
||||
placeholder="Ecrire..."
|
||||
className="w-full h-full resize-none focus:outline-none bg-transparent text-carnet-text-primary placeholder-carnet-text-muted"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user