var myeditor = new cheditor("myeditor"); myeditor.config.editorHeight = '400px'; // 에디터 세로폭입니다. myeditor.config.editorWidth = '100%'; // 에디터 가로폭입니다. myeditor.inputForm = 'fm_post'; // textarea의 ID 이름입니다. myeditor.run(); // 에디터를 실행합니다.