Add a plugin key to avoid different instances of a keyed plugin error #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It is the only plugin giving this error.
Read this conversation about the bug.
This makes no sense. Firstly, there's no reason at all to add multiple gap cursor plugins to a single editor (they'll just end up creating multiple cursor elements, which is wasteful). Secondly, you shouldn't get this error in this case unless you are somehow managing to load multiple copies of prosemirror-state, since that generates unique keys for each key-less plugin. So this is not the solution to your problem, and you might want to look into your bundling/loading process, which might be loading lots of duplicate code.
As far as I understood, there is no second this or any copy of
gapCursorand it is a conflict withprosemirror-keymap.Did you even check the forum?
Pull request closed