JAVA老刘 2016-08-14 05:46 采纳率: 0%
浏览 1068

ckeditor值过大会截断

ckeditor用CKEDITOR.instances.TextArea1.getData()这种方法取值时如果值过大会被截
断,jsp内容:

 <textarea id="TextArea1" name="TextArea1" cols="20" rows="2" class="ckeditor"></textarea>
      <script type="text/javascript">CKEDITOR.replace('TextArea1');</script>
  • 写回答

1条回答 默认 最新

  • 斯洛文尼亚旅游 2016-08-14 06:37
    关注

    应该是你服务器端有大小限制吧,或者用ajax提交时没有调用encodeURIComponent进行编码导致内容被截断,不是ckeditor的问题

    评论

报告相同问题?