mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
f9f60c9c8e
commit
d1b90e16ca
1 changed files with 3 additions and 1 deletions
|
|
@ -25,7 +25,9 @@ export const fullscreen = (element: Element, btnElement?: Element) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// #if !MOBILE
|
/// #if !MOBILE
|
||||||
|
if (element.classList.contains("protyle")) {
|
||||||
window.siyuan.editorIsFullscreen = !isFullscreen;
|
window.siyuan.editorIsFullscreen = !isFullscreen;
|
||||||
|
}
|
||||||
getAllModels().editor.forEach(item => {
|
getAllModels().editor.forEach(item => {
|
||||||
if (window.siyuan.editorIsFullscreen) {
|
if (window.siyuan.editorIsFullscreen) {
|
||||||
if (!element.isSameNode(item.element) && item.element.classList.contains("fullscreen")) {
|
if (!element.isSameNode(item.element) && item.element.classList.contains("fullscreen")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue