question/type/essay/renderer.php does this, if you want to see some working example code.
Blocks
Use tinyMCE without moodle forms
This discussion has been locked so you can no longer reply to it.
question/type/essay/renderer.php does this, if you want to see some working example code.