fix: Apply the correct regex for code extension in markPasteRule (#1671)
This commit is contained in:
@@ -78,7 +78,7 @@ export const Code = Mark.create<CodeOptions>({
|
|||||||
|
|
||||||
addPasteRules() {
|
addPasteRules() {
|
||||||
return [
|
return [
|
||||||
markPasteRule(inputRegex, this.type),
|
markPasteRule(pasteRegex, this.type),
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user