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

Respect cell.is_editable during find-and-replace #5545

Merged
merged 1 commit into from
Jul 4, 2020
Merged

Respect cell.is_editable during find-and-replace #5545

merged 1 commit into from
Jul 4, 2020

Conversation

adamblake
Copy link
Contributor

Find and replace (searchandreplace.js) will overwrite the contents of cells even if they are marked as non-editable. Add a check against the cell's is_editable() method to ensure this only happens for editable cells.

Find and replace (searchandreplace.js) will overwrite the contents of cells even if they are marked as non-editable. Add a check against the cell's is_editable() method to ensure this only happens for editable cells.
@adamblake
Copy link
Contributor Author

I see there is some work on find-and-replace in #558, but this wasn't covered

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you!

@blink1073 blink1073 added this to the 6.2 milestone Jul 1, 2020
@kevin-bates kevin-bates merged commit 3941004 into jupyter:master Jul 4, 2020
@kevin-bates
Copy link
Member

Thank you for the contribution @adamblake!

@kevin-bates
Copy link
Member

@blink1073 - is there a reason we shouldn't include this in 6.1? Seems like a low-risk bug fix, but I'm not familiar with what impact this may have on the front-end.

@blink1073
Copy link
Member

6.1 is fine by me

@blink1073 blink1073 modified the milestones: 6.2, 6.1 Jul 5, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants