The quiet craft of a good slash menu
Slash-to-insert lives or dies on details you'd never notice if they were right — and can't stop noticing when they're wrong.
Type / anywhere in a Verso page and a menu appears under your cursor. Keep typing and it filters. Arrow to a block, press Enter, and the slash and everything you typed after it vanish, replaced by the thing you asked for. It should feel like the tool read your mind. Getting there is a hundred small correctnesses.
The text has to disappear cleanly
When you type /h1 and pick Heading 1, the characters /h1 must not linger. That means the menu has to remember exactly where the slash started, so that on selection it can delete precisely that span and nothing else — not the word before it, not a space you happened to type.
Escape should cost nothing
If you open the menu and change your mind, Escape leaves the literal / in your text as if the menu never happened. A menu you can dismiss without consequence is a menu you'll actually use, because opening it was never a commitment.
Keyboard first, always
Up and down move the highlight; Enter commits; the highlighted row scrolls itself into view so you never lose it. The mouse is welcome but never required. The whole interaction should be completable without your hands leaving the home row — because the moment you reach for the trackpad to insert a heading, the tool has interrupted your sentence.
None of this is visible when it's right. That's the job. Good editor craft is a series of things you don't notice, arranged so that the only thing you do notice is your own writing.
Enjoyed this?
Get the next Tools & Craft post in your inbox.