Index: tinymce.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/tinymce/tinymce.module,v retrieving revision 1.90 diff -u -p -r1.90 tinymce.module --- tinymce.module 25 Apr 2006 11:23:47 -0000 1.90 +++ tinymce.module 1 Dec 2006 15:31:02 -0000 @@ -1073,7 +1073,7 @@ function _tinymce_page_match($edit) { // Kill TinyMCE if we're editing a textarea with PHP in it! // PHP input formats are #2 in the filters table. - if (is_numeric(arg(1)) && arg(2) == 'edit') { + if (arg(0) == 'node' && is_numeric(arg(1)) && arg(2) == 'edit') { $node = node_load(arg(1)); if ($node->format == 2) { return FALSE;