테스트 사이트 - 개발 중인 베타 버전입니다

그누보드5 스마트에디터2(Smarteditor2) A 태그 자동삽입기능 삭제 채택완료

산아래10 5년 전 조회 4,886

그누보드5 스마트에디터2(Smarteditor2) A 태그 자동삽입기능 삭제가능한가요?

 

SE2M_Configuration.js 파일에서 아래 bAutolink 를 false로 했고, 

</strong></p>

<p>nhn.husky.SE2M_Configuration.SE2M_Hyperlink = {

    bAutolink : false    // 자동링크기능 사용여부(기본값:true)

};</p>

<p><strong>

 

smarteditor2.js 여기에 bAutolink === true 설정했습니다. 

</strong></p>

<p>    $BEFORE_MSG_APP_READY : function(){

        var htOptions = nhn.husky.SE2M_Configuration.SE2M_Hyperlink;

        if(htOptions && htOptions.bAutolink === true){

            // 자동링크 컨버터 비활성화 

            this.$ON_REGISTER_CONVERTERS = null;

            // UI enable/disable 처리 제외 

            this.$ON_DISABLE_MESSAGE = null;

            this.$ON_ENABLE_MESSAGE = null;

            // 브라우저의 자동링크기능 비활성화 

            try{ this.oApp.getWYSIWYGDocument().execCommand("AutoUrlDetect", false, false); } catch(e){}

        }

    },</p>

<p><strong>

 

할수 있는건 다했다고 생각하는데 계속 a태그가 지져분하게 삽입되네요. ㅠ.ㅠ 

고수님들 도와주세요. 

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
5년 전

현재 그누보드에 내장된 smarteditor가 아닌 것 같습니다.

 

의미상으로 보면 둘다 false가 맞는 것 같습니다.

 

최신버전이라고 하면 github에 직접 문의 하시는 것이.

 

https://github.com/naver/smarteditor2/issues/35

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인