通常都应该是你使用的浏览器的问题(也许是设置,也许是浏览器本身)。换个浏览器试试看是不是这个原因 。
你可以通过查看页面源代码参考一下这里的tinyMCE设置。
页面源代码的这个地方:
tinyMCE.init({
language:"zh",
mode:"exact",
elements: "txtAnswer",
width : "580px",
theme:"advanced",
plugins : "safari,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,insertCode",
theme_advanced_buttons1:"forecolor,backcolor,separator,bold,italic,underline,strikethrough,separator,bullist,numlist,separator, justifyleft, justifycenter, justifyright,justifyleft,justifycenter,justifyright,outdent,indent,removeformat,separator,link,unlink,image,quote,code,fullscreen,insertCode",
theme_advanced_buttons2:"",
theme_advanced_buttons3:"",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : false,
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_fonts:"宋体=宋体;黑体=黑体;仿宋=仿宋;楷体=楷体;隶书=隶书;幼圆=幼圆;Arial=arial,helvetica,sans-serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",
convert_fonts_to_spans:true,
remove_trailing_nbsp:true,
convert_newlines_to_brs:false,
force_br_newlines:false,
force_p_newlines: false,
remove_linebreaks: false ,
relative_urls : false,
extended_valid_elements:"pre[name|class]",
content_css:"/css/mce.css",
//cleanup_callback:"myCustomCleanup",
handle_event_callback:"MCECheckIndent",
cleanup : true
});
是浏览器的问题!
看看plugins属性中有没有inlinepopups,如果没有这个插件就会是弹出新窗口
注意以下tinyMCE版面,我用的没有你说的问题
11