# inputEx-library

### inputEx 0.5.1

inputEx-library > inputEx > inputEx.TinyMCEField
Search:
Filters Show Private Show Protected Show Deprecated

## Class inputEx.TinyMCEField - extends inputEx.Field

Wrapper for the TinyMCE Editor

### Constructor

inputEx.TinyMCEField `( options )`

Parameters:
  `options <Object>` Added options:
  - opts: the options to be added when calling the TinyMCE constructor

#### Properties inherited from inputEx.Field:

`options`

### Methods

#### getValue

`String getValue ( )`
Get the html string

Returns: `String`
  the html string

#### renderComponent

`void renderComponent ( )`
Render the field using the YUI Editor widget

#### setOptions

`void setOptions ( options )`
Set the default values of the options

Parameters:
  `options <Object>` Options object as passed to the constructor

#### setValue

`void setValue ( value , [sendUpdatedEvt] )`
Set the html content

Parameters:
  `value <String>` The html string
  `[sendUpdatedEvt] <boolean>` (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)

#### Methods inherited from inputEx.Field:

`clear, close, destroy, disable, displayMessage, enable, fireUpdatedEvt, focus, getEl, getParentField, getState, getStateString, getValue, hide, initEvents, isDisabled, isEmpty, onBlur, onChange, onFocus, render, renderComponent, setClassFromState, setFieldName, setOptions, setParentField, setValue, show, validate`

#### Events inherited from inputEx.Field:

`updatedEvt,`

Copyright © 2010 Eric Abouaf All rights reserved.