#2380·milkdown

[Feature] After closing inline code, if at the end of a line it's not possible to get in/out of the inline code.

Author: fabiozCreated May 25, 2026Updated May 25, 2026
Labelsenhancement

Initial checklist

Problem

Right now when you write an inline code entry (`inline code`), if you've just written it you can add a space and keep writing out of it. Now, if you wrote it before and are in the end of a line, it's not possible to move the cursor in/out of the inline code, it's always inside (so, it's possible to keep typing in it and then go back with a menu action to remove contents, but it'd be nice if the feature that can go in/out of the inline code worked in this case, right now it just works if the inline code is in the middle of a line.

Solution

Ideally, when an inline code is at the end of a line, using the left/right cursor would get in/out of the inline code.

Alternatives

I can't really see a good alternative (the user can do the workaround where he types more and then uses a custom command to remove the inline code from part of the string, but the workflow is not ideal).