edwardr/staffer

Allow staff bio/content to load more than just text

kevinvess opened this issue · 2 comments

When you add an audio file / player to the bio content on the backend, it does not display on the frontend because the plugin sanitizes the post content for the data attributes you use to generate the modal window content.

Instead of using a data attribute for the bio content – could you place the complete HTML of the post content in a hidden element to pull from?

Also– it'd be great if we could click anywhere outside of the modal window to close it; not just relying on the small "X" in the upper-right corner.

Thanks!

Thanks for the suggestions. I agree that both of these items should be addressed. Feel free to add a patch if you have one, otherwise I'll work on one in the coming week.

I thought I'd check on this – any chance you'll be able to merge my changes into your repo soon? Thanks!