Edit online

Implement Client-Side Save Action Using JavaScript Code

It is possible to override the default save functionality of the Web Author editor by implementing a custom client-side Save action using JavaScript code:
  1. Call editor.getContent() to obtain the content of the editor as a string.
  2. You may need to mark the editor as saved.
  3. Create a custom action and register it in the ActionManager with the ID "Author/Save".
Notes:
  • Autosave will not be affected by this customization. You can disable it by using the autoSaveInterval=0 loading option.
  • When uploading an image or creating a file from a template, this customization will not be used.
  • The save listeners will not be called with this approach.