Skip to content

Commit

Permalink
fix: Use pasteRegex in addPasteRules (#1922)
Browse files Browse the repository at this point in the history
Seems like inputRegex was used in addPasteRules by mistake (?)
  • Loading branch information
jvissers authored Sep 21, 2021
1 parent e7a6c1f commit 047ef8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extension-highlight/src/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const Highlight = Mark.create<HighlightOptions>({

addPasteRules() {
return [
markPasteRule(inputRegex, this.type),
markPasteRule(pasteRegex, this.type),
]
},
})

0 comments on commit 047ef8c

Please sign in to comment.