This commit is contained in:
parent
21dd77be71
commit
15695769d0
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ import {fetchPost} from "../../util/fetch";
|
|||
import {Constants} from "../../constants";
|
||||
import {onGet} from "../util/onGet";
|
||||
import {saveScroll} from "../scroll/saveScroll";
|
||||
import {hideElements} from "../ui/hideElements";
|
||||
import {hideAllElements, hideElements} from "../ui/hideElements";
|
||||
import {hasClosestByClassName} from "../util/hasClosest";
|
||||
|
||||
export const netImg2LocalAssets = (protyle: IProtyle) => {
|
||||
|
@ -76,6 +76,7 @@ export const fullscreen = (element: Element, btnElement?: Element) => {
|
|||
}
|
||||
/// #if !MOBILE
|
||||
if (element.classList.contains("protyle")) {
|
||||
hideAllElements(["gutter"]);
|
||||
window.siyuan.editorIsFullscreen = !isFullscreen;
|
||||
}
|
||||
getAllModels().editor.forEach(item => {
|
||||
|
|
Loading…
Add table
Reference in a new issue