Hello,
Now i am using ck editor for website.. I am facing problem.. In between paragraph i am getting QUESTION MARK (?)...
If any one help me to fix this issue
Regards,
PHP
Now i am using ck editor for website.. I am facing problem.. In between paragraph i am getting QUESTION MARK (?)...
If any one help me to fix this issue
Regards,
PHP
Re: Question Mark Issue
Hey PHP, make sure to provide some sample HTML code to be able to reproduce your issue inside of CKEditor.
Also let us know what browser are you using etc.
And most of all, if you think that it is a bug, report it here: http://dev.ckeditor.com/
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Question Mark Issue
Hello,
Now i am using ck editor for website.. I am facing problem.. In between paragraph i am getting QUESTION MARK (?)...
If any one help me to fix this issue
Regards,
sample :
<textarea name="signup_email" id="signup_email"><?php echo $signup_email;?></textarea>
var editor = CKEDITOR.replace( 'signup_email' );
Question mark issue for ckeditor 3.6.2
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.
Thanks all