Closed (fixed)
Project:
TinyMCE
Version:
5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
12 Jan 2007 at 09:42 UTC
Updated:
20 Aug 2007 at 18:19 UTC
I'm using drupal 4.7.5. I have TinyMCE (4.7.x-1.x-dev.tar.gz, downloaded 22 December 06) partly working. Amongst other things I've got the "link" and "unlink"buttons enabled. I have no problems with the majority of functions, including "unlink". The following javascript error is thrown when the "link" button is used.
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: http://www.example.com/modules/contrib/tinymce/tinymce/jscripts/tiny_mce... :: anonymous :: line 3512" data: no]
There seems to be a related issue in http://drupal.org/node/80875 but there isn't a solution I can follow.
Any ideas where I should be looking to fix this?
Comments
Comment #1
NickT-1 commentedI get the same thing in Firefox. When you click on the "insert" button no link is inserted into the text.
Rather annoyingly this does work in IE7. So it seems its some browser incompatibility. I have no idea what to do to fix this.
Comment #2
NickT-1 commentedYaY! Install the new version of TinyMCE (2.0.9) and this problem appears to be fixed with Firefox.
To do this I turned off the TinyMCE module in Drupal, unzipped the TinyMCE jscripts into the correct directory and then turned the module back on again.
http://tinymce.moxiecode.com/download.php
Comment #3
vjordan commentedUnfortunately for me the error did not clear when I upgraded to 2.0.9. It looks like the problem is related to the TinyMCE compressor - when I remove the compressor the problem goes away.
If I find a solution to the compressor problem I'll post it here. If anybody has come across and solved this problem already please let me know.
Comment #4
boris mann commentedSeeing this as well, using the patched upgrade to 5.0. Turning off the compressor makes it work again.
Comment #5
kreynen commentedComment #6
kreynen commentedhttp://drupal.org/node/130306
Comment #7
johnalbinThis is a non-critical bug. It’s simply generating a javascript warning. The link button still works (if using a compatible (pre 1.1.0) version of the compressor, but a javascript warning is issued.
We'll need to revisit this after the module is compatible with 1.1.0 version of the compressor. However, it may be a bug with Moxie’s code and not the module.
For those whose link button isn’t working see http://drupal.org/node/110761
Comment #8
johnalbinI’m assuming the fix for http://drupal.org/node/110761 also fixed this issue.
Comment #9
(not verified) commented