Changes between Version 6 and Version 7 of CkEditorPlugin
- Timestamp:
- Nov 16, 2011, 8:06:47 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CkEditorPlugin
v6 v7 14 14 The plugin has 3 modes of integration, determined by the `[ckeditor] editor_type` option: 15 15 || `html_wrapper` || CKEditor with HTML output wrapped in html-processor || 16 || `full_integration` || CKEditor with TracWiki output (experimental, under development) || 16 || `full_integration` || CKEditor with TracWiki output ('''experimental''') || 17 || `only_ticket` || CKEditor with TracWiki output for ticket fields ('''experimental'''); ''leaves wiki editing as in Trac standard'' || 18 || `only_wiki` || CKEditor with TracWiki output for wiki pages ('''experimental'''); ''leaves ticket editing as in Trac standard'' || 17 19 || `none` || No integration - plain old textarea || 18 20 … … 60 62 }}} 61 63 64 65 == Configuration == 66 62 67 Enable it from the Plugins section of the Administration panel, or by adding the following to the `[components]` section of your `trac.ini`: 63 68 {{{ … … 67 72 }}} 68 73 69 The following options can be specified in the `[ckeditor]` section of your `trac.ini` (default values shown): 74 The following options can be specified in the `[ckeditor]` section of your `trac.ini`: 75 76 || '''option''' || '''description''' || '''possible values''' || 77 || code_styles || List of code styles, which should be processed by CKEditor and displayed in CKEditor dialog 'insert code'. || ''list of [http://pygments.org/ pygments-styles]'' || 78 || editor_type || Type of integrated editor || full_integration, only_ticket, only_wiki, html_wrapper, none || 79 || editor_source || Path to CKEditor 3.6.x javascript source. || ''valid path'' || 80 81 You can also type `[[TracIni(ckedior)]]` in any Wiki-Page to get a list of possible options and their descriptions; see also description in plugins-panel. 82 83 84 == Example == 85 86 Sample configuration (default values shown): 70 87 {{{ 71 88 #!ini 72 89 [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) 90 code_styles = cpp, csharp, java, js, python, sql, default, xml 91 editor_type = full_integration 92 editor_source = sites/js/ckeditor/ckeditor.js 75 93 }}} 76 77 == Example ==78 79 94 80 95 == Recent Changes ==