I always used version 2 of the best wysiwyg editor out there: FCKeditor. But it began to show it's age, and some functions didn't work like I wanted. So I checked for an upgrade.
And yes, did they have one! A completely rewritten editor, now dubbed CKeditor, created by CKsource.com. It looks good, works good, and was easy to integrate.
On the other hand, they really changed the way they do business: if you want the file uploader CKfinder with the editor, you have to pay for it! Previously, all was free. I understand they want to make money, but to pay a license fee per client website would be unreal.
Luckily, there is a free alternative: the CKeditor filemanager plug-in by Core Five
They made a file manager (uploader) plugin which can be used with CKeditor, and is very easy to implement. But as always, Coldfusion wasn't yet supported. And that's why I created the CFM connector for CKeditor's alternative Filemanager!
Changes I made
- Added the /connectors/cfm/* files
- Changed /scripts/filemanager.js on a few points:
- the deleted file is now removed from the UI when a file is deleted
- A javascript error was thrown after a file was uploaded (possibly because the JSOn I send back is different)
- Removed all connector files from /scripts/jquery.filetree/connectors, except:
- Renamed /scripts/jquery.filetree/connectors/jqueryFileTree.cf to jqueryFileTree.cfm, and added extra security to the script (and is now disabled by default)
- Changed some settings in CKeditor: added MediaEmbed plugin (the "youtube button"), and changed the menu order and items. If you don't like it, then just delete it from the file config.js.
Versions
Version 1.1.2, 11 august 2010: fixed a bug with expandPath('/') in ACF8 on some windows systems. This bug was a blocker, because the language file could not be read.
Version 1.1.1, 10 july 2010: fixed a bug with calculation of the webpath for files. Some users had image urls like "C:\site\blabla".
Version 1.1, 25 april 2010: replaced some non-CF8-compatible code (<cfset x = {"error":0} />). Updated CKeditor to 3.2. Did some bugfixes within the filemanager code. Added new optional list of website page urls into the Link dialog, thanks to Erik-Jan Jaquet's idea.
Download and code
- Download the complete CKeditor with Coldfusion filemanager
- Browse all the files within subversion
Demo
With the risk of being completely spammed, I created a demo environment. It has some restrictions: images only, and all files are deleted within an hour.
Questions? Problems? Using it?
Let me know by adding a comment underneath!
| Viewed 1752 times






#1 by Vince - March 18, 2010 at 3:30 PM
#2 by Wout - March 18, 2010 at 11:34 PM
#3 by Paul Klinkenberg - March 19, 2010 at 9:13 AM
#4 by Vince - March 19, 2010 at 9:38 AM
#5 by Paul Klinkenberg - March 19, 2010 at 11:27 PM
#6 by Mick - March 20, 2010 at 6:17 PM
#7 by Paul Klinkenberg - March 20, 2010 at 6:21 PM
#8 by Barbara ONeal - April 1, 2010 at 9:29 PM
#9 by Paul Klinkenberg - April 2, 2010 at 10:10 AM
#10 by Barbara ONeal - April 2, 2010 at 3:28 PM
#11 by Barbara ONeal - April 6, 2010 at 8:02 PM
#12 by Laurent Chenet - April 16, 2010 at 11:56 AM
#13 by Laurent Chenet - April 16, 2010 at 12:25 PM
#14 by Aegis - April 19, 2010 at 8:27 AM
#15 by Paul Klinkenberg - April 19, 2010 at 11:43 AM
#16 by Paul Klinkenberg - April 25, 2010 at 4:48 AM
#17 by Barbara ONeal - April 25, 2010 at 8:02 PM
#18 by Paul Klinkenberg - April 25, 2010 at 11:21 PM
#19 by Dante - April 27, 2010 at 10:46 PM
#20 by Aegis - April 28, 2010 at 4:02 AM
#21 by Aegis - April 28, 2010 at 9:28 AM
#22 by Paul Klinkenberg - May 8, 2010 at 11:42 PM
#23 by Jerry - June 16, 2010 at 8:21 PM
#24 by Lee - July 8, 2010 at 3:12 PM
#25 by Paul Klinkenberg - July 10, 2010 at 12:45 AM
#26 by Lee - July 12, 2010 at 3:24 PM
#27 by Barbara ONeal - July 12, 2010 at 8:02 PM
#28 by Paul Klinkenberg - July 12, 2010 at 11:51 PM
#29 by mario - July 14, 2010 at 4:28 PM
#30 by Paul Klinkenberg - July 27, 2010 at 11:55 PM