Issue Details (XML | Word | Printable)

Key: SAK-13244
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Gonzalo Silverio
Reporter: Gonzalo Silverio
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Sakai

Make FCKEditor in velocity tools configurable.

Created: 20-Mar-2008 11:37   Updated: 27-Oct-2009 13:38
Component/s: Velocity
Affects Version/s: 2.5.0
Fix Version/s: 2.6.0

Time Tracking:
Not Specified

Issue Links:
Relate
 

2.6.x Status: None
2.5.x Status: Merge
2.4.x Status: None


 Description  « Hide
The FCKEditor in velocity tools is only passed one parameter - the id of the textarea that it is replacing

Would be more flexible if it at least 4 parameters would be passed to it:

1 - id of textarea
2 - height
3 - width
4 - toolbar set

Regarding 4 - we can use the FCK defaults or create new ones specifically for Sakai. What would these look like?

 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Gonzalo Silverio added a comment - 21-Apr-2008 06:48
r40104, r45588

Velocity tools can now call the FCKEditor with a new macro with parameters:

#chef_setupformattedtextareaparams("id-of-textarea" "height" "width "toolbarconfiguration")

for example:

#chef_setupformattedtextareaparams("description" "300" "380" "largecompressed")

the possible toolbar configurations are

large
largecompressed (for small spaces, full functionality)
medium
small

plus the standard FCK:

Attachments
Basic
Default




Gonzalo Silverio added a comment - 21-Jul-2008 17:38
IMPORTANT - see all checkins - there was one FCKEditor configuration file - used in some installations - that also needed the new toolbar configuration set.