Unified merge view: RangeError Field is not present in this state #1167
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Describe the issue
I am using Codemirror with the
vue-codemirrorpackage. It seems that adding the unified merge view extension in the prop field is creating an issue.Per my understanding, I suspect this is because vue-codemirror initialises some basic extensions first and then reconfigures to add the extensions passed in the prop.
The extension works if added when in the list of extensions initialised in the first step (i.e. when registering the module globally in Vue)
Trace:
Browser and platform
No response
Reproduction link
https://codesandbox.io/s/nifty-hooks-2p2n0g?file=/src/components/HelloWorld.vue
I made a pull request that seems to fix the issue
Thanks for diagnosing that! I applied a slightly different patch that doesn't introduce the dependency on unified.ts and mergeview.ts.
Thank you!