An editor is composed of a main div element used to hold a toolbar,
a text area and an iframe. The toolbar can hold multiple groups
which in turn hold multiple buttons.
Properties
public $area: JQuery
Defined in cleditor/jquery.cleditor.d.ts:13
public $frame: JQuery
Defined in cleditor/jquery.cleditor.d.ts:14
public $main: JQuery
Defined in cleditor/jquery.cleditor.d.ts:15
public $toolbar: JQuery
Defined in cleditor/jquery.cleditor.d.ts:16
public disabled: boolean
Defined in cleditor/jquery.cleditor.d.ts:17
public doc: Document
Defined in cleditor/jquery.cleditor.d.ts:18
Defined in cleditor/jquery.cleditor.d.ts:19
Methods
public change( handler: Function ) : CLEditor
Defined in cleditor/jquery.cleditor.d.ts:20
Parameters
Returns
CLEditor
Defined in cleditor/jquery.cleditor.d.ts:21
Returns
CLEditor
public disable( disabled: boolean ) : CLEditor
Defined in cleditor/jquery.cleditor.d.ts:22
Parameters
Returns
CLEditor
public execCommand( commands: string , value: any , useCSS?: boolean , button?: any ) : CLEditor
Defined in cleditor/jquery.cleditor.d.ts:23
Parameters
commands: string
value: any
useCSS?: boolean optional
button?: any optional
Returns
CLEditor
Defined in cleditor/jquery.cleditor.d.ts:24
Returns
CLEditor
public hidePopups( ) : CLEditor
Defined in cleditor/jquery.cleditor.d.ts:25
Returns
CLEditor
public refresh( ) : CLEditor
Defined in cleditor/jquery.cleditor.d.ts:26
Returns
CLEditor
public select( ) : CLEditor
Defined in cleditor/jquery.cleditor.d.ts:27
Returns
CLEditor
public selectedHTML( ) : string
Defined in cleditor/jquery.cleditor.d.ts:28
Returns
string
public selectedText( ) : string
Defined in cleditor/jquery.cleditor.d.ts:29
Returns
string
public showMessage( message: string , button?: any ) : CLEditor
Defined in cleditor/jquery.cleditor.d.ts:30
Parameters
message: string
button?: any optional
Returns
CLEditor
public sourceMode( ) : boolean
Defined in cleditor/jquery.cleditor.d.ts:31
Returns
boolean
public updateFrame( ) : CLEditor
Defined in cleditor/jquery.cleditor.d.ts:32
Returns
CLEditor
public updateTextArea( ) : CLEditor
Defined in cleditor/jquery.cleditor.d.ts:33
Returns
CLEditor