Class TinyMCEPluginBaseAttribute
Base class for tiny mce attribute classes.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Editor.TinyMCE
Assembly: EPiServer.dll
Version: 8.11.0Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public abstract class TinyMCEPluginBaseAttribute : GuiPlugInAttribute, _Attribute
  Constructors
TinyMCEPluginBaseAttribute()
Declaration
protected TinyMCEPluginBaseAttribute()
  Properties
DynamicConfigurationOptionsHandler
Gets or sets a class that implements IDynamicConfigurationOptions that is responsible for creating init options for the plug-in/editor.
Declaration
public Type DynamicConfigurationOptionsHandler { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Type | A type that handles configuration options for the plug-in dynamically.  | 
      
EditorInitConfigurationOptions
Gets or sets the editor init configuration options.
Declaration
public string EditorInitConfigurationOptions { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The editor init configuration options.  | 
      
Remarks
A string representing a JSON object with configuration settings to set in the TinyMCE init.
Examples
EditorInitConfigurationOptions = "{ extended_valid_elements: 'img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]' }"
PlugInName
Gets or sets the plug-in name. This must correspond to the plug-in name registered in the TinyMCE Plugin Manager (and sub folder name in plugins folder).
Declaration
public string PlugInName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The name of the plug in.  | 
      
Methods
Match(Object)
Checks if the given plug-in is an instance of a TinyMCEPluginBaseAttribute.
Declaration
public override bool Match(object plugInObject)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | plugInObject | The plug in object.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
  |