This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
how_to:editor_configuration_more_options [2011/11/26 10:41] Connie [Editor Skin] |
how_to:editor_configuration_more_options [2011/11/29 10:28] Connie [SpellCheck] |
||
---|---|---|---|
Line 26: | Line 26: | ||
This example shows the //advanced toolbar// + the skin //v2//. | This example shows the //advanced toolbar// + the skin //v2//. | ||
- CKeditor comes with three skins: //kama//, //office2003// and //v2//. GetSimple does not use these, but uses it's own skin, //getsimple// | - CKeditor comes with three skins: //kama//, //office2003// and //v2//. GetSimple does not use these, but uses it's own skin, //getsimple// | ||
- | - If you haven't done yet, download CKEditor from [[http://ckeditor.com/download]] and unpack it to your local harddisk. Open the directory //ckeditor/skins// and upload the skin which you want to use to your GetSimple-directory at the server: //your_getsimple_installation/admin/template/js/ckeditor/skins// | + | - If you haven't done yet, download CKEditor from [[http://ckeditor.com/download]] and unpack it to your local harddisk.\\ Open the directory //ckeditor/skins// and upload the skin which you want to use to your GetSimple-directory at the server: //your_getsimple_installation/admin/template/js/ckeditor/skins// |
- edit the configuration, //gsconfig.php// and re-upload it to your server. | - edit the configuration, //gsconfig.php// and re-upload it to your server. | ||
Line 36: | Line 36: | ||
===== Enter Mode: Paragraph or LineBreak? ===== | ===== Enter Mode: Paragraph or LineBreak? ===== | ||
- | You can define the behaviour of the ENTER KEY. The CKEditor-documentation explains: //Sets the behavior for the ENTER key. It also dictates other behaviour rules in the editor, like whether the <br> element is to be used as a paragraph separator when indenting text.// | + | You can define the behaviour of the ENTER KEY. |
+ | |||
+ | The CKEditor-documentation explains: //Sets the behavior for the ENTER key. It also dictates other behaviour rules in the editor, like whether the <br> element is to be used as a paragraph separator when indenting text.// | ||
You can define the behaviour for the ENTER Key and the SHIFT-ENTER Key. | You can define the behaviour for the ENTER Key and the SHIFT-ENTER Key. | ||
Line 42: | Line 44: | ||
- BR: lines are broken with <br> elements | - BR: lines are broken with <br> elements | ||
- DIV: new <div> blocks are created | - DIV: new <div> blocks are created | ||
+ | |||
Edit your //gsconfig.php// and re-upload it to the server. | Edit your //gsconfig.php// and re-upload it to the server. | ||
define('GSEDITOROPTIONS',"skin : 'v2', | define('GSEDITOROPTIONS',"skin : 'v2', | ||
Line 189: | Line 192: | ||
scayt_sLang:'de_DE' | scayt_sLang:'de_DE' | ||
"); | "); | ||
+ | | ||
+ | **Attention:** | ||
+ | |||
+ | There is a bug in CKEditor SpellChecker's plugin which you should be aware of: | ||
+ | |||
+ | if spellchecker is enabled and **the cursor is placed in a list** (whether unordered or ordered list), do not switch to SourceCode mode! | ||
+ | When switching back your list will be "destroyed" because the spellchecker plugin adds superfluous list-elements to the source code | ||
+ | |||
+ | It's tested with the newest CKEditor version (3.6.2), the bug is still there | ||
+ | this is no GetSimple bug, so we have to wait until that bug is fixed in CKEditor | ||
---- | ---- |