Ueditor无法在IE中正常显示?

时间:2013-08-27 11:52:52

标签: javascript jquery html css internet-explorer

我的代码如下:

<script type="text/javascript">
    SyntaxHighlighter.all();
    var options = {
        toolbars: [
            ['fullscreen', 'source', '|', 'undo', 'redo', '|', 'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|', 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|', 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|', 'directionalityltr', 'directionalityrtl', 'indent', '|', 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|', 'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|', 'insertimage', 'emotion', 'scrawl', 'attachment', 'map', 'gmap', 'insertcode', 'pagebreak', '|', 'horizontal', 'date', 'time', 'spechars', 'wordimage', '|', 'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', '|', 'print', 'preview', 'searchreplace', 'help']
        ],
        lang: /^zh/.test(navigator.language || navigator.browserLanguage || navigator.userLanguage) ? 'zh-cn' : 'en',
        langPath: UEDITOR_HOME_URL + "lang/",

        webAppKey: "9HrmGf2ul4mlyK8ktO2Ziayd",
        initialFrameHeight: 420,
        focus: true,
        autoHeightEnabled: false
    };
    var ue = UE.getEditor('editor_solve', options);
</script>

<script type="text/javascript">
    SyntaxHighlighter.all();
    var ue = UE.getEditor('editor_code', options);
    var ue = UE.getEditor('editor_tran', options);
</script>

IE中的结果显示

enter image description here

最后一个ueditor显示正确,但第一个和第二个不能。 该问题仅存在于IE浏览器中。它适用于chrome和firefox。

谢谢,任何帮助Plz。

0 个答案:

没有答案