diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 0342a409099..f0662cfc0bd 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -9,13 +9,10 @@ import {emitOpenMenu} from "../../../plugin/EventBus"; import {addCol} from "./addCol"; import {openMenuPanel} from "./openMenuPanel"; import {hintRef} from "../../hint/extend"; -import {hideElements} from "../../ui/hideElements"; import {focusByRange} from "../../util/selection"; import {writeText} from "../../util/compatibility"; import {showMessage} from "../../../dialog/message"; import {previewImage} from "../../preview/image"; -import {fetchPost} from "../../../util/fetch"; -import {pathPosix} from "../../../util/pathName"; export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLElement }) => { const blockElement = hasClosestBlock(event.target); diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts index 81f11dc62ac..f4dce91a6ee 100644 --- a/app/src/protyle/wysiwyg/keydown.ts +++ b/app/src/protyle/wysiwyg/keydown.ts @@ -68,7 +68,6 @@ import {preventScroll} from "../scroll/preventScroll"; import {getSavePath} from "../../util/newFile"; import {escapeHtml} from "../../util/escape"; import {insertHTML} from "../util/insertHTML"; -import {quickMakeCard} from "../../card/makeCard"; import {removeSearchMark} from "../toolbar/util"; import {copyPNG} from "../../menus/util";