-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
CodeMirror 6 only works on the first connection, then a reload is required #296
Comments
The issue is also present in Mozilla Firefox 132.0 with Emacs. |
A very stupid fix is to comment out the listener which waits for the I'm not sure what that part of the code is meant to do, but removing it lets you edit the cell multiple times without having to refresh the window. Code change here: https://github.com/atodoron/GhostText/tree/CM6Errors for someone more familiar with the code base. |
I looked into the code. The fields are initialized once by calling Now I don't remember why I decided to add I think I'd have to re-architect the whole extension again to properly fix this, but for now maybe just removing @atodoron maybe you can try |
I don't know if it's right, but the first commit which gets rid of the 'gt:kill' listener completely is working well enough for me to stop using my work around macro in jupyter notebooks. 🙇 thank you. |
Setup
Browser: Safari, Chrome
Editor: VS Code, Emacs
Description
No changes are transmitted from this point forward
The text was updated successfully, but these errors were encountered: