Skip to content

v1.0.5

Pre-release
Pre-release

Choose a tag to compare

@PatoSala PatoSala released this 03 Jan 15:52
· 1 commit to main since this release

What's new

New props

  • refactor: renamed patterns prop for stylePatterns.
  • feat: defaultValue prop which is capable of receiving a rich-text formatted string and apply the corresponding styles or receive an array of valid tokens for the input.
  • feat: onValueChange event that fires whenever the input's text changes or when a style is applied.

Ref methods

  • feat: .getRawValue(); .getRichTextValue() and .getTokenizedValue() methods that lets you get the input's value with the structure you most like.

Docs

  • feat: added API Reference documentation.