This option configures whether textboxio will automatically handle form submission for text areas. Its value must be either true or false

Some frameworks will replace normal form submissions with AJAX requests. These frameworks may be incompatible with textboxio's autosubmit functionality. In this scenario it is recommended that you disable autosubmit.

By default autosubmit is set to true.  When set to true textboxio intercepts form submission to place the contents of the editor back into its original textarea before the form submits. This process is asynchronous as textboxio will wait for images to upload if required.

When textboxio is not handling form submission (i.e. autosubmit is set to false), the page's form submission will be unaffected. It is then up to the integrator to ensure that images in the content are uploaded. This process is explained in Handling Asynchronous Image Uploads.

Example Configuration

In this example, a configuration object turns off the automatic form submission handling of textboxio.

var config = {
	autosubmit: false
};
 
var editor = textboxio.replace('#targetId', config);

Properties

Property
Type
Default
Description
autosubmitBooleanTrue

True turns on textboxio's automatic form handling, and false turns it off.

See also