Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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. More...
 
 editors_get_enabled ()
 Returns list of enabled text editors. More...
 
 editors_get_preferred_editor ($format=NULL)
 Returns users preferred editor for given format. More...
 
 editors_get_preferred_format ()
 Returns users preferred text format. More...
 
 editors_head_setup ()
 Setup all JS and CSS needed for editors. More...
 
 get_texteditor ($editorname)
 Returns instance of text editor. More...
 

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