2012-05-16 80 views
1

我不是正與一個Web應用程序的工作,我用最新版本的TinyMCE的作爲在後端編輯.. 一切看上去除了與IE模板預覽很好..TinyMCE的預覽在IE 8和IE 7

有沒有人遇到過這個問題?

THanks提前。

這裏是我的代碼

tinyMCE.init({ 
// General options 
mode : "textareas", 
theme : "advanced", 
plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist", 

// Theme options 
theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect", 
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor", 
theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen", 
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak", 
theme_advanced_toolbar_location : "top", 
theme_advanced_toolbar_align : "left", 
theme_advanced_resizing : true, 

// Skin options 
skin : "o2k7", 
skin_variant : "silver", 

// Drop lists for link/image/media/template dialogs 
template_external_list_url : "../../js/tiny_mce/plugins/template/template_list_2.php", 
external_link_list_url : "js/link_list.js", 
external_image_list_url : "js/image_list.js", 
media_external_list_url : "js/media_list.js", 

editor_selector : "htmlEditor", 
convert_urls : false, 
width : "100%", 
height: "500px", 

init_instance_callback : function() { 
    $('.mceToolbar a').each(function(item){ 
     $(this).attr('tabindex', -1); 
    }); 
} 

});

+0

你的意思是前端?我敢打賭,在這裏http://www.tinymce.com/forum/viewtopic.php?id=26000提供的答案是這個問題的最佳答案。 – VisioN

+0

@vision感謝您的回覆..但你有建議的論壇不有道理的我..謝謝 我認爲這將帶我更多的時間來研究 – vnpnlz

+0

我的意思是有沒有足夠的信息來解決問題。通過我所有的搜索,在IE中預覽應該沒有任何問題。 – VisioN

回答

0

將youre代碼添加到這裏。 如果FF &鉻代碼做工精細我猜你可能會留下後面的逗號