Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

hub-client: `<script>` and hover handlers in `{=html}` blocks don't run in the preview

Abierto
#985 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
html, rust

Línea de trabajo

Start by tracing how the hub-client renders {=html} blocks in the preview and how that path handles scripts and event handlers. Check the raw HTML safety work in #167 and the related approach in #986 before choosing a direction. Done means either scripts and hover handlers work safely in previews or a supported sandboxed way to embed interactive prototypes is available.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Summary

In the preview, <script> tags and hover handlers inside a {=html} block don't run. Only inline onclick handlers work.

Request

Let scripts in raw HTML blocks run in the preview, or, if that isn't safe, offer a supported way to embed an interactive prototype (for example a sandboxed iframe).

Impact

I write design docs that compare small UI prototypes, such as two variants of a picker. Reviewers need to hover and click through them to give useful feedback. Without scripts, I'm limited to static screenshots, and the most useful part of the review happens outside the doc.

Related
  • #43 (raw HTML safety, subsumed by #167)
  • #986 (serving project HTML files, another way to share a prototype)
Lenguaje dominante
Rust
Estrellas
283
Forks
20
Merge medio
19 h 28 min
PR fusionados (30 d)
174

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de quarto-dev/q2

Todos los issues de quarto-dev/q2

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.