Fix de la sauvegarde du RTE avec la possibilité de faire un localStorage
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user