[rt-users] How to customize RT's FCKeditor?
Todd Chapman
todd at chaka.net
Mon Apr 5 19:41:08 EDT 2010
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();
}
}
More information about the rt-users
mailing list