Hi Theo and Stéphane,
Stéphane's solution seems far fetched for Theo's simple need.
Theo: you're on the right track, but the config happens in your
dialog, not in the control. Check config/modules/samples/dialogs/
samples-editor/tabContent/content for an example. (which you can see
working with "One column sample page" and "Editor" paragraph)
HTH,
greg
On Feb 14, 2007, at 17:15 , Gauthier, Stephane (CH) wrote:
Hi,
You must create a folder under WEB-INF/classes called 'mgnl-
resources' then add a nodeData to your Text field node called
'jsConfigFile' set it to something like: '/.resources/
fckeditorcustomconfig.js' where you could define new rules for your
fck editor add anodeData called 'jsInitFile' the set it to
something like: '/.resources/custominitfile.js' where you tell
fckeditor to using 'fckeditorcustomconfig'.
Here you could find the available settings for the
fckeditorcustomconfig.js http://wiki.fckeditor.net/Developer%
27s_Guide/Configuration/Configurations_Settings
Hope this help!
Cheers
Stéphane Gauthier
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 14, 2007 5:03 PM
To: [email protected]
Subject: [magnolia-user] Overriding FCKeditor defaults in Magnolia
3.0+
In Magnolia 2.1, the option to view source was available by default. I
want to enable view source in the fckeditor toolbar under Magnolia
3.0.1. How do I go about doing this? I tried added a Boolean node
under
modules/adminInterface/controls/fckEdit named 'source' and set it to
true but that didn't work. I see there is a flag I set, I just don't
know where to set it. Any help would be appreciated!
Thanks in advance.
Theo
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
**********************************************************************
**************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error, please notify the system
manager ([EMAIL PROTECTED]) and delete the message with any
attached files from your system.
The confidentiality and integrity of this message cannot be
guaranteed on the Internet and the sender does not accept liability
for its content.
**********************************************************************
*************
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------