fix focus in demo

This commit is contained in:
Philipp Kühn 2020-08-12 09:48:52 +02:00
parent f0fc4a3559
commit 2c223d8707

View File

@ -5,7 +5,7 @@
<button
class="menubar__button"
:class="{ 'is-active': editor.isActive('bold') }"
@click="editor.commands.bold"
@click="editor.focus().bold()"
>
Bold
</button>