pressing up to edit should take you to end of line (#1928)

This commit is contained in:
Dylan Hackworth 2024-09-07 08:08:16 -05:00 committed by GitHub
parent 5c9ee1a988
commit 043012e809
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -726,6 +726,7 @@ export function RoomTimeline({ room, eventId, roomInputRef, editor }: RoomTimeli
const editableEvtId = editableEvt?.getId(); const editableEvtId = editableEvt?.getId();
if (!editableEvtId) return; if (!editableEvtId) return;
setEditId(editableEvtId); setEditId(editableEvtId);
evt.preventDefault()
} }
}, },
[mx, room, editor] [mx, room, editor]