Dear all
I installed the FCKeditor plugin following this post
http://blog.caronsoftware.com/2006/08/07/fckeditor-plugin-for-rails
i put this in the view
<%= fckeditor_textarea :company, :description, :height => '300' %>
I restarted my server and I got a small rectangle in the view unlike
the test page of the plugin
any idea how to get it running
Thanks
11175
(-- --)
2
hi
make sure you have included the js properly..Else the code written for
display is proper.
thanks
Dhaval Parikh
Software Engineer
sales(AT)railshouse(DOT)com
Shuaib Zahda wrote:
I am not sure how to do that. I saw the page source code and i saw the
lines related to java script
11132
(張衡華)
4
try this
<%= fckeditor_textarea :company, :description, :toolbarSet =>
'Simple' :width => '600px', :height => '300px' %>
Thanks
but nothing has changed
this is what i get from the page source
<textarea id='company__description_editor'
name='company[description]'></textarea>
<script type="text/javascript">
//<![CDATA[
var oFCKeditor = new FCKeditor('company__description_editor', '600px',
'300px', 'Simple');
oFCKeditor.BasePath = "/javascripts/fckeditor/"
oFCKeditor.Config['CustomConfigurationsPath'] = '/javascripts/
fckcustom.js';
oFCKeditor.ReplaceTextarea();
//]]>
</script>