Hi

I am using the 'Insert' Module to insert documents into the content area as this is the easiest way for the site editor to use.

However I am not getting it to work with FCKeditor.

I am able to upload the document, but when I click the 'Insert' button, nothing happens. If i turn of FCKeditor by clicking 'Switch to plain text editor' and then insert, it works fine. But I don't want the user to get into the source code as this will confuse them them.

Has anyone had this problem as well and what is the solution?

Thanks

Robin

Comments

robin.prieschl’s picture

Title: Insert Module not inserting to FCKedito » Insert Module not inserting to FCKeditor
quicksketch’s picture

Are you using FCKeditor (the module) or FCKeditor as part of the WYSIWYG module? Do you have editors on the page? I believe the FCKeditor module implementation only supports the "Body" field and no others, due to limitations in the FCKeditor API.

robin.prieschl’s picture

I am using the FCKeditor (the module) and it is on the page. Does it not work like that? Do I have to change to WYSIWYG module?

Marcus VBP’s picture

Hi,

first, sorry my bad english. I'm a brazilian drupal user.

I had the same problem, but I fix it disabling the comment rss module. Now it's all ok.

Weird, hm?

tomgf’s picture

I am having similar problems using Insert with FileFields, FileFields Paths and Token.

Nothing happens after clicking on Insert. If I click on Switch to plain text editor, then this code is inserted:

<a href="" title="My file description"></a></span>

Any thoughts?

Scott McCabe’s picture

"I am using the 'Insert' Module to insert documents"

What do you mean exactly by "documents"? In other words, what file type are you uploading? I think the Insert module only inserts images and links.

I'm using FCKEditor to insert images and having no problems.

If your file type is acceptable by this module, is there somewhere in FCKEditor that prevents use of that file type (e.g config. settings or permissions)?

byronveale’s picture

You may want to try using the WYSIWYG module, then installing FCKeditor into that -- this combination works with the Insert module for me.

danylevskyi’s picture

I am using next modules:

Wysiwyg API 6.x-2.0
FCKeditor 2.6.5
ImageField 6.x-3.2

When I am trying to insert image nothing happens.
Firefox JavaScript debugger tell that problem in this line:

// Cleanup unused replacements.
content = content.replace(/__([a-z0-9_]+)__/g, '');

sorry, this bug report for Insert 6.x-1.0-beta3

btc97’s picture

I have a similar issue. My combination of FileField, Filefields Paths, Insert and Token was working fine at first. I still can upload files fine, but Insert only inserts the following blank code: Only local images are allowed.

Anyone found a solution?

Edit: I had the same problem described here http://drupal.org/node/622630 . That solution worked for me.

quicksketch’s picture

Status: Active » Fixed
StatusFileSize
new714 bytes

Similar to #718668: Will it work with FCKEditor without WYSIWYG?, this patch should prevent the problem of using the FCKeditor module prior to FCKeditor module 2.0 beta1.

Anyone getting SOME content inserted in FCKeditor but missing certain properties, please do no reopen this issue. Also please check that Insert works WITHOUT the editor enabled. This issue has become convoluted because it's 3 different problems.

quicksketch’s picture

StatusFileSize
new1.66 KB

Here's an even more extensive fallback patch, which should work even with ridiculously old versions of FCKeditor (I just so happened to have a copy from 2008 around).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.