When I add another item in my node add screen using unlimited fields and a flexifield field type, tinymce does not init the new textareas that are added. The text field has the default handle to pull the field larger, but tinymce is not initialized on the field.

Looking at the tinymce_ahah.js file, it seems that the new textarea is not being added to Drupal.settings.tinymceAhah array.

CommentFileSizeAuthor
#1 tinymce_ahah.patch612 bytestom friedhof

Comments

tom friedhof’s picture

StatusFileSize
new612 bytes

There was a variable name typo in the module that was causing this not to work. Fixed the variable name on line 43 of tinymce_ahah.module file. Small patch included.

effulgentsia’s picture

Status: Active » Closed (won't fix)

Apologies for the insane delay in responding. Back when I added this module, I was still fairly new to maintaining an issue queue, and I allowed some issues to slip through the cracks unanswered.

The patch is incorrect. The original line is spelled correctly. With the 6.x-1.0-beta1 version, you can have unlimited textareas initialize just fine if you make sure the visibility setting in your tinymce profile includes these paths:

content/js_add_more*
flexifield/ahah/*

At this point, though, you're probably better off using the Wysiwyg API module instead of the tinymce module, and the Wysiwyg API CCK Integration module instead of the tinymce_ahah module. The Wysiwyg API module with the tinymce editor integrates into drupal better than the older tinymce module.