CKEditor 4在切换到源对话框时放错了锚标记?

时间:2018-10-03 07:03:38

标签: ckeditor

CKEditor正在以我不希望的方式更改我的源代码。在这里,我有一个锚标签包裹在桌子上:

<a href="http://example.com" > 
<table> 
 <tbody> 
  <tr> 
   <td >Abcd</td> 
  </tr>  
 </tbody> 
</table> </a> 

在切换源时,CKEditor通过将锚标记放置在表的<td>中来更改此设置,如下所示:

<table>
<tbody>
    <tr>
        <td ><a href="http://example.com" >Abcd</a></td>
    </tr>
</tbody>

anchor标签从表的外部移到内部。在我的配置中,我设置了allowedContent = true;

0 个答案:

没有答案