SaaS CMS has officially launched! Learn more now.

Class TinyMCEPluginButtonAttribute

Settings for the TinyMCE editor plug-ins.

Inheritance
System.Object
System.Attribute
TinyMCEPluginButtonAttribute
Implements
System.Runtime.InteropServices._Attribute
Inherited Members
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.Equals(System.Object)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
System.Attribute.TypeId
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Editor.TinyMCE
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[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.

Implements

System.Runtime.InteropServices._Attribute

Extension Methods