2
如何從ckeditor中刪除<br>
標籤?我使用的使用配置文件CK編輯器和代碼的標準特徵如下如何刪除ckeditor中的br標籤?
CKEDITOR.editorConfig = function(config) {
config.autoParagraph = false;
config.shiftEnterMode = CKEDITOR.ENTER_BR;
config.shiftEnterMode = CKEDITOR.ENTER_DIV;
// stops automatic insertion of <p> on focus
config.allowedContent = false; // don't filter my data
};