This commit is contained in:
Vanessa 2023-12-12 12:09:31 +08:00
parent 20d27a93bd
commit 2b3b78485d
17 changed files with 36 additions and 25 deletions

View file

@ -58,7 +58,7 @@ import {blockRender} from "../render/blockRender";
/// #if !MOBILE
import {getAllModels} from "../../layout/getAll";
import {pushBack} from "../../util/backForward";
import {checkFold, openAsset, openBy, openFileById} from "../../editor/util";
import {openAsset, openBy, openFileById} from "../../editor/util";
import {openGlobalSearch} from "../../search/util";
/// #else
import {popSearch} from "../../mobile/menu/search";
@ -80,6 +80,7 @@ import {stickyRow, updateHeader} from "../render/av/row";
import {showColMenu} from "../render/av/col";
import {openViewMenu} from "../render/av/view";
import {avRender} from "../render/av/render";
import {checkFold} from "../../util/noRelyPCFunction";
export class WYSIWYG {
public lastHTMLs: { [key: string]: string } = {};

View file

@ -39,7 +39,7 @@ import {newFileContentBySelect, rename, replaceFileName} from "../../editor/rena
import {insertEmptyBlock, jumpToParentNext} from "../../block/util";
import {isLocalPath, pathPosix} from "../../util/pathName";
/// #if !MOBILE
import {checkFold, openBy, openFileById} from "../../editor/util";
import {openBy, openFileById} from "../../editor/util";
/// #endif
import {
alignImgCenter, alignImgLeft,
@ -68,6 +68,7 @@ import {escapeHtml} from "../../util/escape";
import {insertHTML} from "../util/insertHTML";
import {removeSearchMark} from "../toolbar/util";
import {avKeydown} from "../render/av/keydown";
import {checkFold} from "../../util/noRelyPCFunction";
export const getContentByInlineHTML = (range: Range, cb: (content: string) => void) => {
let html = "";