I’m using an ACF text field to save a heading on a page template. I’m also using Yoast plugin, but as the content is saved in the database as text (without the <h2> wrapper) Yoast isn’t providing hints for the content in the admin.
I know I can save the text in a WYSIWYG field with the HTML wrapper, but would you consider adding options to Text fields for prepending and appending HTML to be saved with the text?
If you need a text field to include markup then you can type that in manually
<h2>Value</h2>
. Or you could possibly create an acf/update_value filter https://www.advancedcustomfields.com/resources/acf-update_value/