GetSimple Support Forum

Full Version: Problem with ckeditor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,
I'm having a weird problem with the built in WYSIWYG editor. Whenever I put a space in a header, the header is split in two when the page is saved, for example:

<h1>Local Links</h1>

Becomes:

<h1>Local</h1>
<h1>
&nbsp;</h1>
<h1>Links</h1>


I am not using a custom style sheet for the editor. Any help/advice would be greatly appreciated.
Daniel,

I must say, I never encountered this behaviour.

which browser?
which version of GS are you using?
what is defined for the editor in gsconfig.php
do you use a custom definition file?

Cheers, Connie

please tell us the part of the gsconfig.php and the result of the server health check
Hi Connie,

EDIT: I have removed the editor custom configuration file and it has fixed the issue...so the problem lies with either the configuration file (which I copied from the GetSimple wiki) or with the additional plugins. Hmm...

SECOND EDIT: Deleting this fixed the problem:
scayt_autoStartup : true,
scayt_sLang : 'en_US',

I have tried Mozilla Firefox and Google Chrome browsers and get the same problem. I am using GetSimple 3.1. I am not using a custom css for editor, but I am using a custom configuration (config.js), and I have added some additional plugins (spellcheck, google maps and qrcodes). I have put this in my gsconfig. php:

# WYSIWYG Editor Options
define('GSEDITOROPTIONS',"
entities : false,
scayt_autoStartup : true,
scayt_sLang : 'en_US',
customConfig : '../../../../theme/My_Theme/js/config.js'
");


The results of the server health check came back okay for everything. I have tried reinstalling GetSimple and this problem persists. I never had this problem with GetSimple 3.0 with the same settings.

It's a puzzle Tongue

Thanks for your help
I found this also, I think its a bug with scayt and entermode enter_br.
Scayt inserts code to show the mispelled words and this looping must breaks these headings.


http://wiki.webspellchecker.net/doku.php?id=knownissues
SCAYT Core/plugin. SCAYT causes formatting issues in CKEditor with enterMode = CKEDITOR.ENTER_BR
This problem is discussed also here: http://get-simple.info/forum/topic/3621/...dlinetags/
AFAIK the following code or better tag to the heading is crucial to the behaviour.

Hope in a future GS version it will be fixed.