Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的项目中使用 ruby on rails gems ckeditor-rails 我在表单的文本区域中使用它
f.text_area :description, :class=>'ckeditor' ,:cols=>"25", :rows=>"5"
但问题是,当我在显示视图中看到时,我看到了类似的东西......
在这打字 ..
任何的想法
你可以使用类似的东西:
description= raw truncate(idea.description, :length=>40)
这里有更多信息