Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

263
Visualizações
Simulate developer element picker from source / iframe?

Is there any way to simulate the developer Elements picker with html source and an iframe?

For example, the code in the left panel is the html source of a website that is created from the website and can be used as the source in an iframe to render the website.

I would like to be able to connect the two and hover over lines in the left panel and show the corresponding element in the right panel and vice versa where I could select an element and the corresponding line in the code highlights.

enter image description here

Currently I am using this to render these two panels:

  <Grid item xs={6}>
    <Item>{websiteData.length > 0 &&
<TextareaAutosize
maxRows={30}
value={websiteData}
style={{ width: "100%" }}
/>
}</Item>
  </Grid>
  <Grid item xs={6}  className={classes.test}>
    <Item>{websiteData.length > 0 &&
<iframe srcdoc={websiteData} title="Website Preview" className={classes.frame}></iframe>}</Item>
  </Grid>

Any ideas? I don't know if there are any existing solutions out there, I am using react-js

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda