General developer forum

TinyMCE / WYSIWYG - Admin Settings

Picture of Aaron Leggett
TinyMCE / WYSIWYG - Admin Settings

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


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(
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! 

Average of ratings: -
Picture of Aaron Leggett
Re: TinyMCE / WYSIWYG - Admin Settings

For reference of anyone in the future, I have fixed this issue by using the following;


I found all the definitions of the admin settings in the following file

Average of ratings: -