Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with ckeditor
#1
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.
Reply
#2
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
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
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
Reply
#4
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
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
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.
Advanced HTML5 & CSS3 coder. Simple JS & PHP hacker (not enough for new function coding). Build one webpage with GS (late 2012). Focusing on Theme customizing/Template files. Experience with WP.
Reply




Users browsing this thread: 1 Guest(s)