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

100
Vistas
Add content to certain point in pad

I'm working on a plugin to add external navigation in a parent website with an embedded iframe where Etherpad is running. The navigation to a certain point works fine via vanilla JavaScript and window.postmessage, but I have no idea how to get new navigation points into the pad.

I'm using the Etherpad API for Java to prepopulate the pad with the existing navigationpoints/anchors, which works fine.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

After reviewing 24 other plugins, I finally found those lines which solved my problem

context.ace.callWithAce((ace) => {
    // New Line gets created
    ace.ace_doReturnKey();
}, 'addNewLine', true);

It's a call via ace and the context but could be done in every hook with context and ace access

about 4 years ago · Juan Pablo Isaza Denunciar
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