News for hackers. Stuff that matters.
Re:Innovative Rich Text Editing: Typing Affinity by jitl on Sunday November 06, 2022 @12:39PM (#33495097)
You'll need to track your own selection state and take over actually inserting the characters by calling preventDefault() during beforeinput in Chrome and Safari. Both Chrome and Safari will fight you on this one. To say nothing of Android...

There are no comments on this comment yet.