You create a display tempate for ContentReference and put it in /views/shared/DisplayTemplates/. I think this is already done in the Alloy example templates, so please have a look there.
I have looked there but I did not find out anything relevant. Maybe I am searching for something else then I should to.
What name should this view has got? Is it partial view or normal one? Does it have a controller?
that solution did not work but after creating proper view in shared folder for particular base type all works fine. Thanks for advice!
If I change drop down behavior for instance for images to CreateContentBlock how do I code view to render this content block?
To be more precise suppose image drop to property of type XhtmlString called MainBody.