Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

323
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda