| 50 | == Installation == |
| 51 | Install the plugin: |
| 52 | {{{ |
| 53 | easy_install http://trac-hacks.org/svn/ckeditorplugin/trunk |
| 54 | }}} |
| 55 | |
| 56 | Get the CKEditor package and deploy it in a URL-accessible path, e.g. the `htdocs` directory of your Trac environmemt: |
| 57 | {{{ |
| 58 | $ mkdir /path/to/trac-env/htdocs/js |
| 59 | $ svn checkout http://svn.ckeditor.com/CKEditor/releases/stable /path/to/trac-env/htdocs/js/ckeditor |
| 60 | }}} |
| 61 | |
| 62 | Enable it from the Plugins section of the Administration panel, or by adding the following to the `[components]` section of your `trac.ini`: |
| 63 | {{{ |
| 64 | #!ini |
| 65 | [components] |
| 66 | ckintegration.* = enabled |
| 67 | }}} |
| 68 | |
| 69 | The following options can be specified in the `[ckeditor]` section of your `trac.ini` (default values shown): |
| 70 | {{{ |
| 71 | #!ini |
| 72 | [ckeditor] |
| 73 | editor_type = html_wrapper # mode of integration, as explained above |
| 74 | editor_source = sites/js/ckeditor/ckeditor.js # The URL where CKEditor was installed (the default matches the example above for deploying CKEditor) |
| 75 | }}} |
| 76 | |