2016-05-31 8 views
0

Savvy CMSインストールでCKEditor 4に特殊文字を追加する際に問題が発生しました。たとえば、コンテンツオブジェクトの公開時に、エンティティコード:ğ,ı、およびşで表されるトルコ文字:ğ,ı、およびşがリッチテキストから削除されます。Savvy CMSでckeditorに文字を追加する方法

非公開 enter image description here

<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のファイルを配置し、エンティティコードを添付し、以下のようにHTMLマークアップが enter image description here

公開次のように

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

私はまた、しかし

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

をしようとしたオブジェクトが公開されたときに、特殊文字がまだ削除されます。 追加の特殊文字を受け入れるようにCKEditor 4を設定するにはどうすればよいですか?

答えて

1

スーパー後半応答のため申し訳ありませんが、この代わりに

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

を使用してみてください...それは働きました! – mhatch

関連する問題