The existing FCKEditor plugin was out of date, so I spent a bunch of
time creating a new FCKEditor plugin, with the goal of making a
full-featured WYSIWYG page part editor that can easily be used. . .or
not. It can be added/removed at will from page parts.
Please see the page below for requirements and installation
instructions.
It has working file upload integration, is pretty good about not messing
with your Radius tags and you can switch between it and other filters
via the default “Filter” select menu.
I have tested on Firefox 2.0, IE 7 and Safari 3.1. It could use some
more testing - of course - but it should work on every browser FCKEditor
does. It’s based on FCKEditor 2.5 and some of Scott Rutherford’s plugin
at: http://blog.caronsoftware.com/2008/2/6/fckeditor-plugin-0-4-3-released
It requires Shards, and I’ve tested it on 0.6.6, 0.6.7 and “edge”
Radiant.
It is vulnerable to the “multiple partial injection in 0.6.7 dev mode”
bug, so if you see more than one FCKEditor in a page part, that’s the
problem. Run in production mode, or upgrade 0.6.7 to the latest Radiant
from github.
The future:
An admin tab that allows toolbar button customizations,
Integration with scripts_n_styles to auto-populate the CSS class
drop-down,
Integration with the PageAttachments plugin,
Integration with the Link Browser API to allow for point-and-click
in-page linking,
You tell me!
Thanks! For now, kudos, suggestions, and bug reports can go to dan at
endpoint dot com.
Thanks, I got it all setup. You mentioned in the README that you want
to provide an interface to change the default toolbar, if I wanted to
do it manually for now where would I do it?
I think I just need to do: FCKConfig.toolbarSetName = “Basic”; in
fckconfig.js.
Thanks, I got it all setup. You mentioned in the README that you want
to provide an interface to change the default toolbar, if I wanted to
do it manually for now where would I do it?
I think I just need to do: FCKConfig.toolbarSetName = “Basic”; in
fckconfig.js.
Sorry to keep going this thread going, but I’ve changed that file, but
it stills appears to be pulling the Default toolbar set. Do I need to
regenerate the configs with rake task? In fact, I’m not even seeing
the “simple” toolbar you have setup, although I do have a link for
config?class_name=Page.
Josh
No, that’s OK. I appreciate it, as it helps me to know what areas are
rough or might be good places to expand.
The “Simple” toolbar in config.js.erb is only in there as an example,
the editor is using the default toolbar.
And (I had to refresh my memory here) the way it works is you define the
toolbars in the config and then associate them with an FCKEditor
instance when the object is created in Javascript. Currently I don’t
specify a toolbar for the editor, so it’s picking up the default one.
You can just change the name of the toolbar in the view to:
FCKConfig.ToolbarSets[“Default”]
and customize it then. It will take effect, I just tested it.
All this config tomfoolery will go away when I build the admin tab.
Sorry to keep going this thread going, but I’ve changed that file, but
it stills appears to be pulling the Default toolbar set. Do I need to
regenerate the configs with rake task? In fact, I’m not even seeing
the “simple” toolbar you have setup, although I do have a link for
config?class_name=Page.
Josh
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.