2012-09-24 2 views
0

저는 CuteEditor 컨트롤을 사용하는 기존 프로젝트에서 작업했습니다. iframe 태그를 사용하려면 속성 EnableStripIframeTags을 추가하고 false로 설정해야합니다. 그러나 CuteEditor 컨트롤은 많은 페이지에 나타납니다.구성에서 CuteEditor EnableStripIframeTags 속성을 설정하십시오.

CuteEditor의 구성 파일에서 EnableStripIframeTags을 설정하는 옵션이 있습니까?

답변

0

나는 그렇게 생각하지 않는다. 내 솔루션은 속성을 설정하고 각 페이지에서 호출하는 메서드를 만드는 것입니다.

일반적으로 변경해야하는 몇 가지 속성이 있으며 해당 메서드에 추가 할 수도 있습니다.

public void initialiseEditor(CuteEditor.Editor editor) { 

     editor.EnableStripIframeTags = true; 
     editor.EnableStripScriptTags = true; 
     editor.EnableStripStyleTagsCodeInjection = true; 

} 
관련 문제