mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 11:49:02 +08:00
fix: Use pasteRegex in addPasteRules (#1922)
Seems like inputRegex was used in addPasteRules by mistake (?)
This commit is contained in:
parent
e7a6c1f303
commit
047ef8c8c9
@ -103,7 +103,7 @@ export const Highlight = Mark.create<HighlightOptions>({
|
||||
|
||||
addPasteRules() {
|
||||
return [
|
||||
markPasteRule(inputRegex, this.type),
|
||||
markPasteRule(pasteRegex, this.type),
|
||||
]
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user