Hello,
I have to provide rich text editing inside my activity module, but I don't want the user to be able to add images, videos, or links. Is there a way to disable specific feature of the editor from `formslib.php`?
If not possible, is there an easy way within the Moodle library to sanitise the submitted HTML and remove any link, video, and photo? Or do I need to do it using classic PHP methods?
Thanks for your help!