mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-15 16:41:07 +08:00
This commit is contained in:
parent
dc30282919
commit
e0adb2f60c
@ -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…
Reference in New Issue
Block a user