See Release Notes
Long Term Support Release
TinyMCE text editor integration.
Copyright: | 2009 Petr Skoda (http://skodak.org) |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 263 lines (10 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
tinymce_texteditor:: (10 methods):
supported_by_browser()
get_supported_formats()
get_preferred_format()
supports_repositories()
head_setup()
use_editor()
get_init_params()
parse_toolbar_setting()
get_plugin()
get_tinymce_base_url()
Class: tinymce_texteditor - X-Ref
supported_by_browser() X-Ref |
Is the current browser supported by this editor? return: bool |
get_supported_formats() X-Ref |
Returns array of supported text formats. return: array |
get_preferred_format() X-Ref |
Returns text format preferred by this editor. return: int |
supports_repositories() X-Ref |
Does this editor support picking from repositories? return: bool |
head_setup() X-Ref |
Sets up head code if necessary. |
use_editor($elementid, array $options=null, $fpoptions=null) X-Ref |
Use this editor for give element. param: string $elementid param: array $options param: null $fpoptions |
get_init_params($elementid, array $options=null) X-Ref |
No description |
parse_toolbar_setting($customtoolbar) X-Ref |
Parse the custom toolbar setting. param: string $customtoolbar return: array csv toolbar lines |
get_plugin($plugin) X-Ref |
Gets a named plugin object. Will cause fatal error if plugin doesn't exist. This is intended for use by plugin files themselves. param: string $plugin Name of plugin e.g. 'moodleemoticon' return: editor_tinymce_plugin Plugin object |
get_tinymce_base_url() X-Ref |
Equivalent to tinyMCE.baseURL value available from JavaScript, always use instead of /../ when referencing tinymce core code from moodle plugins! return: moodle_url url pointing to the root of TinyMCE javascript code. |