| accesskey | Access key to transfer focus to the input element. |
| allowBlocks | Whether to allow blocks to be included when secure=true and the HTML is sanitized.Default is true. |
| allowFormatting | Whether to allow formatting to be included when secure=true and the HTML is sanitized.Default is true. |
| allowImages | Whether to allow images to be included when secure=true and the HTML is sanitized.Default is true. |
| allowLinks | Whether to allow links to be included when secure=true and the HTML is sanitized.Default is true. |
| allowMedia | Whether to allow audio/video to be included when secure=true and the HTML is sanitized.Default is true. |
| allowStyles | Whether to allow styles to be included when secure=true and the HTML is sanitized.Default is true. |
| allowTables | Whether to allow tables to be included when secure=true and the HTML is sanitized.Default is true. |
| ariaDescribedBy | Identifies the element(s) that describe the object, enhancing accessibility. |
| async | When set to true, ajax requests are not queued. Default value: false.Default is false. |
| binding | An EL expression referring to a server side UIComponent instance in a backing bean.Default is generated. |
| cols | Default is 0. |
| completeMethod | Method providing suggestions. |
| converter | EL expression resolves to a converter instance or literal converter ID defining a component converter. |
| converterMessage | Custom message to display when conversion fails. |
| dir | Direction indication for text that does not inherit directionality.Default is ltr. |
| disabled | Specifies that an element should be disabled.Default is false. |
| electricChars | Configures whether the editor should re-indent the current line when a character is typed that might change its proper indentation (only works if the mode supports indentation).Default is true. |
| escape | Defines if the content of the component should be escaped or not.Default is true. |
| escapeSuggestions | Defines if the suggestions should be escaped or not.Default is true. |
| extender | The extender to use for the editor. |
| extraKeys | Can be used to specify extra keybindings for the editor. When given, should be an object with property names like Ctrl-A, Home, and Ctrl-Alt-Left. |
| firstLineNumber | At which number to start counting lines.Default is 1. |
| fixedGutter | When enabled (off by default), this will make the gutter stay visible when the document is scrolled horizontally.Default is false. |
| global | Global ajax requests are listened by ajaxStatus component, setting global to false will not trigger ajaxStatus.Default is true. |
| gutter | Can be used to force a 'gutter' (empty space on the left of the editor) to be shown even when no line numbers are active. This is useful for setting markers.Default is false. |
| id | Unique identifier of the component in a namingContainer.Default is generated. |
| immediate | When set true, process validations logic is executed at apply request values phase for this component.Default is false. |
| indentUnit | How many spaces a block (whatever that means in the edited language) should be indented. The default is 2. |
| indentWithTabs | If Set false, indent using spaces instead of tabs.Default is true. |
| inputmode | Specifies the type of data expected in the input, aiding virtual keyboards. |
| keyMap | Configures the keymap to use. The default is "default", which is the only keymap defined in codemirror.js itself. Extra keymaps are found in the keymap directory. |
| label | A localized user presentable name. |
| lang | Specifies the language of the element's content. |
| lineNumbers | Whether to show line numbers to the left of the editor.Default is false. |
| lineWrapping | Whether CodeMirror should scroll or wrap for long lines.Default is false. |
| matchBrackets | Determines whether brackets are matched whenever the cursor is moved next to a bracket.Default is false. |
| maxlength | Defines the maximum number of characters allowed in the input.Default is Integer.MIN_VALUE. |
| mode | The mode to use. When not given, this will default to the first mode that was loaded. It may be a string, which either simply names the mode or is a MIME type associated with the mode. Alternatively, it may be an object containing configuration options for the mode, with a name property that names the mode (for example {name: "javascript", json: true}). |
| onblur | Fires when an element loses focus. |
| onchange | Fires when the value of an element has been changed. |
| onclick | Fires when a mouse click on the element. |
| oncomplete | Javascript handler to execute when ajax request is completed. |
| oncontextmenu | Script to execute when the context menu is triggered. |
| oncopy | Script to execute when content is copied from the element. |
| oncut | Script to execute when content is cut from the element. |
| ondblclick | Fires when a mouse double-click on the element. |
| ondrag | Script to execute when an element is dragged. |
| ondragend | Script to execute at the end of a drag operation. |
| ondragenter | Script to execute when a dragged element enters a valid drop target. |
| ondragleave | Script to execute when a dragged element leaves a valid drop target. |
| ondragover | Script to execute when a dragged element is over a valid drop target. |
| ondragstart | Script to execute at the start of a drag operation. |
| ondrop | Script to execute when a dragged element is dropped. |
| onerror | Javascript handler to execute when ajax request fails. |
| onfocus | Fires when an element gets focus. |
| oninput | Script to execute when the element receives user input. |
| oninvalid | Script to execute when the element's value is invalid. |
| onkeydown | Fires when a user is pressing a key. |
| onkeypress | Fires when a user presses a key. |
| onkeyup | Fires when a user releases a key. |
| onmousedown | Fires when a mouse button is pressed down on an element. |
| onmousemove | Fires when the mouse pointer is moving while it is over an element. |
| onmouseout | Fires when the mouse pointer moves out of an element. |
| onmouseover | Fires when the mouse pointer moves onto an element. |
| onmouseup | Fires when a mouse button is released over an element. |
| onpaste | Script to execute when content is pasted into the element. |
| onreset | Script to execute when the form is reset. |
| onscroll | Script to execute when the element is scrolled. |
| onsearch | Script to execute when a search is performed. |
| onselect | Script to execute when text is selected. |
| onstart | Javascript handler to execute before ajax request is begins. |
| onsuccess | Javascript handler to execute when ajax request succeeds. |
| onwheel | Script to execute when the mouse wheel is used. |
| placeholder | Specifies a short hint describing the expected value of the input. |
| pollInterval | Indicates how quickly CodeMirror should poll its input textarea for changes. Most input is captured by events, but some things, like IME input on some browsers, doesn't generate events that allow CodeMirror to properly detect it. Thus, it polls. Default is 100 millis. |
| process | Component(s) to process partially instead of whole view. |
| readonly | Specifies that an input field is read-only.Default is false. |
| rendered | Boolean value to specify the rendering of the component, when set to false component will not be rendered.Default is true. |
| required | Marks component as required.Default is false. |
| requiredMessage | Custom message to display when the required validation fails. |
| role | Defines the role of the element for accessibility purposes. |
| rows | Default is 0. |
| secure | Secure the component with the HTML Sanitizer library on the classpath.Default is true. |
| smartIndent | Whether to use the context-sensitive indentation that the mode provides (or just indent the same as the line before).Default is true. |
| style | Specifies an inline CSS style for an element. |
| styleClass | Specifies one or more CSS class names for an element. |
| tabSize | The width of a tab character. Defaults to 4. |
| tabindex | Specifies the tab order of an element. |
| theme | The theme to style the editor with. |
| title | Specifies extra information about an element (displayed as a tooltip). |
| toolbar | The toolbar to use for the editor. |
| undoDepth | The maximum number of undo levels that the editor stores. Defaults to 40. |
| validator | A method expression referring to a method validating the input. |
| validatorMessage | Custom message to display when validation fails. |
| value | Value of the component. |
| valueChangeListener | A method binding expression referring to a method for handling a valuchangeevent. |
| widgetVar | Name of the client side widget. |
| workDelay | Highlighting is done by a pseudo background-thread that will work for workTime milliseconds, and then use timeout to sleep for workDelay milliseconds. Defaults are 200 and 300, you can change these options to make the highlighting more or less aggressive. |
| workTime | Highlighting is done by a pseudo background-thread that will work for workTime milliseconds, and then use timeout to sleep for workDelay milliseconds. Defaults are 200 and 300, you can change these options to make the highlighting more or less aggressive. |