Hi, Im using CKEDITOR and have encountered a problem with whitespace being trimmed. Here is the problem
THIS
<h1><?=$city;?> Team - Book Now</h1>
IS CHANGED TO THIS
<h1>
<?=$city;?>Team - Book Now</h1>
As you can see im echoing a PHP var here but ckeditor things <?=$city;?> is the start of a tag hence it is removing the whitespace before Team
I've searched for hours and tried various suggestions but none work. I am using jquery to call ckeditor so if you have a solution, jquery would be best way to provide it
THANK YOU!
THIS
<h1><?=$city;?> Team - Book Now</h1>
IS CHANGED TO THIS
<h1>
<?=$city;?>Team - Book Now</h1>
As you can see im echoing a PHP var here but ckeditor things <?=$city;?> is the start of a tag hence it is removing the whitespace before Team
I've searched for hours and tried various suggestions but none work. I am using jquery to call ckeditor so if you have a solution, jquery would be best way to provide it
THANK YOU!
Re: white space trimmed
Have you tried using a instead of the space character?
Re: white space trimmed
Hi, yes that does work but I'm more concerned that clients who dont have the knowledge will still have the issue.
I'd much prefer for ckeditor to just leave the source alone and not try to auto correct things.
Is there a way to do this, mainly for whitespace?
Re: white space trimmed
Hey, I just noticed this is posted in the CKFinder forum - I suggest you re-post into the CKEditor forums, where there is more chance someone will recognise the issue.