팁/튜토리얼

ckeditor에서 수정시 i 태그가 안 사라지도록 하는 방법

2015.12.14 01:04
1,675
0
0

위지윅에디터로 ckeditor를 사용하고 있었는데 글수정하면 i 태그가 날라가서 찾아봤습니다.

 

common/js/plugins/ckeditor/ckeditor/config.js 파일에 다음 한줄을 추가해주세요.

 

CKEDITOR.dtd.$removeEmpty.i = 0;

 

참조

https://xetown.com/lakepark/38329

http://stackoverflow.com/questions/18250404/ckeditor-strips-i-tag

https://xetown.com/index.php?mid=qna&document_srl=115226&rnd=115228#comment_115228

 

 

eond Lv. 12

댓글 0