mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
d586a26cba
commit
03b00a6b8d
4 changed files with 13 additions and 7 deletions
|
|
@ -77,7 +77,7 @@ export class App {
|
|||
reloadSync(this, data.data);
|
||||
break;
|
||||
case "reloaddoc":
|
||||
reloadSync(this, {upsertRootIDs: [data.data], removeRootIDs: []}, false, false);
|
||||
reloadSync(this, {upsertRootIDs: [data.data], removeRootIDs: []}, false, false, true);
|
||||
break;
|
||||
case "readonly":
|
||||
window.siyuan.config.editor.readOnly = data.data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue