mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
c254d2c019
commit
01ed3fe4c4
2 changed files with 3 additions and 4 deletions
|
|
@ -1,14 +1,13 @@
|
|||
import {escapeAriaLabel, escapeGreat, escapeHtml} from "../../util/escape";
|
||||
import {Tab} from "../Tab";
|
||||
import {Model} from "../Model";
|
||||
import {getInstanceById, setPanelFocus} from "../util";
|
||||
import {setPanelFocus} from "../util";
|
||||
import {getDockByType} from "../tabUtil";
|
||||
import {Constants} from "../../constants";
|
||||
import {getDisplayName, pathPosix, setNoteBook} from "../../util/pathName";
|
||||
import {newFile} from "../../util/newFile";
|
||||
import {initFileMenu, initNavigationMenu, sortMenu} from "../../menus/navigation";
|
||||
import {MenuItem} from "../../menus/Menu";
|
||||
import {Editor} from "../../editor";
|
||||
import {showMessage} from "../../dialog/message";
|
||||
import {fetchPost, fetchSyncPost} from "../../util/fetch";
|
||||
import {openEmojiPanel, unicode2Emoji} from "../../emoji";
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@ import {
|
|||
hasClosestBlock,
|
||||
hasClosestByClassName,
|
||||
hasClosestByTag,
|
||||
hasTopClosestByClassName, isInAVBlock,
|
||||
hasTopClosestByClassName,
|
||||
isInAVBlock,
|
||||
isInEmbedBlock
|
||||
} from "../util/hasClosest";
|
||||
import {getIconByType} from "../../editor/getIcon";
|
||||
|
|
@ -60,7 +61,6 @@ import {processClonePHElement} from "../render/util";
|
|||
import {openFileById} from "../../editor/util";
|
||||
/// #endif
|
||||
import {checkFold} from "../../util/noRelyPCFunction";
|
||||
import {copyTextByType} from "../toolbar/util";
|
||||
import {clearSelect} from "../util/clearSelect";
|
||||
|
||||
export class Gutter {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue