This is a quick rewrite of the module to support Drupal 4.7. This does not need jQuery and works when editing the node body and comments (but you could edit widgeditor_form_alter to add more forms). There is a global site setting to enable/disable widgEditor by default, and a per-user setting. Unlike the 5.0 version, the editor cannot be activated on-the-fly from the form, because I removed the jQuery stuff and was too lazy to mess with javascript. :-)

Since this is 4.7, I'm not sure if Gurpartap would like to commit it, but I think it might not hurt to. ;-)

Beside installing this version of the module, you also need to do the following to get things running smoothly:

  • Install forms_no_js and disable the resizable property from textareas.
  • Patch widgEditor.js (see below).
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

David Lesieur’s picture

FileSize
1.77 KB

Here's the patch for widgeditor.js. It was inspired by this.

Gurpartap Singh’s picture

Status: Needs review » Needs work

We are actually moving out of fQuery dependency. Will submit a patch soon, which using hook_elements(). This also adds proper support for CCK textarea fields. So unless that gets in, marking this to 'needs work', so we can add support for all textarea fields, other than just specified ones. Surely, 4.7 version will benefit many.

Gurpartap Singh’s picture

Status: Needs work » Closed (won't fix)

4.7 is now out of range. :P