2013-10-19 44 views

回答

1

好吧,我找到了解決辦法,在config.js文件中只需添加這行:

CKEDITOR.config.allowedContent = TRUE;

不要添加內部

CKEDITOR.editorConfig =函數(配置){

// Define changes to default configuration here. For example: 

// config.language = 'fr'; 

// config.uiColor = '#AADC6E'; 

}的bolean變化;

我正在用config.allowedContent = true添加它;並沒有工作。

+0

在'config.js'文件中設置'config.allowedContent = true'是絕對正確的,但您需要記住清除瀏覽器的緩存。 – Reinmar

+1

我仍然有問題,我清除瀏覽器緩存,但鉻上它仍然剝離標籤,在Firefox上它可以但不鉻,任何想法? – Joricam

+0

也許檢查你使用的是什麼版本... http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent 文檔建議它只適用於4.1+ – johnsnails

相關問題