mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-10 12:11:49 +08:00
This commit is contained in:
parent
f9f60c9c8e
commit
d1b90e16ca
@ -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…
Reference in New Issue
Block a user