mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 19:29:02 +08:00
prevent click event on spacebar
font-size had to be normalized for the menubar__buttons
This commit is contained in:
parent
94b2846695
commit
036d853378
@ -105,7 +105,7 @@
|
|||||||
<icon name="redo" />
|
<icon name="redo" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<span
|
||||||
class="menubar__button"
|
class="menubar__button"
|
||||||
@click="editor.commands.toggleSearch"
|
@click="editor.commands.toggleSearch"
|
||||||
>
|
>
|
||||||
@ -124,7 +124,7 @@
|
|||||||
>
|
>
|
||||||
<button @click="editor.commands.find(searchTerm)">Find</button>
|
<button @click="editor.commands.find(searchTerm)">Find</button>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</editor-menu-bar>
|
</editor-menu-bar>
|
||||||
|
@ -33,4 +33,8 @@
|
|||||||
background-color: rgba($color-black, 0.1);
|
background-color: rgba($color-black, 0.1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span#{&}__button {
|
||||||
|
font-size: 13.3333px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user