When creating custom content types to the Telligent Community platform and utilizing the platform editor within the UI managing that content (using the $core_v2_editor widget API), the editor will allow drag-and-drop and menu-based file uploading into the HTML content if that content supports embedded files.
[toc]
Why Would I Want to Enable Embedded Files?
Embedded files are useful when authoring rich formatted content (HTML) to allow inclusion of images, videos, documents, and other media and files to provide more flexibility and interactivity.
Implementing Support for Embedded Files
To add support for embedded files within a custom content type, the IFileEmbeddableContentType plugin type should also be implemented on your content type (which requires a reference to Telligent.Evolution.Core.dll). The IFileEmbeddableContentType
interface extends IContentType to add members that enable the content type to interact with the Telligent Community platform regarding embedded files.
Because an implementation of IFileEmbeddableContentType
is dependent on a custom content type which is out-of-scope for this topic, I'll show examples from private messaging in the core platform.