committed by
GitHub
parent
dd153e29df
commit
bda6e8d308
@@ -29,7 +29,7 @@ export function nodePasteRule(config: {
|
|||||||
if (match.input) {
|
if (match.input) {
|
||||||
chain()
|
chain()
|
||||||
.deleteRange(range)
|
.deleteRange(range)
|
||||||
.insertContent({
|
.insertContentAt(range.from, {
|
||||||
type: config.type.name,
|
type: config.type.name,
|
||||||
attrs: attributes,
|
attrs: attributes,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user