Changes between Version 13 and Version 14 of CkEditorPlugin
- Timestamp:
- May 15, 2015, 3:24:55 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CkEditorPlugin
v13 v14 26 26 27 27 Disclaimer: 28 - Does not co-exist with TracWysiwygPlugin , have only one of them enabled.28 - Does not co-exist with TracWysiwygPlugin: ensure that only one of them is enabled if both are present in your environment. 29 29 - When using the `html_wrapper` mode and editing an existing wiki page, the page will be rendered in HTML upon save (macros are lost, etc.) 30 30 … … 50 50 51 51 Install the plugin: 52 {{{ 53 #!sh 52 {{{#!sh 54 53 easy_install http://trac-hacks.org/svn/ckeditorplugin/trunk 55 54 }}} 56 55 57 56 Get the CKEditor package and deploy it in a URL-accessible path, e.g. the `htdocs` directory of your Trac environmemt: 58 {{{ 59 #!sh 57 {{{#!sh 60 58 mkdir /path/to/trac-env/htdocs/js 61 59 svn checkout http://svn.ckeditor.com/CKEditor/releases/stable /path/to/trac-env/htdocs/js/ckeditor 62 60 }}} 63 61 64 Enable it from the Plugins section of the Administration panel, or by adding the following to the `[components]` section of your `trac.ini`: 65 {{{ 66 #!ini 62 Enable it from the Plugins section of the Administration panel, or by adding the following to the `[components]` section of your `trac.ini` file: 63 {{{#!ini 67 64 [components] 68 65 ckintegration.* = enabled 69 66 }}} 70 67 71 == =Configuration68 == Configuration 72 69 73 The following options can be specified in the `[ckeditor]` section of your `trac.ini` :70 The following options can be specified in the `[ckeditor]` section of your `trac.ini` file: 74 71 75 72 '''code_styles''' … … 92 89 ''default value:'' `site/js/ckeditor/ckeditor.js` 93 90 94 You can also type `[[TracIni(ckedi or)]]` in any Wiki-Page to get a list of possible options and their descriptions; see also description in plugins-panel.91 You can also type `[[TracIni(ckeditor)]]` in any Wiki-Page to get a list of possible options and their descriptions. See also description in plugins-panel. 95 92 96 == Example ==93 == Example 97 94 98 95 Sample configuration of a `trac.ini` file (default values shown): 99 {{{ 100 #!ini 96 {{{#!ini 101 97 [ckeditor] 102 98 code_styles = cpp, csharp, java, js, python, sql, default, xml … … 107 103 == Known Issues / Limitations 108 104 109 - marker and text color is not working in headers (see [http://groups.google.com/group/trac-dev/browse_thread/thread/a6d12d574c3544ca Google-Groups])110 - when inserting an image, only full path to image is working111 - when entering a link manually, it is printed with an exclemation mark, see #9562105 - Marker and text color is not working in headers (see [http://groups.google.com/group/trac-dev/browse_thread/thread/a6d12d574c3544ca Google-Groups]) 106 - When inserting an image, only full path to image is working 107 - When entering a link manually, it is printed with an exclemation mark, see #9562 112 108 - Escaping of CamelCase words is only working the first time, see #9563 113 - copying lists from MS Word (tested with Word 2003) is not always working completely (in some browsers it the deep intention is lost)109 - Copying lists from MS Word (tested with Word 2003) is not always working completely (in some browsers it the deep intention is lost). 114 110 115 111 == To do