Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

98
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!