smarteditor2 글꼴 추가
본문
맑은 고딕이 없어서 맑은 고딕체를 추가하고싶은데 어떻게 하면 되나요??
알려주시면 감사하겠습니다.
답변 1
지금 제가 테스트해볼수는 없긴한데
/plugin/editor/smarteditor2/js/smarteditor2.js
의 10153번 라인쯤에 보면
// [SMARTEDITORSUS-245] 서비스 적용 시 글꼴정보를 넘기지 않으면 기본 글꼴 목록이 보이지 않는 오류
}
this.addFont("돋움,Dotum", "돋움", 0, "", "", 1, null, true);
this.addFont("돋움체,DotumChe,AppleGothic", "돋움체", 0, "", "", 1);
this.addFont("굴림,Gulim", "굴림", 0, "", "", 1, null, true);
this.addFont("굴림체,GulimChe", "굴림체", 0, "", "", 1, null, true);
this.addFont("바탕,Batang,AppleMyungjo", "바탕", 0, "", "", 1);
this.addFont("바탕체,BatangChe", "바탕체", 0, "", "", 1, null, true);
this.addFont("궁서,Gungsuh,GungSeo", "궁서", 0, "", "", 1);
this.addFont('Arial', 'Arial', 0, "", "", 1, "abcd");
this.addFont('Tahoma', 'Tahoma', 0, "", "", 1, "abcd");
this.addFont('Times New Roman', 'Times New Roman', 0, "", "", 1, "abcd");
this.addFont('Verdana', 'Verdana', 0, "", "", 1, "abcd");
this.addFont('Courier New', 'Courier New', 0, "", "", 1, "abcd");
}
부분이 있어요
여기서 추가 가능하지 않을까 싶습니다.
!-->
답변을 작성하시기 전에 로그인 해주세요.