~/talk

The Editor is Broken!

Talkat HalfStack Charlotte 2023 · on Friday, 2023-04-28· [developer-experience]
links:none on file
slides:none on file

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

  1. 0:00Introduction to the talk
  2. 1:23Why rich text editing is hard
  3. 3:10Discovering the Chrome bug
  4. 5:40Debugging without panic
  5. 9:07First failed attempts at fixes
  6. 11:54Finding the root cause
  7. 13:39One-line workaround solution
  8. 15:05Browser team confirms and fixes
  9. 16:52Fix lands in Chrome 113
  10. 17:14Speaker introduction and background
  11. 18:18Summary and advice for bug fixing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.