Class cTinyMCE4Editor
The object cTinyMCE4Editor is a wrapper class to the TinyMCE WYSIWYG Editor.
Attributes can be defined to generate JavaScript options and functions to initialise the global tinymce object in file ./contenido/external/wysiwyg/tinymce4/contenido/templates/template.tinymce_tpl.html.
All settings accepted by tinyMCE and its plugins may be specified using system, client, group or user property/setting.
The following parameters will be always set on initialization (even, if they have been specified as property. They can be set using setSetting later on, if needed):
- document_base_url
- cleanup_callback (-> XHTML)
- file_browser_callback
- external_link_list_url
- external_image_list_url
The following settings are only used in CONTENIDO:
- contenido_toolbar_mode: full, simple, mini, custom
- contenido_lists: link,image
- contenido_height_html
- contenido_height_head
See backend.customizing.html for details
- cWYSIWYGEditor
- cTinyMCE4Editor
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Thomas Stauer
Located at external/wysiwyg/tinymce4/contenido/classes/class.tinymce4.editor.php
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
private
|
#
setGZIPMode( string $bEnabled = true )
Set if editor should be loaded using tinymce4's gzip compression |
public
boolean
|
|
public
|
#
setToolbar( string $cmsType, string $mode = "" )
For compatibility also accepts "tinymce-toolbar-mode", "tinymce-toolbar1-3" and "tinymce4-plugins". |
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
string
|
|
public
|
#
setSetting( string $type, string $key, string $value, boolean $forceSetting = false )
Sets given setting if setting was not yet defined. Overwriting defined setting can be achieved with $bForceSetting = true. |
protected
|
|
public
string
|
|
public
array
|
|
public
string
|
|
public
string
|
|
public static
array
|
_getEditorPath(),
_setEditor(),
_setEditorContent(),
_setEditorName(),
getCurrentWysiwygEditorName()
|
private
string
|
$_baseURL |
|
#
Stores base url of page |
private
boolean
|
$_useGZIP | false |
#
Stores, if GZIP compression will be used |
private
array
|
$_cmsTypes | array() |
#
Shortcut to content types tinymce is mapped to |
protected static
string
|
$_configPrefix | '[\'wysiwyg\'][\'tinymce4\']' |
#
Access key under which the wysiwyg editor settings will be stored |
$_aSettings,
$_sEditor,
$_sEditorContent,
$_sEditorName,
$_sPath
|