If embed is turn on the oFCK_1 textarea das not exist and I get this message from fckeditor "Error: The TEXTAREA with id or name set to "oFCK_1" was not foun"

CommentFileSizeAuthor
#4 fileframework_embed-420262-4.patch1.37 KBkmonty

Comments

miglius’s picture

Issue tags: +file_embed
geodaniel’s picture

kmonty’s picture

Miglius... your post was blank. Did you have any ideas?

kmonty’s picture

Title: Conflict with FCKEditor when the embedding is turned on » File Framework Embedding not compatible with FCKEditor
Version: 6.x-1.0-alpha4 » 6.x-1.0-alpha5
Priority: Normal » Critical
Status: Active » Needs work
StatusFileSize
new1.37 KB

Here is my first attempt to patch this issue. My time is limited, so if anyone can help, I would appreciate it.

Status:
1) Works with Safari 4 public beta
2) Works with FF3 but the Thickbox does not close after the code is embeded
3) Not tested with IE6/7/8, opera, chrome, nor FF2

Current todo:
1) Make it work with FCKeditor popups
2) Fix bug with FF so thickbox closes automatically
3) Test!

Long term:
1) Make a button for WYSIWYG API

kmonty’s picture

I ended up dropping this module as the issue queue is pretty neglected and there a lot of bugs in the module, so I won't be finishing the patch. Hopefully someone else will find my progress helpful and can finish it.

Equinger’s picture

I would love to see this issue resolved as well. File framework works well for our purposes, but this fix is key in making fileframework a comprehensive solution. Thanks kmonty for your work on this issue!

miglius’s picture

Assigned: Unassigned » miglius
Status: Needs work » Fixed

I have committed the code which integrates file embedding with the FCK editor. Please test it.

Status: Fixed » Closed (fixed)

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

jvieille’s picture

Version: 6.x-1.0-alpha5 » 6.x-1.x-dev

This does not work for me.
I am using the latest dev which is suppposed to work with FCK editor.
I tried with Chrome and IE, but may be I don't know how it work.

When FCKeditor is not enabled, Embed opens a galery based selector and brings in the text area something llike
[file:485 handler=file_image_image link=1]
which does not output anything else that this string whatever input filter is set

With FCKeditor enabled, Embed leaves the edited node and goes to the galery page instead, losing the context of the edited page and stay there after clicking in "INSERT" that doesn't do anything.

I may miss something...