mirror of
https://github.com/bretzel-app/crumbs.git
synced 2026-10-13 04:06:57 +02:00
Use e.currentTarget instead of e.target so the reference is always the contenteditable div, not a descendant <a> tag. Use el.contains() instead of strict equality to avoid linkifying while focus is still inside the editable element. https://claude.ai/code/session_01VZceWPhHMHCA6SELBdCPfN