details: fix details command name

This commit is contained in:
Hans Pagel
2021-02-11 15:44:06 +01:00
parent 3b903c9419
commit 00fb62d455

View File

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