Enables HTML content to be previewed so that content authors can effectively see how their content will be rendered when saved.
IPreviewableContentType
is defined in the Telligent.Evolution.Extensibility.Content.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IPreviewableContentType : IContentType, IPlugin { string Preview(string html, string renderTarget); }
Methods
string Preview(string html, string renderTarget);
Retrieves the preview for the specified editor-sourced HTML. The content type can make use of the PageContext to extract contextual information.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
html | string | Html | Required | ||
renderTarget | string | Render Target | Required |
Return Type
string