Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
editorlib.php File Reference

Classes

class  texteditor
 Base abstract text editor class. More...
 

Functions

 editors_get_available ()
 Get the list of available editors.
 
 editors_get_enabled ()
 Returns list of enabled text editors.
 
 editors_get_preferred_editor ($format=NULL)
 Returns users preferred editor for given format.
 
 editors_get_preferred_format ()
 Returns users preferred text format.
 
 editors_head_setup ()
 Setup all JS and CSS needed for editors.
 
 get_texteditor ($editorname)
 Returns instance of text editor.