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

20 Responses to “FCKeditor Plugin 0.5.0”

  1. 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. @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. 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. 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. 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. 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. @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. Ok, so broken in 2.1: Looking for the answer at the mo…..

  9. Any luck with rails 2.1?

  10. @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. 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. 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. 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. Damn typos…
    I meant to say that I replaced @url with @uurl.

  15. Thank you George, I replaced every occurence of @url with @uurl in the controller and it seems to work ok now.

  16. @George, awesome, thanks. I’ll fix the plugin and get it released.

  17. Hey!

    Great plugin !

    I was wondering if you had any success integrating CKFinder (the advanced file browser for FCKEditor) with Rails ?

    Cheers,

    -David

  18. @David, I haven’t tried to be honest. Anyone else? I’ll take a look though and see how simple it would be.

  19. Anyone have been using an equivalent file browser ??

    Thanks Scott !

  20. Great affair, didn’t thought reading this was going to be so stunning when I saw your title with link!

Sorry, the comment form is closed at this time.