Introduction
TinyMCE is an open source editor that is integrated into Contenido's backend to help authors entering and formatting text. This article is about how its integration is implemented.
Usage
The editor is used in several files. Here is the list of the files and what they are responsible for.
Filename | Purpose |
---|---|
include_con_content_list.php | Displays raw data of articles |
template.con_content_list.html | Template included by include_con_content_list.php to render its page |
include.con_editcontent.php | Displays the editor page of article |
template.con_editcontent.html | Template included by include.con_editcontent.php to render its page |
include.CMS_HEAD.php | Editor page for content type CMS_HEAD |
include.CMS_HTML.php | Editor page for content type CMS_HTML |
include.CMS_HTMLHEAD.php | Editor page for content type CMS_HTMLHEAD |
include.CMS_TEXT.php | Editor page for content type CMS_TEXT |
Interfaces/Dependencies
TinyMCE is quite configurable.
Changes to TinyMCE
There are a few changes made to TinyMCE 3 to integrate it into Contenido's getEffectiveSetting function. This means the editor is configured in the following order of priority: User, group, client (language), client and system.
Settings
Settings for TinyMCE are internally obtained by Contenido's