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>
<div class="row-fluid"> <div class="row-fluid">
<div class="span12"> <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>
</div> </div>

View File

@@ -4,7 +4,7 @@
# Formtastic::FormBuilder.default_text_field_size = 50 # Formtastic::FormBuilder.default_text_field_size = 50
# Set the default text area height when input is a text. Default is 20. # 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. # Set the default text area width when input is a text. Default is nil.
Formtastic::FormBuilder.default_text_area_width = "40" Formtastic::FormBuilder.default_text_area_width = "40"

View File

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