CKEditor会在<br>
之后添加<td>
..如何禁用此功能或关闭此功能?
之前:
<td>
<img style="width: 950px; height: 114px;" src="http://www.abc.com/uploads/image/Newsletter/Newsletter2.jpg" alt="">
</td>
保存后:
<td>
<br>
<img style="width: 950px; height: 114px;" src="http://www.abc.com/uploads/image/Newsletter/Newsletter2.jpg" alt="">
</td>
我的设置:
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.toolbar = "MyToolbar";
config.toolbarCanCollapse = false;
config.resize_enabled = false;
config.height = '280';
config.width = '1100';
config.enterMode = CKEDITOR.ENTER_P;
CKEditor版本:3.6.4
答案 0 :(得分:-2)
快速而肮脏:保存后我只会将<td><br>
替换为<td>
此行为未记录,我没有看到打开/关闭它的设置