项目地址:
[url]http://rubyforge.org/projects/fckeditorp[/url]
安装:
[code]
rake fckeditor:install
[/code]
引入js:
[code]
<%= javascript_include_tag :fckeditor %>
[/code]
使用:
[code]
<%= fckeditor_textarea("object", "field", :width => '100%', :height => '500px') %>
[/code]
[url]http://rubyforge.org/projects/fckeditorp[/url]
安装:
[code]
rake fckeditor:install
[/code]
引入js:
[code]
<%= javascript_include_tag :fckeditor %>
[/code]
使用:
[code]
<%= fckeditor_textarea("object", "field", :width => '100%', :height => '500px') %>
[/code]