mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
This commit is contained in:
parent
b87510558c
commit
4ccee1a4d8
5 changed files with 43 additions and 15 deletions
|
|
@ -26,6 +26,7 @@ import {getAllTabs} from "./layout/getAll";
|
|||
import {getLocalStorage} from "./protyle/util/compatibility";
|
||||
import {updateEditModeElement} from "./layout/topBar";
|
||||
import {getSearch} from "./util/functions";
|
||||
import {hideAllElements} from "./protyle/ui/hideElements";
|
||||
|
||||
class App {
|
||||
constructor() {
|
||||
|
|
@ -50,6 +51,7 @@ class App {
|
|||
case "readonly":
|
||||
window.siyuan.config.editor.readOnly = data.data;
|
||||
updateEditModeElement();
|
||||
hideAllElements(["util"]);
|
||||
break;
|
||||
case "progress":
|
||||
progressLoading(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue