mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
fix linting error
This commit is contained in:
parent
7f63a0b2e0
commit
43b0e031b0
@ -12,7 +12,7 @@ export class HeadingLevel extends LinterPlugin {
|
||||
let lastHeadLevel = null
|
||||
|
||||
this.doc.descendants((node, position) => {
|
||||
if (node.type.name == 'heading') {
|
||||
if (node.type.name === 'heading') {
|
||||
// Check whether heading levels fit under the current level
|
||||
const { level } = node.attrs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user