Forum OpenACS Development: Re: ad_form widget for textareas

Collapse
Posted by Mark Aufflick on
note that the htmlArea team jsut released version 3.0 RC1 whcih is the release tree that includes mozilla support.

I have it running on a test server you can check out:

With everything:
http://home.pumptheory.com/ha/examples/fully-loaded.html

My favourite, with tables and context menu, but no spelling or full page supprt:
http://goo:8001/ha/examples/context-menu.html

Two caveats:

1/ it has crashed my mozilla once so far - but then my mozilla does crash from time to time...

2/ the spell checker uses a perl cgi. since it's not in a /cgi-bin/ or similar segregated directory, i couldn't figure out how to get aolserver to run it. wouldn't be hard to make the it link in from there though.

Collapse
Posted by Mark Aufflick on
NB: you have to add these lines to your user.js to allow copy & paste to work in current mozilla versions (they disable script access to copy/paste for security):

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");