claus / storyblok-rich-text-react-renderer

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

Storing output in variable #19

Closed sendy34 closed 2 years ago

sendy34 commented 2 years ago

Render function works great for most of the scenarios. But sometimes there are requirements where we need to store the output in variable for further processing like Trimming text, getting plain text.

How do we store string in a variable instead of rendering?

claus commented 2 years ago

Take a look at #14

claus commented 2 years ago

@sendy34 Does #14 solve your issue? Can i close this?