-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Allow replacing with empty strings #8100
Conversation
Thanks for making a pull request to JupyterLab! To try out this branch on binder, follow this link: |
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.
This works for a single "replace" but doesn't seem to work for "replace all" which seems like a bug
Yep, good catch. Same change was needed in the next function used for replaceAll. |
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.
Works now for me!
References
Fixes #8098
Code changes
Fix boolean logic to allow replacing with empty strings.
User-facing changes
Fix replace button active and hover states:
Backwards-incompatible changes