TinyEditor
Wisej.Web.Ext.TinyEditor.TinyEditor
Last updated
Wisej.Web.Ext.TinyEditor.TinyEditor
Last updated
Namespace: Wisej.Web.Ext.TinyEditor
Assembly: Wisej.Web.Ext.TinyEditor (3.2.0.0)
TinyEditor is a simple JavaScript WYSIWYG editor that is both lightweight (8KB) and standalone from: TinyEditor. It can easily be customized to integrate with any website through CSS and the multitude of parameters. It handles most of the basic formatting needs and has some functionality built in to help keep the rendered markup as clean as possible.
String[]: Returns the default buttons to show in the toolbar.
String[]: Returns the default buttons to show in the toolbar.
String[]: Returns or sets the font names to display in the toolbar.
String: Overridden to create our initialization script.
List<Package>: Overridden to return our list of script resources.
Boolean: Shows or hides the footer panel. (Default: True
)
Boolean: Shows or hides the toolbar panel. (Default: True
)
String: Returns or sets the text to use in the SOURCE button in the footer panel. (Default: "source"
)
String: Returns or sets the custom css file used by the editor. (Default: ""
)
String: Returns or sets the HTML text associated with this control. (Default: ""
)
String[]: Returns or sets the buttons to show in the toolbar.
String: Returns or sets the text to use in the WYSIWYG button in the footer panel. (Default: "wysiwyg"
)
Executes commands to manipulate the contents of the editable region.
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.
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.
Causes the control to update the corresponding client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
command
The name of the command to execute. See execCommand 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.
command
The name of the command to execute. See execCommand 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.