Hi,
I am using the MB Blocks to create content in Gutenberg. I have created a block to enter content in edit mode with one of the fields of type 'text' and I use the attribute 'after' to create HTML content to display after the text. Is there any possibility that this custom HTML attribute was dynamic based on the content entered in the associated text field? for example, create a dynamic hyperlink using the a or link tags taking into consideration the value of the text field entered manually in edit mode?.
My field:
[
'id' => $prefix . '_test_text_field',
'type' => 'text',
'after' => __( 'custom HTML displayed after the field output that I would like to be dynamic', 'your-text-domain' ),
],
Any guideling will be welcome.
Thanks.
Daniel