2016-05-31 2 views
0

정교한 CMS 설치에서 CKEditor 4에 특수 문자를 추가하는 문제가 발생했습니다. 예를 들어 터키어 문자 인 ğ, ış은 엔터티 코드로 표시됩니다. ğ, ış은 콘텐츠 개체가 게시 될 때 서식있는 텍스트에서 제거됩니다.정교한 CMS에서 ckeditor에 문자를 추가하는 방법

게시되지 않은 enter image description here

게시 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 마크 업입니다 다음과 같이

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

는 또한 개체를 게시 할 때 특수 문자가 여전히 제거됩니다, 그러나

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

을 시도했다. 추가 특수 문자를 허용하도록 CKEditor 4를 구성하려면 어떻게합니까?

답변

1

시도하여이 대신

슈퍼 늦게 응답
config.entities_additional = '#287,#305,#351'; 
+0

죄송합니다 ... 그 일을! – mhatch