Just a passing suggestion (maybe not something to implement here in this PR, but just a thought).
I would maybe suggest using an accessible UI foundation package for the editor (which is essentially a Tabs component, I think?). There are quite a few keyboard interactions (e.g. roving focus) that are a bit tricky to get right when rolling your own.
For comparison's sake, here are a few that I know of, off the top of my head:
I would maybe suggest using an accessible UI foundation package for the editor (which is essentially a Tabs component, I think?). There are quite a few keyboard interactions (e.g. roving focus) that are a bit tricky to get right when rolling your own.
For comparison's sake, here are a few that I know of, off the top of my head:
_Originally posted by @melanieseltzer in https://github.com/code-hike/codehike/pull/341#discussion_r1150973712_