From 147e3527aa5be672abda09af795b1520e2ac169c Mon Sep 17 00:00:00 2001 From: Mike Howard Date: Tue, 1 Nov 2011 10:50:57 -0600 Subject: [PATCH] attempt to clean up README Step by Step section - which doesn't format correctly on github --- README.markdown | 3 +++ use_tinymce.gemspec | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 44de033..ba5858a 100644 --- a/README.markdown +++ b/README.markdown @@ -69,13 +69,16 @@ Do that by running one of these rake tasks: 2. Add `use_tinymce args` to all the controllers for views containing **textarea** fields in which you want to run *TinyMCE*. `args` should be: + * `:all` - to enable *TinyMCE* for all actions * `:foo, :bar` - to enable *TinyMCE* only for views rendered by `foo` and `bar` actions [usually this is something like `use_tinymce :new, :edit`]. **Note:** you should *not* have to 'require use_tinymce` anyplace. If you do, please let me know. + 3. Add `<%= use_tinymce_link %>` to the `HEAD` section of you application layout - for *at least* all pages which should use *TinyMCE* + 4. (Optional) Edit `/public/javascript/use_tinymce_init.js` to customize your *TinyMCE* feature set. diff --git a/use_tinymce.gemspec b/use_tinymce.gemspec index 52fd24d..21ffe5d 100644 --- a/use_tinymce.gemspec +++ b/use_tinymce.gemspec @@ -12,5 +12,5 @@ Gem::Specification.new do |s| s.files = Dir["{lib,test}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.markdown"] \ + ["assets/use_tinymce_init_simple.js", "assets/use_tinymce_init_advanced.js", "assets/use_tinymce_init_jquery.js"] \ + Dir['assets/tinymce*/**/*'] - s.version = "0.0.12" + s.version = "0.0.13.pre1" end