Hello gals/guys,
I am trying to use a custom configuration file instead of the default config.js file in the ckeditor root.
I have placed a renamed copy of the config.js file in my webroot and call it with customConfig.
It is not working for me though. Is my syntax creating any issues?
I used the dev docs site as a ref:
http://docs.cksource.com/CKEditor_3.x/D ... igurations
Any ides or comments will really help me out. Im stuck.
Thanks!!
nano
135 <html>
136 <head>
137 <script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
138 </head>
139 <body>
140 <form method="post">
141 <p>
142 <textarea name="ticket_text"><p></p></textarea>
143 <script type="text/javascript">
144 CKEDITOR.replace( 'ticket_text' );
145 CKEDITOR.replace( 'ticket_text1',
146 {
147 customConfig : '/ckeditor/custom_config.js'
148 });
149 </script>
150 </p>
151 <tr>
152
153 <td></td>
154
155 <td align="right">
156
157 <input type="hidden" value="add" name="action">
158
159 <input type="submit" value=" Add Ticket ">
160
161 </td>
162
163 </tr>
164 </form>
165 </body>
166 </html>
Fri, 05/28/2010 - 08:42
#1
Re: Custom configuration file custom_config.js not working?
Re: Custom configuration file custom_config.js not working?
The official documentation is what I am going on. I followed the instructions. I will re-check.
thanks
Re: Custom configuration file custom_config.js not working?
Re: Custom configuration file custom_config.js not working?
Thanks for bringing that up alfonsoml !
Is it possible to hardcode the text color and text background? So when I save the data to my SQL db
it will pull the text as black and the text highlighted background as light blue.
I have been editing my custom_config.js file for this.