.net ckeditor html css 테그없어짐 방지

Posted by Albert 3622Day 18Hour 59Min 20Sec ago [2015-05-20]

닷넷으로 개발시 ckeditor 처음으로 사용하였는데 문제는 

작성한 컨텐츠의 일부 html 태그와 css태그가 없어지는 현상이 나타낫다.

해결방법은 매우 간단하다.

CKEDITOR.replace( 'textarea_id', { allowedContent: true});

allowedContent:true 로 뒤에 하나 더 추가하면 된다.




LIST

Copyright © 2014 visionboy.me All Right Reserved.