Forum OpenACS Development: Re: Richtext widget formats

Posted by Lars Pind on
Go for the force_format option. Thanks!

As for a centrally controlled list of formatting options, I think that's a brilliant idea.

All we need is a list of:

- label for the drop-down

- help text (would be nice with a '?' link right next to the format select box, which opens a window listing the formats with helpful examples and help text) -- uh-oh, need to solve our help system issue.

- mime_type for storing the chosen format in the DB

- procs for converting:
  - from the format to HTML
  - from the format to Plaintext

The procs may need to support truncation. I forget the details, even though I just recently revamped how conversion and truncation was done in 5.1

Thanks for your contribution, Andrew.