diff --git a/web/components/contract/contract-description.tsx b/web/components/contract/contract-description.tsx index 9bf2114b..9bffed9b 100644 --- a/web/components/contract/contract-description.tsx +++ b/web/components/contract/contract-description.tsx @@ -128,6 +128,7 @@ function EditQuestion(props: { function joinContent(oldContent: ContentType, newContent: string) { const editor = new Editor({ content: oldContent, extensions: exhibitExts }) + editor.commands.focus('end') insertContent(editor, newContent) return editor.getJSON() }