Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

dsssdfsfsdfkkdfffd

xfdxzf

Code Block
languagec#
public List<TinyMceTemplateElement> TinyMceTemplates = new List<TinyMceTemplateElement>()
        {
           new TinyMceTemplateElement()
           {
               AssetTypes = new List<string>() { "Default" },
               HtmlTemplate = "<a href='#downloadLink#'>#title#</a>"
           },
           new TinyMceTemplateElement()
           {
               AssetTypes = new List<string> { "Image" },
               HtmlTemplate = "<img alt='#title#' src='#link#' />"
           },
           new TinyMceTemplateElement()
           {
               AssetTypes = new List<string>() { "Video" },
               HtmlTemplate = "<div style='width:640px; height:360px;'><video poster='#thumb#' controls='controls' style='width:100%; height:100%;'><source type='video/mp4' src='#link#'></video></div>"
           }
        };