fix: focus editor on bottom click (#484)
This commit is contained in:
parent
d01ced078b
commit
8194c7d42d
1 changed files with 3 additions and 2 deletions
|
|
@ -184,6 +184,7 @@ export default function PageEditor({ pageId, editable }: PageEditorProps) {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
<div onClick={() => editor.commands.focus('end')} style={{ paddingBottom: '20vh' }}></div>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<EditorSkeleton />
|
<EditorSkeleton />
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue