Problem with CKEditor changing my " marks to "e;
For example, I'm using Lightbox Plus which adds in code (in to my Wordpress site) to call some things, and the code should look like this:
[caption id="attachment_53"
But instead, CKEditor is making it into:
[caption id="attachment_53" (notice the & quote ; in place of the " mark)
and .. then it doesn't work and display properly.
How can I turn this re-writing feature OFF in CKEditor so it will just leave it alone and not re-write the code?
Gary
For example, I'm using Lightbox Plus which adds in code (in to my Wordpress site) to call some things, and the code should look like this:
[caption id="attachment_53"
But instead, CKEditor is making it into:
[caption id="attachment_53" (notice the & quote ; in place of the " mark)
and .. then it doesn't work and display properly.
How can I turn this re-writing feature OFF in CKEditor so it will just leave it alone and not re-write the code?
Gary

Re: Problem with CKEditor changing my " marks to &quote
Re: Problem with CKEditor changing my " marks to &quote
I'm presuming that something in CKEditor just isn't working properly.
And since PHP on Windows is normally not an issue at all, I'm just hoping someone might be able to find out what the problem is and correct it for use on Windows.
I really like the editor, but can't use it .. if it re-writes my code.
Gary
Re: Problem with CKEditor changing my " marks to &quote
http://dev.ckeditor.com/ticket/6645
Re: Problem with CKEditor changing my " marks to &quote
http://dev.ckeditor.com/attachment/tick
Re: Problem with CKEditor changing my " marks to &quote
A hotfix new release would be great as this is really a regression...
Re: Problem with CKEditor changing my " marks to &quote
And about this deserving a hotfix release, what was the previous version were it worked correctly?
It's important to know that because the proposed patch might be wrong.
Re: Problem with CKEditor changing my " marks to &quote
Re: Problem with CKEditor changing my " marks to &quote
Re: Problem with CKEditor changing my " marks to &quote
Re: Problem with CKEditor changing my " marks to &quote
Re: Problem with CKEditor changing my " marks to &quote
To avoid CKEditor changing my special chars I've written a script :
When switching in source view :
CKEDITOR.instances.TEXT.on( 'mode', function(ev) { if ( ev.editor.mode == 'source' ) { var str=ev.editor.getData(); str=str.replace(/&/g, "&").replace(/>/g, ">").replace(/</g, "<").replace(/"/g, "\""); ev.editor.textarea.setValue(str); } });When save edited document :
HTH
Re: Problem with CKEditor changing my " marks to &quote
Re: Problem with CKEditor changing my " marks to &quote
Re: Problem with CKEditor changing my " marks to &quote
What do you think?
Gary
Re: Problem with CKEditor changing my " marks to &quote
I looked into the patch meant above, I luckily understand it. Some changes in plugins.js may solve my problem. But is it completely sufficient to do it in _source/plugins/entities/plugin.js only?
Thank you for answer.
Re: Problem with CKEditor changing my " marks to &quote
Thanks that sounds good but I have no idea where to put that? Is it in two different files?? Will it affect my website in any bad way?
Re: Problem with CKEditor changing my " marks to &quote
http://docs.cksource.com/ckeditor_api/s ... onfig.html
Re: Problem with CKEditor changing my " marks to &quote