Greetings,

I am trying to integrate the standard rails CKEditor gem with hobo and was 
curious if anyone else had done this before I spend the time working this 
through myself.

The gem documentation says one should use the following to add a 
CKEditor-customized text field to a form:

  <%= form.cktext_area :content, :value => "Default value", :id => 
"sometext" %> 

Assume I have a model class called "MyModel" with an attribute named 
"content" which is of type :text.  How would one best make this happen in 
Hobo?

I assume I could create a custom "type" called :ck_text and then create a 
<input for"ck_text"> tag, but what would go inside that tag definition. Do 
I have access to the "form" so I could just use the code snippet provided 
by the gem author given above? Perhaps I am making this too complicated and 
there is an easier way to do this.

Any help or suggestions would be appreciated!

Regards,

Peter

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to