mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 22:36:14 +08:00
fix: fix lint error
This commit is contained in:
parent
4fa75d842e
commit
d5dd568d86
@ -70,7 +70,7 @@ export const HorizontalRule = Node.create<HorizontalRuleOptions>({
|
|||||||
|
|
||||||
addInputRules() {
|
addInputRules() {
|
||||||
return [
|
return [
|
||||||
nodeInputRule(/^(?:---|\—-|___\s|\*\*\*\s)$/, this.type),
|
nodeInputRule(/^(?:---|—-|___\s|\*\*\*\s)$/, this.type),
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user