Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


dave@dthompson@toot.cat (2026-08-01 00:52:19)
dark corner of contenteditable: as of 2024, <input> and <textarea> elements receive selectionchanged events, but contenteditable elements do not. I would really like to know when the caret moves inside my custom editor but it seems the best thing to do for now is to infer it from keyboard/mouse/touch events.
Reply