? 276910_better_help_to_prevent_wysiwyg_issues.patch
Index: pathauto.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.admin.inc,v
retrieving revision 1.12
diff -u -p -r1.12 pathauto.admin.inc
--- pathauto.admin.inc	24 Jun 2008 16:52:32 -0000	1.12
+++ pathauto.admin.inc	3 Jul 2008 23:33:09 -0000
@@ -15,6 +15,8 @@
  * @see system_settings_form()
  */
 function pathauto_admin_settings() {
+  _pathauto_warn_wysiwygs();
+
   _pathauto_include();
 
   // Make sure they have token
@@ -451,3 +453,22 @@ function pathauto_admin_delete_submit($f
   }
   $form_state['redirect'] = 'admin/build/path/delete_bulk';
 }
+
+
+function _pathauto_warn_wysiwygs() {
+  if (!variable_get('pathauto_wysiwyg_warned', FALSE)) {
+    $wysiwygs = array('tinymce', 'fckeditor', 'bueditor', 'htmlarea', 'whizzywig',
+      'widgeditor', 'wymeditor', 'wysiwyg', 'xstandard', 'yui_editor', 'htmlbox');
+
+    $wysiwyg_problem = FALSE;
+    foreach ($wysiwygs as $key => $wysiwyg) {
+      if (module_exists($wysiwyg)) {
+        $wysiwyg_problem = TRUE;
+      }
+    }
+    if ($wysiwyg_problem) {
+      drupal_set_message(t('You appear to be using a "WYSIWYG" editor which can cause problems if that editor runs on the Pathauto administrative settings page.  Please be sure to disable these editors for all text boxes on this page. See the "WYSIWYG Conflicts" section of the README.txt file for more information.'), 'error', FALSE);
+    }
+    variable_set('pathauto_wysiwyg_warned', TRUE);
+  }
+}
\ No newline at end of file
