2008/04/19

Update of easyUpload for FCKeditor 2.6

A while back I was contacted by Graham Glass, as he needed some simplified versions of the link and image dialogs in order to use FCKeditor in his Edu2.0 project.

It was an interesting task, mainly because it made me realize about the need to be able to do custom changes to the dialogs without changing the core files. Having an event system that allows to change the interface just when it's being created seems like a good option, let's hope that something like that is available for V3.

But let's back to the topic. Due to some changes about how the links are created internally in the call to FCK.CreateLink, now the return object is an array instead of a link so the old code no longer worked and it gave errors.

So I've updated the plugin and created a demo page of easyUpload to check how it works.

The plugin does include three options:

Image upload.

Images are uploaded in just two steps. First select the image and press Continue

Then adjust its parameters, and press OK

File upload

Just select the file that you want to add and add a text that will be shown as a tooltip. When you press OK the file is uploaded and a link is created with the name of the file

Simplified link dialog

The only option is to write the URL that you want to link. It's almost impossible to do it wrong.