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

<iframe width="100%" height="700" src="https://jsfiddle.net/textboxio/mz646mok/embedded" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

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