Hello,
Thank you for making THE BEST latex editor. I have used this library in multiple project but today I got a very weird bug that makes the entire project unusable.
Go to try it out. You will see a mathlive instance with quadratic equation as placeholder. Try to delete the b^2. No matter how you try, you can't delete the b^2 under the square root. But that is not all. If you try to rewrite the quadratic equation, you will see that once you are under squareroot no styled element works. So b^2 just writes as b2 and you get the following error:
mathlive:2254 Uncaught TypeError: Cannot destructure property 'parent' of 'r' as it is undefined.
at Ro.getSiblingsRange (mathlive:2254:62355)
at Y0 (mathlive:2256:23545)
at Object.moveToSuperscript [as fn] (mathlive:2258:6466)
at K0 (mathlive:2167:7101)
at Ea.executeCommand (mathlive:2402:12267)
at Wh (mathlive:2258:16053)
at Vo (mathlive:2258:15686)
at Ea.onInput (mathlive:2402:22123)
at Z0.e.addEventListener.signal (mathlive:2256:19651)
Please let me know if you need any more info or how i can help. I am planning on using this project in product but being unable to even write a quadratic is not good.
Hello, Thank you for making THE BEST latex editor. I have used this library in multiple project but today I got a very weird bug that makes the entire project unusable.
You can even find this bug in your own home page here https://cortexjs.io/mathlive/guides/getting-started/
Go to try it out. You will see a mathlive instance with quadratic equation as placeholder. Try to delete the b^2. No matter how you try, you can't delete the b^2 under the square root. But that is not all. If you try to rewrite the quadratic equation, you will see that once you are under squareroot no styled element works. So b^2 just writes as b2 and you get the following error:
Please let me know if you need any more info or how i can help. I am planning on using this project in product but being unable to even write a quadratic is not good.
Thank a lot in advance