This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 26e508ca831f7be891a625bc37c66621e4f276dc
tree d03e4f47f4b2034b2c5cc842cad300d2a8d17274
parent 1782aa5b7e577d386f123493babe0f374bc24341
tree d03e4f47f4b2034b2c5cc842cad300d2a8d17274
parent 1782aa5b7e577d386f123493babe0f374bc24341
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Sat Aug 02 13:16:24 -0700 2008 | |
| |
README | ||
| |
Rakefile | Sat Aug 02 13:16:24 -0700 2008 | |
| |
TODO | Sat Aug 02 13:16:24 -0700 2008 | |
| |
init.rb | Sat Aug 02 13:16:24 -0700 2008 | |
| |
install.rb | Sat Aug 02 14:53:07 -0700 2008 | |
| |
lib/ | ||
| |
tasks/ | Sat Aug 02 13:16:24 -0700 2008 | |
| |
test/ | Sat Aug 02 13:16:24 -0700 2008 | |
| |
yui_editor.yml.tpl |
README
YuiEditor ========= Integrate the Yahoo Rich Text Editor (http://developer.yahoo.com/yui/editor/) into a Rails application. Example ======= # Basic usage blog_controller.rb: class BlogController < ApplicationController uses_yui_editor end new.html.erb: <% form_for(@blog) do |f| %> <%= f.text_area :post, :class => 'rich_text_editor' %> <% end %> blogs.html.erb: <head> <%= include_yui_editor_if_used %> </head> # Customizing the configuration default settings are in RAILS_ROOT/config/yui_editor.yml. you can override the editor defaults in each controller: class BlogController < ApplicationController uses_yui_editor(:only => [:new, :create, :edit, :update], :selector => 'blog_post') end Instructions for configuring the editor: http://developer.yahoo.com/yui/docs/YAHOO.widget.Editor.html#configattributes Instructions for configuring the toolbar: http://developer.yahoo.com/yui/examples/editor/toolbar_editor.html Installation ============ script/plugin install git://github.com/larsklevan/yui_editor.git Feedback ======== Send feedback and questions to: tastybyte at gmail.com Copyright (c) 2008 Lars Klevan, released under the MIT license








