[opencms-dev] Adding a links toolbar to FCKEditor within XML Content
Ashok Hariharan
ashok.hariharan at gmail.com
Wed Apr 12 15:00:31 CEST 2006
Hi:
I was trying to figure out a way to add the insert/edit link buttons to the
FCK Editor toolbar when it appears as a HTML Widget within XML Content.
(It appears by default when creating a normal page).
I found that by adding a line to the file:
/system/workplace/editors/fckeditor/configwidget.js
the toolbar buttons appear within the XML Content widget, and it seems to
work fine...
the line I added is marked below:
<code>
toolbar.append(",'-','Outdent','Indent'");
//this is the line i added....
toolbar.append(",'-','oc-link','Link', 'Anchor','Unlink'");
toolbar.append("]");
</code>
Is this the right way to enable these buttons, or am I missing something?
thanks
Ashok
--
++++ Ashok Hariharan ++++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060412/3f547a8a/attachment.htm>
More information about the opencms-dev
mailing list