SaaS CMS has officially launched! Learn more now.

Class TinyMCEInitOptions

Acts as a composer of the various init-options required by TinyMCE to start.

Inheritance
System.Object
TinyMCEInitOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Editor.TinyMCE
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public class TinyMCEInitOptions

Constructors

TinyMCEInitOptions(TinyMCEInitOptions.InitType)

Initializes a new instance of the TinyMCEInitOptions class.

Declaration
public TinyMCEInitOptions(TinyMCEInitOptions.InitType initType)
Parameters
Type Name Description
TinyMCEInitOptions.InitType initType

Type of the init.

TinyMCEInitOptions(TinyMCEInitOptions.InitType, TinyMCESettings)

Initializes a new instance of the TinyMCEInitOptions class.

Declaration
public TinyMCEInitOptions(TinyMCEInitOptions.InitType initType, TinyMCESettings settings)
Parameters
Type Name Description
TinyMCEInitOptions.InitType initType

Type of the init.

TinyMCESettings settings

The settings.

TinyMCEInitOptions(TinyMCEInitOptions.InitType, TinyMCESettings, IContent)

Initializes a new instance of the TinyMCEInitOptions class.

Declaration
public TinyMCEInitOptions(TinyMCEInitOptions.InitType initType, TinyMCESettings settings, IContent content)
Parameters
Type Name Description
TinyMCEInitOptions.InitType initType

The type.

TinyMCESettings settings

The settings.

IContent content

A IContent object.

TinyMCEInitOptions(TinyMCEInitOptions.InitType, IDictionary<String, Object>, TinyMCESettings, IContent)

Initializes a new instance of the TinyMCEInitOptions class.

Declaration
public TinyMCEInitOptions(TinyMCEInitOptions.InitType initType, IDictionary<string, object> options, TinyMCESettings settings, IContent content)
Parameters
Type Name Description
TinyMCEInitOptions.InitType initType

The type

System.Collections.Generic.IDictionary<System.String, System.Object> options

The options.

TinyMCESettings settings

The settings.

IContent content

A IContent object.

Properties

InitOptions

Gets the init options object for starting an instance of TinyMCE.

Declaration
public IDictionary<string, object> InitOptions { get; protected set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>

The init options.

ResourceUrls

Gets the resource urls required by plugins.

Declaration
public IList<string> ResourceUrls { get; protected set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

The resource urls.

Methods

CreateInitOptions(TinyMCEInitOptions.InitType)

Creates the default settings dictionary used for initializing tinyMCE.

Declaration
public static IDictionary<string, object> CreateInitOptions(TinyMCEInitOptions.InitType initType)
Parameters
Type Name Description
TinyMCEInitOptions.InitType initType
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>

A dictionary with configuration options for tinyMCE.

Remarks

Primarily for control developers.

Extension Methods