ButtonCfgProps Class
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.
Methods
mergeButtonCfgProps
(
Object
-
props
Merges the properties, passed to the current component with user's configuration
via buttonCfg
property.
Parameters:
-
props
ObjectThe 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.