Home
The Toolkit for Online Communities
17598 Community Members, 0 members online, 2356 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : Rich text input : One Message

Forum OpenACS Development: Re: Rich text input

Collapse
20: Re: Rich text input (response to 1)
Posted by Lars Pind on
I've added this code to HEAD.

There's a new datatype 'richtext', and a new widget 'richtext', which provides four formats, namely:

text/enhanced
text/plain
text/fixed-width
text/html

These are currently hard-coded in both acs-tcl/tcl/text-html-procs.tcl and acs-templates/tcl/richtext-procs.tcl. It would be relatively easy to make a service contract or some other form of API for adding new methods, but I didn't do it, because I'm more concerned about raising usability for users today than adding fancy options for admins :) Other people are more than welcome to add this, of course.

Also, I've added corresponding mime types to the content repository create scripts, so we can get packages that store data in the CR using this as well.

Available tasks for anyone who feels up to the job: Fix forums, general-comments, wimpy, faq, and whatever other applications we have to use form builder and the richtext widget/datatype.

/Lars