githubnext/chopinPublic

Let's compose rich plans together

Paste fragmented Markdown literally

Lexical inserts inline runs in quadratic time, so a paste over 64K
characters, over 2,000 nodes, or with more than 200 children in one block
stays literal. Checked on the parsed tree before anything is inserted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
7080ef3Patch
Parentc5e9de0
2 files changed+43-4
StackedSplit
packages/editor/src/markdown-paste.test.ts+23 −3
packages/editor/src/markdown-paste.ts+20 −1