Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
attempt to clean up README Step by Step section - which doesn't format
Browse files Browse the repository at this point in the history
correctly on github
  • Loading branch information
Mike Howard committed Nov 1, 2011
1 parent 6ab5f7b commit 147e352
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.markdown
Expand Up @@ -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 2. Add `use_tinymce args` to all the controllers for views containing **textarea** fields
in which you want to run *TinyMCE*. `args` should be: in which you want to run *TinyMCE*. `args` should be:

* `:all` - to enable *TinyMCE* for all actions * `:all` - to enable *TinyMCE* for all actions
* `:foo, :bar` - to enable *TinyMCE* only for views rendered by `foo` and `bar` actions * `:foo, :bar` - to enable *TinyMCE* only for views rendered by `foo` and `bar` actions
[usually this is something like `use_tinymce :new, :edit`]. [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. **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* 3. Add `<%= use_tinymce_link %>` to the `HEAD` section of you application layout - for *at least*
all pages which should use *TinyMCE* all pages which should use *TinyMCE*

4. (Optional) Edit `/public/javascript/use_tinymce_init.js` to customize your *TinyMCE* feature 4. (Optional) Edit `/public/javascript/use_tinymce_init.js` to customize your *TinyMCE* feature
set. set.


Expand Down
2 changes: 1 addition & 1 deletion use_tinymce.gemspec
Expand Up @@ -12,5 +12,5 @@ Gem::Specification.new do |s|
s.files = Dir["{lib,test}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.markdown"] \ 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"] \ + ["assets/use_tinymce_init_simple.js", "assets/use_tinymce_init_advanced.js", "assets/use_tinymce_init_jquery.js"] \
+ Dir['assets/tinymce*/**/*'] + Dir['assets/tinymce*/**/*']
s.version = "0.0.12" s.version = "0.0.13.pre1"
end end

0 comments on commit 147e352

Please sign in to comment.