Generate the HTML content that represents the ISmartContent item within the post editor.
public virtual string GenerateEditorHtml( ISmartContent content, IPublishingContext publishingContext );
|
Parameter
|
Description
|
| content | ISmartContent object to generate HTML for. |
| publishingContext | Publishing context for HTML generation. |
HTML content to be inserted into the post editor.
The default behavior for this method, if it is not overridden, is to call SmartContentSource.GeneratePublishHtml.
Reference
SmartContentSource Class