Textbox.io is configured by providing a configuration object as a parameter to the replace method.  The configuration object enables you to control:

Providing a configuration to Textbox.io is optional. You can choose to override all or part of the default configuration object when supplying an object as a parameter to the replace method. Textbox.io is provided with a set of configuration defaults for the toolbar and paste functionality (see Configuration Defaults).

 

It's strongly recommended you provide a style sheet configuration for rendering the content. Textbox.io's default configuration only specifies the set of toolbar commands and paste operation behavior. It does not specify a style sheet for rendering the content or any services for use with the editor.

 

Example

For more information on the configuration options for Textbox.io see the configuration documentation in API reference.