From 07ee3597e3b7362250ee2c11693d0e1ef027012a Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Tue, 10 Feb 2026 01:11:44 +0100 Subject: [PATCH] spinner --- config/current.ver | 2 +- public/assets/js/ui-editor.js | 20 +++++++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/config/current.ver b/config/current.ver index b9aea87..fe13137 100755 --- a/config/current.ver +++ b/config/current.ver @@ -1 +1 @@ -1.2.93 \ No newline at end of file +1.2.95 diff --git a/public/assets/js/ui-editor.js b/public/assets/js/ui-editor.js index 3866bcf..27a3841 100755 --- a/public/assets/js/ui-editor.js +++ b/public/assets/js/ui-editor.js @@ -834,9 +834,11 @@ export function initEditor() {   function ensureVeil() {     if (veilEl) return veilEl;     veilEl = document.createElement('div'); +    veilEl.id = 'bridge-editor-veil';     Object.assign(veilEl.style, { -      position:'absolute', inset:'0', background:'rgba(248,250,252,.85)', +      position:'fixed', inset:'0', background:'rgba(248,250,252,.85)',       display:'flex', alignItems:'center', justifyContent:'center', +      pointerEvents:'auto',       zIndex:'2147483000', fontFamily:'system-ui, -apple-system, Segoe UI, Roboto, Arial',       fontSize:'14px', color:'#0f172a'     }); @@ -847,18 +849,22 @@ export function initEditor() {                 `; -    const host = dlg || document.body; -    host.style.position = host.style.position || 'relative'; -    (host || document.body).appendChild(veilEl); +    (document.body || document.documentElement).appendChild(veilEl);     return veilEl;   }   function showVeil(){     const el = ensureVeil(); -    el.style.position = 'fixed'; -    el.style.inset = '0';     el.style.display = 'flex'; +    el.style.opacity = '1'; +    el.style.visibility = 'visible'; +  } +  function hideVeil(){ +    if (veilEl) { +      veilEl.style.display = 'none'; +      veilEl.style.opacity = '0'; +      veilEl.style.visibility = 'hidden'; +    }   } -  function hideVeil(){ if (veilEl) veilEl.style.display = 'none'; } async function buildRefLibForContext() { return { sections: [], blocks: [] };