Stop question answers from resetting the editor caret ยท #11337
The pending-answer callback no longer reads an old editor snapshot and resets selection before the answer renders. This fixes reproduced Lexical recursion, a stuck skill picker and stale caret offsets. The existing picker remains available; the broader plain-text-only request in #7805 stays open.
Native Electron with synthetic pending questions: the base leaves $bro unconverted, keeps 12 options open and throws Maximum call stack size exceeded. The fix creates a chip, closes the picker and reports no errors. Typing/backspace, Next with an empty second answer, Previous with the first answer preserved, and restoration of the original draft all pass. No final answer was submitted to a provider. Thirty-six existing editor/answer tests and web typecheck pass; scoped lint exactly matches 17 base warnings. CI, CodeRabbit status and both Macroscope checks pass, with approval and no inline findings.
No merge. GitHub image/video upload pending because the background browser connection is unavailable. Stacked on #11298, which retains its authentication and Fable holds. Web and desktop share this callback; native mobile uses a different answer input.
Reviewed commit a0e60a4212ed899a8d4eb72572dc8273d9628109Before
After
Selecting a skill and navigating questions