größerer Editor
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -16,3 +16,4 @@ plugins:
|
||||
- advimage
|
||||
- heading
|
||||
heading_clear_tag: p
|
||||
width: "100%"
|
||||
|
||||
Reference in New Issue
Block a user