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

62
Views
tinymce UndoManager.transact does not appear to work

I am trying to insert text without it entering the undo buffer. Essentially, sometimes I do not want inserted text to be able to be removed by undoing. To do this, I have tried, tinymce.UndoManager.transact and tinymce.UndoManager.ignore, but neither seem to result in the desired behavior. Example insert code:

editor.undoManager.transact(function () {
   editor.execCommand('mceInsertContent', false, '<span>My value here</span>');
});

I do not want the inserted span above to be affected by undo, but it is. How do I achieve this?

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