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

@@ -68,7 +68,7 @@ export default {
extensions: [
new CodeBlock(),
new HardBreak(),
new Heading({ maxLevel: 3 }),
new Heading({ levels: [1, 2, 3] }),
new TodoItem(),
new TodoList(),
new Bold(),