mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -38,4 +38,7 @@ export const setEditMode = (protyle: IProtyle, type: TEditorMode) => {
|
||||
resize(protyle);
|
||||
}
|
||||
hideElements(["gutterOnly", "toolbar", "select", "hint", "util"], protyle);
|
||||
protyle.app.plugins.forEach(item => {
|
||||
item.eventBus.emit("switch-protyle-mode", {protyle});
|
||||
});
|
||||
};
|
||||
|
||||
Vendored
+1
-1
@@ -81,7 +81,7 @@ type TEventBus = "ws-main" | "sync-start" | "sync-end" | "sync-fail" |
|
||||
"paste" |
|
||||
"input-search" |
|
||||
"loaded-protyle-dynamic" | "loaded-protyle-static" |
|
||||
"switch-protyle" |
|
||||
"switch-protyle" | "switch-protyle-mode" |
|
||||
"destroy-protyle" |
|
||||
"lock-screen" |
|
||||
"mobile-keyboard-show" | "mobile-keyboard-hide"
|
||||
|
||||
Reference in New Issue
Block a user