Rails 3.1 Integration for Ueditor
ueditor-rails gem integrates the Ueditor editor with the Rails 3.1 asset pipeline.
ueditor-rails to your Gemfile
Be sure to add to the global group, not the
assets group. Then run
2. Include the Ueditor assets
Use one of the following options to include Ueditor assets.
(1) Add to your application.js:
//= require ueditor
Ueditor has many options and plugins, the document is here Ueditor document .
Using ueditor-rails as an Engine Dependency
Ensure that you explicitly require
ueditor-rails within your engine file. Including ueditor-rails as a dependency in your gemspec is not enough.
When new versions of Ueditor are released, simply update the
ueditor-rails gem to the latest version. There is no need to run any extra rake tasks (apart from