fix lint error
This commit is contained in:
@@ -50,7 +50,7 @@ export default class Heading extends Node {
|
||||
return this.options.levels.map(level => textblockTypeInputRule(
|
||||
new RegExp(`^(#{1,${level}})\\s$`),
|
||||
type,
|
||||
match => ({ level }),
|
||||
() => ({ level }),
|
||||
))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user