每当我通过 CKEditor 添加 HTML 内容时,它会自动在每个其他 html 标记的末尾附加一个“br”标记。
我怎样才能删除它?
CKEDITOR.config.enterMode = CKEDITOR.ENTER_BR;
CKEDITOR.config.shiftEnterMode = CKEDITOR.ENTER_P;
CKEDITOR.replace(elemId,
{
resize_enabled: false,
entities: false,
basicEntities: false,
entities_greek: false,
entities_latin: false,
}