wysiwyg

Fixed AHAH Wysiwyg integration

  1. // $Id$
  2.  
  3. /*
  4.  This version works when the #ahah element is a button.
  5.  Drupal passes the button name and value to .ajaxSubmit
  6.  but when we re-serialize the form that data is lost so we
  7.  need to ad

Fix for AJAX/AHAH event handlers for Wysiwyg integration in D6

  1. // $Id$
  2.  
  3. /*
  4.   drupal_add_js(this_file) on the form for which this is needed.
  5.   Customize the CHANGE ME parts to deal with the relevant fields.
  6. */
  7.  
  8. /*
  9.  * Attach AJAX/AHAH event handlers for Wys

AJAX/AHAH event handlers for Wysiwyg integration in D6

  1. // $Id$
  2.  
  3. /*
  4.   drupal_add_js(this_file) on the form for which this is needed.
  5.   Customize the CHANGE ME parts to deal with the relevant fields.
  6. */
  7.  
  8. /*
  9.  * Attach AJAX/AHAH event handlers for Wys

Make webform 'description' field wysiwyg

  1. function <module>_form_alter(&$form, $form_state, $form_id) {
  2.   if ($form_id == "webform_node_form") {
  3.     $form['webform']['settings']['body_format'] = array(
  4.       '#type' => 'fieldset',
  5.       '
Rob Loach's picture

jwysiwyg.inc

  1. <?php
  2. // $Id$
  3.  
  4.  
  5. /**
  6.  * Plugin implementation of hook_editor().
  7.  */
  8. function wysiwyg_jwysiwyg_editor() {
  9.   $editor = array();
  10.   $editor['jwysiwyg'] = array(
  11.     // Required properties
Syndicate content