mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-25 04:19:02 +08:00
fix focus in demo
This commit is contained in:
parent
f0fc4a3559
commit
2c223d8707
@ -5,7 +5,7 @@
|
||||
<button
|
||||
class="menubar__button"
|
||||
:class="{ 'is-active': editor.isActive('bold') }"
|
||||
@click="editor.commands.bold"
|
||||
@click="editor.focus().bold()"
|
||||
>
|
||||
Bold
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user