Closed (duplicate)
Project:
Image Assist
Version:
6.x-2.0-alpha4
Component:
Wysiwyg API Plugin
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2009 at 21:02 UTC
Updated:
13 Aug 2009 at 10:57 UTC
Jump to comment: Most recent
Comments
Comment #1
mgriffith commentedThe same behavior occurs when using FCKEditor and 6.x-2.0-alpha4. The popup box remains after clicking the Insert button, displaying as iko describes above. The filter is not inserted into the FCKEditor window.
Switching to plain text editor and going through the Image Assist process again results in the filter being inserted into the textarea as expected.
This error is seen in Firebug:
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://[site address]/sites/all/modules/img_assist/img_assist_textarea.js?W :: insertToEditor :: line 90" data: no]
Comment #2
frank.dev commentedHi,
I have the same problem with the 6.x-2.0-alpha4 and 5.x-2.0-alpha4 in connection with the FCKeditor.
For the 5.x and 6.x alpha3's versions this problem did not exist.
Greetings
Frank
Comment #3
fsismo commentedSame problem. Tried with different editors (FCKeditor 2.6.4.1 and TinyMCE 3.2.5). The error reported by firebug is uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://www.sismonda.com.ar/sites/all/modules/img_assist/img_assist_texta... :: insertToEditor :: line 90" data: no]
Comment #4
topas-1 commentedSame on me... I guess I made the all configurations but also get the same exception in Firefox. If I (miss-)use Image Assist to put the code into a usual text form in another part of the website it puts the code into the box - but on wysiwig it doesnt't work. So I wonder whether we made something wrong (may someone at least give us a hint where to look for our mistake)?
Thanks & regards
Comment #5
Anonymous (not verified) commentedPossible Solution:
I was having this problem when using Wysiwyg API + TinyMCE. When I used the icon below the text area on filtered text areas, it worked fine. When I used it on Full HTML areas, I got the JavaScript error.
When I went to edit my TinyMCE profile in Site configuration -> Wysiwyg -> Profiles, I found an ImageAssist button that gets placed in the Wysiwyg toolbar. Using this button instead of the icon below the text area worked for me.
Comment #6
iko commentedlinclark said:
When I went to edit my TinyMCE profile in Site configuration -> Wysiwyg -> Profiles, I found an ImageAssist button that gets placed in the Wysiwyg toolbar. Using this button instead of the icon below the text area worked for me.
Indeed. Thanks linclark !
Comment #7
sunYes, the built-in "Add Image" button is for plain-text (textarea) usage (without Wysiwyg module) only.
The bug reports about FCKeditor in this issue are duplicate of #478284: Add FCKeditor (Wysiwyg) integration.