...
Called by Contenido's pre-defined content types that allow HTML markup. It first loads the editor class then sets the editor's width and height and injects a textarea tag into the output.
editorclass.php
Extends cWYSIWYGEditor.This file defines the class cTinyMCEEditor which extends cWYSIWYGEditor. It configures TinyMCE so that the editor does fit nicely into Contenido. To achieve such a task a lot of settings have passed to TinyMCE.
Here is a short list of tasks cTinyMCEEditor deals with:
- Adjusts toolbars and plugins to editing contexts
- Converts URLs to be not relative
- Configures source formatting
- Tells tinyMCE which elements on page should be editors
- Sets editor language and text direction
- Handles gzip content compression
- Sets look (e.g. theme, stylesheets)
- Specifies which input elements are valid
As TinyMCE is based on JavaScript this file does not directly do this but puts options into output of functions.
con_tiny.js
JavaScript that defines "Con.Tiny".
con_tiny.css
CSS to adjust look of tinyMCE.
Interfaces/Dependencies
Often "editor.php" is called
...