größerer Editor

This commit is contained in:
Andreas Stephanides
2014-05-02 18:55:26 +02:00
parent c713a44884
commit ad704aacd5
3 changed files with 3 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
</div>
<div class="row-fluid">
<div class="span12">
<%= f.input :text, :as=>:tinymce_text,:label=>false %>
<%= f.input :text, :as=>:tinymce_text,:label=>false, :input_html=>{:rows=>20} %>
</div>
</div>

View File

@@ -4,7 +4,7 @@
# Formtastic::FormBuilder.default_text_field_size = 50
# Set the default text area height when input is a text. Default is 20.
Formtastic::FormBuilder.default_text_area_height = 5
Formtastic::FormBuilder.default_text_area_height = 10
# Set the default text area width when input is a text. Default is nil.
Formtastic::FormBuilder.default_text_area_width = "40"

View File

@@ -16,3 +16,4 @@ plugins:
- advimage
- heading
heading_clear_tag: p
width: "100%"