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

320
Visualizações
How to add placeholder to html content inside <iframe>

I have an iframe with a Doctype with body and html content inside as follows:

<iframe>
    <html lang="en-US">
    <head>
    <style id="mceDefaultStyles" type="text/css"></style>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <body>
        <p>
        <br data-mce-bogus="1">
        </p>
    </body>
    <grammarly-desktop-integration data-grammarly-shadow-root="true"></grammarly-desktop-integration></html>
</iframe>

Inside I have editable content in the iframe which edits p text content as if it a textarea with html content was. I want to implement something as a placeholder: "Edit html" on it. I've tried different approaches but none working as implementing css or script inserting content in the iframe with to try to edit the content dynamically but nothing works.

Is there a proper approach to solve or a right way to do it?

Thanks in advance for your response.

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