|
Param |
Method |
Event |
|
|
GetProhibitProfanity현재 편집 중인 문서의 내용 중 욕설에 관련된 단어 배열을 얻어옵니다.
Return Values현재 편집 중인 문서의 내용 중 욕설에 관련된 단어 배열을 반환합니다.
Sample Codesvar CrossEditor = new NamoSE("test");
CrossEditor.EditorStart();
function OnInitCompleted(e) {
if(CrossEditor.IsProhibitProfanity())
{
var arr = CrossEditor.GetProhibitProfanity();
alert("욕설단어가 발견되었습니다." + "\n [" + arr.toString() + "]");
}
else
{
alert("욕설단어가 발견되지 않았습니다.");
}
}
See AlsoProfanityStr IsProhibitProfanity
|