November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi,
It's possible. However content is rendered as block elements inside TinyMCE, so you can't add them inside e.g. a paragraph or float them to the left.
In Webform you inherit from ContentControlBase and set the type to your image content data type, e.g. ImageData.
I guess you mean in EPiServer 7.5 even though you posted in EPiServer 7 thread?
I hope these articles can give you some inspiration?
Goaral, I didn't hear anything more from Andreas, have you looked at the links I provided?
Yeah actually the two combined helper me out now :).
What i missed was UIDescriptor<ImageFile> :
[UIDescriptorRegistration]
public class ArticlePageDescriptor : UIDescriptor<ImageFile>, IEditorDropBehavior
{
public EditorDropBehavior EditorDropBehaviour { get; set; }
public ArticlePageDescriptor()
{
EditorDropBehaviour = EditorDropBehavior.CreateContentBlock;
}
}
thanks!
Hi,
Is it possible to add a custom rendering view for images when they are added through the XHtmlString property?
With custom I mean through controller or directly to a DisplayTemplate.
/ Thanks