有没有办法将CKEditor 3.0的高度设置为百分比,例如100%,这样就占用了整个窗口?
我目前正在使用绝对值,但它们与我的UI不能很好地融合:(
CKEDITOR.replace('editor1',{
height: '600px'
});
Run Code Online (Sandbox Code Playgroud) 如何在CKEditor中调整高度?
这是我的CKEditor代码.
<script type="text/javascript">
CKEDITOR.replace( 'content',
{
toolbar :
[
['Source'],
['Bold','Italic','Underline','Strike'],
]
});
</script>
Run Code Online (Sandbox Code Playgroud)