Bit of a confusing one: I have a custom component that has a resource super type of the foundation component textImage. It has a smartImage dialog along with some other text fields etc. All is fine when the user drags the component on to the page, right clicks it, selects edit and sets an image through the dialog. However if they drag an image from the left hand panel on to the component it changes the resource type from my custom component to the foundation text image component. If they then right click and go edit they don't see my dialog but instead the textImage one.
I don't understand why this is the case!! How can dragging an image change a component resource type!
I'm using AEM 5.6