clean up paste rule code
This commit is contained in:
@@ -55,7 +55,7 @@ export default new Mark<LinkOptions>()
|
||||
},
|
||||
}))
|
||||
.pasteRules(({ type }) => [
|
||||
markPasteRule(pasteRegex, type, (url: string) => ({ href: url })),
|
||||
markPasteRule(pasteRegex, type),
|
||||
])
|
||||
.plugins(({ options }) => {
|
||||
if (!options.openOnClick) {
|
||||
|
||||
Reference in New Issue
Block a user