WordPress Block that Displays Post Field in Editor and Frontend

Hello! I’m building a site for a client, and I need to create a WP block that renders a post field containing a raw email address as a clickable link. It would be used within loops and custom query blocks.

I’ve been able to create plugins that generate the clickable link on the frontend, but on the backend all of them look blank or invisible. If I put placeholder text in the link tag, that static text will render, but I would love for the editor preview to display the correct value of the post field.

I’ve tried using regular, dynamic and hybrid blocks, and none of them seem to produce a dynamic value on the editor screen.

I’m using Metabox.io for the custom fields, if that makes a difference.

Any thoughts?

Thanks!
Mike

Hey,
Did you create a wp theme with Pinegrow or a plugin? Did you include your stylesheets to the block editor? This is possible in Wordpress > Theme / Plugin settings