Show:

ButtonCfgProps is a mixin that provides a style prop and some methods to apply the resulting style and checking if it is present in a given path or selection.

Index

Properties

Methods

mergeButtonCfgProps

(
  • props
)
Object

Merges the properties, passed to the current component with user's configuration via buttonCfg property.

Parameters:

  • props Object

    The properties to be merged with the provided configuration for this button. If not passed, the user configuration will be merged with this.props

Returns:

Object:

The merged properties

Properties

editor

Object

The editor instance where the component is being used.