日期:2014-05-20  浏览次数:20544 次

CuteEditor编辑器为何自动加css引用
CuteEditor编辑器为何自动加css引用

在编辑器中每次切回设计视图,编辑器会自动为内容加上一段HTML。如下

<style type="text/css" isprelink="true">@import url(http://localhost:1372/huayuanda/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);</style>


每次自动在内容最头部加上这段代码。多次切换后的HTML编辑视图中的情况(编辑视图和HTML视图切换3次后):

<style type="text/css" isprelink="true">@import url(http://localhost:1372/huayuanda/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);</style>
<style type="text/css" isprelink="true">@import url(http://localhost:1372/huayuanda/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);</style>
<style type="text/css" isprelink="true">@import url(http://localhost:1372/huayuanda/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);</style>
应公司业务发展需要,我们建设了新的网站。

------解决方案--------------------
富文本编辑器吗?这个还真不知道,不过有一个ckeditor
------解决方案--------------------
CuteEditor 编辑器我用过 没这个问题呀
你用的什么版本 到51源码 那去下个 下下来报错的 把(到别处下个)授权文件替换下就行了