The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript TinyMCE Editor – Javascript onbeforeunload callback – help

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #32023

    Dear CSS-Tricks forum,

    not sure if anyone knows the answer to my question but it comes down to this:

    I have installed TinyMCE on a webpage. But the method I use to save the content in the TinyMCE editor is done using AJAX. But when I have saved the content via AJAX the editor still thinks that it’s unsaved. So when people leave the page “after” saving it using my AJAX script the editor gives them a message that the content will not be saved. While it’s actually saved.

    Is there a way to keep this message from popping up? I tried looking at modifiying the core but it’s minified. And I don’t want to use the unminified src file for production. And even if, I couldn’t find the pop-up message function in the unminified src file of the TinyMCE script.

    Anyone? :D Any help/advice would be greatly appreciated.


    Hi rickylamerz,

    You’ll find more help on the TinyMCE forums “Tips, Tricks & HowTo’s”:

    You can also find TinyMCE support at

    Yonas – Support, Consulting, and Development

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.