wysiwyg

WYSIWYG & TinyMCE: Teaser-Break funktioniert nicht

  1. <kawumba> ich habe hier immer noch ein problem mit WYSIWYG und TinyMCE
  2. <kawumba> ich fummele schon stunden daran rum, ohne loesung
  3. <kawumba> wenn ich im rich-text-modus einen teaser-break einfuege, wird die entsprechende grafik (die den break symbolisiert) korrekt angezeigt
  4. <kawumba> schalte ich dann den richt-text-modus aus, ist von einem "break" im code nichts zu sehen
  5. <kawumba> dann fuege ich das tag manuell ein und schalte den RT-modus wieder ein. teaserbreak-grafik wird angezeigt. dann schalte ich den RT-modus wieder aus -- break-tag ist verschwunden.
  6. <kawumba> hat irgendjemand eine idee, was da los sein koennte? ich habe schon mit verschiedenen input-formaten und unterschiedlichen kombinationen der aktivierten inputfilter probiert, erfolglos
  7.  
  8. Verwendete Software sind das letzte Drupal-6-Release und die aktuellen stabilen Versionen von WYSIWYG und TinyMCE.

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