-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Make a notebook writable after successful save-as #5296
Conversation
b740207
to
03e2698
Compare
# even after a refresh | ||
refresh_notebook(notebook) | ||
assert notebook.get_cell_contents(index=0) == test_content_0 | ||
assert notebook.get_cell_contents(index=1) == test_content_1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a newline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look good to me, but I don't have the front-end knowledge to know if this introduces any issues or side-effects. Hoping we can find a reviewer in this area soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
This PR fixes #1324.
When edits were made in a read-only notebook there was no way to preserve these changes.
(See also Stack Overflow: How to save changes in read-only Jupyter Notebook)