@wix/design-system
Version:
@wix/design-system
42 lines (38 loc) • 1.29 kB
Markdown
### className
- type: string
- description: Specifies a CSS class name to be appended to the component’s root element.
### dataHook
- type: string
- description: Applies a data-hook HTML attribute that can be used in the tests.
### initialValue
- type: string
- description: Sets the initial value to be displayed in the editor.
### placeholder
- type: string
- description: Sets a placeholder message to display.
### disabled
- type: bool
- description: Specifies whether an editor and its toolbar should be disabled.
### status
- type: enum
- description: Specifies the status of a field.
### statusMessage
- type: string
- description: Defines the message to display on status icon hover. If not given or empty there will be no tooltip.
### onChange
- type: func
- description: Defines a standard callback function for changes: `onChange(htmlText, { plainText })`
### minHeight
- type: string
- description: Defines a minimum height for the editor (it grows by default)
### maxHeight
- type: string
- description: Defines a maximum height for the editor (it grows by default)
### spellCheck
- type: bool
- description: Enables browsers spell checking.
Do not affect IE.
In Safari, autocorrects by default.
### texts
- type: shape
- description: Defines text styles to be shown.