Repository URL to install this package:
|
Version:
0.9.0 ▾
|
| assets |
| examples |
| lib |
| Gemfile |
| README.md |
| Rakefile |
| el-finder.gemspec |
$ gem install el-finder
or add gem 'el-finder' to your Gemfile
Ignore this if el-finder added to Gemfile and Bundler.require used.
Otherwise you'll have to load el-finder gem explicitly.
Just add require 'el-finder' at the top of your app.
First of all include EL::Finder into controllers you need a file manager.
Then use finder into your views passing path to managed directory via first argument:
finder 'path/to/files'
By default, el-finder will use a textarea to edit files.
To use Ace editor, install and load el-ace gem.
See github.com/espresso/el-ace for instructions.
Then simply set editor via :editor option:
finder 'path/to/files', editor: :ace
Same for CKEditor, see github.com/espresso/el-ckeditor for instructions.
Feel free to pass any editor options:
finder 'path/to/files', editor: :ace, mode: 'html'
finder 'path/to/files', editor: :ckeditor, lang: 'fr'
Issues/Bugs: github.com/espresso/espresso-lungo/issues
Mailing List: groups.google.com/.../espresso-framework
IRC channel: #espressorb on irc.freenode.net
Author - Walter Smith