fix: Apply the correct regex for code extension in markPasteRule (#1671)

This commit is contained in:
Joe Vallender
2021-08-02 16:08:03 +07:00
committed by GitHub
parent a3381f4992
commit 6c08057bb2

View File

@@ -78,7 +78,7 @@ export const Code = Mark.create<CodeOptions>({
addPasteRules() { addPasteRules() {
return [ return [
markPasteRule(inputRegex, this.type), markPasteRule(pasteRegex, this.type),
] ]
}, },
}) })