rename ordererdlist command

This commit is contained in:
Philipp Kühn
2020-11-18 11:34:44 +01:00
parent 6ca1a6c307
commit d1c767413e
6 changed files with 7 additions and 7 deletions

View File

@@ -43,7 +43,7 @@
<button @click="editor.chain().focus().toggleBulletList().run()" :class="{ 'is-active': editor.isActive('bulletList') }">
bullet list
</button>
<button @click="editor.chain().focus().orderedList().run()" :class="{ 'is-active': editor.isActive('orderedList') }">
<button @click="editor.chain().focus().toggleOrderedList().run()" :class="{ 'is-active': editor.isActive('orderedList') }">
ordered list
</button>
<button @click="editor.chain().focus().codeBlock().run()" :class="{ 'is-active': editor.isActive('codeBlock') }">