mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🐛 面包屑点击无反应,无法聚焦 https://github.com/siyuan-note/siyuan/issues/7138
This commit is contained in:
parent
c7856175d8
commit
1da37af586
1 changed files with 2 additions and 8 deletions
|
|
@ -1,12 +1,6 @@
|
|||
import {hasClosestBlock, hasClosestByMatchTag} from "../protyle/util/hasClosest";
|
||||
import {MenuItem} from "./Menu";
|
||||
import {
|
||||
focusBlock,
|
||||
focusByRange,
|
||||
focusByWbr,
|
||||
getEditorRange,
|
||||
selectAll,
|
||||
} from "../protyle/util/selection";
|
||||
import {focusBlock, focusByRange, focusByWbr, getEditorRange, selectAll,} from "../protyle/util/selection";
|
||||
import {
|
||||
deleteColumn,
|
||||
deleteRow,
|
||||
|
|
@ -456,7 +450,7 @@ export const zoomOut = (protyle: IProtyle, id: string, focusId?: string, isPushB
|
|||
return;
|
||||
}
|
||||
}
|
||||
if (window.siyuan.mobile.editor) {
|
||||
if (window.siyuan.mobile?.editor) {
|
||||
window.siyuan.storage[Constants.LOCAL_DOCINFO] = {
|
||||
id,
|
||||
action: id === protyle.block.rootID ? [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT] : [Constants.CB_GET_ALL]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue