slu*_*lum 8 javascript ckeditor
如何在CKEditor中调整高度?
这是我的CKEditor代码.
<script type="text/javascript">
CKEDITOR.replace( 'content',
{
toolbar :
[
['Source'],
['Bold','Italic','Underline','Strike'],
]
});
</script>
Run Code Online (Sandbox Code Playgroud)
Fre*_*red 25
在参数中添加高度和宽度设置:
CKEDITOR.replace( 'content',
{
toolbar :
[
['Source'],
['Bold','Italic','Underline','Strike'],
],
height: 300,
width: 400
});
Run Code Online (Sandbox Code Playgroud)