Click or drag to resize

HtmlEditor Class

HTML Editor control.

Namespace:  Aras.Client.Controls.Public
Syntax
JavaScript
Aras.Client.Controls.Public.HtmlEditor = function();

Type.createClass(
	'Aras.Client.Controls.Public.HtmlEditor');

The HtmlEditor type exposes the following members.

Constructors
  NameDescription
Public methodHtmlEditor
Top
Methods
  NameDescription
Public methodEvent:onAfterPaste
onAfterPaste event.
JavaScript
clientControlsFactory.on(control, "onAfterPaste", onAfterPaste);
Public methodEvent:onBlur
onBlur event.
JavaScript
clientControlsFactory.on(control, "onBlur", onBlur);
Public methodEvent:onChange
onChange event.
JavaScript
clientControlsFactory.on(control, "onChange", onChange);
Public methodgetHTMLSource
Gets the current content of the editing area.
Public methodinsertImage
Adds an Html image tag.
Public methodonLoadDeferred
Obsolete. In fact, it's onLoadDeferred.addCallback method, to eliminate it see an example of usage of initHandler parameter, e.g., in HTMLEditorDialog.html.
Public methodset
Obsolete. Works only for value "disabled". Use setDisabled instead.
Public methodsetDisabled
Disables/Enables Html Editor.
Public methodsetHTMLSource
Sets the content of the editing area.
Top
See Also