Javascript 微型MCE编辑器显示屏不显示';我不在IE9工作

Javascript 微型MCE编辑器显示屏不显示';我不在IE9工作,javascript,asp.net,internet-explorer,tinymce,Javascript,Asp.net,Internet Explorer,Tinymce,当我在tiny mce editor中更改字体大小或字体样式并点击save and view my page时,它会在表单上显示正确的字体大小和样式。 当我再次打开编辑器时,编辑器不会显示正确的字体大小或样式。 (仅限IE9版本)。IE9不显示以前选择和保存的fone的样式和大小。firefox正确地显示了它 HTML 你能给我看看你的编辑器内容各自的html吗(使用代码插件!)?我没有要求tinymce版本,但你的编辑器内容html代码!我在图片上方添加了html代码。如果你还需要什么,请告诉

当我在tiny mce editor中更改字体大小或字体样式并点击save and view my page时,它会在表单上显示正确的字体大小和样式。
当我再次打开编辑器时,编辑器不会显示正确的字体大小或样式。 (仅限IE9版本)。IE9不显示以前选择和保存的fone的样式和大小。firefox正确地显示了它

HTML


你能给我看看你的编辑器内容各自的html吗(使用代码插件!)?我没有要求tinymce版本,但你的编辑器内容html代码!我在图片上方添加了html代码。如果你还需要什么,请告诉我。谢谢这不是编辑的内容!我刚刚从IE和firefox添加了html。似乎在IE中,tiny mce的一些清理工具正在删除带有字体大小和样式的span标记。
            <textarea class="news-copy"
                        data-bind="
                            tinymce: Copy,
                            tinymceOptions: { 
                                plugins: 'paste,searchreplace',
                                content_css: 'Styles/ControlCSS/MainPage.css',
                                toolbar2: 'fontselect,fontsizeselect',
                                menubar: false,
                                statusbar: false,
                                browser_spellcheck: true,
                                valid_elements: '',
                                body_class: 'mainpage-container-text'
                            },                              
                            autoActivate: false">
            </textarea> 
    <html>
<head xmlns="http://www.w3.org/1999/xhtml">
<meta content="IE=7" http-equiv="X-UA-Compatible">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<link rel="stylesheet" type="text/css" href="http://localhost/myapplication/Scripts/tiny_mce/themes/advanced/skins/o2k7/content.css">
<link rel="stylesheet" type="text/css" href="http://localhost/myapplication/Styles/ControlCSS/MainPage.css">
</head>
<body dir="ltr" id="tinymce" onload="window.parent.tinyMCE.get('mce_0').onLoad.dispatch();" class="mceContentBody mainpage-container-text" contentEditable="true">
<p>Hello Test &nbsp; &nbsp; Test1
</p>
</body>
<html>
<head xmlns="http://www.w3.org/1999/xhtml">
<meta content="IE=7" http-equiv="X-UA-Compatible">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<link href="http://localhost/myapplication/Scripts/tiny_mce/themes/advanced/skins/o2k7/content.css" rel="stylesheet" type="text/css">
<link href="http://localhost/myapplication/Styles/ControlCSS/MainPage.css" rel="stylesheet" type="text/css">
</head>
<body contenteditable="true" onload="window.parent.tinyMCE.get('mce_0').onLoad.dispatch();" class="mceContentBody mainpage-container-text" id="tinymce" spellcheck="false" dir="ltr">
<p>Hello 
<span data-mce-style="font-size: 14pt;" style="font-size: 14pt;">Test &nbsp; &nbsp;</span> 
<span data-mce-style="font-size: 18pt;" style="font-size: 18pt;">Test1</span>
</p>
</body>
 tinymceOptions: {
                // Default Theme options:
                // "setup" can not be overridden instead use onBeforeTinyMCESetup and onAfterTinyMCESetup
                mode: 'none',
                theme: 'advanced',
                plugins: 'paste,searchreplace,legacyoutput',
                skin: 'o2k7',
                skin_variant: 'silver',
                content_css: '../../Styles/RadEditor_CourierNew.css',
                paste_auto_cleanup_on_paste: true,
                valid_elements: '@[align],b/strong,i/em,strike/s,u,br,p,div',
                theme_advanced_buttons1: 
                    'bold,italic,underline,strikethrough,' +
                    '|,cut,copy,paste,selectall,' +
                    '|,undo,redo,' + 
                    '|,justifyleft,justifycenter,justifyright,justifyfull,' +
                    '|,search,replace,help,spellcheck',
                theme_advanced_buttons2: '',
                theme_advanced_buttons3: '',
                theme_advanced_toolbar_location: 'top',
                theme_advanced_toolbar_align: 'left'
            },
            radSpellCheckID: null,
            onBeforeTinyMCESetup: null,
            onAfterTinyMCESetup: null,
            onTinyMCEBlur: null,
            delayEditorDisplay: true,
            htmlEncode: true,
            displayFontFamily: 'Arial, Helvetica, sans-serif',
            displayFontSize: '11px'
        };
 value = ko.utils.unwrapObservable(valueAccessor());

 ed.onInit.add(function(ed) {
                           $element.tinymce().setContent(value, { format: 'raw' });
                        });