Releases: PatoSala/enriched-text-input
Releases · PatoSala/enriched-text-input
Release list
v1.0.5
What's new
New props
- refactor: renamed
patternsprop forstylePatterns. - feat:
defaultValueprop 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:
onValueChangeevent 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.