The Editor is Broken!
summary
A regression in Chrome 112 causes a tab character pasted into Slate editors to duplicate text, leak memory and crash pages; it reproduces in Brave and Edge and was reported after Campfire/Discord users saw it. Root cause narrows to a beforeinput handler using a letter-matching regex with native=true; flipping it to native=false is a one-line workaround that avoids the crash while awaiting Chrome to revert the faulty commit and ship a real fix in 113/114.
AI-written summary · about
chapters (11)
- 0:00Introduction to the talk
- 1:23Why rich text editing is hard
- 3:10Discovering the Chrome bug
- 5:40Debugging without panic
- 9:07First failed attempts at fixes
- 11:54Finding the root cause
- 13:39One-line workaround solution
- 15:05Browser team confirms and fixes
- 16:52Fix lands in Chrome 113
- 17:14Speaker introduction and background
- 18:18Summary and advice for bug fixing








