-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Bug] Unable to use extensions #3
Comments
Did you call @codemirror/basic-setup for the extension? In that case, it is not necessary because it is included. Also, @codemirror/history seems to have been migrated to @codemirror/commands because the repository is locked. Please change to this and try. |
It's true, but even using just basic-setup, that has both history and its keymap, I can't undo anything :( |
The search popup that appears with CTRL + F is working, so it's not immediately clear why only history doesn't work. It may be interfering with some processing on the vue side, and it seems that it will take time to isolate the problem. |
It was solved in <code-mirror v-model="text" basic /> |
In |
Hi. First, thank you for your great work on this package.
I'm trying to use codemirror extensions but almos all of them results in the same error in the console:
Error: Unrecognized extension value in extension set ([object Object]). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.
I tried uninstalling the
@codemirror/state
or updating to its last version but none of that worked.To reproduce just try to add the
@codemirror/history
extension to the bare bones example.The text was updated successfully, but these errors were encountered: