We have implemented a ECL with a custom image provider and it works well in most of the cases. We also have a requirement to use the ECL in RTF along with attributes like style, height, width etc.
We have implemented GetTemplateFragment so that it can take those attributes and pass them on to ECL to get the correct sized image.
The problem is that the "attributes" that the method "GetTemplateFragment" is getting is empty and does not contain the attributes that we have added in RTF.
We tried to look around and noticed that "emptyAttributes" are being passed to "GetTemplateFragment" here
Is our understanding correct? or are we missing something? Do we need to include something else so that the attributes are passed to the method?