TinyMCE

Wisej.Web.Ext.TinyMCE6.TinyMCE

Namespace: Wisej.Web.Ext.TinyMCE6

Assembly: Wisej.Web.Ext.TinyMCE6 (3.2.0.0)

TinyMCE gives you total control over your rich text editing. from: https://www.tinymce.com/

public class TinyMCE : Widget

Constructors

Properties

String: Returns or sets the base url for the TinyMCE installation

String[]: Returns the default buttons to show in the toolbar.

ExternalPlugin[]: Collection of external (local) plugins to register with the TinyMCE control. (Default: null)

String[]: Returns or sets the font names to display in the toolbar.

String: Overridden to create our initialization script.

Object: Returns or sets the configuration to use for this instance of the editor: https://www.tinymce.com/docs/configure/.

List<Package>: Overridden to return our list of script resources.

Boolean: Shows or hides the footer panel. (Default: True)

Boolean: Shows or hides the menu panel. (Default: True)

Boolean: Shows or hides the toolbar panel. (Default: True)

String: Returns or sets the HTML text associated with this control. (Default: "")

Methods

Executes commands to manipulate the contents of the editable region.

ParameterTypeDescription

command

The name of the command to execute. See [Command_identifiers](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand and http://archive.tinymce.com/wiki.php/TinyMCE3x:Command_identifiers) for a list of commands.

showDefaultUI

Indicates whether the default user interface should be shown. This is not implemented in Mozilla.

argument

For commands which require an input argument (such as insertImage, for which this is the URL of the image to insert), this is a string providing that information. Specify null if no argument is needed.

Most commands affect the document's selection (bold, italics, etc.), while others insert new elements (adding a link) or affect an entire line (indenting). When using contentEditable, calling execCommand() will affect the currently active editable element.

Executes commands to manipulate the contents of the editable region.

ParameterTypeDescription

command

The name of the command to execute. See execCommand and Command_identifiers for a list of commands.

argument

For commands which require an input argument (such as insertImage, for which this is the URL of the image to insert), this is a string providing that information. Specify null if no argument is needed.

Most commands affect the document's selection (bold, italics, etc.), while others insert new elements (adding a link) or affect an entire line (indenting). When using contentEditable, calling execCommand() will affect the currently active editable element.

Events

CommandEventHandler Fired after the editor executes a command.

Last updated