replace maxLevels option with levels for heading node

This commit is contained in:
Philipp Kühn
2018-10-24 07:58:08 +02:00
parent 6b03315e59
commit bde1527eff
14 changed files with 26 additions and 21 deletions

View File

@@ -70,7 +70,7 @@ export default {
new BulletList(),
new CodeBlock(),
new HardBreak(),
new Heading({ maxLevel: 3 }),
new Heading({ levels: [1, 2, 3] }),
new ListItem(),
new OrderedList(),
new TodoItem(),