Re:A contentEditable, pasted garbage and caret placement wal...
by wisty on Saturday July 24, 2021 @03:17AM
(#27939042)
You literally build the editor from the ground up (events like keystrokes modify a data object which then changes the page), rather than trying to patch the browser's editor (including all possible versions of every supported browser) into doing what you want.
[ Parent
| on HN ]
Re:A contentEditable, pasted garbage and caret placement wal...
by andrewshadura on Saturday July 24, 2021 @04:22AM
(#27939238)
Yes, and everyone using Compose or dead keys starts to hate you.