You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the undo stack is (apparently) the initial contents of the editor. I don't believe that is correct. This leads to some things that seems wrong.
Overall, I get the feeling there is an off-by-one or fence post error going on.
Steps to Reproduce first issue
Start with mathlive/examples/basic/index.html. This starts with f(x)=
Click after the =. Type ctrl-z/undo. The entire expression disappears. This seems wrong -- nothing should happen since there is nothing typed to undo.
Continuing on with this example:
Type ctrl-y/redo -- nothing happens, even if typed repeatedly. Of course, if the bug above didn't happen, that would be the expected behavior.
Steps to Reproduce variation on first issue
Start with mathlive/examples/basic/index.html. This starts with f(x)=
Click after the =. Type a
Type ctrl-z/undo. The a goes away. Good.
Type ctrl-z/undo. The entire expression disappears (as above).
Type ctrl-y/redo -- nothing happens. Bad. But, typing ctrl-y/redo again brings back f(x)=. However, typing it more times never makes the a show up again.
The text was updated successfully, but these errors were encountered:
Description
This is possibly related to #139...
On the undo stack is (apparently) the initial contents of the editor. I don't believe that is correct. This leads to some things that seems wrong.
Overall, I get the feeling there is an off-by-one or fence post error going on.
Steps to Reproduce first issue
mathlive/examples/basic/index.html
. This starts withf(x)=
=
. Type ctrl-z/undo. The entire expression disappears. This seems wrong -- nothing should happen since there is nothing typed to undo.Continuing on with this example:
Steps to Reproduce variation on first issue
mathlive/examples/basic/index.html
. This starts withf(x)=
=
. Typea
a
goes away. Good.f(x)=
. However, typing it more times never makes thea
show up again.The text was updated successfully, but these errors were encountered: