Class constructor Selection cannot be invoked without 'new' when using @tiptap/extension-drag-handle #6798
Unanswered
SofiaYakovleva27
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I’m using Tiptap 3 with bun in a Vue 3 project. I added the extension @tiptap/extension-drag-handle v3.1.0 (latest version), and when dragging elements I get the following error:
Uncaught TypeError: Class constructor Selection cannot be invoked without 'new'
at new DragHandleView (index.js:49:19)
What I’ve tried:
Verified that all @tiptap/* versions match.
Used overrides in package.json to force a single version of prosemirror-state.
Fully reinstalled all packages with bun add @latest.
Is this a known compatibility issue between bun and @tiptap/extension-drag-handle?
Should all @tiptap/* extensions explicitly depend on the same version of @tiptap/pm to avoid multiple ProseMirror instances?
Is there a recommended fix?
Beta Was this translation helpful? Give feedback.
All reactions