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

PropertyTypeProperties
urlString

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

autocorrect
BooleanA boolean value to enable spelling autocorrect by default

 

 

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