Stop typing into a selected decorator and skip hidden decision cards with the arrow keys
Arrowing onto a decorator gives Lexical a node selection, and its beforeinput handler returns without cancelling the event, so the browser inserted text at the start of the root, each character in front of the last. Cancel insertion while a node is selected. A collapsed resolved decision is an invisible placeholder, so arrow keys now step over it to the next block of text instead of selecting it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Parent461d55e
5 files changed+359-0
StackedSplit