修改wiki编辑页面初始化高度
This commit is contained in:
parent
582ccd2ecf
commit
0e35967433
|
@ -16,7 +16,7 @@
|
|||
<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>
|
||||
<script type="text/javascript">
|
||||
var ckeditor=CKEDITOR.replace('editor02');
|
||||
var ckeditor=CKEDITOR.replace('editor02',{height: '300'});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue