mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 03:39:01 +08:00
fix: import in DropPlugin (#5626)
Co-authored-by: Gerard van Alphen <gerard.van.alphen@calcasa.nl>
This commit is contained in:
parent
a170cf4057
commit
888f574b5f
5
.changeset/rare-berries-sit.md
Normal file
5
.changeset/rare-berries-sit.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tiptap/core": patch
|
||||
---
|
||||
|
||||
Fixed Slice import in DropPlugin
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user