mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
This commit is contained in:
parent
9edcd3f3a7
commit
9cb6e9ec25
10 changed files with 198 additions and 118 deletions
|
|
@ -25,6 +25,7 @@ import {zoomOut} from "../menus/protyle";
|
|||
import {countBlockWord, countSelectWord} from "../layout/status";
|
||||
import {showMessage} from "../dialog/message";
|
||||
import {getSearch} from "../util/functions";
|
||||
import {resize} from "../protyle/util/resize";
|
||||
|
||||
export const openFileById = async (options: {
|
||||
id: string,
|
||||
|
|
@ -390,7 +391,7 @@ export const updatePanelByEditor = (protyle?: IProtyle, focus = true, pushBackSt
|
|||
return;
|
||||
}
|
||||
title = protyle.title.editElement.textContent;
|
||||
setPadding(protyle);
|
||||
resize(protyle);
|
||||
if (focus) {
|
||||
if (protyle.toolbar.range) {
|
||||
focusByRange(protyle.toolbar.range);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue