mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 14:13:21 +08:00
parent
dd153e29df
commit
bda6e8d308
@ -29,7 +29,7 @@ export function nodePasteRule(config: {
|
||||
if (match.input) {
|
||||
chain()
|
||||
.deleteRange(range)
|
||||
.insertContent({
|
||||
.insertContentAt(range.from, {
|
||||
type: config.type.name,
|
||||
attrs: attributes,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user