fix: focus editor on bottom click (#484)

This commit is contained in:
Philip Okugbe
2024-11-13 12:00:25 -08:00
committed by GitHub
parent d01ced078b
commit 8194c7d42d

View File

@ -184,6 +184,7 @@ export default function PageEditor({ pageId, editable }: PageEditorProps) {
)}
</div>
)}
<div onClick={() => editor.commands.focus('end')} style={{ paddingBottom: '20vh' }}></div>
</div>
) : (
<EditorSkeleton />