Hmmm, looks like its in DialogFckEdit.class .... time to delve into cvs to see what's going on in the source code .... :-)
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: 12 July 2007 13:21 To: [email protected] Subject: [magnolia-user] Configuring the fckEditor Hi, I'm new to Magnolia (3.0.2), so please bear with me :-) I'm trying to configure the fckEditor to have extra features on the toolbar. I've found a couple of postings in this list that describe editing the file \mgnl-resources\fckeditor\custom\config\magnoliaStandard.js within the file magnolia-editor-fckeditor-3.0.2.jar I've done this, and its working; but it seems like a nasty hack ! For example, I wanted to enable the paragraph justification buttons so I commented out the if block like this: //if (MgnlFCKConfig.alignment) { toolbar[0].push('-'); toolbar[0].push('JustifyLeft'); toolbar[0].push('JustifyCenter'); toolbar[0].push('JustifyRight'); toolbar[0].push('JustifyFull'); //} Whilst this works, it seems wrong ! Surely it would be better to set the MgnlFCKConfig.alignment variable to true; and not have to edit the magnoliaStandard.js file at all? I can see where the MgnlFCKConfig object and its properties are being set at runtime by viewing the source of the fckEditor page. But I cant find the file itself in order to edit the MgnlFCKConfig properties Has anyone managed to find our where these are being set ? Thanks in advance Nathan ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
