Aplicar pendientes tras la integración

- render.js: botones y cards con urlBloqueada se pintan inertes.
- interactivity.js: sinFormato con la misma regla de marcadores que render.js; cita de documento con icono y nombre.
- Zoom manual (Ajustar / 100 % / 125 %) en #barra-movil, persistido en localStorage.
- Contador «Paso N/M» con estilo en iphone.css en lugar de estilos en línea.
- store/editor: campos opcionales tamano y headerTamano; editar la URL retira urlBloqueada;
  urlValida acepta URLs con forma de dominio; importar avisa de lo recortado.
- README y SPEC actualizados.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
urieljareth
2026-09-27 21:39:09 -06:00
co-authored by Claude Opus 5.5
parent a645056c00
commit 4fe8f73959
11 changed files with 136 additions and 28 deletions
+25
View File
@@ -955,6 +955,30 @@
temaPintado = tema;
}
/* ------------------------------------------------------------------
Zoom manual del teléfono (Ajustar / 100 % / 125 %). El CSS vive en
iphone.css (body[data-wam-zoom]); sin atributo = ajustar al hueco.
------------------------------------------------------------------ */
var CLAVE_ZOOM = "wam-zoom";
function aplicarZoom(v) {
v = v === "100" || v === "125" ? v : "";
if (v) document.body.setAttribute("data-wam-zoom", v);
else document.body.removeAttribute("data-wam-zoom");
var sel = porId("sel-zoom");
if (sel && sel.value !== v) sel.value = v;
return v;
}
WAM.setZoom = function (v) {
v = aplicarZoom(String(v == null ? "" : v));
if (v) lsSet(CLAVE_ZOOM, v); else lsDel(CLAVE_ZOOM);
return v;
};
function enlazarZoom() {
aplicarZoom(lsGet(CLAVE_ZOOM) || "");
var sel = porId("sel-zoom");
if (sel) sel.addEventListener("change", function () { WAM.setZoom(sel.value); });
}
/* ------------------------------------------------------------------
Inicialización (una sola vez)
------------------------------------------------------------------ */
@@ -978,6 +1002,7 @@
observarToolbar();
enlazarChat();
enlazarSaltos();
enlazarZoom();
envolverAnuncios();
sincronizarTema();