private string GetStyledHtml()
        {
            BlogEditingTemplateType type;

            if (commandViewUseStyles.Latched)
            {
                type = BlogEditingTemplateType.Framed;
            }
            else
            {
                type = BlogEditingTemplateType.Normal;
            }

            return(EditingTemplateLoader.LoadBlogTemplate(_currentBlog.Id, type, IsRTLTemplate));
        }
        internal static string CreateTemplateWithBehaviors(string html, IElementBehaviorManager elementBehaviorManager)
        {
            EditingTemplateLoader loader = new EditingTemplateLoader(html, elementBehaviorManager);

            return(loader.GetTemplateHtml());
        }
 private string GetPreviewHtml(string blogId)
 {
     return(EditingTemplateLoader.LoadBlogTemplate(blogId, BlogEditingTemplateType.Webpage, IsRTLTemplate));
 }
 internal static string CreateTemplateWithBehaviors(string html, IElementBehaviorManager elementBehaviorManager)
 {
     EditingTemplateLoader loader = new EditingTemplateLoader(html, elementBehaviorManager);
     return loader.GetTemplateHtml();
 }