Skip to content

Commit

Permalink
fix: Apply the correct regex for code extension in markPasteRule (#1671)
Browse files Browse the repository at this point in the history
  • Loading branch information
joevallender authored Aug 2, 2021
1 parent a3381f4 commit 6c08057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extension-code/src/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const Code = Mark.create<CodeOptions>({

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

0 comments on commit 6c08057

Please sign in to comment.