ace:richTextEntry is an input component that presents to the user an advanced text editor to create and submit rich text content.
Generally, it is enough to simply bind the value of the component to a String property in a bean, and the component is ready to use.
Several options to modify the appearance of the editor are provided, and they are discussed below.
The CKEDITOR global variable is the CKEditor's API entry point. The CKEDITOR.instances object is a map that contains references to all the rich text editor instances on the page. To access a specific editor instance, use the editor's client id as the key to fetch its main object from this map ( CKEDITOR.instances['editor_client_id'] ). Full API documentation can be found here. Look at the CKEDITOR.editor section for the API of a specific editor instance.
Full WAI-ARIA support is built-in in the CKEditor. Several keyboard shortcuts are also supported, which can be found here.
The following ARIA roles are supported: application, presentation, toolbar, button, group.
This component doesn't use any ICEfaces-specific classes. The underlying library, CKEditor, dynamically adds a number of CSS classes; however, their purpose is more functional and structural. Changing the appearance of this component is mostly limited to using one of the supported skins. The styling and classes specified in the style and styleClass attributes are applied to the root container, respectively.
© Copyright 2021 ICEsoft Technologies Canada Corp.