Title: Undo function not working as expected · Issue #26 · MyScript/iinkJS · GitHub
Open Graph Title: Undo function not working as expected · Issue #26 · MyScript/iinkJS
X Title: Undo function not working as expected · Issue #26 · MyScript/iinkJS
Description: 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...
Open Graph Description: 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 C...
X Description: 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 C...
Opengraph URL: https://github.com/MyScript/iinkJS/issues/26
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Undo function not working as expected","articleBody":"While using the iinkJS with Math recognition and `image/png` in the mime type, the undo functionality does not work as expected.\r\n\r\n### Steps to replicate the issue:\r\n\r\n1. Open the myScript editor \r\n2. Draw a number\r\n3. Click on undo button\r\n4. Redo button is still disabled.\r\n\r\n### Issue\r\nWhen 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.\r\n\r\nReference code is taken from - https://github.com/MyScript/iinkJS/blob/master/examples/v4/websocket_math_iink.html\r\nDemo link - https://codesandbox.io/s/myscript-image-issue-demo-7vh21l\r\nNote: 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)\r\n\r\n### Screen recording\r\n\r\nhttps://user-images.githubusercontent.com/90828105/228843613-08502699-f9de-4f90-88cc-db9ac913baf1.mov\r\n\r\n\r\n","author":{"url":"https://github.com/supriya-ck12","@type":"Person","name":"supriya-ck12"},"datePublished":"2023-03-30T13:00:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/26/iinkJS/issues/26"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cb992224-e265-2e0b-ca8d-987090b8403a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E476:B54D0:1AC890:2298AB:69903ACE |
| html-safe-nonce | ed6fd608391b447ab44b852579c5af2ea1bb080f532b00a968544aecad671b34 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDc2OkI1NEQwOjFBQzg5MDoyMjk4QUI6Njk5MDNBQ0UiLCJ2aXNpdG9yX2lkIjoiMzkyNDAwNzAxMjQ1NTY5MzAwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 748b6db75db55fd10dfb7a9f802843f9f44e189448322ec1ae76080df7f9b141 |
| hovercard-subject-tag | issue:1647576340 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/MyScript/iinkJS/26/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4f6b25b294e23e770e824e6ab04466aebe6e5515a59d5be8b4e591a6f24a0ba8/MyScript/iinkJS/issues/26 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f6b25b294e23e770e824e6ab04466aebe6e5515a59d5be8b4e591a6f24a0ba8/MyScript/iinkJS/issues/26 |
| og:image:alt | 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 C... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | supriya-ck12 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/MyScript/iinkJS git https://github.com/MyScript/iinkJS.git |
| octolytics-dimension-user_id | 3269481 |
| octolytics-dimension-user_login | MyScript |
| octolytics-dimension-repository_id | 274093998 |
| octolytics-dimension-repository_nwo | MyScript/iinkJS |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 274093998 |
| octolytics-dimension-repository_network_root_nwo | MyScript/iinkJS |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width