Undo function not working as expected
While using the iinkJS with Math recognition and image/png in the mime type, the undo functionality does not work as expected.
Steps to replicate the issue:
- Open the myScript editor
- Draw a number
- Click on undo button
- Redo button is still disabled.
Issue
When the first drawn element is removed using the undo button, the redo button is still in the disabled mode. Additionally, the result content is not cleared from the UI.
Reference code is taken from - https://github.com/MyScript/iinkJS/blob/master/examples/v4/websocket_math_iink.html Demo link - https://codesandbox.io/s/myscript-image-issue-demo-7vh21l Note: replace the server keys with the actual ones to view this behavior on the demo link (https://codesandbox.io/s/myscript-image-issue-demo-7vh21l?file=/index.html:197968-198084)
Screen recording
https://user-images.githubusercontent.com/90828105/228843613-08502699-f9de-4f90-88cc-db9ac913baf1.mov
Contacted via the forum. Thank you
Hi, @Olivier-myscript Could you share the updates regarding this issue?