<form> <textarea name="editor1" id="editor1" rows="250" cols="80"> This is my textarea to be replaced with CKEditor. </textarea> <script> // Replace the <textarea id="editor1"> with a CKEditor // instance, using default configuration. CKEDITOR.replace( 'editor1', { //輸入客製化條件 height: 450, //設定內容編輯器寬度 }); </script> </form>
[Javascript]ckeditor客製化高度設定
Posted on