<td style="width: 600px; height:600px;" valign="top">
<textarea class="ckeditor" id="Txt_content" runat="server" name="txtContent" style="height:600px; width:100%;"></textarea>
</td>
我想给它设置高度,但是网上说在config.js里设置,因为还有其它页面使用了这个编辑器,所以我只想把这一个页面里高度修改一下。我如上设置了高度,没有用,大家帮帮忙
<textarea class="ckeditor" id="Txt_content" runat="server" name="txtContent" style="height:600px; width:100%;"></textarea>
</td>
我想给它设置高度,但是网上说在config.js里设置,因为还有其它页面使用了这个编辑器,所以我只想把这一个页面里高度修改一下。我如上设置了高度,没有用,大家帮帮忙
</textarea>
或者
<textarea cols="80" id="editor1" name="editor1" rows="10">
</textarea>
<script type="text/javascript">
CKEDITOR.replace( 'editor1' );
</script>
var editor=CKEDITOR.replace('editor1',{height:100});