SammyLin / redactor-rails

This repo is deprecated. Please check out official gem for Redactor 2. https://github.com/Redactor2/redactor2_rails
MIT License
389 stars 253 forks source link

text_area size dont work #18

Closed duard closed 11 years ago

duard commented 12 years ago

Hey, redactor is very good for me, but I need to increaze the size of the text_area and it dont work for me

screenshot http://www.evernote.com/shard/s43/sh/5e57aaeb-2b37-426a-a1c0-51adbdb8bccf/0f8aa27a84e6510d01f5d225c41149f3

my code :

<%= f.label "Conteúdo", :class => 'control-label' %>
<%= redactor_lang('pt_br') %> <%= f.text_area :conteudo, :class => "redactor", :cols => "30", :rows => "10"%>

Descreva em bom português, os detalhes deste artigo

SammyLin commented 12 years ago

you can use Css for example

.redactor_box {
width: 600px;
}
ghost commented 11 years ago

This doesn't work, because this changes visible side of box, but not 'real' one. (you cannot choose past this 'first' size)