WYSIWYG editor integration on own page

WYSIWYG editor integration on own page

by Bob West -
Number of replies: 0

Hi,

I've made an own page that is going to be part of my moodle site.
I want to integrate the standard moodle WYSIWYG editor and I've found out that there are two functions to do this.

use_html_editor() and print_textarea.
I've read the comments by the functions in weblib.php and I've done everything that was described there.

So I've used use_html_editor(), but nothing is showing up at the <textarea> html tags. (exept for the standard <textarea> html editor)
I also used print_textarea(all params) but nothing is showing up either!
(exept for the standard <textarea> html editor)

Does someone know a solution of this problem?
I'm on moodle 1.6+

Thanks in advance,

Bob

edit: I've tested the connection with weblib.php and thats working!

Average of ratings: -