mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-25 00:14:07 +01:00
⚡
This commit is contained in:
parent
20d27a93bd
commit
2b3b78485d
17 changed files with 36 additions and 25 deletions
|
|
@ -13,7 +13,8 @@ import {initTabMenu} from "../../menus/tab";
|
|||
import {getInstanceById} from "../../layout/util";
|
||||
import {Tab} from "../../layout/Tab";
|
||||
import {hideTooltip} from "../../dialog/tooltip";
|
||||
import {checkFold, openFileById} from "../../editor/util";
|
||||
import {openFileById} from "../../editor/util";
|
||||
import {checkFold} from "../../util/noRelyPCFunction";
|
||||
|
||||
export const initWindowEvent = (app: App) => {
|
||||
document.body.addEventListener("mouseleave", () => {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import * as path from "path";
|
|||
/// #endif
|
||||
import {matchHotKey} from "../../protyle/util/hotKey";
|
||||
import {fetchPost} from "../../util/fetch";
|
||||
import {checkFold, openFileById} from "../../editor/util";
|
||||
import {openFileById} from "../../editor/util";
|
||||
import {Constants} from "../../constants";
|
||||
import {newFileByName} from "../../util/newFile";
|
||||
import {App} from "../../index";
|
||||
|
|
@ -15,6 +15,7 @@ import {showFileInFolder} from "../../util/pathName";
|
|||
import {assetInputEvent, renderPreview, toggleAssetHistory} from "../../search/assets";
|
||||
import {initSearchMenu} from "../../menus/search";
|
||||
import {writeText} from "../../protyle/util/compatibility";
|
||||
import {checkFold} from "../../util/noRelyPCFunction";
|
||||
|
||||
export const searchKeydown = (app: App, event: KeyboardEvent) => {
|
||||
if (getSelection().rangeCount === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue