我有一個ckeditor的問題。無法轉換<p> <到<, >等ckeditor
我在textarea中輸入了「Hello World」。但結果卻是:
<p>Hello World</p>
我在/ckeditor/config.js改變config.js:
CKEDITOR.editorConfig = function(config) {
// Define changes to default configuration here. For example:
config.language = 'eng';
};
CKEDITOR.config.entities = false;
CKEDITOR.config.basicEntities = false;
CKEDITOR.config.entities_greek= false;
CKEDITOR.config.entities_latin= false;
CKEDITOR.config.htmlEncodeOutput = false;
它沒有工作。你能幫我嗎?謝謝。
你在CKEDITOR論壇上試過了嗎? http://ckeditor.com/comment/51028#comment-51028 – tomexsans
什麼都沒有發生.. :( – bob
嗯,你是否在意詳細一點?編碼字符串是什麼時候出現的?它是否出現在CKE wysiwyg模式或源模式下?還是在將內容保存到數據庫並顯示它之後出現?還是它顯示爲像預覽元素?在編輯器區域內開始鍵入時是否立即顯示?是否有編輯器的默認值?什麼版本的CKE?http://jsfiddle.net/qdndP/125/似乎適用於我。 – Nenotlep