As I work on a website featuring dynamically generated blog posts of varying lengths, I'm looking to restrict the height of each post to 250px. Should a post exceed this limit, I want to truncate it and include a "read more" link that opens a modal overlay to display the full content.
All frontend development is being done using standard HTML, CSS, and JavaScript.
My question is whether there is a tool available that can achieve this functionality out of the box. I've previously used , but it does not support opening a popup modal overlay. Is there a similar tool like readmore.js that has this feature?