测试:
1.切换编辑器到源码视图,并粘贴以下代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>请保留</title>
<style type="text/css">
<!--
body {
color: #FF0000;
}
-->
</style>
</head>
<body>
测试
</body>
</html>2.切换编辑器到设计视图,再对“测试”加粗
3.再次切换到源码视图,显示代码应为<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>请保留</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <style type="text/css">
            <!--
body {
color: #FF0000;
}
-->
        </style>
    </head>
    <body>
        <strong>测试</strong>
    </body>
</html>

解决方案 »

  1.   

    Try TinyCEDownLoad: http://tinymce.moxiecode.com/
      

  2.   

    ckeditor啊,好多人用
    http://ckeditor.com/demo
      

  3.   

    推荐:http://www.pudn.com/downloads59/sourcecode/web/detail206326.html
      

  4.   

    不满足要求,看测试例子,head没有了
      

  5.   

    有东西的,不是no body 
    学了英语我们不能乱用呀
      

  6.   

    以下是火狐的测试结果,是不是no body啊,需要HTML文件的在线编辑器,W3C标准<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>请保留</title>
    <style type="text/css">
    <!--
    body {
        color: #FF0000;
    }
    -->
    </style><span style="font-weight: bold;">测试
    </span>
      

  7.   

    我错了,FCKeditor可以的,在文件fckconfig.js中将FCKConfig.FullPage设为true,CKEditor 3.0.2及以下好像是无效,明知有这个bug怎么后来被删了