Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
createCommand | Function | null | ||||||
Sets or gets the jqxEditor's createCommand property. The property allows you to add new commands or override existing commands. Code examples
Set the
Set the
Get the
|
||||||||
disabled | Boolean | false | ||||||
Sets or gets whether the jqxEditor is disabled. Code examples
Set the
Get the
Try it: disabled is set to true
|
||||||||
editable | Boolean | true | ||||||
Sets or gets the jqxEditor's editable property. The property determines whether the jqxEditor is read only. Code examples
Set the
Get the
Try it: editable is set to false
|
||||||||
height | Number/String | null | ||||||
Sets or gets the jqxEditor's height. Code examples
Set the
Get the
Try it: height is set to '400px'
|
||||||||
lineBreak | String | "default" | ||||||
Sets or gets the jqxEditor's line break. The property determines whether the jqxEditor creates Code examples
Set the
Get the
Try it: lineBreak is set to 'div'
|
||||||||
localization | Object | { "bold": "Bold", "italic": "Italic", "underline": "Underline", "format": "Format Block", "font": "Font Name", "size": "Font Size", "color": "Text Color", "background": "Fill Color", "left": "Align Left", "center": "Align Center", "right": "Align Right", "outdent": "Indent Less", "indent": "Indent More", "ul": "Insert unordered list", "ol": "Insert ordered list", "image": "Insert image", "link": "Insert link", "html": "View source", "clean": "Remove Formatting" } | ||||||
Sets or gets the jqxEditor's localization. The property determines the localization of the jqxEditor. Code examples
Set the
Get the
|
||||||||
pasteMode | String | "html" | ||||||
Sets or gets the jqxEditor's paste mode. The property determines whether the clipboard data is pasted as HTML or Plain Text. Possible values: "html" and "text". Code examples
Set the
Get the
Try it: pasteMode is set to 'text'
|
||||||||
rtl | Boolean | false | ||||||
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts. Code example
Set the
Get the
Try it: rtl is set to true
|
||||||||
stylesheets | Array | [] | ||||||
Sets or gets the jqxEditor's stylesheets. The property allows you to include stylesheets into the jqxEditor's IFrame. Code examples
Set the
Get the
|
||||||||
theme | String | '' | ||||||
Sets the widget's theme. jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file. In order to set a theme, you need to do the following:
Try it: theme is set to 'energyblue'
|
||||||||
toolbarPosition | String | "top" | ||||||
Sets or gets the jqxEditor's toolbar position. The property determines the position of the jqxEditor's toolbar. Code examples
Set the
Get the
|
||||||||
tools | String | "bold italic underline | format font size | color background | left center right | outdent indent | ul ol | image | link | clean | html" | ||||||
Sets or gets the jqxEditor's tools. The property determines the visibility and layout of the jqxEditor's tools. Code examples
Set the
Get the
|
||||||||
width | Number/String | null | ||||||
Sets or gets the jqxEditor's width. Code examples
Set the
Get the
Try it: width is set to '800px'
|
||||||||
Events |
||||||||
change | Event | |||||||
This is triggered when the jqxEditor's value is changed. Code examples
Bind to the
|
||||||||
Methods |
||||||||
destroy | Method | |||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroys the jqxEditor
|
||||||||
focus | Method | |||||||
Focuses the widget.
None Code examples
Invoke the
Try it: focuses the jqxEditor
|
||||||||
Method | ||||||||
Prints the jqxEditor's value.
None Code examples
Invoke the
Try it: prints the jqxEditor's value.
|
||||||||
setMode | Method | |||||||
Sets the jqxEditor's mode. The method has one boolean parameter which determines whether the jqxEditor displays its value as formatted html or html code.
None Code examples
Invoke the
|
||||||||
val | Method | |||||||
Sets or gets the value.
String Code example
Invoke the
// Get the value using jQuery's val()
// Set value.
// Set value using jQuery's val().
|