Enables AJAX saving of the content inside the editor, and you can set the editor to autosave the content and no worries then about data loss, Our rich text editor automatically makes a save request to your server as the user types.
|Time in milliseconds that defines when the autosave should be triggered. Setting a higher interval helps prevent request overload on the server. The autosave will be triggered only if the content was changed from the last interval. Setting the value to 0 will disable autosave.
Note: It is not recommended to use values lower than 2000ms in order to prevent overload.
|The HTTP save request type.
|The name of the parameter which contains the rich text editor's content on the save request.
|Additional parameters passed to the save request.
|The URL where the save request is being made. The editor will initialize a HTTP request to the specified URL passing the editor's content in the body parameter of the HTTP request.
|Force a save request at the end of the current autosave interval.
|Initializes a save request to the URL specified by the saveURL option.
|Restore the force request at the end of the current autosave interval.
|Triggered after the save request.
The returned data from the save request
|Triggered before doing the save request. If a string is returned, the new string will be used as the saved content.
Note: Returning false in the handler assigned to the event will cancel the current action.
The HTML to save.
|save.error (error, response)
|Triggered when an error occurs during save request.
The description of the error that happened during the save request.
The original response from the server.
Add Plugin to your code:
Plugin name: save
Plugin JS Script: ../js/plugins/save.min.js
Plugin CSS link: