修改wiki编辑页面初始化高度

competition
sw 11 years ago
parent 582ccd2ecf
commit 0e35967433

@ -16,7 +16,7 @@
<div class="actions" style="max-width:680px"> <div class="actions" style="max-width:680px">
<p style="max-width:680px;"><%=text_area_tag 'content[text]', @text, :required => true, :id => 'editor02', :cols => 100, :rows => 25 %></p> <p style="max-width:680px;"><%=text_area_tag 'content[text]', @text, :required => true, :id => 'editor02', :cols => 100, :rows => 25 %></p>
<script type="text/javascript"> <script type="text/javascript">
var ckeditor=CKEDITOR.replace('editor02'); var ckeditor=CKEDITOR.replace('editor02',{height: '300'});
</script> </script>
</div> </div>

Loading…
Cancel
Save