I dove in, and now I'm stuck. I got the rails-ckeditor project working with
hobo, but the :html type is ignored. In the gem documentation it says:
Then instead of the normal textarea helper from Rails use this one:
<%= ckeditor_textarea("object", "field", :width => '100%', :height =>
'200px') %>
So I need to add a tag:
<def attrs='name' tag='input' for='html'>
<%= ckeditor_textarea(???) %>
</def>
I can't get the ??? right. The things I tried all threw errors. Suggestions?
On Jun 14, 2011, at 7:32 PM, Mark Sobkowicz wrote:
> I have been using CKEditor in my hobo apps following the instructions in the
> book. Works great! I wanted to add upload functionality to the editor, and
> found a project on github:
>
> https://github.com/galetahub/rails-ckeditor
>
> Which is integrated with paperclip and gives nice uploads right from within
> the editor. Has anyone used the latter one in a Hobo 1.3 (Rails 3) project?
> I'll dive in, but was looking for guidance if anyone has tried it.
>
> Mark
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.