스마트에디터2에서 사진 업로드 기능을 금지하려면
본문
어떻게 해야할까요?
트래픽 문제 때문에 사진 업로드 기능을 안 쓰고 싶은데요.
일단 제가 무식하게
plugin\editor\smarteditor2\photo_uploader
를 삭제했더니
이 에디터가 일그러지고 글자도 제대로 입력이 안 되더라구요 ;;;
어떻게 해야 사진 업로드 기능을 끌 수 있을까요?
cheditor5는
cheditor.js의
ImageUpload :{ tmpl : 'image.html', width : 700, title : '내 PC 사진 넣기' },
부분을 삭제하면 되었는 데.
스마트에디터2는 어떻게 해야 할까요?
답변 1
/smarteditor2/SmartEditor2Skin.html 에서 아래 부분 삭제해보세요.
<ul class="se2_multy">
<li class="se2_mn husky_seditor_ui_photo_attach"><button type="button" class="se2_photo ico_btn"><span class="se2_icon"></span><span class="se2_mntxt">사진<span class="se2_new"></span></span></button></li>
</ul>
답변을 작성하시기 전에 로그인 해주세요.