fix focus in demo
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<button
|
<button
|
||||||
class="menubar__button"
|
class="menubar__button"
|
||||||
:class="{ 'is-active': editor.isActive('bold') }"
|
:class="{ 'is-active': editor.isActive('bold') }"
|
||||||
@click="editor.commands.bold"
|
@click="editor.focus().bold()"
|
||||||
>
|
>
|
||||||
Bold
|
Bold
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user