[rt-users] How to customize RT's FCKeditor?
Robert Grasso
robert.grasso+nv at cedrat.com
Tue Apr 6 04:56:13 EDT 2010
Hello,
I changed values here :
/opt/rt3/share/html/NoAuth/RichText/FCKeditor/fckconfig.js
I guess I found some doc here
FCKeditor 2.x/Developers Guide - CKSource Docs
http://docs.cksource.com/FCKeditor_2.x/Developers_Guide
Best regards
---
Robert GRASSO System engineer
CEDRAT S.A.
15 Chemin de Malacher - Inovallée - 38246 MEYLAN cedex - FRANCE
Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30
mailto:robert.grasso at cedrat.com - http://www.cedrat.com
> -----Message d'origine-----
> De : rt-users-bounces at lists.bestpractical.com
> [mailto:rt-users-bounces at lists.bestpractical.com] De la part
> de Todd Chapman
> Envoyé : 6 avril 2010 01:41
> À : rt-users
> Objet : [rt-users] How to customize RT's FCKeditor?
>
> Anyone know how to customize the FCKeditor instances in RT? I would
> like to expose the editor controls be default.
>
> I tried this but it doesn't pick up the config file:
>
> $ git diff share/html/Elements/HeaderJavascript
> diff --git a/share/html/Elements/HeaderJavascript
> b/share/html/Elements/HeaderJavascript
> index 6ee88a1..bf12104 100644
> --- a/share/html/Elements/HeaderJavascript
> +++ b/share/html/Elements/HeaderJavascript
> @@ -113,6 +113,7 @@ $onload => undef
>
> var oFCKeditor = new FCKeditor( textArea.name,
> '100%', <% RT->Config->Get('MessageBoxRichTextHeight') %> );
> oFCKeditor.BasePath =
> "<%RT->Config->Get('WebPath')%>/NoAuth/RichText/";
> + oFCKeditor.Config["CustomConfigurationsPath"] =
> "/NoAuth/js/myconfig.js";
> oFCKeditor.ReplaceTextarea();
> }
> }
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
More information about the rt-users
mailing list