Hi folks,
I'm using TinyMCE to replace the textarea tag in all my modules/nodes. However, on one particular module (user.module) TinyMCE displays itself *5* times for each textarea found on the page.
administration --> users --> configure (tab)
Looking at the source, the JS that 'generates' TinyMCE is also repeated 5 times - but nowhere else in my Drupal installaton does this happen, only in the users section.
Has anyone come across this before? I have done a few mods to my TinyMCE module but it's kinda confusing to think that there's something specific to a one particular module that has the javascript repeated in the head of the document multiple times in that module but nowhere else?
Many thanks for reading.
Comments
UPDATE
It also happens at:
administration --> settingsthe single textarea is repeated twice! Weeirddd...
[update]Changed:
tinyMCE.init({
mode : "textareas",
})
tinyMCE.init({
mode : "exact",
})
[/update]
Which fixed it and gives me more control over which textareas get a WYSIWYG editor on them.
Disable?
I disabled TinyMCE for all these pages, since it created problems with the legal.module (basically with TinyMCE enabled, user could change the Terms of Service). But before I disabled it, I never saw this problem.
Andre
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com
panels module ?
If you have this problem because of an interaction with the panels module, I posted a fix here:
http://drupal.org/node/88177