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

@@ -38,7 +38,7 @@ export default {
editor: new Editor({
extensions: [
new HardBreak(),
new Heading({ maxLevel: 3 }),
new Heading({ levels: [1, 2, 3] }),
new Image(),
new Bold(),
new Code(),