forked from UnderpantsGnome/fckeditor_on_rails
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
68 lines (51 loc) · 1.88 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
README for FCKeditor on Rails
This can now be used as a plugin with both Engines and appable_plugins.
Q: What is it?
A: A Rails like way to use the FCKeditor in a Rails app, it basically works
just like the normal helpers.
It supports the "default" upload interface, I've thought about mcpuk support
but since I'm not even using this in any projects currently I don't have the
need or the time to implement all that mcpuk does. Maybe one of these days.
Sample usage:
fckeditor(:object, :param,
{:width => '600px', :height => '500px'}, # fck options
{:class => 'fancy'} # html options
)
Basic install:
./script/plugin install http://svn.underpantsgnome.com/fckeditor_on_rails
Drop a current copy of FCKeditor into public/fckeditor and setup whichever
method below you are using
appable_plugins info: http://wiki.pluginaweek.org/Appable_plugins
Required plugins (in proper load order) for using the appable_plugins:
loaded_plugins
plugin_dependencies
plugin_routing
appable_plugins
fckeditor_on_rails
Rails Engines info: http://rails-engines.org/
Required plugins (in proper load order) for using Engines:
engines
fckeditor_on_rails
By default it attempts to copy a functional test into your project, if you
don't want it running the tests just remove
test/functional/fckeditor_controller_test.rb
Uninstall:
./script/plugin remove fckeditor_on_rails
This will also remove the installed functional test
Contact:
Michael Moen
mi-rails@underpantsgnome.com
http://underpantsgnome.com/
http://trac.underpantsgnome.com/fckeditor_on_rails
History:
2007-01-05 (0.1.0)
Clean up that ugly code a bit, Ok it was almost a rewrite, it was ugly
Make it plugin ready for Rails 1.2
Move the config to YAML
Clean up and add some tests
2005-09-11 (0.0.1) - Initial
Thanks goes out to the following for patches:
Gregg Kellogg
Markus Kristo
Scott Carson
Gabriel Birke