prepareSubmission

Availability: >= 3.0

Type: Object Method

Description: Updates the textarea with the latest HTML code and triggers the submit event.

Syntax:

editor.prepareSubmission();

If you are submitting the form using JavaScript or any other non-standard method you should call this function before submitting the form or getting the final HTML value.