1

Topic: How to enable save and autosave?

I am struggling to add save and autosave plugins to tinyMCE 4. I edited the HTML code as

<form method="post" action="save.php">
<textarea name="saving">...</textarea>
</form>

What is the JS code to submit the form by the SAVE button in the toolbar through an ajax call (to stay in the current page to continue editing).