TinyMCE / WYSIWYG - Admin Settings

TinyMCE / WYSIWYG - Admin Settings

Aaron Leggett發表於
Number of replies: 1

Hey Team,

I am developing a course block that has a site-wide setting on the mod for an email that is to be sent on condition.
I have successfully implemented a setting to the

/admin/settings.php?section=blocksettingenrolmenttimer

page, but it is only a textarea. I currently use the following code to add this item to the settings page;

$settings->add(new admin_setting_configtextarea(
'enrolmenttimer/timeleftmessage',
get_string('timeleftmessage','block_enrolmenttimer'),
get_string('timeleftmessage_help', 'block_enrolmenttimer'),
''
));

 

Does anyone know if its possible to change this to be a TinyMCE input, or do the settings pages not support it?

Your help would be greatly appreciated! 

評比平均分數: -