Skip to main content

ExternalPlugin

Namespace: Wisej.Web.Ext.TinyMCE

Assembly: Wisej.Web.Ext.TinyMCE (4.1.0.0)

Represents a local plugin that can be used with a CDN installation of TinyMCE or a local installation, although for local installations it is not necessary to register local plugins.

public class ExternalPlugin

The script is loaded from Url + "/" + FileName. See ExternalPlugins for an example.

Constructors​

Instance member ExternalPlugin()​

Initializes a new instance of ExternalPlugin.

Name and Url are initialized to an empty string; FileName is null and must be set.

Properties​

Instance member FileName​

String: Returns or sets the name of the JavaScript file of the plugin, usually "plugin.js". (Default: "plugin.js")

The plugin is not loaded when this property is null or empty. The constructor doesn't initialize it, even though the designer's default value is "plugin.js".

Instance member Name​

String: Returns or sets the name of the plugin. This is the name used in the plugins option. (Default: "")

Instance member Url​

String: Returns or sets the URL of the folder that contains the plugin, i.e. "Plugins/wordcounter". (Default: "")

Relative URLs are resolved against the application's URL. A trailing "/" is added when missing.