FCKeditor Plugin 0.5.0
June 4th, 2008
I created a new release for the fckeditor plugin today. It upgrades the version of the editor to the lastest 2.6 and also fixes the SanitizeHelper include issue which was causing problems with the spell check.
Other than that, little has changed. I think it is all still working ok, although I have only had time to complete a cursory check on the editor’s functionality.
The plugin is available from Ruby Forge or by doing this:
ruby script/plugin install svn://rubyforge.org//var/svn/fckeditorp/trunk/fckeditor
June 9th, 2008 at 02:59 PM Same issue with relative path to images... Processing FckeditorController#command (for 127.0.0.1 at 2008-06-09 16:51:57) [GET] Session ID: ebc8a1a671b53ffa2409dca632f7ab09 Parameters: {"CurrentFolder"=>"/test/", "Command"=>"GetFoldersAndFiles", "action"=>"command", "uuid"=>"1213023117558", "controller"=>"fckeditor", "Type"=>"Image"} Completed in 0.00152 (658 reqs/sec) | Rendering: 0.00107 (70%) | DB: 0.00000 (0%) | 200 OK [http://localhost/fckeditor/command?Command=GetFoldersAndFiles&Type=Image&CurrentFolder=%2Ftest%2F&uuid=1213023117558] Processing ApplicationController#index (for 127.0.0.1 at 2008-06-09 16:51:59) [GET] Session ID: ebc8a1a671b53ffa2409dca632f7ab09 Parameters: {} ActionController::RoutingError (No route matches "/javascripts/fckeditor/editor/dialog/fck_image/DSC00087.JPG" with {:method=>:get}): and image put without path like '/uploads/Images/'
June 10th, 2008 at 02:02 PM @Alexander sorry can you explain how this happens, i.e what do you do to get the error? does it happen on the demo?
June 10th, 2008 at 02:26 PM i'm have rails app. i'm add your plugin and use on page like: <%= fckeditor_textarea 'page', 'body', :width => '100%', :height => '600px' -%> and nothing more. uploading imgae works, but inserting in editor not works correct. image puts as name without path '/uploads/Image/'
June 12th, 2008 at 12:04 AM Hi, I'm also noticing an issue. Is this a rails 2.1 incompatibility? "No expansion found for :fckeditor" at <%= javascript_include_tag :fckeditor %> Any thoughts?
June 12th, 2008 at 05:21 AM Hi Mario looks like you either don't have the plugin installed correctly or you are missing the :default javascript tag... I had todo this: <%= javascript_include_tag :defaults %> <%= javascript_include_tag :fckeditor %> And I'm running Rails 2.1 Maybe you need to run rake fckeditor:install
June 12th, 2008 at 05:28 AM And I'm having the same issue that everyone else is having with the upload function... The image is uploaded fine but inserting or linking to an image does not work.. It just links to the image name not the full image url... Testing this on your Demo site works so I guess either rails 2.1 isnt working with the plugin or we are all doing something wrong..
June 12th, 2008 at 11:20 AM @Freddy and @all, damn. Ok, let me have a play. The demo is actually on 2.0.2 still. I'll check locally and see if I have the same issue.
June 12th, 2008 at 12:18 PM Ok, so broken in 2.1: Looking for the answer at the mo.....
June 14th, 2008 at 04:17 PM Any luck with rails 2.1?
June 14th, 2008 at 07:39 PM @Mario not yet. I've only had a short time to look at it so far. Suddenly seem to need about 30 hours in a day. Doing my best though. Any help or ideas would be much appreciated!!
June 16th, 2008 at 09:54 PM I am having a problem with attachment_fu and fck editor using activescaffold. I am using both in a same controller. for the attachment_fu getting to work I need to set config.create.multipart = true the thing is that i noticed that using multipart true, the fckeditor does not work. It doesnt' record anything in the DB. Does anyone knows how to solve this problem?
June 17th, 2008 at 04:00 AM I get the following error when installing. It seems to run though. Can you tell me if there really is a problem? All the install stuf... Exported revision 58. Plugin not found: ["svn://rubyforge.org//var/svn/fckeditorp/trunk/fckeditor"]
June 20th, 2008 at 11:23 AM I managed to solve the 2.1 incompatibility. In fckeditor_controller a @url variable is set that is used to prepend image paths, but rails doesn't like @url when rendering the inline RXML. I replace @url with @@url and everything works fine. I guess 2.1 sets @url before rendering or something like that. Hope I've helped
June 20th, 2008 at 11:25 AM Damn typos... I meant to say that I replaced @url with @uurl.
June 21st, 2008 at 06:37 PM Thank you George, I replaced every occurence of @url with @uurl in the controller and it seems to work ok now.
June 21st, 2008 at 07:55 PM @George, awesome, thanks. I'll fix the plugin and get it released.
July 14th, 2008 at 09:55 AM Hey! Great plugin ! I was wondering if you had any success integrating CKFinder (the advanced file browser for FCKEditor) with Rails ? Cheers, -David
July 14th, 2008 at 08:04 PM @David, I haven't tried to be honest. Anyone else? I'll take a look though and see how simple it would be.
July 17th, 2008 at 06:19 AM Anyone have been using an equivalent file browser ?? Thanks Scott !