JBoss.orgCommunity Documentation
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| options |
string with the semicolon (;) character |
![]() | Some options for CKEditor field: toolbar, width and height. |
options=CompleteWCM;width:'100%';height:'200px';
|
| toolbar |
string
|
![]() | The predefined toolbar for CKEditor. The value can be: Default, Basic, CompleteWCM, BasicWCM, SuperBasicWCM. |
options=CompleteWCM
|
| width |
string
|
![]() | The width of CKEditor. Its value can be the percent of pixel. |
options=width:'100%'
|
| height |
string
|
![]() | The height of CKEditor. Its value can be the percent of pixel. |
options=height:'200px'
|
See also: Common parameters
<%
String[] fieldSummary = ["jcrPath=/node/exo:summary", "options=toolbar:CompleteWCM,width:'100%',height:'200px'", "validate=empty"] ;
uicomponent.addRichtextField("summary", fieldSummary) ;
%>