Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7DR#3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:n/a
-
Support Case References:
Description
Need to provide the api to use customizable toolbar for the inputRichText. Available toolbars are documented here:
http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Toolbar?highlight=%28toolbar%29
- New attribute would be called 'toolbar' and would simply be a string or params passed to the FCKEditor.
http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Toolbar?highlight=%28toolbar%29
- New attribute would be called 'toolbar' and would simply be a string or params passed to the FCKEditor.
Issue Links
- depends on
-
ICE-2721
The inputRichText component should allow to switch between two default toolbar sets which comes with the FCKeditor
-
- Closed
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4564 |
| Fix Version/s | 1.7Beta1 [ 10121 ] | |
| Assignee | Adnan Durrani [ adnan.durrani ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Fix Version/s | 1.7 [ 10080 ] | |
| Fix Version/s | 1.7Beta1 [ 10121 ] |
| Assignee Priority | P3 |
| Assignee Priority | P3 | P2 |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #15878 | Thu Feb 28 06:22:06 MST 2008 | adnan.durrani | Fix for |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/InputRichText.java
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/InputRichTextRenderer.java
MODIFY
/icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/fckeditor_ext.js
|
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 1.7RC1 [ 10123 ] | |
| Fix Version/s | 1.7 [ 10080 ] |
| Fix Version/s | 1.7 [ 10080 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee Priority | P2 | |
| Assignee | Adnan Durrani [ adnan.durrani ] |

In order to define the custom toolbar, the following snippet needs to be put inside the config.js.
FCKConfig.ToolbarSets['custom'] = [
['item1'],
['item2'],
['item3', 'item4]
] ;
To server the FCKeditor resources we use a zip file (fckeditor.zip). So its not straight to take above snippet as string parameter and manipulate the config.js inside the zip and serve it.
I thought after loading the FCKeditor API, the "FCKconfig" will be available into the javascript context as a public variable, but when I tried it, I didn't find it.