I made a web page with ckeditor4 as editor. There is a error when i visit the page in IE7. In this case, the ckeditor4 can not be displayed. wnen i used the IE8 ,the ckeditor4 can be displayed.
The error info with IE7 as follow:
user agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.3; .NET
CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; CIBA)
timestamp: Sat, 11 May 2013 15:40:39 UTC
message: 'lang.contextmenu.options' is null or not an object
URI: http://127.0.0.1:8080/lvhu/editor/ckeditor/ckeditor.js
Who can tell me how to resolved the problem?
Can you reproduce the same
Can you reproduce the same error on our demo page? If not, this must be an issue with your editor customization/ configuration.
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!
CK EDITOR contextMenu not working in chrome/mac safari
I am working on CKEDITOR 4.0. Added custom Item in ContextMenu. But I not getting element in it.
It working fine in IE, Firefox But not working in Chrome/Safari.
In Chrome/Safari I am getting null element.
I am using following code to get element.
Here I am getting element As null.
Full code
I have visit the demo page
I have visit the demo page.but the editor can be displayed in the IE7.I don't know why?
My config about ckeditor4 as follow:
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
config.defaultLanguage = 'zh-cn';
// config.language = 'fr';
config.uiColor = '#AADC6E';
config.font_names='宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;微软雅黑/微软雅黑;'+ config.font_names;
config.font_defaultLabel = '宋体';
config.disableNativeSpellChecker = false;
config.skin = 'kama';
config.toolbar = 'MyToolBar';
config.toolbar_MyToolBar = [
['Preview','Cut','Copy','Paste','PasteText','PasteFromWord','-','source','scaytcheck','blur'],
['Find','Replace','-','SelectAll','RemoveFormat'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Image','Flash','Table','tableProperties','tableDelete','HorizontalRule','Smiley','SpecialChar','Link','Unlink'],
'/',
['Styles','Format','Font','FontSize','TextColor','BGColor','colordialog','creatediv','editdiv','removediv','toolbarCollapse']
];
};
In my web page ,i include the ckeditor js file as follow:
<script type="text/javascript" src="editor/ckeditor/ckeditor.js"></script>
Then I put a textarea in html as follow:
<textarea style="border:solid 1px #ccc; width:650px; height:150px;" name="context" id="context"></textarea>
At the end of the page,i replace the textarea as follow:
<script type="text/javascript">
var ckeditor=CKEDITOR.replace('context', {
filebrowserImageUploadUrl : 'topicImageUploadServlet',
width:'812',
startupFocus:false
});
</script>
This is all i have done.I don't know why the error happen?