Skip to content

Autosaving

The new Stripo editor offers flexible settings for saving emails. This option can be activated or deactivated within the plugin configuration page in your Stripo account, on the Server Settings tab.

When autosave is enabled, each action in the editor is instantly sent for processing, and changes are recorded in the “reference email” in Stripo’s database. This mechanism prevents users from losing important work during long sessions and is ideal for team collaboration, where multiple users can simultaneously edit the same email.

With autosave disabled, changes accumulate in the editor and are saved only when the user explicitly commands it (by calling the API method window.StripoEditorApi.actionsApi.save() to save changes, see Stripo plugin JS API). This provides additional control over the publication process, which can be useful when working on critical projects.

For convenience, you can use two parameters, onSaveStarted and onSaveCompleted, to indicate in your application when the saving process has started or completed. These functions can be defined during initialization (see the Initialization Settings table).