Skip to content
Aditya Bhalsod

Engineering Journal Notes from real projects

Field notes on Web, Mobile, DevOps & AI

Practical write-ups from building products for clients and maintaining open-source tools: what worked, what broke, and the checklists I now use every time.

Articles
32
Topics
5
Language
EN

/blog

All articles

Featured

Open Source5 minNewAdvanced

Handling Contenteditable Input Without Trusting the DOM

How Trevixal, my from-scratch rich-text editor, turns beforeinput events, IME composition and stray DOM mutations into transactions on a document model it owns.

Key takeaway. Outside IME composition, cancel every beforeinput event and replay the intents you understand as commands on your own model.

  • #typescript
  • #contenteditable
  • #rich-text-editor
Read article