print_textarea(1,8, 50, "", "", "intro", "", $courseid=0);
into= the name of field;
If you want to call these fuction use_html_editor("intro"); in the *.php file ,you must call without any prarameter. like this : use_html_editor();
because when *.php file wants to render HTML page the editor had problem and can not show its body.
Pay attention that you can have as many as HTML Editors you want to have and in this file (*.php), and the number of print_textarea(1,8, 50, "", "", "intro", "", $courseid=0); fuction explan the number of your HTML Editor in your page, but just for one time in the end of that section you must call this fuction (use_html_editor()); .
And if you want to call it in *.html, you must call it with parameter. like: use_html_editor("intro");
I solved my problem from this way. And I hope for you................
I think you've hit upon the solution to this hard-to-spot bug.
I'll get this fix implemented today in all branches of Moodle CVS.
I'm working on it so we can have a 1.3.1.
If you're able to make the bug happen (I can't) then could you try give default height and width values in HTMLArea.prototype.generate object?
Somewhere in here:
// size the IFRAME according to user's prefs or initial textarea
var height = (this.config.height == "auto" ? (this._ta_size.h + "px") : this.config.height);
height = parseInt(height)
var width = (this.config.width == "auto" ? (this._ta_size.w + "px") : this.config.width);
width = parseInt(width);
And see what happens?
I solved my problem with this way. and the browser which I test it is IE6
Can you also please try Moodle 1.3.1? It should have a permanent fix for this problem now.