React ColorBox - buttons

Allows you to add custom buttons to the input text field.

Selector: Button
Type:

Array<DropDownPredefinedButton | TextEditorButton>

Default Value: undefined

Built-in buttons should also be declared in this array. You can find an example in the following demo:

View Demo

location

Specifies whether to place the button before or after the input text field.

Default Value: 'after'

NOTE
This property does not work for built-in buttons.

name

Specifies the button's name.

Type:

String

| undefined
Default Value: undefined

See Also

options

Configures the Button UI component used as the action button.

Type:

Button Configuration

| undefined
Default Value: undefined

NOTE
This property does not work for built-in buttons.

View Demo