I have a question regarding the use of Custom HTML field in a block.
I am using a custom HTML in a block in edit mode and I want its content to be dynamic based on other fields / attributes that I have edited in the same block.
I was thinking of using the php callback function to build the dynamic content but I don't know if it is the best option because I don't know if it passes any argument to that function, such as the post_id in which the block is being used.
Could you guide me on how to generate dynamic content in a Gutenberg block field of type Custom HTML ??
Thank you so much.