hello,
I have a very strange problem:
after I press a button on the toolbar , ckeditor inserts '?' (question mark)
does anyone know how to handle this issue?
source code:
thanks alot,
Yonatan.
I have a very strange problem:
after I press a button on the toolbar , ckeditor inserts '?' (question mark)
does anyone know how to handle this issue?
source code:
<p> <strong>?bold text </strong>?canceled bold text <u>?underline</u>?canceled underline</p>
thanks alot,
Yonatan.
Re: Question Mark after pressing a button on toolbar
Very strange indeed. Any information about your CKEditor version, integration method, backend that you are using? Can you reproduce the same issue when you run the CKEditor samples from the "_samples" folder? Which toolbar button gives you this effect? Have you modified the plugin that creates this button in any way?
EDIT: This issue is caused by CKEditor being served in some poor encoding. Your servers must use UTF-8 at least for ckeditor.js.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Question Mark after pressing a button on toolbar
thank you very much for replying
I am using the latest version.
I copied the contents of ckeditor.js and jquery adapter to a file called admin.js (in the right order) and then on a file that called script.js, I initialized the editor: $('textarea').ckeditor()
the questiom mark appears after almost every button, I haven't edited any button.
this is my config file:
Re: Question Mark after pressing a button on toolbar
If this is the case, I am afraid you've got some debugging to do as it is quite clear that it's your customizations that created the mess Good luck with that and do post your solution to the problem once you find it!
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Question Mark after pressing a button on toolbar
I have the same problem. Did
I have the same problem. Did you find the solution?
I have the same problem.
I am getting ? inserted in text when pressing return key or inserting images in chrome and safari. Not in IE or Firefox.
I am using version 4.1 and was able to recreate using the CKEditor inline sample under chrome.
../ckeditor/samples/inlineall.html
Attachments:
Chrome inserting ?-marks in text
I checked the CKEditor website inline demo and it doesn't have this problem. So I downloaded and installed version 4.2 on my dev. laptop and my server. They both still get the ?-mark inserted into text when press thr return key or any toolbar keys.
What could be the difference in CKEditor website install and mine?
HELP!
Chrome inserting ?-marks in text
Never mind, it now works!
I have this problem. How do
I have this problem. How do you solved it?
Chrome inserting ?-marks in text
Months ago I had applied the following fix so that the "Rich Text Editor, editor#" hover title would not display.
By removing the fix, Chrome stop inserting ?-marks.
The fix was: In ckeditor.js search for the string: a.changeAttr("title",d), then set it to an empty string: a.changeAttr("title",'');
Hope this helps.
Thanks, but is don't solve
Thanks, but is don't solve this problem.
Crome inserting Other Characters
Are you getting ?-marks or other characters?
I'm no longer have the ?-mark issue with version 4.2, but now when I press the Enter key these characters are inserted: ​
You don't see them in the editor, but if you email the contents of the editor, they show up in the email.
Sure seems like a bug!
Question mark issue for ckeditor 3.6.2 - solved
Hi
I was having same issue with ckeditor. I have fixed issue by replacing special character with empty string.
How I solved the issue is as follow:
1. I beautified the ckeditor minified file using jsbeautifier.org
2. after beautified file, I found the function where hrml is parsed. Below is the function. (search for "htmlParser.text.prototype" in your file)
a.htmlParser.text.prototype = {
type: 3,
writeHtml: function(l, m) {
var n = this.value;
if (m && !(n = m.onText(n, this))) return;
l.text(n);
}
};
3. I have replaced the line from above function
var n = this.value;
with
var n = this.value.replace(/[^(\x20-\x7F)]*/g, '');
This line replaces the special character with empty. This solved my issue.
Hope this save somebodies time.
Note: To keep file miinified, search for the exact code without beatifying file and add your code.
This might work on other versions too.
Thanks all
All the issues described in
All the issues described in this thread are caused by your servers using incorrect encoding. CKEditor must be served in UTF-8.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+