[TYPO3-dev] tinymce_rte is now beta
Tapio Markula
tapio.markula at xetpoint.fi
Thu Nov 6 12:37:38 CET 2008
Tapio Markula kirjoitti:
> Dmitry Dulepov kirjoitti:
>> Hi!
>>
>> Tapio Markula wrote:
>>> that is not so simple because tinyMCE needs some additional JS code.
>>
>> They can ask for hooks. 4.3 is not out yet, so they have all chances
>> to get this hook into 4.3
>>
>
> But tinymce_rte should work also with older versions too - just core
> plugins don't need to care about older versions.
> Older needs at least conditional XCLASSes like the plugin linkhandler
> has for Typo3 4.0 and 4.1 braches
I compared typo3/class.browse_links.php, typo3/browse_links.php and
browser_links.php in tinymce_rte
I used now extending class browse_links
Needs following changes:
* function init
needs add some JS - easy to add
parent::init()
+ then additional JS
* function main
- must rewrite because needs hook code for Typo3 4.1 branch
* funticon main_rte()
- must rewrite because of need tabbed menu code:
$content .= $this->getTabMenuRaw($menuDef);
*function main_db(),function main_file() and function main_folder()
- must rewrite because the HTML structure is different (Wrapper table
for page tree / record list:)
* function printCurrentUrl
- must rewrite because the HTML structure is different
Must check, if core function is usable (following function might not
need to rewrite)
function TBE_expandPage
function expandFolder
function fileList
function TBE_dragNDrop
function parseCurUrl
function uploadForm
In overall it is *impossible* to use the core files! extending and then
changing is absolute necessary.
More information about the TYPO3-dev
mailing list