Need to add a read time to your Contentful app? Contentful has a great tutorial on how to build a component for the sidebar. Problem is... it doesn't work. To get things functioning I had to convert the Richtext content field to plain text using this package.
Code example below: