Class TinyMCEPluginButtonAttribute
Settings for the TinyMCE editor plug-ins.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Editor.TinyMCE
Assembly: EPiServer.dll
Version: 8.11.0Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class TinyMCEPluginButtonAttribute : TinyMCEPluginBaseAttribute, _Attribute
  Constructors
TinyMCEPluginButtonAttribute()
Declaration
public TinyMCEPluginButtonAttribute()
  Properties
ButtonName
Gets or sets the name of the TinyMCE button. This must correspond to the name of the button added by the plug-in the JavaScript file.
Declaration
public string ButtonName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The name of the TinyMCE button.  | 
      
ButtonSortIndex
Gets or sets the sort index used when sorting the buttons within a group in the inactive part of the EPiServer CMS admin interface.
Declaration
public int ButtonSortIndex { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | The sort index of the button.  | 
      
GroupName
Gets or sets the group name of the plug-in. This is used in admin mode for grouping the tools in the inactive buttons area.
Declaration
public string GroupName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The group name of the plug-in.  | 
      
Remarks
You can specify your own or use one of these defaults: misc textchar textpara media paste table
IconClass
Gets or sets the CSS class to use for the plug-in icon.
Declaration
public string IconClass { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The CSS class to use for the plug-in icon.  | 
      
IconUrl
Gets or sets the icon URL.
Declaration
public string IconUrl { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The icon URL.  | 
      
Remarks
If there is no CSS class to style the button with a background image you can enter an URL to an image that will be displayed in admin mode. The URL is relative to the Util folder.