mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 11:22:37 +10:00
fix: focus editor on bottom click (#484)
This commit is contained in:
@ -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 />
|
||||||
|
|||||||
Reference in New Issue
Block a user