[英]CKEditor appears gray in internet explorer
I visited a lot of websites to find a solution. 我访问了许多网站以找到解决方案。
My editor works in almost every browser except internet explorer. 我的编辑器可在除Internet Explorer之外的几乎所有浏览器中使用。 In internet explorer the space(textarea) to change the content isnt showing up, the rest of the editor is visible.
在Internet Explorer中,用于更改内容的空间(文本区域)未显示,其余的编辑器可见。 Does anyone knows a solution?
有谁知道解决方案? I didn't find it on the internet.
我没有在互联网上找到它。
Updating the editor maybe is a solution, but it took me a while to configure it together with ckfinder, so I'm afraid that it ckfinder isn't working after an update. 更新编辑器也许是一个解决方案,但是我花了一些时间才能与ckfinder一起配置它,因此,恐怕ckfinder在更新后无法正常工作。
The editor worked a few months ago, but I didn't work on the website for a few months. 该编辑器是几个月前工作的,但几个月后我才在该网站上工作。
<textarea id="textarea" name='text' class='editor'></textarea>
To show my editor. 为了展示我的编辑。
<script>
$(document).ready(function(){
$('textarea.editor').ckeditor(
function() {
/* callback code */
},
{
language : 'nl',
uiColor : '#e9eaee',
toolbarStartupExpanded : false,
toolbar :
[
{ name: 'tools', items : [ 'Maximize', 'ShowBlocks', 'Source'] },{ name: 'document', items : ['DocProps','Preview','Print','-','Templates' ] },
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
'/',
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
'/',
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
{ name: 'insert', items : [ 'Image','Table','HorizontalRule','Smiley','SpecialChar' ] }
],
height: '225',
extraPlugins : 'tableresize'
} );
});
</script>
尝试禁用您的加载项,如果问题已解决,请逐个启用加载项以找到导致问题的加载项。
Based on the comments on the previous answer, the problem is with IE10, right? 根据对先前答案的评论,问题出在IE10上,对吗? Sounds like a version issue.
听起来像是版本问题。 IE10 is not supported for CKFinder 2.2.2, so you could try updating CKF.
CKFinder 2.2.2不支持IE10,因此您可以尝试更新CKF。
It would help if you include the CKFinder, CKEditor and Browser versions in the question :). 如果在问题中包括CKFinder,CKEditor和Browser版本,这将有所帮助。
It could be a config or general JS issue too - do you have a JSfiddle or other link we could check out? 它也可能是配置问题或一般的JS问题-您是否有JSfiddle或其他我们可以签出的链接? Also, have you checked what the Developer tools for IE10 reports, there could very well be informative errors there.
另外,您是否检查了IE10报表的开发人员工具,那里很有可能会提供有用的错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.