ckeditor 붙여넣기 시 소스 그대로 적용되도록 변경

이온디 2016.02.11 00:09 조회 1526

에디터에 소스 복붙이 그대로 표시되는 기능
http://eond.com/xe_forum/371769

붙여넣기 시 필터에 의해 콘텐츠를 변경하는 것으로 보입니다.
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFilter

common/js/plugins/ckeditor/ckeditor/config.js 파일을 생성하여 이 설정을 변경할 수 있습니다

 

CKEDITOR.editorConfig = function( config ) {
    config.pasteFilter = null;
};

댓글 0

첫 댓글을 남겨보세요.