arnog / mathlive

A web component for easy math input
https://cortexjs.io/mathlive
MIT License
1.26k stars 260 forks source link

Backspace propagation bug in mathlive 0.99.0 #2392

Closed anisabboud closed 3 weeks ago

anisabboud commented 3 weeks ago

I'm using mathlive inside Quill.

This might be related to https://github.com/arnog/mathlive/commit/bd1c0618ba388a19633a79b19b569fecea31fb15 and evt.preventDefault(); / evt.stopPropagation(); (haven't looked closely yet).

arnog commented 3 weeks ago

Hmmm... In some cases, backspace now does an Undo. I think that's what's going on here.