编辑器里的样式及类都自动清空了,上个版本不存在这个问题,默认只允许出现通过编辑器生成的标签!

像这样的代码:

<table class="shoptable ke-zeroborder" border="0" cellspacing="0" cellpadding="0" width="464" align="left">

读取的内容就会被过滤为:

    <table border="0" cellspacing="0" cellpadding="0" width="705" align="left">

解决的办法-加:KindEditor.options.filterMode = false;

如:

<script>
$(function() {
 KindEditor.options.filterMode = false;
 var editor = KindEditor.create('#content');
});
</script>

个人觉得它默认允许更方便用户。

官方详情:

http://www.kindsoft.net/view.php?bbsid=3&postid=5241

 

相关文章:

  • 2022-01-22
  • 2021-12-05
  • 2021-05-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2021-06-27
猜你喜欢
  • 2022-12-23
  • 2021-06-17
  • 2021-07-11
  • 2021-07-25
  • 2021-09-20
相关资源
相似解决方案