Documentation > CMS Template API Library > WysiwygParams > AddFontGroup(FeatureType)

AddFontGroup

Adds fontstyle, fontface and fontsize buttons

public System.Void AddFontGroup(FeatureType)

Parameters

NameDescriptionType
endSeparator Optional: defaults to Separator. Set to FeatureType.None if using at the end of the toolbar. CrownPeak.CMSAPI.FeatureType

Code Example

C#

Sample:

            
             WysiwygParams wParams = new WysiwygParams();
             wParams.AddColorGroup();
             wParams.AddCutPasteGroup();
             wParams.AddFontGroup(FeatureType.None);
             Input.ShowWysiwyg("Page Body", "page_body", wParams);
            
            

Connect with Crownpeak