主题: 这个是怎么回事啊,普通的textarea显示的和kindeditor不一致啊
作者: javabean, 发布日期: 2012-06-26 10:50:47, 浏览数: 3530

<!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>
[#if rc.contextPath??&&rc.contextPath!='']
[#assign ctx = rc.contextPath+"/"/]
[#else]
[#assign ctx = "/"/]
[/#if]
[#if channel??]
<title>${channel.name}列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="${ctx}static/front/0.0.2/css/style.css" />
<link rel="stylesheet" type="text/css" href="${ctx}static/front/0.0.2/css/QQkefu.css" />
<script src="${ctx}static/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
   $(function() {
       var offset = $(".kefu").offset();
       var topPadding = 100;
       $(window).scroll(function() {
           if ($(window).scrollTop() > offset.top) {
               $(".kefu").stop().animate({
                   marginTop: $(window).scrollTop() - offset.top + topPadding
               });
           } else {
               $(".kefu").stop().animate({
                   marginTop: 0
               });
           };
       });
   });
</script>


</head>
<body>
<div class="container">
  <div class="header">
    <div class="logo fl"><a href="${ctx}index.html"><img src="${ctx}static/front/0.0.2/img/logo.jpg"></a></div>
    <div class="searchbox fr">
      <h3>农搜</h3>
      <div class="clear">
        <input type="text"  class="fl" style="width:250px;" />
        <input type="submit" name="search" value="" class="searchbtn fl" onclick="" />
      </div>
      <p class="clear"><span><a href="#">水稻</a></span><span><a href="#">生猪</a></span><span><a href="#">淡水鱼</a></span><span><a href="#">柑橘</a></span></p>
    </div>
  </div>
  <div class="clear"></div>
  <div class="mainnav">
    <ul>
    [@cms_channel_list parentId=site.id hasContent="0" siteId=site.id]
[#list tag_list as c]
[#if c.isDisplay??&&c.isDisplay]
<li>
[#if c.type=="1"]
        <a href="${ctx+c.indexPath}">[#if selectedChannel??&&selectedChannel.id==c.id]<font color="#003366">[/#if]${c.name}[#if selectedChannel??&&selectedChannel.id==c.id]</font>[/#if]</a> 
    [#elseif c.type=="3"]
<a href="${c.url}" target="_blank">[#if selectedChannel??&&selectedChannel.id==c.id]<font color="#003366">[/#if]${c.name}[#if selectedChannel??&&selectedChannel.id==c.id]</font>[/#if]</a>
[#else]
<a href="${ctx+c.indexPath}">[#if selectedChannel??&&selectedChannel.id==c.id]<font color="#003366">[/#if]${c.name}[#if selectedChannel??&&selectedChannel.id==c.id]</font>[/#if]</a>
    [/#if]
    </li>
    [/#if]
[/#list] 
    [/@cms_channel_list]
    </ul>
    <p class="tdnews"><a href="#">农业部 : 今年水产品价格或将高于去年;</a><a href="#">农业部 : 今年水产品价格或将高于去年</a></p>
  </div>
  <div class="clear"></div>
</div>
<div class="container">
  <div class="maincol fl">
  <div class="listbox">
  <h2>[@cms_navigation id="${channel.id}" isContent="0"]
      [#list position as c]
[#if c.returnPath==""]
${c.name}
[#else]
<a href="${ctx+c.returnPath}">${c.name}</a>>
[/#if]
[/#list]
     [/@cms_navigation]</h2>
  <div class="inner">
  <ul class="list">
  [@cms_content_list channelId=channel.id count="20" channeChildren="1"]
  [#if page??&&page.result??&&page.result?size>0]
  [#list page.result as c]
  <li><a href="${ctx+c.path}" target="_blank"> ${c.title}  </a><i>${c.formatCreateTimeYMD}</i></li>
  [/#list]
  [/#if]
  </ul>


    <div class="pageBreak"><!--
        <span class="fix">共8页</span>
        <span class="fix">上一页</span>
        <span class="current">1</span>
        <a href="#">2</a>
        <a href="#">3</a>
        <a href="#">4</a>
        <span class="ellipsis">...</span>
        <a href="#">7</a>
        <a href="#">8</a>
        <a class="fix" href="#">下一页</a>
     -->
     共${page.totalItems}条记录 ${page.pageNo}/[#if page.totalPages==0]${page.totalPages+1}[#else]${page.totalPages}[/#if]页
[#if page.pageNo==1]&nbsp;<a disabled="disabled">首页</a>&nbsp;<a disabled="disabled">上一页</a>
[#else]&nbsp;<a href="${ctx+channel.indexPath}">首页</a>&nbsp;<a href="${ctx+channel.indexPath}?pageNo=${page.prePage}">上一页</a>
[/#if]
[#if page.totalPages==0]
[#if page.pageNo==page.totalPages+1]&nbsp;<a disabled="disabled">下一页</a>&nbsp;<a disabled="disabled">尾页</a>
[#else]&nbsp;<a href="${ctx+channel.indexPath}?pageNo=${page.nextPage}">下一页</a>&nbsp;<a href="${ctx+channel.indexPath}?pageNo=${page.totalPages+1}">尾页</a>
[/#if]
[#else]
[#if page.pageNo==page.totalPages]&nbsp;<a disabled="disabled">下一页</a>&nbsp;<a disabled="disabled">尾页</a>
[#else]&nbsp;<a href="${ctx+channel.indexPath}?pageNo=${page.nextPage}">下一页</a>&nbsp;<a href="${ctx+channel.indexPath}?pageNo=${page.totalPages}">尾页</a>
[/#if]
[/#if]
&nbsp;第<select onChange="if(this.value==1){location='${ctx+channel.indexPath}'}else{location='${ctx+channel.indexPath}?pageNo='+this.value}this.disabled='disabled'">
[#if page.totalPages==0]
[#list 1..page.totalPages+1 as i]
 <option value="${i}" [#if page.pageNo==i]selected="selected"[/#if]>${i}</option>
[/#list]
[#else]
[#list 1..page.totalPages as i]
 <option value="${i}" [#if page.pageNo==i]selected="selected"[/#if]>${i}</option>
[/#list]
[/#if]
     </div>
[/@cms_content_list]
   </div>
  </div>
  </div>
  <div style="height: 38px;"></div>
  <div class="sidebar fr">
 <div class="sidebox">
  <h2>专栏介绍</h2>
  <div class="inner">
 <img src="${ctx}static/front/0.0.2/img/abouttopic.jpg" />
<p>专栏名称:一周一谈</p>
<p>负责人:莉莉周</p>
<p>专栏评分:4分</p>
<p>一个重要栏目,力争观点内容及时有深度,评论犀利独特,为行业人士提供一个专业、丰富、互动的观点交流平台</p>
 </div>
  </div>
  <div class="sidebox mt_10">
  <h2>热点推荐</h2>
  <div class="inner">
 <ul>
 <li><a href="#">农业部展开面向县级农产品质检站培训</a></li>
 <li><a href="#">农业部展开面向县级农产品质检站培训</a></li>
 <li><a href="#">农业部展开面向县级农产品质检站培训</a></li>
 <li><a href="#">农业部展开面向县级农产品质检站培训</a></li>
 <li><a href="#">农业部展开面向县级农产品质检站培训</a></li>
 </ul>
 </div>
  </div>
   
    </div>
</div>


<div class="clear"></div>
<div class="footer">
  <ul>
  </ul>
  <p><a href="#">服务平台简介</a>|<a href="#">使用帮助</a>|<a href="#">法律声明</a>|<a href="#">友情链接</a>|<a href="#">联系我们</a></p>
  <p>Copyright 2010 - 2020 湖南省农村农业信息化工程技术研究中心</p>
</div>
<div class="kefu"></div>
</body>
[/#if]
</html>


作者: Roddy, 发布日期: 2012-06-26 11:53:17
编辑器目前只支持body内的内容。
回复
作者: javabean, 发布日期: 2012-06-26 14:38:26
回复Roddy:那为啥现在论坛中使用的这个版本的kindeditor可以呢?
回复
作者: javabean, 发布日期: 2012-06-26 14:40:06
回复Roddy:不能把内容完整的输出么?就是不管内容是什么标签也好
回复
发表新帖 发表回复