fix: Use pasteRegex in addPasteRules (#1922)
Seems like inputRegex was used in addPasteRules by mistake (?)
This commit is contained in:
@@ -103,7 +103,7 @@ export const Highlight = Mark.create<HighlightOptions>({
|
||||
|
||||
addPasteRules() {
|
||||
return [
|
||||
markPasteRule(inputRegex, this.type),
|
||||
markPasteRule(pasteRegex, this.type),
|
||||
]
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user