A photo of me wearing a blue blazer and pocket square while on a horse, looking quite dapper.

David Celis

A cowboy coder.

Follow me

my maddening rabbithole for the last 1-2 days has been trying to figure out why smart punctuation and text replacements work differently in various HTML inputs, contenteditable elements, and specifically CodeMirror editors depending on whether or not you’re using a Mac or an iPhone. i wish i could just let this go, but nooo, i want my own little post composer text field that makes dumb little curly quotes, fixes ellipses, and counts my characters!

2

💬 Replies (2)

styling the post's markdown as i type it is pretty hard to let go of too 🫠

i guess i mostly just wish i was good at frontend lol