Forum OpenACS Q&A: Re: WYSIWYG editor...

Collapse
8: Re: WYSIWYG editor... (response to 1)
Posted by David Cotter on
I have added a WYSIWYG editor into ETP for a project I'm working on. Here are the details of how to add it:

https://openacs.org/forums/message-view?message_id=115599

(note the test login doesn't work anymore)

I also integrated (in an ad-hoc fashion) the WYSIWYG editor into Photo Album to allow you to insert images into a ETP by choosing the desired image from the album. This is intended for users who can't use HTML.

The editor is TextArea is open source and I used a version for IE 5.5 only. There is a beta version that works with IE and Mozilla and includes a spell checker and advanced HTML tables functionality which I will check out soon - it's worth looking at: http://dynarch.com/htmlarea/

Collapse
9: Re: WYSIWYG editor... (response to 8)
Posted by Tom Jackson on

The htmlarea seems to work with Mozilla and Gecko derived browsers as well as IE. It also seems pretty easy to add it to a site.

I can't really say why someone would use it for anything serious, textareas are still unfriendly even if WYSIWYG. It might be nice if you could select a file to upload, then put the contents into a text field in the database. Then you could use your favorite editor, save your work, spell check, etc.

Nicer still would be a simple upload tool, where you could map local files to content, maybe keep track of what you changed via an mtime or whatever. Hit one button and update.

The same format could be used to upload a zip file: read the mapping file and update the content.