Skip to content

Releases: PatoSala/enriched-text-input

v1.0.5

v1.0.5 Pre-release
Pre-release

Choose a tag to compare

@PatoSala PatoSala released this 03 Jan 15:52

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.

v1.0.4

v1.0.4 Pre-release
Pre-release

Choose a tag to compare

@PatoSala PatoSala released this 01 Jan 16:59

What's changed

  • feat: stable inline styling through ref api.
  • wip: live parsing rich-text enclosures.
  • wip: support rich-text enclosures with length grater than one char.

1.0.3

1.0.3 Pre-release
Pre-release

Choose a tag to compare

@PatoSala PatoSala released this 14 Dec 13:16

What's new

  • feat: Provide custom styling patterns through the patterns prop.
  • feat: You can now get a rich text formatted string by calling inputRef.current.getRichText().