On Jul 17, 2006, at 3:10 PM, Jim Frey wrote:

I'm starting to get use to the Slash Code, and honestly I'm amazed at how much work went into what the code does -- thank you to all who've been building this master piece <bows down>
Now my question, has anyone ever thought of putting http://www.fckeditor.net into the story submissions? With my audience, most don't know how to write HTML, and I've used FCKeditor in the past with other projects -- it has it quirks, but overall is a really nice app to be able to have non-coders write HTML.
If no one has used it, anyone have suggestions on how to make it work with Slash Code? You think I can just put it into the templates somehow? (I'm just starting to read up on the Perl templates now, so I'm not familiar with them.)
-- I've got to write the CSS for my site next, but I'm lining myself up for the next project...

Yes, I've thought about it. Even started messing with it a few times. It never amounted to much (lack of time, interest, etc...) We've used fck with a number of projects (perl/asp) but none were slash-related. But the fck editor works quite well, and it's free as in beer :)

I would do it as a plugin. I'd wrap it w/ javascript or something (and/or a user pref) so that it could be used in text areas with submissions, comment posts and even the story admin - though on the story admin you'd need 2 instances of fck (one for the intro, the other for the body).

It really shouldn't take you much to make this work I'd think. Edit the Slash::Submit plugin's displayForm;submit;default, modify the 

<textarea wrap="virtual" rows="[% user.textarea_rows || constants.textarea_rows %]" cols="[% user.textarea_cols || constants.textarea_cols %]" name="story">[% form.story | strip_literal %]</textarea><br>

w/ the FCK calls and then see how it goes.