Fix de la sauvegarde du RTE avec la possibilité de faire un localStorage

This commit is contained in:
2026-03-05 11:02:26 +01:00
parent 29469041e0
commit 585e608d8d
25 changed files with 1088 additions and 289 deletions

View File

@@ -16,6 +16,7 @@ export default function WritePage() {
return (
<RichTextEditor
ref={editorRef}
editorId={currentChapterId}
initialContent={currentChapter?.content || ''}
onSave={(html) => updateChapter(currentChapterId, { content: html })}
onAiTransform={async (text, mode) => {