Correct Answer

Thank you. I bit unclear where the two fields were added - to a page type or to the cloned web part properties?
Then you are trying to use these two fields in the web part container? If yes, the dynamic controls are not resolved like this. This approach seems to be complicated.

I would rather change the layout of the web part instead of the container and add the code to the layout with these fields and call the resolve dynamic controls over these fields in the layout.

If you need to have the widgets inside the HTML editor regions, I would recommend to use more web parts, for example repeaters - one will be displayed before the web part and one after and use default transformations to resolve the data in the fields.