mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
cf8acfa633
commit
33d331f31f
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ export const initKeyboardToolbar = () => {
|
|||
<button class="keyboard__action" data-type="done"><svg style="width: 36px"><use xlink:href="#iconKeyboardHide"></use></svg></button>
|
||||
</div>
|
||||
<div class="keyboard__util"></div>`;
|
||||
toolbarElement.addEventListener("click", (event) => {
|
||||
toolbarElement.addEventListener(isInAndroid() ? "touchstart" : "click", (event) => {
|
||||
const protyle = getCurrentEditor()?.protyle;
|
||||
const target = event.target as HTMLElement;
|
||||
const slashBtnElement = hasClosestByClassName(event.target as HTMLElement, "keyboard__slash-item");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue