This commit is contained in:
2026-02-10 00:48:50 +01:00
parent 812e8a55ca
commit 5db20f4d32
2 changed files with 9 additions and 4 deletions

View File

@@ -1 +1 @@
1.2.91 1.2.92

View File

@@ -847,11 +847,17 @@ export function initEditor() {
      </div>       </div>
      <style>@keyframes spin{to{transform:rotate(360deg)}}</style>       <style>@keyframes spin{to{transform:rotate(360deg)}}</style>
    `;     `;
    const host = dlg?.querySelector('.h-full, .flex, .flex-col') || dlg;     const host = dlg || document.body;
    host.style.position = host.style.position || 'relative';
    (host || document.body).appendChild(veilEl);     (host || document.body).appendChild(veilEl);
    return veilEl;     return veilEl;
  }   }
  function showVeil(){ ensureVeil().style.display = 'flex'; }   function showVeil(){
    const el = ensureVeil();
    el.style.position = 'fixed';
    el.style.inset = '0';
    el.style.display = 'flex';
  }
  function hideVeil(){ if (veilEl) veilEl.style.display = 'none'; }   function hideVeil(){ if (veilEl) veilEl.style.display = 'none'; }
async function buildRefLibForContext() { async function buildRefLibForContext() {
@@ -924,7 +930,6 @@ export function initEditor() {
    }     }
    try { hideReadyBadge(doc); } catch {}     try { hideReadyBadge(doc); } catch {}
    if (token === reqToken) hideVeil();
  }   }
  // ---------- Öffnen ----------   // ---------- Öffnen ----------