mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-25 08:24:06 +01:00
This commit is contained in:
parent
8bf263a871
commit
f5a72edcfd
4 changed files with 15 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ import {isNotEditBlock} from "../protyle/wysiwyg/getBlock";
|
|||
import {updateCardHV} from "../card/util";
|
||||
import {mobileKeydown} from "./util/keydown";
|
||||
import {correctHotkey} from "../boot/globalEvent/commonHotkey";
|
||||
import {IOSPurchase} from "../util/iOSPurchase";
|
||||
|
||||
class App {
|
||||
public plugins: import("../plugin").Plugin[] = [];
|
||||
|
|
@ -162,6 +163,7 @@ window.reconnectWebSocket = () => {
|
|||
window.siyuan.mobile.popEditor.protyle.ws.send("ping", {});
|
||||
};
|
||||
window.goBack = goBack;
|
||||
window.IOSPurchase = IOSPurchase;
|
||||
window.showKeyboardToolbar = (height) => {
|
||||
document.getElementById("keyboardToolbar").setAttribute("data-keyboardheight", (height ? height : window.outerHeight / 2 - 42).toString());
|
||||
showKeyboardToolbar();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue