parpalak / upmath.me

Markdown and LaTeX online editor - create text for web with equations and diagrams
https://upmath.me/
MIT License
323 stars 40 forks source link

run parserCollection.updateResult() when automatic (not user direct input) input happens in the textarea #18

Closed sajozsattila closed 11 months ago

sajozsattila commented 4 years ago

The issue is happening with Firefox and Grammarly with me, but I guess it is same with different spellcheck.
The Grammary change the text area content, however, it does not fire parserCollection.updateResult();

See example bellow: error

parpalak commented 4 years ago

Seems like this extension directly modifies the value attribute of the textarea without triggering any events. I'll try to find the workaround. Related question: https://stackoverflow.com/questions/36953235/detect-textarea-value-change-programmatically