claus / storyblok-rich-text-react-renderer

A React renderer for Storyblok rich text content
MIT License
86 stars 16 forks source link

Support for textStyle mark resolver #31

Closed Andy1Blue closed 1 year ago

Andy1Blue commented 1 year ago

Description:

Stroyblok v2 have a possibility to change e.g. text color, please add new const to the markResolvers object.

Example:

textStyle: (children, props) => <span style={{ ...props }}>{children}</span>
jklmnopr commented 1 year ago

Also, emojis are here in RichText. Would be great to have support for those 👍 💯

claus commented 1 year ago

Resolvers added in 2.7.1:

Thank you!