-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I must start off by saying that this project is of great help to me.
With that being said, let's get into the problem that I have been having. Essentially, this package works great when I have an API or predetermined equation being put into the formatter. However, I would like to extend this so that users can type in the equation and it automatically formats. I have tried to use a contentEditable span, however this does not preserve the formatting when they erase everything. I have also tried to use on{event in {change, input}} with a function to update the text however that didn't seem to work. Is there any way that the users can write the equations and your package auto formats it? I'm guessing this is a react/web dev concept that I have yet to learn, but hopefully it will be an easy implementation.
Thanks in advance,
Frank