By TomChiverton on
I'm on the latest Drupal 4.7 with the TinyMCE plugin, using the latest TinyMCE from their web site, with Firefox 2 on Fedora Core 5.
Every time I press a button on TinyMCE's tool bar, it does the action twice - so 'bold' appears not to work (though sometimes I see a quick flash of bold text), 'insert drupal break' inserts two of them, pressing enter creates an empty paragraph, then another para. with the cursor in, etc.
Pressing normal letter/number keys goes through OK though.
This is very odd :-)
Any one got any ideas at all ?
Comments
You would likely get better
You would likely get better support here: http://tinymce.moxiecode.com/ IMHO.
Their SF.net bug tracker
Their SF.net bug tracker claims 'This ArtifactType Does Not Allow Anonymous Submissions. Please Login." even though I am.
Their forum wants money to log a simple bug.
Helpful :-)
And yeah, I'll post if I have joy, which may mean digging into it myself. Grr.
I had a similar problem the
I had a similar problem the other day. Most of my buttons in TinyMCE work fine (bold, etc), but a newly-installed "blockquote" button kicks in twice per click. I came up dry on the MoxieCode site when I looked, but please post here if you learn anything.
something is foo bar
If I change tiny_mce.js:
execInstanceCommand : function(editor_id, command, user_interface, value, focus) {
var inst = tinyMCE.getInstanceById(editor_id), r;
if (command !='mceEndTyping'){
alert(command);}
if (inst){
then I get the alert box twice. This is the first bit of JS run when you click on the tool bar gfx. I clicked once.
WTF.
Cracked it.
The g2image module was throwing javascript errors when I looked in firefox's error log related to 'tinyMCE.switchClassSticky' which is no longer defined (apperently).
I copied ./plugins/g2image/editor_plugin_src.js to ./plugins/g2image/editor_plugin.js and altered the first line containing the phrase in editor_plugin.js by adding two '/' to the start (a one line comment). I then placed a '/*' before the 'do {' after the if after the newly commented out line, and then a closing '*/' after the brackets and semi-colon at the end of the while.
Now works fine.
My post in the g2image plugin support forum is http://www.galleryembedded.com/forums/viewtopic.php?p=24186#24186