Moodle APIs 4.0
Moodle 4.0.11 (Build: 20231009)
Classes | Functions
editorlib.php File Reference

Utility classes and functions for text editor integration. More...

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.
 

Detailed Description

Utility classes and functions for text editor integration.

@subpackage editor

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later