2016-05-31 50 views
0

我遇到了在精巧的CMS安裝中向CKEditor 4添加特殊字符的問題。例如,當內容對象被髮布時,由實體代碼ğ,ış表示的土耳其字符:ğ,ış從富文本中剝離。如何在Savvy CMS中添加角色到ckeditor

未公開 enter image description here

發佈 enter image description here

的HTML標記是如下

<style> 
    td{width:50px;padding:5px;text-align:center;background-color:#e0e0e0;} 
</style> 

<p>The Turkish alphabet is a modified version of the Latin alphabet and consists of 29 letters.<br/> 
Included are 6 additional letters...</p> 

<table> 
    <tr> 
    <td>&#231;</td> 
    <td>&#287;</td> 
    <td>&#305;</td> 
    <td>&#246;</td> 
    <td>&#351;</td> 
    <td>&#252;</td> 
    </tr> 
</table> 

<p>...while - q, w, x - are excluded.</p> 

我位於用於CKEditor的config.js文件和所附的實體的代碼如下

config.specialChars = ['!', '&quot;'... '&#287;', '&#305;'...]; 

我也試過

config.extraSpecialChars = ['&#287;']; 

然而,當對象被髮布特殊字符仍剝離。 如何配置CKEditor 4以接受其他特殊字符?使用

回答

1

試試這個

config.entities_additional = '#287,#305,#351'; 
+0

對不起,響應超級晚......這工作! – mhatch