Page tree
Skip to end of metadata
Go to start of metadata

The spelling property defines the location of Textbox.io server-side spelling service.

Example Configuration

In this example, a simple configuration object is created that defines the location for the Textbox.io Server Components spelling service for an editor instance. The configuration is used to generate an editor via replace.

var config = {
	spelling : {
		url : 'http://yourspelling.server.com/ephox-spelling/',
		autocorrect : true
	}
};
 
var editor = textboxio.replace('#targetId', config);

Properties

PropertyTypeDefaultProperties
urlString 

A URL string that defines the endpoint for the Server-Side Components spelling service.

autocorrect
Booleantrue

Controls whether AutoCorrect is available. Setting this to false disables access to the AutoCorrect feature.

This option was introduced in Textbox.io release 2.1.0.

 

 

Services Disabled by Default

Textbox.io services are not enabled by default. Defining service urls enables those services and their respective client components. For more details, see: Server-Side Components.

  • No labels