diff --git a/packages/extension-highlight/src/highlight.ts b/packages/extension-highlight/src/highlight.ts index 47c464f52..84d90cae0 100644 --- a/packages/extension-highlight/src/highlight.ts +++ b/packages/extension-highlight/src/highlight.ts @@ -103,7 +103,7 @@ export const Highlight = Mark.create({ addPasteRules() { return [ - markPasteRule(inputRegex, this.type), + markPasteRule(pasteRegex, this.type), ] }, })