mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
This commit is contained in:
parent
dc30282919
commit
e0adb2f60c
1 changed files with 3 additions and 0 deletions
|
|
@ -65,6 +65,9 @@ export class App {
|
|||
case "syncMergeResult":
|
||||
reloadSync(this, data.data);
|
||||
break;
|
||||
case "reloaddoc":
|
||||
reloadSync(this, {upsertRootIDs: [data.data], removeRootIDs: []});
|
||||
break;
|
||||
case "readonly":
|
||||
window.siyuan.config.editor.readOnly = data.data;
|
||||
hideAllElements(["util"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue