mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-10 02:30:09 +08:00
This commit is contained in:
parent
f9f60c9c8e
commit
d1b90e16ca
@ -25,7 +25,9 @@ export const fullscreen = (element: Element, btnElement?: Element) => {
|
||||
}
|
||||
}
|
||||
/// #if !MOBILE
|
||||
window.siyuan.editorIsFullscreen = !isFullscreen;
|
||||
if (element.classList.contains("protyle")) {
|
||||
window.siyuan.editorIsFullscreen = !isFullscreen;
|
||||
}
|
||||
getAllModels().editor.forEach(item => {
|
||||
if (window.siyuan.editorIsFullscreen) {
|
||||
if (!element.isSameNode(item.element) && item.element.classList.contains("fullscreen")) {
|
||||
|
Loading…
Reference in New Issue
Block a user