Pasting still replaces selected text in read-only mode

I’m not sure if this is the expected behavior, but it’s a little surprising!

https://observablehq.com/@pearmini/daily-hanzi-bot

Looks like a browser extension maybe? Or what browser are you using? I’ve never seen that popup.

Ohhh, I thought the comment was about the pop-up, but now I see the title is about pasting in read-only mode. Yes, that’s surprising. Let me investigate.

I pushed a fix! Thanks for the report.

Thanks! Next time, I’ll be more precise when reporting an issue!