fix: import in DropPlugin (#5626)

Co-authored-by: Gerard van Alphen <gerard.van.alphen@calcasa.nl>
This commit is contained in:
Gerard van Alphen 2024-09-17 15:42:31 +02:00 committed by GitHub
parent a170cf4057
commit 888f574b5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@tiptap/core": patch
---
Fixed Slice import in DropPlugin

View File

@ -1,5 +1,5 @@
import { Slice } from '@tiptap/pm/model'
import { Plugin, PluginKey } from '@tiptap/pm/state'
import { Slice } from 'packages/pm/model'
export const DropPlugin = (onDrop: (e: DragEvent, slice: Slice, moved: boolean) => void) => {
return new Plugin({