xe ckeditor allowedContent 문제 (ACF)
CMS/프레임워크 | XE 1.x |
---|---|
개발 언어 | PHP 7.0 |
ckeditor 의 기본 설정은
allowedContent = null 로 알고 있습니다.
https://ckeditor.com/docs/ckeditor4/latest/guide/dev_acf.html
ckeditor에서 기본적으로 제공하는 ACF - Automatic Mode를 사용할 수 있는건데,
XE는 코어 차원에서 기본적으로 이 allowedContent 가 true로 설정되어 있습니다. (editor.app.min.js)
즉, ckeditor의 기본 기능을 무력화하는것이죠..
(왜 스킨 차원에서 안해놓고, 코어 차원에서 해놓았는지 이해 불가...)
이 기능을 제거하기 위해,
editor.app.min.js 에서 allowedContent를 제거해보아도,
common 폴더에서 config.js에 allowedContent = null 을 넣어 보아도..
하다못해
disallowedContent 를 설정해보아도,
아무 것도 적용이 되지 않습니다...
질문 요약)
xe의 기본 제공 ckeditor에서
allowedContent 제거 혹은 커스텀,
disallowedContent 요소 커스텀
...을 가능하게 하는 방버을 알고 계신 분 계실까요?
댓글 2
정확하게 이게 답이라고는 말씀 드릴 순 없으나 이곳에 옵션을 추가해보세요.