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

AddCutPasteGroup

Adds cut, cuthtml and paste buttons

public System.Void AddCutPasteGroup(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.Add(FeatureType.fontstyle);
             wParams.Add(FeatureType.fontface);
             wParams.Add(FeatureType.fontsize);
             wParams.AddCutPasteGroup(FeatureType.None);
             Input.ShowWysiwyg("Page Body", "page_body", wParams);
            
            

Connect with Crownpeak