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

80
Vistas
Modify contents of contenteditable div on a facebook/twitter post like grammarly

I am trying to make an extension like Grammarly. When I want to make it work on Facebook and Twitter post field it doesn't work. When I write something in the Facebook post field and want to replace a suggestion of an existing wrong word by DOM modification using javascript, replacing suggestion does occur nicely. But after that no key including backspace, delete seems to stop working. This happens only in the case of Facebook and Twitter. I wonder how Grammarly manage this. Can anyone show me the path to solve this?

Hint: Just open the browser post dialog and hit below that code from the browser the dev console tool to regenerate that issue.

document.activeElement.innerText="hello, world"

Similar Userful References

  • Reference01
  • Reference02
  • Reference03
  • Reference04
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