Transferring editor elements data to a block.

Transferring editor elements data to a block.

by bala krishna -
Number of replies: 0

Hi im krishna,

 

im new to php and moodle develpment...

im developing a simple block , the one in the moodle block documentation....

in this, in the edit_form.php file i've added a editor element [ $mform-> addelement = ('editor','.....]

whats my doubt is ,how can i get the data typed from the html editor to the (content->text) body of the block..

its easily done when im using a text element in the edit_form file

 

Thank you

Average of ratings: -