mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-21 14:34:06 +01:00
This commit is contained in:
parent
8d6c422af0
commit
ef03fd4cb3
11 changed files with 55 additions and 76 deletions
|
|
@ -41,9 +41,9 @@ export const openMobileFileById = (app: App, id: string, action: TProtyleAction[
|
|||
});
|
||||
if (blockElement) {
|
||||
pushBack();
|
||||
scrollCenter(window.siyuan.mobile.editor.protyle, blockElement, {position: "top"});
|
||||
scrollCenter(window.siyuan.mobile.editor.protyle, blockElement, "start");
|
||||
if (action.includes(Constants.CB_GET_HL)) {
|
||||
highlightById(window.siyuan.mobile.editor.protyle, id, "top");
|
||||
highlightById(window.siyuan.mobile.editor.protyle, id, "start");
|
||||
}
|
||||
closePanel();
|
||||
// 更新文档浏览时间
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue