这是因为编辑器默认开启了过滤模式(filterMode:true)。当filterMode为true时,编辑器会根据htmlTags设定自动过滤HTML代码,主要是为了生成干净的代码。
如果想保留所有HTML,修改kindeditor.js,请将filterMode设置成false。如果想保留特定HTML,请将filterMode设置成true后,配置htmlTags属性

相关文章:

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