1
0
Fork 0
forked from mirror/cinny

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();
if (!editableEvtId) return;
setEditId(editableEvtId);
evt.preventDefault()
}
},
[mx, room, editor]