add bullet list and ordered list to the basic example

This commit is contained in:
Hans Pagel
2020-09-23 09:43:21 +02:00
parent 5c94dba75a
commit f4a76c5448
2 changed files with 7 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div v-if="editor">
<button @click="editor.chain().focus().bulletList().run()" :class="{ 'is-active': editor.isActive('bulletList') }">
<button @click="editor.chain().focus().bulletList().run()" :class="{ 'is-active': editor.isActive('bullet_list') }">
bullet list
</button>