mirror of
https://github.com/cinnyapp/cinny.git
synced 2024-12-28 02:16:17 +00:00
pressing up to edit should take you to end of line (#1928)
This commit is contained in:
parent
5c9ee1a988
commit
043012e809
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue