aboutsummaryrefslogtreecommitdiff
path: root/mod/ckeditor/README.md
blob: 98bd5e331c4b9ad1e3fc775defab6324683c9364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CKEditor WYSIWYG plugin
========================

Configuration options
----------------------
CKEditor configuration is set in the view js/ckeditor. The configuration object
is elgg.ckeditor.config. A plugin can modify the configuration object by registering
a function to run before the ckeditor.init function on the 'init', 'system' hook.
This is where toolbar options and the skin are set.

Content CSS
------------
The content CSS is stored in the view css/wysiwyg. This view is extended by the
css/elements/reset and css/elements/typography views so that content appears the
same when editing and viewing. It also contains all the CSS applied to the 
elgg-output class for the same reason (see the typography view).

Hints
------------
 * If your theme does not use borders with tables, enable the CKEditor showborders plugin.