Scott Rutherford

Life on and off the Rails

 

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

19 Responses to “FCKeditor Plugin 0.5.0”

  1. Alexander Simonov Says:
    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/'
  2. Scott Rutherford Says:
    @Alexander sorry can you explain how this happens, i.e what do you do to get the error? does it happen on the demo?
  3. Alexander Simonov Says:
    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/'
  4. Mario Says:
    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?
  5. Freddy Says:
    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
  6. Freddy Says:
    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..
  7. Scott Rutherford Says:
    @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.
  8. Scott Rutherford Says:
    Ok, so broken in 2.1: Looking for the answer at the mo.....
  9. Mario Says:
    Any luck with rails 2.1?
  10. Scott Rutherford Says:
    @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!!
  11. leonardo Says:
    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?
  12. Don French Says:
    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"]
  13. George Chatzigeorgiou Says:
    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
  14. George Chatzigeorgiou Says:
    Damn typos... I meant to say that I replaced @url with @uurl.
  15. Andreas Says:
    Thank you George, I replaced every occurence of @url with @uurl in the controller and it seems to work ok now.
  16. Scott Rutherford Says:
    @George, awesome, thanks. I'll fix the plugin and get it released.
  17. David Says:
    Hey! Great plugin ! I was wondering if you had any success integrating CKFinder (the advanced file browser for FCKEditor) with Rails ? Cheers, -David
  18. Scott Rutherford Says:
    @David, I haven't tried to be honest. Anyone else? I'll take a look though and see how simple it would be.
  19. David Says:
    Anyone have been using an equivalent file browser ?? Thanks Scott !
Leave a Reply

This blog used the Shay theme as a base and is powered by Mephisto