Task #1825

WYSIWYG-editor FCKeditor: buttons must be "registered"

Added by Daniel Brüßler 74 days ago.

Status:Accepted Start:2008-10-25
Priority:Should have Due date:
Assigned to:Daniel Brüßler % Done:

10%

Category:admin/ wiki.typo3.org Spent time: -
Target version:4.4CUR OOfficeMediawikiFORGE
Sprint:


Description

the config for this extra button does not work yet. is there somebody who can fix it? would be great!!

in file "extensions/FCKeditor/fckeditor_config.js":


// Setup the editor toolbar.

FCKConfig.ToolbarSets['Wiki'] = [

...
['T3_bug']
...

FCKConfig.EditorAreaStyles = '\

.FCK__T3_bug

.FCK__T3_bug \

{ \

    background-image: url(' + FCKConfig.PluginsPath + 'mediawiki/images/button_bug.png); \

    width: 23px; \

    height: 22px; \

} \

in file "extensions/FCKeditor/plugins/mediawiki/fckplugin.js":


// Register TYPO3 toolbar button - "bug" 
tbButton = new FCKToolbarButton( 'T3_bug', 'bug',  FCKLang.wikiBtnTemplate || 'Insert/Edit TYPO3 mantis bug') ;

tbButton.IconPath = FCKConfig.PluginsPath + 'mediawiki/images/button_bug.png' ;

FCKToolbarItems.RegisterItem( 'T3_bug', tbButton ) ;

Also available in: Atom PDF