$RCSfile$ ---------------------------------------------------------------------- ---------------------------------------------------------------------- HOWTO INTEGRATE OR UPGRADE THE TinyMCE WYSIWYG EDITOR IN CONTENIDO ---------------------------------------------------------------------- ---------------------------------------------------------------------- $Id$ - Download the latest TinyMCE release from http://tinymce.moxiecode.com/download.php The basic structure is tinymce/ |-- docs |-- examples `-- jscripts - Replace directory jscripts/ of the new release with directory /contenido/external/wysiwyg/tinymce3/jscripts/ - Replace file jscripts/changelog with /contenido/external/wysiwyg/tinymce3/jscripts/changelog - Replace file jscripts/readme with /contenido/external/wysiwyg/tinymce3/jscripts/readme - Because language packs are no longer included with the core distribution download language packs from http://tinymce.moxiecode.com/download.php - Copy the language packs into directory /contenido/external/wysiwyg/tinymce3/jscripts/ - Inherit the changes in file ./contenido/external/wysiwyg/tinymce3/jscripts/tiny_mce/plugins/advlink/js/advlink.js (see below) ---------------------------------------------------------------------- ---------------------------------------------------------------------- CONTENIDO MODIFICATIONS OF THE TinyMCE WYSIWYG EDITOR ---------------------------------------------------------------------- ---------------------------------------------------------------------- - The plugin advlink has been modified. Function getAnchorListHTML in file ./contenido/external/wysiwyg/tinymce3/jscripts/tiny_mce/plugins/advlink/js/advlink.js hase been changed. The anchor value has now the form front_content.php?idart=112#anchor_name instead of #anchor_name. Note, that for V3.x it is in js/advlink.js, instead of jscripts/functions.js! function getAnchorListHTML(id, target) { var inst = tinyMCEPopup.editor; var nodes = inst.dom.select('a.mceItemAnchor,img.mceItemAnchor'), name, i; var html = ""; html += ''; return html; }