fix: Use pasteRegex in addPasteRules (#1922)

Seems like inputRegex was used in addPasteRules by mistake (?)
This commit is contained in:
Jan Vissers
2021-09-21 17:27:26 +02:00
committed by GitHub
parent e7a6c1f303
commit 047ef8c8c9

View File

@@ -103,7 +103,7 @@ export const Highlight = Mark.create<HighlightOptions>({
addPasteRules() {
return [
markPasteRule(inputRegex, this.type),
markPasteRule(pasteRegex, this.type),
]
},
})