Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo/redo is broken in some notebooks while editing cells #28

Open
AZHenley opened this issue Mar 7, 2021 · 1 comment
Open

Undo/redo is broken in some notebooks while editing cells #28

AZHenley opened this issue Mar 7, 2021 · 1 comment

Comments

@AZHenley
Copy link

AZHenley commented Mar 7, 2021

While editing a cell, if I undo or redo then the prior text is appended to the current text. This does not appear to happen in every notebook. It seems to only happen if you execute the cell between edits. (Chrome 89, Windows 10)

Example:

  1. Go to the git example notebook.
  2. Run the first cell.
  3. Edit the cell to say dir.
  4. Run the cell.
  5. Click into the cell again and undo.

The content is now incorrect. If you redo then it will continue to append the text.

image

@ssmirr
Copy link
Contributor

ssmirr commented Mar 9, 2021

I wasn't able to reproduce this exact behavior with the steps above, however I see a similar thing (ctrl+z doesn't work) if you click outside the cells to unfocus, between each run. I will reply here when I find a fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants