[Javascript]ckeditor客製化高度設定


<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>

留言

這個網誌中的熱門文章

cpe練習筆記 UVa401 Palindromes

[Arduino]電子秤平 重量感測條+HX711AD模組

cpe練習筆記 UVa10019 Funny Encryption Method